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 


Modern Day FPS

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Discussions
View previous topic :: View next topic  
Author Message
coffeeAchiever
Newbie cheater
Reputation: 0

Joined: 27 Dec 2014
Posts: 22

PostPosted: Sun Dec 28, 2014 4:09 am    Post subject: Modern Day FPS Reply with quote

Newbie here.

After following the Cheat Engine tutorial, I learned enough to completely dissect and create a trainer(!) for zdoom. Wow! A really short and sweet tutorial!

So then I tried my hand at a modern game, Payday: Heist. No success.

I wanted to ask a question about modern "blockbuster" games. I'm sure for certain things they must follow a particular paradigm the way a DBA creates schemas or a programmer implements try/catch blocks every time they do, for example, file access. There's a concept of "right and wrong" and very few people deviate from it.

What data type do modern games generally use for things like ammo and health? If I had to take a guess, it would be binary data, but this is my first foray into doing something like this.

ps- I know there are trainers for Payday Heist. This is purely for intellectual pursuit and curiosity.

Thanks!
Back to top
View user's profile Send private message
zm0d
Master Cheater
Reputation: 7

Joined: 06 Nov 2013
Posts: 423

PostPosted: Sun Dec 28, 2014 9:56 am    Post subject: Reply with quote

coffeeAchiever wrote:
What data type do modern games generally use for things like ammo and health?

Probably the most used datatypes are 4 byte integer and 4 byte float. But there are also games which use less address space for said values.

coffeeAchiever wrote:
If I had to take a guess, it would be binary data

You are modifying in-memory, so of course there everything is binary. If you modifiy file-based stuff like savegames, then there could be a difference between binary, strings, etc... Smile
Back to top
View user's profile Send private message
coffeeAchiever
Newbie cheater
Reputation: 0

Joined: 27 Dec 2014
Posts: 22

PostPosted: Mon Dec 29, 2014 7:17 pm    Post subject: Reply with quote

Right. I was referring to marshaling data into a binary format in the sense that if you assume a 32 bit word, you can stuff multiple data items into it and access the structure using shifting and masking.

It's a PITA, but once you write handlers, it becomes trivial, it's fast, and of course it's small. But maybe machines are so big these days it's completely unnecessary.

The kind of thing you learn in school and promptly rarely (or never) use.


BTW... Success! You were totally 100% right on the money.

I was able to get my first addresses in Payday: Heist:

Crosskill .45 Pistol total ammo: float, 13070730
Crosskill .45 Pistol chambered: float, 13070758

Oh, yeah!!! I have to say, my first two experiences with Cheat Engine (zDoom and Payday: Heist) have been remarkably easy. This piece of software is pretty amazing. Seems like it would be just as useful in system administration as well as cheat engine writing. Smile
Back to top
View user's profile Send private message
zm0d
Master Cheater
Reputation: 7

Joined: 06 Nov 2013
Posts: 423

PostPosted: Tue Dec 30, 2014 2:40 pm    Post subject: Reply with quote

coffeeAchiever wrote:
This piece of software is pretty amazing. Seems like it would be just as useful in system administration as well as cheat engine writing.


Yes it's a very powerful tool also beside game hacking (that comes for free).
As system administrator you would mostly use Wireshark, ProcMon and FileMon when you want to check out some programs. Cheat engine is a more interesting tool for software developers, especially reverse engineeres (but if reverse engineering is a real part of testing, then IDA Pro is the way to go). Cheat engine is definitely my #1 when we are going to hack some games Razz
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 Discussions 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