View previous topic :: View next topic |
Author |
Message |
Bl4ckC4t How do I cheat? Reputation: 0
Joined: 15 Oct 2017 Posts: 1 Location: Bulgaria
|
Posted: Fri Oct 20, 2017 3:29 pm Post subject: Mono Dissect Invoke method with parameters |
|
|
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 |
|
|
mindoff Advanced Cheater Reputation: 0
Joined: 12 Jun 2016 Posts: 96
|
Posted: Tue Oct 31, 2017 10:54 pm Post subject: |
|
|
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 |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25295 Location: The netherlands
|
Posted: Wed Nov 01, 2017 2:04 am Post subject: |
|
|
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 |
|
|
mindoff Advanced Cheater Reputation: 0
Joined: 12 Jun 2016 Posts: 96
|
Posted: Wed Nov 01, 2017 9:15 pm Post subject: |
|
|
Sorry for the last post,I think I misread it,are you dealing with enum type?
|
|
Back to top |
|
|
Supernova9 How do I cheat? Reputation: 0
Joined: 26 Oct 2021 Posts: 2
|
Posted: Tue Oct 26, 2021 8:00 am Post subject: |
|
|
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 |
|
|
|