| View previous topic :: View next topic |
| Author |
Message |
paroxysmal How do I cheat?
Reputation: 0
Joined: 01 Sep 2011 Posts: 2
|
Posted: Thu Sep 01, 2011 12:51 pm Post subject: trainer creation help - pointer/offsets? |
|
|
First time poster here guys.
I have used cheat engine for around a year or two now and have had little problems searching for addresses and modifying them, and creating trainers that work as long as i don't close the game I'm playing when I create the trainer.
The problem I'm having is that the trainer doesn't work when I close the game and reopen it.
The typical way I make a trainer is I search for a value, say handgun ammo and when I find it, i enter a new value to make sure its going to work, then after I am sure I right click on the address and click 'what writes to this address'.
I attach a debugger and then go in game and shoot my handgun or pickup bullets depending on how i want my trainer to work. When I find the register that writes to the address, I add it to my trainer as handgun ammo, and click freeze amount or increase and assign it a button, lets say F1.
I save the trainer, curse at AVG for being horrid, run the trainer with the game and f1 does just what I want it to do. As soon as I close the game and reopen it the trainer does nothing.
Some codes aren't hard to find, like ammo, but other times when health/shield don't have a numeric value it is annoying to have to find these each time I run the game.
Please share with me the wealth of your knowledge and help me to find what I am doing wrong that these trainer makers do so awesomely.
Thanks
|
|
| Back to top |
|
 |
Geri Moderator
Reputation: 112
Joined: 05 Feb 2010 Posts: 5627
|
Posted: Thu Sep 01, 2011 12:56 pm Post subject: |
|
|
In some games, not even the code addresses are static. Check that your script is modifying the correct code before you activate it.
_________________
|
|
| Back to top |
|
 |
paroxysmal How do I cheat?
Reputation: 0
Joined: 01 Sep 2011 Posts: 2
|
Posted: Thu Sep 01, 2011 1:01 pm Post subject: scripts |
|
|
I read a little bit about scripts since you mentioned it.
I have very little programming background and that is what scripts look like to me.
Is there a faq or guide somewhere for script creation? I can probably figure it out if I see what I am supposed to do.
|
|
| Back to top |
|
 |
Geri Moderator
Reputation: 112
Joined: 05 Feb 2010 Posts: 5627
|
Posted: Thu Sep 01, 2011 1:13 pm Post subject: |
|
|
The Code Injection step of CE shows how to make a script.
_________________
|
|
| Back to top |
|
 |
gameplayer Advanced Cheater
Reputation: 2
Joined: 26 Jun 2011 Posts: 97 Location: Vietnam
|
Posted: Sun Sep 11, 2011 2:39 am Post subject: Re: scripts |
|
|
| paroxysmal wrote: | I read a little bit about scripts since you mentioned it.
I have very little programming background and that is what scripts look like to me.
Is there a faq or guide somewhere for script creation? I can probably figure it out if I see what I am supposed to do. |
You seem not to know anything about scripts. I can't explain a lot. But you should do the tutorial. Run Tutorial-i386.exe for win 32 bits or Tutorial-x86_64.exe for win 64 bits. Search in this forum with keywords "auto assembler", "code injection" and read what you are interested in. Download a table with some scripts about any games that you've ever played, try to learn from them as examples. Right click on the scripts and select "change script" to read and write on them. Create a simple script by click memory view to show a new window. At menu bar, select tool -> auto assembler to open a new script. In memory view window, select an address then return to auto assembler window select template -> Cheat Table framework code, and template -> code injection to cheat at the selected address. Click file -> assign to current cheat table to add the script into your table for saving purpose. You must know assembly language to do this action because the game may crash if there's something wrong.
|
|
| Back to top |
|
 |
|