| View previous topic :: View next topic |
| Author |
Message |
manstie Expert Cheater
Reputation: 0
Joined: 16 Dec 2007 Posts: 110 Location: Im on youtube
|
Posted: Thu Feb 03, 2011 1:59 am Post subject: need help hacking a game |
|
|
Hi,
I'm trying to find the pointer adress of the ammount of bullets I have in "Postal 2 - Apocalypse Weekend". The adress changes every time I die so... yeah...
What I have done is scanned for the amount of bullets I have, then find out what writes to the adress
it is : 1013EFAE mov [ebx], eax
so I hex scan for what ebx says (0873FE74) but nothing comes up?
edit: if I replace the code with something that does nothing, I can shoot as many bullets as I want but for some reason the dogs don't die...
_________________
|
|
| Back to top |
|
 |
Geri Moderator
Reputation: 112
Joined: 05 Feb 2010 Posts: 5627
|
Posted: Thu Feb 03, 2011 3:36 am Post subject: |
|
|
Look for other codes too which are accessing to address and if there is some code like [eax+44] or similar when not only a register is between the brackets, then use that code. Or just check the register values and probably You will find which one is a the base address (the register which is close to Your address but not entirely the same).
_________________
|
|
| Back to top |
|
 |
Labyrnth Moderator
Reputation: 10
Joined: 28 Nov 2006 Posts: 6300
|
Posted: Thu Feb 03, 2011 12:03 pm Post subject: |
|
|
What he found was a shared instruction "if it is the right one", notice he said the dogs wont die if replaced with code that does nothing.
I would do like Geri says, try it again to see if you land back at the same one, if you do then look at whats around this instruction instead of bothering with that instruction. If your lucky you may even see something as simple as mov [eax],5 and 5 being the number of bullets of the gun.
|
|
| Back to top |
|
 |
Geri Moderator
Reputation: 112
Joined: 05 Feb 2010 Posts: 5627
|
Posted: Thu Feb 03, 2011 12:11 pm Post subject: |
|
|
It is not a problem if He is using a shared code when searching for pointers, He needs the base address only. If He want to use code injection, then it will be a small problem unless He can analyze the structures.
And I forgot to say, if You are stuck, use the pointer scanner.
_________________
|
|
| Back to top |
|
 |
manstie Expert Cheater
Reputation: 0
Joined: 16 Dec 2007 Posts: 110 Location: Im on youtube
|
Posted: Wed Feb 09, 2011 2:49 am Post subject: |
|
|
the pointer scanner takes years to complete...
_________________
|
|
| Back to top |
|
 |
Geri Moderator
Reputation: 112
Joined: 05 Feb 2010 Posts: 5627
|
Posted: Wed Feb 09, 2011 6:59 am Post subject: |
|
|
Yeah, sometimes. And code injection is a better solution anyway.
_________________
|
|
| Back to top |
|
 |
manstie Expert Cheater
Reputation: 0
Joined: 16 Dec 2007 Posts: 110 Location: Im on youtube
|
Posted: Tue Feb 15, 2011 2:05 am Post subject: |
|
|
I don't really know how to edit codes and inject n stuff...
anyway the real solution here is to not die... but I can't find anything to do with the health's amount.
_________________
|
|
| Back to top |
|
 |
Geri Moderator
Reputation: 112
Joined: 05 Feb 2010 Posts: 5627
|
Posted: Tue Feb 15, 2011 3:37 pm Post subject: |
|
|
Well You have about 2 options with CE.
Pointer
Code injection
You will need to learn at least one of them to deal with DMA.
_________________
|
|
| Back to top |
|
 |
|