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 'Add Static Field Address' creates broken script.

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

Joined: 16 Apr 2019
Posts: 2

PostPosted: Tue Apr 16, 2019 4:00 pm    Post subject: Mono 'Add Static Field Address' creates broken script. Reply with quote

I used the Fields -> Add Static Field Address to give me persistent access to the static fields of a class. Problem is, the script refused to activate. After a little investigation, I discovered that all of the 'call mono.whatever' lines weren't compiling. After removing the 'mono.' part from each command. (I.E, 'call mono.mono_get_root_domain' becomes just 'call mono_get_root_domain') the script compiles, but activating it crashes the game. What's going on here?
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

Joined: 09 May 2003
Posts: 25837
Location: The netherlands

PostPosted: Tue Apr 16, 2019 11:03 pm    Post subject: Reply with quote

you have a version of mono where the dll has been named something else, e.g monov2.dll
you need to change the mono. part to the name of the mono dll the game uses(use enumerate dlls and symbols to find it)

just removing the mono. part won't work because a lot of mono games have other modules (usually the exe) with those exportnames as well, but those are just pointers to the actual functions (not code)

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
SuperKael
How do I cheat?
Reputation: 0

Joined: 16 Apr 2019
Posts: 2

PostPosted: Wed Apr 17, 2019 4:38 pm    Post subject: Reply with quote

Well, I tried again, and changed all of the mono. calls to mono-2.0-bdwgc. (that's the name of the dll) Sure enough it compiled, but the game still crashes all the same...
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