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 


Trainer is not working after closing and opening game again!

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
Subjected
How do I cheat?
Reputation: 0

Joined: 02 Aug 2018
Posts: 8

PostPosted: Thu Aug 02, 2018 2:09 pm    Post subject: Trainer is not working after closing and opening game again! Reply with quote

Hello, im kinda new to cheat engine and trying to figure out things. I know the basics. My problem is if i make a trainer, save it and all that then its good. As soon as i restart my game, the trainer stops working. I know theres a thing called pointer scanner, but that works with values, but i have script. Well basically i did Antibounce trainer, which is when you touch lava, it doesnt affect you. But i really dont know what to do to save/load the trainer even after the game restarts. Question
Back to top
View user's profile Send private message
OldCheatEngineUser
Whateven rank
Reputation: 20

Joined: 01 Feb 2016
Posts: 1586

PostPosted: Thu Aug 02, 2018 2:30 pm    Post subject: Reply with quote

what are you using?
address injection or array of byte scanning?

_________________
About Me;
I Use CE Since Version 1.X, And Still Learning How To Use It Well!
Jul 26, 2020
STN wrote:
i am a sweetheart.
Back to top
View user's profile Send private message Visit poster's website
Subjected
How do I cheat?
Reputation: 0

Joined: 02 Aug 2018
Posts: 8

PostPosted: Thu Aug 02, 2018 4:27 pm    Post subject: Reply with quote

OldCheatEngineUser wrote:
what are you using?
address injection or array of byte scanning?


Address injection
Back to top
View user's profile Send private message
Subjected
How do I cheat?
Reputation: 0

Joined: 02 Aug 2018
Posts: 8

PostPosted: Sun Aug 05, 2018 9:53 am    Post subject: Reply with quote

Can anybody help me?
Back to top
View user's profile Send private message
TheyCallMeTim13
Wiki Contributor
Reputation: 51

Joined: 24 Feb 2017
Posts: 976
Location: Pluto

PostPosted: Sun Aug 05, 2018 10:11 am    Post subject: Reply with quote

The addresses are probably changing, do some basic debugging like viewing the code after a restart. In the end you will most likely need to use AOBs to find the code.

https://wiki.cheatengine.org/index.php?title=Tutorials:AOBs

And I recommend just learning the basics before jumping into trainers. Working on trainers before the basics is like learning to high-dive before learning to swim, you'll just tend to drown.

_________________
Back to top
View user's profile Send private message Visit poster's website
OldCheatEngineUser
Whateven rank
Reputation: 20

Joined: 01 Feb 2016
Posts: 1586

PostPosted: Sun Aug 05, 2018 10:24 am    Post subject: Reply with quote

Subjected wrote:
Can anybody help me?

yeah, actually forgot about the post.

anyways, this probably means its not module address.
if so, then you have to use aobscan. (or do some math from image base)

in case its mono, you can enable mono features and hook the symbol.

_________________
About Me;
I Use CE Since Version 1.X, And Still Learning How To Use It Well!
Jul 26, 2020
STN wrote:
i am a sweetheart.
Back to top
View user's profile Send private message Visit poster's website
Subjected
How do I cheat?
Reputation: 0

Joined: 02 Aug 2018
Posts: 8

PostPosted: Tue Aug 07, 2018 1:16 am    Post subject: Reply with quote

OldCheatEngineUser wrote:
Subjected wrote:
Can anybody help me?

yeah, actually forgot about the post.

anyways, this probably means its not module address.
if so, then you have to use aobscan. (or do some math from image base)

in case its mono, you can enable mono features and hook the symbol.


I did this AOB scan and AOB Injection, now its weird, its sometimes working and sometimes no, its barely working. What do i need to do to make it work everytime? I found piece of bytes that never changes, but i dont know what to do with it.
Back to top
View user's profile Send private message
TheyCallMeTim13
Wiki Contributor
Reputation: 51

Joined: 24 Feb 2017
Posts: 976
Location: Pluto

PostPosted: Tue Aug 07, 2018 7:19 am    Post subject: Reply with quote

Subjected wrote:

I did this AOB scan and AOB Injection... I found piece of bytes that never changes, but i dont know what to do with it.

These 2 statement together don't make sense to me, if you did the AOB injection then you should know what to do with the AOB. At most you'd just need to figure out an offset if the AOB is offset from your injection point, but that is just a matter of some math with the injection point address and the AOBs address ("address - address = offset").

But here is a video that might help.
https://www.youtube.com/watch?v=Azu6Dindc9Y

EDIT:
If the AOB only works after you do something in game the opcode might be JITed code, thus it won't be in memory until the code needs to be run.
https://en.wikipedia.org/wiki/Just-in-time_compilation

_________________


Last edited by TheyCallMeTim13 on Tue Aug 07, 2018 7:27 am; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
Subjected
How do I cheat?
Reputation: 0

Joined: 02 Aug 2018
Posts: 8

PostPosted: Tue Aug 07, 2018 7:25 am    Post subject: Reply with quote

TheyCallMeTim13 wrote:
Subjected wrote:

I did this AOB scan and AOB Injection... I found piece of bytes that never changes, but i dont know what to do with it.

These 2 statement together don't make sense to me, if you did the AOB injection then you should know what to do with the AOB. At most you'd just need to figure out an offset if the AOB is offset from your injection point, but that is just a matter of some math with the injection point address and the AOBs address ("address - address = offset").

But here is vidio that might help.


EDIT:
If the AOB only works after you do something in game the opcode might be JITed code, thus it won't be in memory until the code needs to be run.


Thanks, i figured it out, im just a newbie and didnt realize few things.
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 Gamehacking 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