GlassWall Function

Posts 19 of 9 · Page 1 of 1
GlassWall Function
Hi All,

I need if it's ok :
Code:
void Glasswall ()
{
if(GetAsyncKeyState(VK_RCONTROL) &1)
{
DWORD dwPlayerPtr = *(DWORD*)Playerpointer;
if(dwPlayerPtr != 0)
{
*(float*)(dwPlayerPtr+ADR_GLASSWALL) = 0;
}
}
}
I tried to do by myself and this what I do, but it crash warrock and I don't Work, my address is ok, not detected.
the code is used is not meant for that type of hack try using something like this:
example

Code:
void unlimAmmo()
{
	DWORD dwProtect;
	const BYTE nop[3] = {0x90,0x90,0x90};
    VirtualProtect((void*)(ADR_UNLAMMO1), 3, PAGE_EXECUTE_READWRITE, &dwProtect);
    memcpy((void*)ADR_UNLAMMO1, &nop, 3);
    VirtualProtect((void*)(ADR_UNLAMMO1), 3, dwProtect, NULL);

	VirtualProtect((void*)(ADR_UNLAMMO2), 3, PAGE_EXECUTE_READWRITE, &dwProtect);
    memcpy((void*)ADR_UNLAMMO2, &nop, 3);
    VirtualProtect((void*)(ADR_UNLAMMO2), 3, dwProtect, NULL);

	VirtualProtect((void*)(ADR_UNLAMMO3), 3, PAGE_EXECUTE_READWRITE, &dwProtect);
    memcpy((void*)ADR_UNLAMMO3, &nop, 3);
    VirtualProtect((void*)(ADR_UNLAMMO3), 3, dwProtect, NULL);

}
Hey! Thats my code >

But i think glass wall is noping the bytes. You'll have to find out the nubmer of bytes
I don't need Unl. Ammo... I saw this on a forum : Glasswalls --> write 0 as long/float. So just have to write the Float = 0

I think I don't need to read it from the playerpointer
Quote Originally Posted by zhaoyun333 View Post
Hey! Thats my code >

But i think glass wall is noping the bytes. You'll have to find out the nubmer of bytes
srry, i was just showing him thats their are diffrent ways to code and the one he used was wrong, cus the one he use dwas mine which is only for changing values such as speed
IPAWN Thanks but me and Zhao have a Working GlassWall =D
Quote Originally Posted by killerld View Post
IPAWN Thanks but me and Zhao have a Working GlassWall =D
u may, but i almost got my bypass crack so
can you PM me your address?
Really? I'll trade glasswall for bypass =) But its Wednesday and they are changing addies, going to have to find the new ones
Posts 19 of 9 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

Need help?