MonoHelper

Upload *YOUR* gamehacking tools/helpers here
Post Reply
jgoemat
Table Makers
Table Makers
Posts: 76
Joined: Fri Jul 21, 2017 6:47 pm
Reputation: 81

MonoHelper

Post by jgoemat »

Update 2024-02-25 - Cheat Engine 7.5.2, better instructions, simple quick start

* Source: [Link]
* Raft Tutorial: [Link]

To just use it, download the 'Dev.CT' file and activate the 'MonoHelper' table entry while attached to a game that uses mono, or copy the table entry and paste it into your own table. When activated, there will be a new 'Mono->Search' menu item letting you search an image (default to 'Assembly-CSharp' if present) for any classes, fields, and methods containing your search text. Double-clicking opens a 'Class' window showing fields and methods and letting you easily hook those methods.

Image

Known bugs:

* Sometimes it doesn't show all the classes/methods/fields for a name, i.e. typing 'Play' will show 'PlayerStats' class but when you keep typing and add the 'e' it no longer shows up... Hard to track down
* If a class won't open when double-clicking on search results, close the current class window and retry

Updates:

* Option to create hook for overridden methods, which inserts a short lua script in the AA.
* Option to create a table entry named after the method and open the script, saves me a step speeding up investigation
Attachments
Dev.CT
(74.57 KiB) Downloaded 502 times

Chenzen
Cheater
Cheater
Posts: 35
Joined: Tue Mar 14, 2023 2:01 pm
Reputation: 15

Re: MonoHelper

Post by Chenzen »

Thanks you i love this tool :-)

User avatar
DarkIceCore
Novice Cheater
Novice Cheater
Posts: 23
Joined: Sat Apr 01, 2017 1:38 pm
Reputation: 7

Re: MonoHelper

Post by DarkIceCore »


Error in native thread called Unnamed::...CE7.5\autorun\monohelper.lua:578: attempt to call a nil value (global 'mono_field_getClass')


in your .lua on 578 line there is a comment about CE version fix:

obj.typeClassId = mono_field_getClass(obj.id) -- Fix change in CE 7.5.2

but i can't use patreon version "7.5.2" coz i can't pay for it, our country is under sanctions,
plus we are switched off from international Swiss Card System.
so i'm using official 7.5 version.
any downgrade solutions for your extension to work properly?
Thx.

jgoemat
Table Makers
Table Makers
Posts: 76
Joined: Fri Jul 21, 2017 6:47 pm
Reputation: 81

Re: MonoHelper

Post by jgoemat »

Try changing to this:

Code: Select all

obj.typeClassId = mono_type_getClass(obj.id)
If you can access the git repo there is a commit `5ecb57e Update for Cheat Engine 7.5.2` if you look at the history. Other changes might have been made since then also so rolling back to the commit before that one should work, unless there were changes for 7.5.1 already :)

User avatar
DarkIceCore
Novice Cheater
Novice Cheater
Posts: 23
Joined: Sat Apr 01, 2017 1:38 pm
Reputation: 7

Re: MonoHelper

Post by DarkIceCore »

jgoemat wrote:
Thu Jan 23, 2025 4:20 am
Spoiler
Try changing to this:

Code: Select all

obj.typeClassId = mono_type_getClass(obj.id)
If you can access the git repo there is a commit `5ecb57e Update for Cheat Engine 7.5.2` if you look at the history. Other changes might have been made since then also so rolling back to the commit before that one should work, unless there were changes for 7.5.1 already :)
Big thx to you, it's worked now.
i have no problem with access to git repo history, and found 5ecb57e changes, but i'm not so familiar with github yet, to find precisely small changes with history. thx for great a tip.

[Link]

Post Reply

Who is online

Users browsing this forum: No registered users