From 6768e29ea6646e44256ac4abf16cc2af8d630c76 Mon Sep 17 00:00:00 2001 From: explorer Date: Sun, 8 Dec 2024 02:17:09 +0300 Subject: [PATCH] survivor names useful for targeted healing/attacks --- Paint.hpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Paint.hpp b/Paint.hpp index 91ee451..7e5c198 100755 --- a/Paint.hpp +++ b/Paint.hpp @@ -217,7 +217,7 @@ void __thiscall Redirected_Paint(void* Panel) { 121, { { 255, 255, 255 }, (wchar_t*)L"Pain" } }, - { 232, { { 0, 255, 0 }, (wchar_t*)L"Survivor" } }, + { 232, { { 0, 255, 0 } } }, { 256, { { 255, 255, 255 }, (wchar_t*)L"Ammo" } }, @@ -238,6 +238,13 @@ void __thiscall Redirected_Paint(void* Panel) Paint_Data_Structure* Paint_Data = &Paint_Data_List[Target->Identifier]; + 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" }; + + Paint_Data->Name = Survivors[*(__int32*)((unsigned __int32)Target->Self + 7308)]; + } + __int8 Ghost = 0; if (*(__int32*)((unsigned __int32)Target->Self + 236) != 0)