Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


need help hacking a game

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
manstie
Expert Cheater
Reputation: 0

Joined: 16 Dec 2007
Posts: 110
Location: Im on youtube

PostPosted: Thu Feb 03, 2011 1:59 am    Post subject: need help hacking a game Reply with quote

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
View user's profile Send private message
Geri
Moderator
Reputation: 112

Joined: 05 Feb 2010
Posts: 5627

PostPosted: Thu Feb 03, 2011 3:36 am    Post subject: Reply with quote

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).
_________________
My trainers can be found here: http://www.szemelyesintegracio.hu/cheats

If you are interested in any of my crappy articles/tutorials about CE and game hacking, you can find them here:
http://www.szemelyesintegracio.hu/cheats/41-game-hacking-articles

Don't request cheats or updates.
Back to top
View user's profile Send private message
Labyrnth
Moderator
Reputation: 10

Joined: 28 Nov 2006
Posts: 6300

PostPosted: Thu Feb 03, 2011 12:03 pm    Post subject: Reply with quote

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
View user's profile Send private message
Geri
Moderator
Reputation: 112

Joined: 05 Feb 2010
Posts: 5627

PostPosted: Thu Feb 03, 2011 12:11 pm    Post subject: Reply with quote

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.

_________________
My trainers can be found here: http://www.szemelyesintegracio.hu/cheats

If you are interested in any of my crappy articles/tutorials about CE and game hacking, you can find them here:
http://www.szemelyesintegracio.hu/cheats/41-game-hacking-articles

Don't request cheats or updates.
Back to top
View user's profile Send private message
manstie
Expert Cheater
Reputation: 0

Joined: 16 Dec 2007
Posts: 110
Location: Im on youtube

PostPosted: Wed Feb 09, 2011 2:49 am    Post subject: Reply with quote

the pointer scanner takes years to complete...
_________________
Back to top
View user's profile Send private message
Geri
Moderator
Reputation: 112

Joined: 05 Feb 2010
Posts: 5627

PostPosted: Wed Feb 09, 2011 6:59 am    Post subject: Reply with quote

Yeah, sometimes. And code injection is a better solution anyway.
_________________
My trainers can be found here: http://www.szemelyesintegracio.hu/cheats

If you are interested in any of my crappy articles/tutorials about CE and game hacking, you can find them here:
http://www.szemelyesintegracio.hu/cheats/41-game-hacking-articles

Don't request cheats or updates.
Back to top
View user's profile Send private message
manstie
Expert Cheater
Reputation: 0

Joined: 16 Dec 2007
Posts: 110
Location: Im on youtube

PostPosted: Tue Feb 15, 2011 2:05 am    Post subject: Reply with quote

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
View user's profile Send private message
Geri
Moderator
Reputation: 112

Joined: 05 Feb 2010
Posts: 5627

PostPosted: Tue Feb 15, 2011 3:37 pm    Post subject: Reply with quote

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.

_________________
My trainers can be found here: http://www.szemelyesintegracio.hu/cheats

If you are interested in any of my crappy articles/tutorials about CE and game hacking, you can find them here:
http://www.szemelyesintegracio.hu/cheats/41-game-hacking-articles

Don't request cheats or updates.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites