Joined: 24 Jun 2004 Posts: 733 Location: location location
Posted: Sat Aug 05, 2006 9:12 am Post subject:
Yes you can
push reg
mov reg,value
mov [pointer],reg
pop reg
jmp back to game
you can also put in a check to make sure the pointer is holding the correct address when your code cave is called or the pointer and reg is holding the correct addresses and values in the case of the pointer holding yours and the games ammo or health,
for example when the pointer holds your health its [012345567] jmp back to the game without decreasing the value of the pointer,
when the pointer holds the games bots health its [00abcdef] and you decrease the health then jmp back to the game,
in that case you mov your pointer into a reg and the value you want to check it against into another reg and cmp them to see if the pointer is holding the right address _________________
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