Joined: 31 Oct 2008 Posts: 353 Location: Milano,Texas
Posted: Mon Jan 26, 2009 5:41 pm Post subject: C++ Hack Help
Ok i am making a hack for warrock and i am doing a teleport hack and i want to read process memory to read my position and then the values it read i want it to crate a file to displace it to look like this
X:
Y:
Z:
then if pressed the num 1 it save those vaules to the file and if num 2 is pressed it reads that file and gets the x,y,z vaule for earlier then i teleport it to u that postion here is the offsets
X:0x18C
Y:0x194
Z:0x190
and they are float vaules so here I need this to be in the code.
void Teleport()
{
DWORD dwPlayerPtr = *(DWORD*)0x14D1420;
if(dwPlayerPtr != 0) //This Tell's Me If I'Am In Game So It Wont Crash
{
*(float*)(dwPlayerPtr+0x18C) = 0;
*(float*)(dwPlayerPtr+0x194) = 0;
*(float*)(dwPlayerPtr+0x190) = 0;
}
}
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum