|
Cheat Engine The Official Site of Cheat Engine
|
View previous topic :: View next topic |
Author |
Message |
luiz_borges How do I cheat? Reputation: 0
Joined: 26 Dec 2005 Posts: 2
|
Posted: Mon Dec 26, 2005 5:29 pm Post subject: How to INCREASE (not just change or frezee) a value |
|
|
I searched the forum for this but couldn't find it, there is anyway to make a trainer that instead of changing the value of an address to a fixed value, just increase its actual contents.
This way, you have 3 Lives, and everytime you press Ctrl+L your Lives counter increases by 1, going 4, 5, 6.
This can be done in the Cheat Engine program with the "Set Hotkey/Increase value with:" function, but how can i make that in a trainer?
Luiz Borges
|
|
Back to top |
|
|
Zhoul Master Cheater Reputation: 1
Joined: 19 Sep 2005 Posts: 394
|
Posted: Mon Dec 26, 2005 5:49 pm Post subject: Re: How to INCREASE (not just change or frezee) a value |
|
|
luiz_borges wrote: | I searched the forum for this but couldn't find it, there is anyway to make a trainer that instead of changing the value of an address to a fixed value, just increase its actual contents.
This way, you have 3 Lives, and everytime you press Ctrl+L your Lives counter increases by 1, going 4, 5, 6.
This can be done in the Cheat Engine program with the "Set Hotkey/Increase value with:" function, but how can i make that in a trainer?
Luiz Borges |
Use an Auto-Assemble script, since you can now implement them into a trainer quite easily.
Here is an auto-assemble script example:
http://forum.cheatengine.org/viewtopic.php?t=4870
You can also find an older (but still working) example in the cheat engine.hlp.
|
|
Back to top |
|
|
luiz_borges How do I cheat? Reputation: 0
Joined: 26 Dec 2005 Posts: 2
|
Posted: Mon Dec 26, 2005 7:04 pm Post subject: |
|
|
Thanks Zhoul, i've thought about that, but the point here, is where to inject the auto-assemble code, since the user may what to add lives at any moment.
So, I guess I must need to find the main program loop (how to do that??), AND also, the auto-assemble code must run just once for this to work (how to make it runs, then it automatic un-inject itself??)
Luiz Borges
|
|
Back to top |
|
|
Zhoul Master Cheater Reputation: 1
Joined: 19 Sep 2005 Posts: 394
|
Posted: Tue Dec 27, 2005 11:27 am Post subject: |
|
|
luiz_borges wrote: | Thanks Zhoul, i've thought about that, but the point here, is where to inject the auto-assemble code, since the user may what to add lives at any moment.
So, I guess I must need to find the main program loop (how to do that??), AND also, the auto-assemble code must run just once for this to work (how to make it runs, then it automatic un-inject itself??)
Luiz Borges |
You're right about finding some kind of loop that runs constantly, but that's really not too hard. Look for something that updates the graphical display numbers or something like that...
As for making it loop once:
- Make the script check a place in memory that is never used, and usually all 0's.
- Make the script add, to the value of balls, the value in that memory space.
- Make the script zero out that memory space when done.
- Setup another hot button that writes 1 to that place in memory.
That's just one of the countless ways I can think of (But probably easiest to describe) to accomplish this task. I do agree though, that it'd be nice if the trainer maker had a feature to add/subtract X from [address].
Then again, Most of the trainers I wind up making are being ported to VB anyhow to negate all that
|
|
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
|
|