|
CSGO: Glow ESP c#
Hey guys, currently i’m new to the game hacking scene but not new to programming. Anyway, what my issue is, is that when i try to access the player entity list it returns nothing but zero. I’ve tried various combinations and i cannot seem to find the way of doing it. This is my code for my loop:
for (var i = 1; i < 65; i++) { int CurrentPlayer = Memory.ReadInt(ClientAddress + Signatures.dwEntityList + (i - 1) * 0x10); // returns 0 int playerGI = Memory.ReadInt(ClientAddress + CurrentPlayer + Netvars.m_iGlowIndex); // also returns 0 cause it needs the current player address Console.WriteLine("Current Selected Player: " + CurrentPlayer); Console.WriteLine("Player Glow Index: " + playerGI); // idk if this is gonna work, but we'll see Memory.WriteInt(ClientAddress + Signatures.dwGlowObjectManager + (playerGI * 0x38 + 0x4), 1); Memory.WriteInt(ClientAddress + Signatures.dwGlowObjectManager + (playerGI * 0x38 + 0x8), 0); Memory.WriteInt(ClientAddress + Signatures.dwGlowObjectManager + (playerGI * 0x38 + 0xC), 0); Memory.WriteInt(ClientAddress + Signatures.dwGlowObjectManager + (playerGI * 0x38 + 0x10), 1); Memory.WriteBool(ClientAddress + Signatures.dwGlowObjectManager + (playerGI * 0x38 + 0x24), true); Memory.WriteBool(ClientAddress + Signatures.dwGlowObjectManager + (playerGI * 0x38 + 0x25), false); Thread.Sleep(10); } Console.WriteLine("Process complete, check esp"); Console.ReadKey(); The issue Seems to lie somewhere in my selection of the current player which returns zero everytime its loops through. I believe personally that this issue lies in my ReadInt function which requires the process handle (Ive tried multiple combinations of addresses and client address in the hopes to find the issue), Though i am not entirely sure what the process handle is or how to get it.
Any other code snippets you need ill happily tender. (All offsets are sourced from Hazedumpers current list) I've managed to get the process handle but now my loop is returning this:
|
|