no message

This commit is contained in:
Lenheart 2025-07-16 15:22:07 +08:00
parent b336d61914
commit d66ed66247
2 changed files with 54 additions and 2 deletions

View File

@ -21,7 +21,6 @@ function L_drawMainCustomUI_All() {
Rindro_DurationFlag = NowM; Rindro_DurationFlag = NowM;
} }
//下帧执行任务事件 //下帧执行任务事件
if (RootTab.rawin("LenheartNextFrameFuncTab")) { if (RootTab.rawin("LenheartNextFrameFuncTab")) {
foreach(Func in RootTab["LenheartNextFrameFuncTab"]) { foreach(Func in RootTab["LenheartNextFrameFuncTab"]) {
@ -62,8 +61,21 @@ function L_drawMainCustomUI_All() {
Rindro_BaseToolClass.SendPackEx(T); Rindro_BaseToolClass.SendPackEx(T);
getroottable().LenheartPluginsInitFlag <- true; getroottable().LenheartPluginsInitFlag <- true;
} }
// if (!TTTAAA) TTTAAA = Rindro_Draw_Character(0, [601590000, 1751501, 601500069], "rest.ani", null);
// if (TTTAAA) TTTAAA.Draw(120, 200);
} }
// for (local i = 0; i < 42; i++) {
// local Value = MemoryTool.DecodeMemoryData(0x394e8c00+0x1050 + (i * 4));
// if(Value == 151)print("Value :" + i * 4);
// }
// print(MemoryTool.DecodeMemoryData(0x1DFFB240));
// MemoryTool.EncodeMemoryData(0x304bdc00+0x1054,7);
// TTTAAA <- null;
// L_NewWindows("Lenheart", 56, 0x1); // L_NewWindows("Lenheart", 56, 0x1);
// L_Sq_CallFunc(0xE6E070, "int", FFI_THISCALL, ["int", "int", "int", "int"], 0x01ADE090, 56, 0, 0); // L_Sq_CallFunc(0xE6E070, "int", FFI_THISCALL, ["int", "int", "int", "int"], 0x01ADE090, 56, 0, 0);
// getroottable().Lsnzz <- Clock(); // getroottable().Lsnzz <- Clock();
@ -78,8 +90,30 @@ function L_drawMainCustomUI_All() {
// printT(Jso); // printT(Jso);
// }); // });
// for (local i = 0; i< 50; i++) {
// local asos = sq_CreateCharacter(0,0);
// // asos.setValid(false);
// // local obj = sq_GetCNRDObjectToActiveObject(asos);
// // sq_SendDestroyPacketPassiveObject(obj);
// // sendDestroyPacket(obj);
// // sq_SendDestroyPacketPassiveObject(asos);
// // sq_AddObject(sq_getMyCharacter(), asos, OBJECTTYPE_VIRTUALCHARACTER, false);
// // asos.setValid(false);
// // L_sq_Test(L_Sq_GetObjectAddress(asos));
// L_Sq_CallFunc(0x5A44B0, "void", FFI_MS_CDECL, ["int"], L_Sq_GetObjectAddress(asos));
// }
// local asos = sq_CreateAICharacter(900); // local asos = sq_CreateAICharacter(900);
// // sq_DeleteParticleCreater(asos);
// local asos = sq_CreateAICharacter(419);
// asos.setCurrentPos(sq_getMyCharacter().getXPos() + 100, sq_getMyCharacter().getYPos(), 0); // asos.setCurrentPos(sq_getMyCharacter().getXPos() + 100, sq_getMyCharacter().getYPos(), 0);
// sq_AddObject(sq_getMyCharacter(), asos, OBJECTTYPE_VIRTUALCHARACTER, false); // sq_AddObject(sq_getMyCharacter(), asos, OBJECTTYPE_VIRTUALCHARACTER, false);
// sq_ChangeDrawLayer(asos, ENUM_DRAWLAYER_CLOSEBACK); // sq_ChangeDrawLayer(asos, ENUM_DRAWLAYER_CLOSEBACK);
@ -148,4 +182,21 @@ Rindro_Haker.LoadHook(0xE67800, ["int", "int"],
// function onStartDungeon_Swordman(obj) { // function onStartDungeon_Swordman(obj) {
// print(666); // print(666);
// obj.setEnableDamageBox(false); // obj.setEnableDamageBox(false);
// }
// local chrobj = sq_CreateCharacter(0, 4);
// print("-----------------------------------------------/");
// foreach(member, val in chrobj.getclass()) {
// ::print(member + "\n");
// local attr;
// if ((attr = chrobj.getclass().getattributes(member)) != null) {
// foreach(i, v in attr) {
// ::print("\t" + i + " = " + (typeof v) + "\n");
// }
// } else {
// ::print("\t<no attributes>\n")
// }
// } // }

View File

@ -30,7 +30,8 @@ function Sq_Pack_Control(Chunk) {
} }
} }
} catch (exception) { } catch (exception) {
print("error packmsg: " + Pack_Json.op); // print("error packmsg: " + Pack_Json.op);
print(exception);
} }
} }