更新仓库锁 和 HOOK

This commit is contained in:
lenheart
2025-12-25 23:54:06 +08:00
parent 2ca4ce76d7
commit f87ef827e8
3 changed files with 31 additions and 26 deletions

View File

@@ -121,32 +121,17 @@ Gm_InputFunc_Handle["test"] <- function(SUser, CmdString) {
Timer.SetTimeOut(function() {
// Haker.LoadHook("0x0850D39C", ["pointer", "int", "bool"],
// function(args) {
// return null;
// },
// function(args) {
// Cb_SelectDungeon_Check_Error_Leave_Func.Check_TicketByMaomi <- function(args) {
// // local Config = sq_ReadJsonFile("/dp_s/OfficialConfig" + "/" + "门票进入副本配置_Maomi.json");
// local SUser = User(args[1]);
// local msg_base = args[2];
// local dgn_id = NativePointer(msg_base).add(13).readU16(); // 获取副本ID
// local dgn_diff = NativePointer(msg_base).add(15).readU8(); // 获取副本难度
// local PartyObj = SUser.GetParty();
// print(SUser.GetCharacName());
// // return false;
// return null;
// });
// if (dgn_id == 40) {
// Timer.SetTimeOut(function() {
// print(12313);
// local Gm = GameManager();
// local PartyObj = Gm.GetParty();
// PartyObj.Create(SUser);
// Sq_CallFunc(S_Ptr("0x859D718"), "int", ["pointer", "pointer"], PartyObj.C_Object, SUser.C_Object);
// Sq_CallFunc(S_Ptr("0x85A0954"), "int", ["pointer", "pointer", "int", "int"], PartyObj.C_Object, S_Ptr("2"), 0, 0);
// // // SUser.
// }, 10);
// return 1;
// }
// return null;
// }
}, 1)