From 631d1e13586a76a6a4d2cdc63079d59c8cc98fe9 Mon Sep 17 00:00:00 2001 From: explorer Date: Sat, 1 Feb 2025 15:56:59 +0300 Subject: [PATCH] fix typo, anti-afk (fixes #3) typo is actually on valve's side (array was taken from game's SurvivorCharacterDisplayName function) --- Copy_Command.hpp | 2 ++ Paint.hpp | 2 +- README.md | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Copy_Command.hpp b/Copy_Command.hpp index e6a29dd..46711ef 100644 --- a/Copy_Command.hpp +++ b/Copy_Command.hpp @@ -300,6 +300,8 @@ void __thiscall Redirected_Copy_Command(void* Unknown_Parameter, Command_Structu if ((*(float*)((unsigned __int32)Local_Player + 4604) + 800.f * Global_Variables->Interval_Per_Tick >= 560.f) + *(__int8*)((unsigned __int32)Local_Player + 8068) + *(__int8*)((unsigned __int32)Local_Player + 9708) != 0) { Sequence_Shift(2); + + Command->Buttons |= 4194304; } else { diff --git a/Paint.hpp b/Paint.hpp index a902f81..4e1437c 100755 --- a/Paint.hpp +++ b/Paint.hpp @@ -240,7 +240,7 @@ void __thiscall Redirected_Paint(void* Panel) if (Target->Identifier == 232) { - static wchar_t* Survivors[8] = { (wchar_t*)L"Nick", (wchar_t*)L"Rochelle", (wchar_t*)L"Coach", (wchar_t*)L"Ellis", (wchar_t*)L"Bill", (wchar_t*)L"Zoey", (wchar_t*)L"Francis", (wchar_t*)L"Louis" }; + static wchar_t* Survivors[8] = { (wchar_t*)L"Nick", (wchar_t*)L"Rochelle", (wchar_t*)L"Coach", (wchar_t*)L"Ellis", (wchar_t*)L"Bill", (wchar_t*)L"Zoey", (wchar_t*)L"Louis", (wchar_t*)L"Francis" }; Paint_Data->Name = Survivors[*(__int32*)((unsigned __int32)Target->Self + 7308) + 4 * (*(__int32*)((unsigned __int32)Client_Module + 8144624) == 1)]; } diff --git a/README.md b/README.md index 4a1579f..79fb924 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -to achieve least interpolation time: `cl_updaterate 100;cl_interp_ratio 0;cl_interp 0`\ +to achieve least (aligned) interpolation time: `cl_updaterate 30;cl_interp_ratio 0;cl_interp 0`\ to queue extra commands: `bind key +zoom` ``` code: https://github.com/qwertyuiop3/Storm