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 


Is it possible to use MonoDataCollector with C++?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
mindoff
Advanced Cheater
Reputation: 0

Joined: 12 Jun 2016
Posts: 96

PostPosted: Sun Jun 28, 2020 11:56 pm    Post subject: Is it possible to use MonoDataCollector with C++? Reply with quote

Try to do some unity3d game hack practice.

Didn't find any good example about how to get Assembly-CSharp.dll class and function and call them from C++

Seems CheatEngine use MonoDataCollector32 and 64 to get those info.

And source code compiled successfuly from

CheatEngine7.0\autorun\dlls\src\Mono\MonoDataCollector.sln

But no example,and got no idea how to use it.

Let's say I want to locate a function in Assembly-CSharp.dll

With CE lua something like below

Code:

LaunchMonoDataCollector()
mono_symbolLookupCallback("RationManager:ConsumeSupplies")


So what's the equivalent function should I call from C++?
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 468

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

PostPosted: Mon Jun 29, 2020 1:20 am    Post subject: Reply with quote

look at monoscript.lua

it opens a pipeconnection and then sends it commands to do things like calling a mono function.

Make sure you follow protocol exactly like in monoscript. Reading/write more or less bytes than expected will not be handled

_________________
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
Ahmed Jihad
How do I cheat?
Reputation: 0

Joined: 06 Jan 2024
Posts: 9

PostPosted: Sat Jan 13, 2024 4:15 am    Post subject: Reply with quote

Dark Byte wrote:
look at monoscript.lua

it opens a pipeconnection and then sends it commands to do things like calling a mono function.

Make sure you follow protocol exactly like in monoscript. Reading/write more or less bytes than expected will not be handled


so the pip connection have to handle from the current process and the target process too ??? that means i make dll injector in target process to deals with my pip connection ???
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking 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