diff --git a/src/client/component/bots.cpp b/src/client/component/bots.cpp index 089ac700..67398577 100644 --- a/src/client/component/bots.cpp +++ b/src/client/component/bots.cpp @@ -106,4 +106,4 @@ namespace bots }; } -//REGISTER_COMPONENT(bots::component) \ No newline at end of file +REGISTER_COMPONENT(bots::component) diff --git a/src/client/component/scheduler.cpp b/src/client/component/scheduler.cpp index 177ec4be..abe01fff 100644 --- a/src/client/component/scheduler.cpp +++ b/src/client/component/scheduler.cpp @@ -207,7 +207,7 @@ namespace scheduler a.jmp(0x6A6310_b); }), true); - //g_run_frame_hook.create(SELECT_VALUE(0x0, 0x417940_b), scheduler::server_frame_stub); + g_run_frame_hook.create(SELECT_VALUE(0x0, 0x417940_b), scheduler::server_frame_stub); main_frame_hook.create(SELECT_VALUE(0x0, 0x3438B0_b), scheduler::main_frame_stub); //hks_frame_hook.create(SELECT_VALUE(0x0, 0x0), scheduler::hks_frame_stub); // no scripting for now } diff --git a/src/client/game/symbols.hpp b/src/client/game/symbols.hpp index 0fea5b49..b9d0d716 100644 --- a/src/client/game/symbols.hpp +++ b/src/client/game/symbols.hpp @@ -134,7 +134,7 @@ namespace game unsigned int paramcount)> VM_Execute{0x0, 0x0}; WEAK symbol Scr_NotifyId{0x0, 0x0}; + unsigned int paramcount)> Scr_NotifyId{0x0, 0x510340}; WEAK symbol Scr_AllocVector{0x0, 0x0}; WEAK symbol Scr_GetFloat{0x0, 0x0}; WEAK symbol Scr_GetString{0x0, 0x0}; @@ -163,7 +163,7 @@ namespace game WEAK symbol Menu_IsMenuOpenAndVisible{0x0, 0x0}; WEAK symbol SL_FindString{0x0, 0x0}; - WEAK symbol SL_GetString{0x0, 0x0}; + WEAK symbol SL_GetString{0x0, 0x5083A0}; WEAK symbol SL_ConvertToString{0x0, 0x0}; WEAK symbol SL_GetCanonicalString{0x0, 0x0}; @@ -172,10 +172,10 @@ namespace game WEAK symbol SV_Cmd_TokenizeString{0x0, 0x1CACE0}; WEAK symbol SV_Cmd_EndTokenizedString{0x0, 0x1CACA0}; - WEAK symbol SV_AddBot{0x0, 0x0}; + WEAK symbol SV_AddBot{0x0, 0x54D4F0}; WEAK symbol SV_BotIsBot{0x0, 0x53B6D0}; - WEAK symbol SV_BotGetRandomName{0x0, 0x0}; - WEAK symbol SV_SpawnTestClient{0x0, 0x0}; + WEAK symbol SV_BotGetRandomName{0x0, 0x53ABD0}; + WEAK symbol SV_SpawnTestClient{0x0, 0x550580}; WEAK symbol SV_GetGuid{0x0, 0x0}; WEAK symbol SV_GetClientPing{0x0, 0x0}; @@ -227,7 +227,7 @@ namespace game WEAK symbol g_classMap{0x0, 0x0}; WEAK symbol scr_VarGlob{0x0, 0x0}; - WEAK symbol scr_VmPub{0x0, 0x0}; + WEAK symbol scr_VmPub{0x0, 0xB7AE3C0}; WEAK symbol scr_function_stack{0x0, 0x0}; WEAK symbol gfxDrawMethod{0x0, 0x0};