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 Dissect Invoke method with parameters

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

Joined: 15 Oct 2017
Posts: 1
Location: Bulgaria

PostPosted: Fri Oct 20, 2017 3:29 pm    Post subject: Mono Dissect Invoke method with parameters Reply with quote

I have used cheat engine for a while but recently i have found my way into a very interesting class in one game. From this class i think i can add any status effect to my character, it just requires instance address and one string parameter effectName. I know what the instance address is but when i input the string parameter it tells me that this is an incorrect value. When i enter numbers it works, but still i need to enter a string.
Back to top
View user's profile Send private message
mindoff
Advanced Cheater
Reputation: 0

Joined: 12 Jun 2016
Posts: 96

PostPosted: Tue Oct 31, 2017 10:54 pm    Post subject: Reply with quote

It's hard to write code with ASM to do those kind of thing.I have tried and give up.

Just try to use dnspy to modify the code with C#.Remember to backup the original file before you modify it.

If you really want to use asm to do the thing,just use dnspy to do it first

Then check what they will become the asm opcode,copy and use it.Much easier.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 457

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

PostPosted: Wed Nov 01, 2017 2:04 am    Post subject: Reply with quote

you don't use asm fir that, you just call the lua mono_method_invoke function with the class object and parameters.

as for OP, what exactly is the type of the parameter? really string ?

_________________
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
mindoff
Advanced Cheater
Reputation: 0

Joined: 12 Jun 2016
Posts: 96

PostPosted: Wed Nov 01, 2017 9:15 pm    Post subject: Reply with quote

Sorry for the last post,I think I misread it,are you dealing with enum type?
Back to top
View user's profile Send private message
Supernova9
How do I cheat?
Reputation: 0

Joined: 26 Oct 2021
Posts: 2

PostPosted: Tue Oct 26, 2021 8:00 am    Post subject: Reply with quote

I have the same problem in mono dissect when invoking a function that requires a STRING argument, when i call my method SendMessage(string) with
string parameter as it asks, the mono dissect-or tells me that its an invalid argument. How can i fix this?
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