Lodan Newbie cheater
Reputation: 0
Joined: 21 Mar 2015 Posts: 14
|
Posted: Mon Mar 23, 2015 2:15 pm Post subject: |
|
|
Hi guys, i tried almost everything in this forum to find my hp adress but failure.
Then i will show you the code that acess the hp in my hack.
lets see if you can found the right adress to acess the HP.
Lets started:
private Int64 CGameOffset = 0x142AEC018;
long entityOffset = this.GameMemory.ReadInt64(CGameOffset);
long playerOffset = this.GameMemory.ReadInt64(entityOffset + 0x11D8);
long entityEntry = this.GameMemory.ReadInt64(playerOffset + 0x410);
And this is my code for read HP player
// Player //
if (EntityType == 0x04)
{
// Show HP
long num22 = this.GameMemory.ReadInt64(entityEntry + 0x4068L);
uint num23 = this.GameMemory.ReadUInt32(num22);
for (uint j = 1; (num23 != 0x30) && (j < 50); j++)
{
num22 = this.GameMemory.ReadInt64(num22 + 0xf8L);
num23 = this.GameMemory.ReadUInt32(num22);
}
uint playerHP = this.GameMemory.ReadUInt32(num22 + 0xb0L) / 100;
int Hue = (int)(120f * (float)playerHP / 100f);
Color color = ColorTranslator.FromWin32(ColorHLSToRGB(Hue, 120, 240)); // H,L,S;
string playerNameHP = weapon + EntityName + " " + playerHP.ToString() + "%";
if (ShowPlayers) this.EntityToScreen(new Vector3(EntityX, EntityY + 1f, EntityZ), playerNameHP, color, true, false, BoxedPlayers, 2f, EntityYaw, EntityPitch);
//if (ShowPlayers) this.EntityToScreen(new Vector3(EntityX, EntityY + 1f, EntityZ), EntityName, Color.SkyBlue, true, false, BoxedPlayers, 2f, EntityYaw, EntityPitch);
}
Then i ask you which is the adress for HP player ??????
Rep for who get it... |
|