disable prediction error smoothing

also z_sidespeed
This commit is contained in:
explorer 2025-01-21 00:30:25 +03:00
parent 0b54788d15
commit d5a3de9a21
3 changed files with 8 additions and 8 deletions

View File

@ -114,11 +114,11 @@ void __thiscall Redirected_Copy_Command(void* Unknown_Parameter, Command_Structu
if (__builtin_signbitf(Strafe_Angle) == 0) if (__builtin_signbitf(Strafe_Angle) == 0)
{ {
Command->Move[1] = -400.f; Command->Move[1] = -450.f;
} }
else else
{ {
Command->Move[1] = 400.f; Command->Move[1] = 450.f;
} }
Move_Angles[1] -= Strafe_Angle; Move_Angles[1] -= Strafe_Angle;
@ -127,11 +127,11 @@ void __thiscall Redirected_Copy_Command(void* Unknown_Parameter, Command_Structu
{ {
if (__builtin_signbitf(Difference) == 0) if (__builtin_signbitf(Difference) == 0)
{ {
Command->Move[1] = -400.f; Command->Move[1] = -450.f;
} }
else else
{ {
Command->Move[1] = 400.f; Command->Move[1] = 450.f;
} }
} }
} }

View File

@ -270,6 +270,8 @@ __int32 __stdcall DllMain(HMODULE This_Module, unsigned __int32 Call_Reason, voi
_putws(L"[ + ] Effects"); _putws(L"[ + ] Effects");
{ {
Byte_Manager::Set_Bytes(0, (void*)((unsigned __int32)Client_Module + 407384), 1, 133);
Original_Calculate_View_Caller = Redirection_Manager::Redirect_Function(0, (void*)((unsigned __int32)Client_Module + 132944), (void*)Redirected_Calculate_View); Original_Calculate_View_Caller = Redirection_Manager::Redirect_Function(0, (void*)((unsigned __int32)Client_Module + 132944), (void*)Redirected_Calculate_View);
Byte_Manager::Set_Bytes(0, (void*)((unsigned __int32)Client_Module + 133424), 1, 235); Byte_Manager::Set_Bytes(0, (void*)((unsigned __int32)Client_Module + 133424), 1, 235);

View File

@ -313,6 +313,8 @@ void __thiscall Redirected_Paint(void* Panel)
Draw_Text_Type((unsigned __int32)Engine_Module + 2218736)(Font, 0, 0, 0, 0, 0, 0, Text); Draw_Text_Type((unsigned __int32)Engine_Module + 2218736)(Font, 0, 0, 0, 0, 0, 0, Text);
Write_Character = 0;
if (Character != L'~') if (Character != L'~')
{ {
Character += L'\1'; Character += L'\1';
@ -365,8 +367,6 @@ void __thiscall Redirected_Paint(void* Panel)
wchar_t Text[2] = { Paint_Data->Name[Character_Number] }; wchar_t Text[2] = { Paint_Data->Name[Character_Number] };
Write_Character = Text[0];
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 + 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);
@ -376,8 +376,6 @@ void __thiscall Redirected_Paint(void* Panel)
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 + 2218736)(Font, Bounds[1] + 7 + Offset_X - Character_Bounds[0], Bounds[2] + Offset_Y, 128, 128, 128, 255, Text);
} }
Write_Character = 0;
Offset_X += Character_Bounds[1] + 1; Offset_X += Character_Bounds[1] + 1;
Character_Number += 1; Character_Number += 1;