| View previous topic :: View next topic |
| Author |
Message |
SuperKael How do I cheat?
Reputation: 0
Joined: 16 Apr 2019 Posts: 2
|
Posted: Tue Apr 16, 2019 4:00 pm Post subject: Mono 'Add Static Field Address' creates broken script. |
|
|
| 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 |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25837 Location: The netherlands
|
Posted: Tue Apr 16, 2019 11:03 pm Post subject: |
|
|
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 |
|
 |
SuperKael How do I cheat?
Reputation: 0
Joined: 16 Apr 2019 Posts: 2
|
Posted: Wed Apr 17, 2019 4:38 pm Post subject: |
|
|
| 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 |
|
 |
|