diff --git a/Copy_Command.hpp b/Copy_Command.hpp index 9fb5d86..e6a29dd 100644 --- a/Copy_Command.hpp +++ b/Copy_Command.hpp @@ -114,11 +114,11 @@ void __thiscall Redirected_Copy_Command(void* Unknown_Parameter, Command_Structu if (__builtin_signbitf(Strafe_Angle) == 0) { - Command->Move[1] = -400.f; + Command->Move[1] = -450.f; } else { - Command->Move[1] = 400.f; + Command->Move[1] = 450.f; } Move_Angles[1] -= Strafe_Angle; @@ -127,11 +127,11 @@ void __thiscall Redirected_Copy_Command(void* Unknown_Parameter, Command_Structu { if (__builtin_signbitf(Difference) == 0) { - Command->Move[1] = -400.f; + Command->Move[1] = -450.f; } else { - Command->Move[1] = 400.f; + Command->Move[1] = 450.f; } } } diff --git a/Entry_Point.cpp b/Entry_Point.cpp index ec39a77..47d4ce1 100755 --- a/Entry_Point.cpp +++ b/Entry_Point.cpp @@ -270,6 +270,8 @@ __int32 __stdcall DllMain(HMODULE This_Module, unsigned __int32 Call_Reason, voi _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); Byte_Manager::Set_Bytes(0, (void*)((unsigned __int32)Client_Module + 133424), 1, 235); diff --git a/Paint.hpp b/Paint.hpp index 540d414..a902f81 100755 --- a/Paint.hpp +++ b/Paint.hpp @@ -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); + Write_Character = 0; + if (Character != L'~') { Character += L'\1'; @@ -365,8 +367,6 @@ void __thiscall Redirected_Paint(void* Panel) wchar_t Text[2] = { Paint_Data->Name[Character_Number] }; - Write_Character = Text[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); @@ -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); } - Write_Character = 0; - Offset_X += Character_Bounds[1] + 1; Character_Number += 1;