mirror of
https://github.com/qwertyuiop3/Storm.git
synced 2025-06-08 02:29:41 +08:00
fix typo, anti-afk (fixes #3)
typo is actually on valve's side (array was taken from game's SurvivorCharacterDisplayName function)
This commit is contained in:
parent
d5a3de9a21
commit
631d1e1358
@ -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
|
||||
{
|
||||
|
@ -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)];
|
||||
}
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user