game update (noop)

This commit is contained in:
explorer
2026-07-04 22:06:40 +03:00
parent 6ad3042042
commit cac5520c20
7 changed files with 18 additions and 18 deletions
+4 -4
View File
@@ -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); 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)); 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; *(__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 + 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; *(__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 + 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; *(void**)((unsigned __int32)Engine_Module + 5050008) = Previous_Audio_Device;
+1 -1
View File
@@ -4,7 +4,7 @@ __int8 __thiscall Redirected_Draw_Effect(void* Effect, void* Unknown_Parameter_1
{ {
using Get_Effect_Name_Type = char*(__thiscall*)(void* Effect); 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); return (decltype(&Redirected_Draw_Effect)(Original_Draw_Effect_Caller))(Effect, Unknown_Parameter_1, Unknown_Parameter_2);
} }
+5 -5
View File
@@ -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_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); 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"); _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 + 417204), 1, 235);
Byte_Manager::Set_Bytes(0, (void*)((unsigned __int32)Client_Module + 2538675), 1, 255); 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"); _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); 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 + 1868237), 1, 52);
Byte_Manager::Set_Bytes(0, (void*)((unsigned __int32)Client_Module + 2655546), 1, 216); 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"); _putws(L"[ + ] Paint");
+1 -1
View File
@@ -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); 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; *(__int32*)((unsigned __int32)Interface + 20) &= ~10;
+3 -3
View File
@@ -312,7 +312,7 @@ void __thiscall Redirected_Paint(void* Panel)
Write_Character = Text[0]; 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; Write_Character = 0;
@@ -370,11 +370,11 @@ void __thiscall Redirected_Paint(void* Panel)
if (Ghost == 0) 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 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; Offset_X += Character_Bounds[1] + 1;
+3 -3
View File
@@ -82,7 +82,7 @@ void __thiscall Perform_Trace(void* Stack)
float Damage; 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("movl %0, %%esi" : : "m"(Weapon_Data) : "esi");
asm("subl $16, %esp"); asm("subl $16, %esp");
@@ -134,11 +134,11 @@ void __thiscall Perform_Trace(void* Stack)
float Bounds[3]; 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); 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) if (Distance < 100.f)
{ {
+1 -1
View File
@@ -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) if (*(__int32*)((unsigned __int32)Network_Channel + 16) != -1)
{ {