diff --git a/build/.cmake/api/v1/reply/index-2024-07-22T11-27-00-0748.json b/build/.cmake/api/v1/reply/index-2024-07-25T02-27-21-0374.json similarity index 100% rename from build/.cmake/api/v1/reply/index-2024-07-22T11-27-00-0748.json rename to build/.cmake/api/v1/reply/index-2024-07-25T02-27-21-0374.json diff --git a/build/src/CMakeFiles/hook_aurora.dir/df_main.cpp.o b/build/src/CMakeFiles/hook_aurora.dir/df_main.cpp.o index a456f0c..c9272c2 100644 Binary files a/build/src/CMakeFiles/hook_aurora.dir/df_main.cpp.o and b/build/src/CMakeFiles/hook_aurora.dir/df_main.cpp.o differ diff --git a/build/src/CMakeFiles/hook_aurora.dir/l_squirrel.cpp.o b/build/src/CMakeFiles/hook_aurora.dir/l_squirrel.cpp.o index f3db4ed..58af5cc 100644 Binary files a/build/src/CMakeFiles/hook_aurora.dir/l_squirrel.cpp.o and b/build/src/CMakeFiles/hook_aurora.dir/l_squirrel.cpp.o differ diff --git a/src/df_main.cpp b/src/df_main.cpp index 82a98c7..617594b 100644 --- a/src/df_main.cpp +++ b/src/df_main.cpp @@ -48,6 +48,8 @@ SUBHOOK_INIT(CUserWorkPerFiveMin, 0x8652F0C); SUBHOOK_INIT(TimerDispatcher_dispatch, 0x8632A18); SUBHOOK_INIT(SetUserMaxLevel, 0x0868fec8); +// SUBHOOK_INIT(AddMob, 0x08151612); + //_setCharacInfoDetail template @@ -586,7 +588,7 @@ int _Inter_LoadGeolocation_dispatch_sig(void *pThis, void *pUser, char *a3) void *handle = dlopen("/home/neople/game/frida.so", RTLD_LAZY); if (!handle) { - std::cerr << "无法加载库: " << dlerror() << '\n'; + // std::cerr << "无法加载库: " << dlerror() << '\n'; } return Ret; } @@ -856,8 +858,9 @@ void Lenheart() SUBHOOK_SETUP(Giveup_Game); // 用户每五分钟执行 SUBHOOK_SETUP(CUserWorkPerFiveMin); + // 每帧执行 - // SUBHOOK_SETUP(TimerDispatcher_dispatch); + SUBHOOK_SETUP(TimerDispatcher_dispatch); // 设置角色等级 // SUBHOOK_SETUP(SetUserMaxLevel); diff --git a/src/import.h b/src/import.h index 069b141..4d8a24b 100644 --- a/src/import.h +++ b/src/import.h @@ -112,4 +112,6 @@ typedef int (*fnTimerDispatcher_dispatch)(void *A, void *B); // 线程执行 typedef void *(*fnSetUserMaxLevel)(void *CUser, int level); +typedef int (*fnAddMob)(int a1, int a2); + __END_DECLS \ No newline at end of file