 |
Cheat Engine The Official Site of Cheat Engine
|
| View previous topic :: View next topic |
| Author |
Message |
coffeeAchiever Newbie cheater
Reputation: 0
Joined: 27 Dec 2014 Posts: 22
|
Posted: Sun Dec 28, 2014 4:09 am Post subject: Modern Day FPS |
|
|
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 |
|
 |
zm0d Master Cheater
Reputation: 7
Joined: 06 Nov 2013 Posts: 423
|
Posted: Sun Dec 28, 2014 9:56 am Post subject: |
|
|
| 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...  |
|
| Back to top |
|
 |
coffeeAchiever Newbie cheater
Reputation: 0
Joined: 27 Dec 2014 Posts: 22
|
Posted: Mon Dec 29, 2014 7:17 pm Post subject: |
|
|
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.  |
|
| Back to top |
|
 |
zm0d Master Cheater
Reputation: 7
Joined: 06 Nov 2013 Posts: 423
|
Posted: Tue Dec 30, 2014 2:40 pm Post subject: |
|
|
| 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  |
|
| Back to top |
|
 |
|
|
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
|
|