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 


Mono dissect question

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
MichaelLee01
Cheater
Reputation: 0

Joined: 07 Apr 2020
Posts: 37

PostPosted: Sat Jul 04, 2020 10:53 pm    Post subject: Mono dissect question Reply with quote

I found this by accident,while I was using structure disseect I found a speedmodifier hack,but is there a way to make the hack a script?


20200705.png
 Description:
 Filesize:  208.89 KB
 Viewed:  1695 Time(s)

20200705.png


Back to top
View user's profile Send private message
Csimbi
I post too much
Reputation: 98

Joined: 14 Jul 2007
Posts: 3349

PostPosted: Sun Jul 05, 2020 3:17 am    Post subject: Reply with quote

I assume you will want that to apply to all of your creatures in all areas.
So, see what reads/writes that address and implement what you wish on one of those.
You might want to implement a player check, too to make sure it applies only to your own creatures (unless of course you can find and hook into a piece of code that runs only for the player).

NOTE: CE is a bit finicky when it comes to debugging with Mono.

Lastly: chances are good the bits of codes you find will be JIT-generated code. You will need to make your script an "AOB script" to make sure it finds the same code the next time you start the game.

Good luck!
Back to top
View user's profile Send private message
MichaelLee01
Cheater
Reputation: 0

Joined: 07 Apr 2020
Posts: 37

PostPosted: Sun Jul 05, 2020 3:39 am    Post subject: Reply with quote

Csimbi wrote:
I assume you will want that to apply to all of your creatures in all areas.
So, see what reads/writes that address and implement what you wish on one of those.
You might want to implement a player check, too to make sure it applies only to your own creatures (unless of course you can find and hook into a piece of code that runs only for the player).

NOTE: CE is a bit finicky when it comes to debugging with Mono.

Lastly: chances are good the bits of codes you find will be JIT-generated code. You will need to make your script an "AOB script" to make sure it finds the same code the next time you start the game.

Good luck!




Thanks you for answering!
If the value changed,I can just find what write to this adress.But what if the value never changes?
For example there is a "noclip" adress,can I write a script that set "noclip"to 1?
Back to top
View user's profile Send private message
Csimbi
I post too much
Reputation: 98

Joined: 14 Jul 2007
Posts: 3349

PostPosted: Sun Jul 05, 2020 10:45 am    Post subject: Reply with quote

That is why it's a good idea to modify the code that reads the value.

But, make sure that 'never changes' is actually true.
Some engines do not attempt a write when the current value equals the one you would be writing.
So, change it manually a few times and see if it ever changes back.
Then, it may be initialized only once (during level/area load) and never again.
If there are no writes to it, then you are good with getting a pointer to it and changing it only once.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine 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