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 


Lost on the way towards instances

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
ParkourPenguin
I post too much
Reputation: 152

Joined: 06 Jul 2014
Posts: 4695

PostPosted: Mon Nov 13, 2023 5:55 pm    Post subject: Reply with quote

CE's mono Lua API is a mess with no documentation. Look through monoscript.lua in the autorun folder for various functions you can use. Specifically `mono_class_getStaticFieldValue` looks relevant.
(both the class and the field are pointers, not strings; e.g. maybe `mono_image_findClass` / `mono_class_getParent`, `mono_class_enumFields`)

These Lua API calls get information from CE's mono data collector. CE's source might be helpful too: specifically `Cheat Engine/MonoDataCollector/MonoDataCollector/PipeServer.cpp`

CE's mono data collector asks mono for information. This seems to be the official docs:
http://docs.go-mono.com/?link=root:/embed
Some stuff is undocumented here and requires you to look at mono's source (e.g. mono_vtable_get_static_field_data).

_________________
I don't know where I'm going, but I'll figure it out when I get there.
Back to top
View user's profile Send private message
JP_dev
How do I cheat?
Reputation: 0

Joined: 13 Nov 2023
Posts: 1

PostPosted: Tue Nov 14, 2023 4:05 pm    Post subject: Reply with quote

I don't know what weird route I took, but I managed to delete the post instead of answering to yours *confused*

Thank you ParkourPenguin for the advice. I will take a look.
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