PDA

View Full Version : WR Unlimited Stamina in D3D? Pointers???



froztyhax
08-02-2008, 07:48 PM
Ive started D3D coding and i have every hack but pointer hacks, such as Stamina, Superjump..

How would you do Stamina in D3D.
You have to use VirtualProtect because Warrocks Memory is protected, right?

Help me out please. :)

-FROZTY

Gordon
08-03-2008, 02:47 AM
DWORD dwPlayerPtr = *(DWORD*)yourplayerpointer;
if(dwPlayerPtr != 0)
{
*(float*)(dwPlayerPtr+0x2A4) = 100.0f;
}

and its not protected

Vindcare
08-03-2008, 04:53 AM
void Stamina()
{
Warrock = GetCurrentProcess();
int value5=100;
long maddy;

long blah3;

ReadProcessMemory(Warrock, (LPVOID*)(DWORD)0x13C2D48, &maddy, sizeof (maddy), NULL);

blah3 = maddy + 0x2A4,


WriteProcessMemory(Warrock, (LPVOID*)(DWORD) blah3, &value5, sizeof (value5), NULL);

}
i'm using this but i get crashes, whats wrong with it?

ZeaS
08-03-2008, 05:15 AM
void Stamina()
{
Warrock = GetCurrentProcess();
int value5=100;
long maddy;

long blah3;

ReadProcessMemory(Warrock, (LPVOID*)(DWORD)0x13C2D48, &maddy, sizeof (maddy), NULL);

blah3 = maddy + 0x2A4,


WriteProcessMemory(Warrock, (LPVOID*)(DWORD) blah3, &value5, sizeof (value5), NULL);

}
i'm using this but i get crashes, whats wrong with it?

writeprocessmemory wont work.... gordon posted how to do it closed