unl. ammo

Posts 1–14 of 14 · Page 1 of 1
unl. ammo
Could somebody please help me with my unlimited ammo hack. I got it working, but I can't turn it off

#define ADR_UNLAMMOMEMORY 0x00B36720

turn on:
Code:
if(GetAsyncKeyState(VK_NUMPAD5)&1){                                                    
            *(int*)ADR_UNLAMMOMEMORY = 0;}
turn off:
Code:
if(GetAsyncKeyState(VK_NUMPAD6)&1){
            *(int*)ADR_UNLAMMOMEMORY = 1;}
I am able to turn it on, and it works fine. But once I turn it off it gives me an error which says: Warrock.exe isn't working anymore
you should catch the original value at the start of the game, and restore it when you turn it off
Quote Originally Posted by zerohead View Post
you should catch the original value at the start of the game, and restore it when you turn it off
How do I find the value of it?
if(GetAsyncKeyState(VK_0x11 /*CONTROL*/)&1){
memcpy((void *)(((0x16)|(0x32))+UNLAMMOMEMORY),"\x8C\xFF",2);}

or

if(GetAsyncKeyState(VK_0x11 /*CONTROL*/)&1){
memcpy((void *)(UNLAMMOMEMORY),"\x8C\xFF",2);}
Rofl Ikke0148 i know mempcy is kind nice for everything But its not working for ASM only for mem ;p

IF He need it working on / off he need use patch way
Quote Originally Posted by R3dLine View Post
Rofl Ikke0148 i know mempcy is kind nice for everything But its not working for ASM only for mem ;p

IF He need it working on / off he need use patch way
or just use my way -.-
Quote Originally Posted by R3dLine View Post
Rofl Ikke0148 i know mempcy is kind nice for everything But its not working for ASM only for mem ;p

IF He need it working on / off he need use patch way
hmm.. this works fine for me :O
Im sure you can make it out of memcpy if you have a bypass
Quote Originally Posted by zerohead View Post
or just use my way -.-
Could you tell me what the original value of Unl.ammomemory is? I have no idea how to find it.
Quote Originally Posted by Ikke0148 View Post
hmm.. this works fine for me :O
Im sure you can make it out of memcpy if you have a bypass
ya i know i need bypass for ASM -.- and both of codes isn't working maybe u found wrong Byte ;p
Quote Originally Posted by AskAndHelp View Post
Could you tell me what the original value of Unl.ammomemory is? I have no idea how to find it.
you don't need to know, you can't, cause it's random, just save it in a variable
Quote Originally Posted by AskAndHelp View Post
Could you tell me what the original value of Unl.ammomemory is? I have no idea how to find it.
As zerohead said, put it in a variable. ( Do as you do for teleport, to get the player position )
Why would you want to turn it off
/closed

please close it's solved wizdom-x said: "Use on/off bytes"

but thank's all this
Rofl u better read replys again cuz Ikke0148 already told u that
Posts 1–14 of 14 · Page 1 of 1
This thread is closed for replies.

Tags for this Thread

Talk with us