| View previous topic :: View next topic |
| Author |
Message |
MichaelLee01 Cheater
Reputation: 0
Joined: 07 Apr 2020 Posts: 37
|
Posted: Sat Jul 04, 2020 10:53 pm Post subject: Mono dissect question |
|
|
I found this by accident,while I was using structure disseect I found a speedmodifier hack,but is there a way to make the hack a script?
| Description: |
|
| Filesize: |
208.89 KB |
| Viewed: |
1697 Time(s) |

|
|
|
| Back to top |
|
 |
Csimbi I post too much
Reputation: 98
Joined: 14 Jul 2007 Posts: 3349
|
Posted: Sun Jul 05, 2020 3:17 am Post subject: |
|
|
I assume you will want that to apply to all of your creatures in all areas.
So, see what reads/writes that address and implement what you wish on one of those.
You might want to implement a player check, too to make sure it applies only to your own creatures (unless of course you can find and hook into a piece of code that runs only for the player).
NOTE: CE is a bit finicky when it comes to debugging with Mono.
Lastly: chances are good the bits of codes you find will be JIT-generated code. You will need to make your script an "AOB script" to make sure it finds the same code the next time you start the game.
Good luck!
|
|
| Back to top |
|
 |
MichaelLee01 Cheater
Reputation: 0
Joined: 07 Apr 2020 Posts: 37
|
Posted: Sun Jul 05, 2020 3:39 am Post subject: |
|
|
| Csimbi wrote: | I assume you will want that to apply to all of your creatures in all areas.
So, see what reads/writes that address and implement what you wish on one of those.
You might want to implement a player check, too to make sure it applies only to your own creatures (unless of course you can find and hook into a piece of code that runs only for the player).
NOTE: CE is a bit finicky when it comes to debugging with Mono.
Lastly: chances are good the bits of codes you find will be JIT-generated code. You will need to make your script an "AOB script" to make sure it finds the same code the next time you start the game.
Good luck! |
Thanks you for answering!
If the value changed,I can just find what write to this adress.But what if the value never changes?
For example there is a "noclip" adress,can I write a script that set "noclip"to 1?
|
|
| Back to top |
|
 |
Csimbi I post too much
Reputation: 98
Joined: 14 Jul 2007 Posts: 3349
|
Posted: Sun Jul 05, 2020 10:45 am Post subject: |
|
|
That is why it's a good idea to modify the code that reads the value.
But, make sure that 'never changes' is actually true.
Some engines do not attempt a write when the current value equals the one you would be writing.
So, change it manually a few times and see if it ever changes back.
Then, it may be initialized only once (during level/area load) and never again.
If there are no writes to it, then you are good with getting a pointer to it and changing it only once.
|
|
| Back to top |
|
 |
|