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 


Cheat Engine Mono. Get Address instances and static fields.

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

Joined: 13 Jun 2019
Posts: 2
Location: non

PostPosted: Thu Jun 13, 2019 2:36 pm    Post subject: Cheat Engine Mono. Get Address instances and static fields. Reply with quote

Hello. I want to change my health value in a unity game.
I found the health class.
I found the instance of the health class.
I found the value of my health inside the instance.
Now I want to get the address of it and change it via CheatEngine or via a custom Cpp program. How do I do that? Thank you for your time.

_________________
Wot
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
oleg11
How do I cheat?
Reputation: 0

Joined: 13 Jun 2019
Posts: 2
Location: non

PostPosted: Fri Jun 14, 2019 3:22 am    Post subject: Answer Reply with quote

following up for future people here's how you do it.

Attach proc

Mono->Dissect Mono->Find your class->Right click->Find instances of class->Find your instance

The address of the instance is the address of the first byte of the instance memory (NOT A POINTER TO THE INSTANCE LIKE YOU WOULD EXPECT). Copy this address. On the main Cheat Engine window click "Add Address Manually.
Paste the address of the instance and add the offset to the field you want to change (Which you can find in the Dissect Mono menu). Choose the type (Which you find in the Dissect Mono menu). And done you can freely edit it or find a static address normally.

_________________
Wot
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
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