diff --git a/Copy_Command.hpp b/Copy_Command.hpp index ef2ba72..526af01 100644 --- a/Copy_Command.hpp +++ b/Copy_Command.hpp @@ -321,11 +321,11 @@ void __thiscall Redirected_Copy_Command(void* Unknown_Parameter, Command_Structu using Set_Host_Type = void(__thiscall*)(void* Move_Helper, void* Player); - Set_Host_Type((unsigned __int32)Client_Module + 1331184)((void*)((unsigned __int32)Client_Module + 7174888), Local_Player); + Set_Host_Type((unsigned __int32)Client_Module + 1331216)((void*)((unsigned __int32)Client_Module + 7174888), Local_Player); Redirected_Run_Command(Prediction, Local_Player, Command, (void*)((unsigned __int32)Client_Module + 7174888)); - Set_Host_Type((unsigned __int32)Client_Module + 1331184)((void*)((unsigned __int32)Client_Module + 7174888), nullptr); + Set_Host_Type((unsigned __int32)Client_Module + 1331216)((void*)((unsigned __int32)Client_Module + 7174888), nullptr); *(__int8*)((unsigned __int32)Prediction + 8) = 0; @@ -787,7 +787,7 @@ void __thiscall Redirected_Copy_Command(void* Unknown_Parameter, Command_Structu *(__int32*)((unsigned __int32)Client_Module + 7075944) = Command->Random_Seed; - *(__int32*)((unsigned __int32)Client_Module + 7683464) = 1; + *(__int8*)((unsigned __int32)Client_Module + 7683464) = 1; *(__int32*)((unsigned __int32)Client_Module + 7689576) = 0; @@ -805,7 +805,7 @@ void __thiscall Redirected_Copy_Command(void* Unknown_Parameter, Command_Structu *(__int32*)((unsigned __int32)Client_Module + 7689576) = 1; - *(__int32*)((unsigned __int32)Client_Module + 7683464) = 0; + *(__int8*)((unsigned __int32)Client_Module + 7683464) = 0; *(void**)((unsigned __int32)Engine_Module + 5050008) = Previous_Audio_Device; diff --git a/Draw_Effect.hpp b/Draw_Effect.hpp index a354279..dd47902 100755 --- a/Draw_Effect.hpp +++ b/Draw_Effect.hpp @@ -4,7 +4,7 @@ __int8 __thiscall Redirected_Draw_Effect(void* Effect, void* Unknown_Parameter_1 { using Get_Effect_Name_Type = char*(__thiscall*)(void* Effect); - if (__builtin_strstr(Get_Effect_Name_Type((unsigned __int32)Client_Module + 1423120)((void*)((unsigned __int32)Effect - 8)), "ecloud_ca") == nullptr) + if (__builtin_strstr(Get_Effect_Name_Type((unsigned __int32)Client_Module + 1423136)((void*)((unsigned __int32)Effect - 8)), "ecloud_ca") == nullptr) { return (decltype(&Redirected_Draw_Effect)(Original_Draw_Effect_Caller))(Effect, Unknown_Parameter_1, Unknown_Parameter_2); } diff --git a/Entry_Point.cpp b/Entry_Point.cpp index 928cf8a..fdd65a5 100755 --- a/Entry_Point.cpp +++ b/Entry_Point.cpp @@ -212,7 +212,7 @@ __int32 __stdcall DllMain(HMODULE This_Module, unsigned __int32 Call_Reason, voi Original_Process_Movement_Caller = Redirection_Manager::Redirect_Function(2, (void*)((unsigned __int32)Client_Module + 2590832), (void*)Redirected_Process_Movement); - Original_Play_Footstep_Sound_Caller = Redirection_Manager::Redirect_Function(0, (void*)((unsigned __int32)Client_Module + 978464), (void*)Redirected_Play_Footstep_Sound); + Original_Play_Footstep_Sound_Caller = Redirection_Manager::Redirect_Function(0, (void*)((unsigned __int32)Client_Module + 978528), (void*)Redirected_Play_Footstep_Sound); Original_Finish_Move_Caller = Redirection_Manager::Redirect_Function(2, (void*)((unsigned __int32)Client_Module + 1553264), (void*)Redirected_Finish_Move); @@ -238,13 +238,13 @@ __int32 __stdcall DllMain(HMODULE This_Module, unsigned __int32 Call_Reason, voi _putws(L"[ + ] Input"); { - Byte_Manager::Set_Bytes(0, (void*)((unsigned __int32)Client_Module + 1250629), 3, 144); + Byte_Manager::Set_Bytes(0, (void*)((unsigned __int32)Client_Module + 1250661), 3, 144); Byte_Manager::Set_Bytes(0, (void*)((unsigned __int32)Client_Module + 417204), 1, 235); Byte_Manager::Set_Bytes(0, (void*)((unsigned __int32)Client_Module + 2538675), 1, 255); - Original_Copy_Command_Caller = Redirection_Manager::Redirect_Function(0, (void*)((unsigned __int32)Client_Module + 1094624), (void*)Redirected_Copy_Command); + Original_Copy_Command_Caller = Redirection_Manager::Redirect_Function(0, (void*)((unsigned __int32)Client_Module + 1094672), (void*)Redirected_Copy_Command); } _putws(L"[ + ] Effects"); @@ -257,13 +257,13 @@ __int32 __stdcall DllMain(HMODULE This_Module, unsigned __int32 Call_Reason, voi Byte_Manager::Set_Bytes(0, (void*)((unsigned __int32)Client_Module + 2881566), 1, 246); - Original_Draw_Effect_Caller = Redirection_Manager::Redirect_Function(0, (void*)((unsigned __int32)Client_Module + 1425888), (void*)Redirected_Draw_Effect); + Original_Draw_Effect_Caller = Redirection_Manager::Redirect_Function(0, (void*)((unsigned __int32)Client_Module + 1425904), (void*)Redirected_Draw_Effect); Byte_Manager::Set_Bytes(0, (void*)((unsigned __int32)Client_Module + 1868237), 1, 52); Byte_Manager::Set_Bytes(0, (void*)((unsigned __int32)Client_Module + 2655546), 1, 216); - *(void**)((unsigned __int32)Client_Module + 8115120) = (void*)((unsigned __int32)Client_Module + 955708); + *(void**)((unsigned __int32)Client_Module + 8115120) = (void*)((unsigned __int32)Client_Module + 955756); } _putws(L"[ + ] Paint"); diff --git a/Extended_Interface.hpp b/Extended_Interface.hpp index dffeaa1..cc65329 100755 --- a/Extended_Interface.hpp +++ b/Extended_Interface.hpp @@ -45,7 +45,7 @@ void Implement_Extended_Interface() { using Create_Variable_Type = void(__thiscall*)(Interface_Structure* Interface, char* Name, char* Value, void* Unknown_Parameter_1, void* Unknown_Parameter_2, void* Handler); - Create_Variable_Type((unsigned __int32)Engine_Module + 2636368)(Interface, Name, Value, nullptr, nullptr, Handler); + Create_Variable_Type((unsigned __int32)Engine_Module + 2636592)(Interface, Name, Value, nullptr, nullptr, Handler); *(__int32*)((unsigned __int32)Interface + 20) &= ~10; diff --git a/Paint.hpp b/Paint.hpp index 95528bf..1c62317 100755 --- a/Paint.hpp +++ b/Paint.hpp @@ -312,7 +312,7 @@ void __thiscall Redirected_Paint(void* Panel) Write_Character = Text[0]; - Draw_Text_Type((unsigned __int32)Engine_Module + 2218736)(Font, 0, 0, 0, 0, 0, 0, Text); + Draw_Text_Type((unsigned __int32)Engine_Module + 2219008)(Font, 0, 0, 0, 0, 0, 0, Text); Write_Character = 0; @@ -370,11 +370,11 @@ void __thiscall Redirected_Paint(void* Panel) if (Ghost == 0) { - Draw_Text_Type((unsigned __int32)Engine_Module + 2218736)(Font, Bounds[1] + 7 + Offset_X - Character_Bounds[0], Bounds[2] + Offset_Y, Paint_Data->Color[0], Paint_Data->Color[1], Paint_Data->Color[2], 255, Text); + Draw_Text_Type((unsigned __int32)Engine_Module + 2219008)(Font, Bounds[1] + 7 + Offset_X - Character_Bounds[0], Bounds[2] + Offset_Y, Paint_Data->Color[0], Paint_Data->Color[1], Paint_Data->Color[2], 255, Text); } else { - Draw_Text_Type((unsigned __int32)Engine_Module + 2218736)(Font, Bounds[1] + 7 + Offset_X - Character_Bounds[0], Bounds[2] + Offset_Y, 128, 128, 128, 255, Text); + Draw_Text_Type((unsigned __int32)Engine_Module + 2219008)(Font, Bounds[1] + 7 + Offset_X - Character_Bounds[0], Bounds[2] + Offset_Y, 128, 128, 128, 255, Text); } Offset_X += Character_Bounds[1] + 1; diff --git a/Perform_Trace.hpp b/Perform_Trace.hpp index 779b88a..1ea8a66 100755 --- a/Perform_Trace.hpp +++ b/Perform_Trace.hpp @@ -82,7 +82,7 @@ void __thiscall Perform_Trace(void* Stack) float Damage; - static void* Calculate_Damage = (void*)((unsigned __int32)GetModuleHandleW(L"server.dll") + 3950416); + static void* Calculate_Damage = (void*)((unsigned __int32)GetModuleHandleW(L"server.dll") + 3950592); { asm("movl %0, %%esi" : : "m"(Weapon_Data) : "esi"); asm("subl $16, %esp"); @@ -134,11 +134,11 @@ void __thiscall Perform_Trace(void* Stack) float Bounds[3]; - Get_Bounds_Type((unsigned __int32)Client_Module + 878528)((void*)((unsigned __int32)Entity + 540), Get_Center(Local_Player), Bounds); + Get_Bounds_Type((unsigned __int32)Client_Module + 878608)((void*)((unsigned __int32)Entity + 540), Get_Center(Local_Player), Bounds); using Calculate_Distance_Type = float(__thiscall*)(void* Collision, float* Bounds); - float Distance = Calculate_Distance_Type((unsigned __int32)Client_Module + 878608)((void*)((unsigned __int32)Local_Player + 540), Bounds); + float Distance = Calculate_Distance_Type((unsigned __int32)Client_Module + 878688)((void*)((unsigned __int32)Local_Player + 540), Bounds); if (Distance < 100.f) { diff --git a/Send_Move.hpp b/Send_Move.hpp index 19fefa4..9c2ab2c 100644 --- a/Send_Move.hpp +++ b/Send_Move.hpp @@ -60,7 +60,7 @@ void Redirected_Send_Move() } } - void* Network_Channel = *(void**)(*(unsigned __int32*)((unsigned __int32)Engine_Module + 4352236) + 24); + void* Network_Channel = *(void**)((unsigned __int32)Client + 24); if (*(__int32*)((unsigned __int32)Network_Channel + 16) != -1) {