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 


Deadpool , Cant find the ammo value address

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
omoe
Grandmaster Cheater
Reputation: 8

Joined: 11 Jun 2013
Posts: 547

PostPosted: Sat Jun 29, 2013 4:03 pm    Post subject: Deadpool , Cant find the ammo value address Reply with quote

What i did is searched for the number of bullets i have then shoot some and checked for the reduced number and i got nothing then i tried unknown value so i shoot bullets and check for reduced value and still didn't get the address tried 4 bit ,float and double for almost 6 hours before i came here to ask for help , i downloaded a table for the game and saw that it was done by a script but how you get the bytes address without finding the value address first ?
Back to top
View user's profile Send private message
Gniarf
Grandmaster Cheater Supreme
Reputation: 43

Joined: 12 Mar 2012
Posts: 1285

PostPosted: Sat Jun 29, 2013 4:46 pm    Post subject: Re: Deadpool , Cant find the ammo value address Reply with quote

omoe wrote:
how you get the bytes address without finding the value address first ?
Reverse engineering: we look at the game's code, and given what OTHER variables a piece of code uses, we try to guess what it does... Usually it's a painful exercise, and it is not what you need for ammo in this game.

In deadpool, the ammo is stored as a 4 byte value. Start with unknown initial value, shoot one bullet, reload weapon, filter with decreased by 1, rinse and repeat.

Note: displayed ammo=ammo in clip + spare ammo, the 2 being stored separately.
Back to top
View user's profile Send private message
pellik
Advanced Cheater
Reputation: 0

Joined: 14 Jun 2013
Posts: 93

PostPosted: Sat Jun 29, 2013 7:56 pm    Post subject: Reply with quote

Alternatively you could use ultimap to home in on the reload or firing functions. Then you just have to read the assembly and/or disassemble it until you understand where and how the ammo is being reduced.

It's better to just think your way through the problem as Gniarf said, but OP did ask how to find the address without finding the value.
Back to top
View user's profile Send private message
omoe
Grandmaster Cheater
Reputation: 8

Joined: 11 Jun 2013
Posts: 547

PostPosted: Sat Jun 29, 2013 10:55 pm    Post subject: Reply with quote

I really appreciate your help guys. Thank you
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine 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