As I've experienced, some modders are able to "disable" decompiling in some ways by using HEX...END.
When you try decompiling (with "ignore unknown" check off) then it will come up with an error.
I basically wanna do this to prevent cheating in my MPACK... Since there are a few things that I don't want people to be able to change.
I've also tried encoding the certain lines of code in HEX to help... But I can't seem to get it to work in game.
Since I don't really know much about writing the opcodes and parameters in hex myself, I'm compiling them with Sanny and decompiling using a hexadecimal editor... Then trying to copy the lines of code that I compiled and put it into a HEX...END structure...
I get the feeling that it's going along the right lines, but it's crashing the game...
Here's what I compiled in Sanny:
And here's where I think it is in the hex code:
There are a few things that make me think that there's something wrong with that code and a few things that make me believe it is what I want to copy. Maybe I'm copying too much or too little?
I pasted it into Sanny and compiled... The game crashed without me typing a thing.
How do I correct this?
When you try decompiling (with "ignore unknown" check off) then it will come up with an error.
I basically wanna do this to prevent cheating in my MPACK... Since there are a few things that I don't want people to be able to change.
I've also tried encoding the certain lines of code in HEX to help... But I can't seem to get it to work in game.
Since I don't really know much about writing the opcodes and parameters in hex myself, I'm compiling them with Sanny and decompiling using a hexadecimal editor... Then trying to copy the lines of code that I compiled and put it into a HEX...END structure...
I get the feeling that it's going along the right lines, but it's crashing the game...
Here's what I compiled in Sanny:
- Code:
00D6: if
84A4: not 5@ == 0x45564552 // Hex String 'EVER'
else_jump @CHEATS_GHOSTTOWN
:CHEATS_GHOSTTOWN
And here's where I think it is in the hex code:
- Code:
00 D6 00 04 00 A4 84 03 05 00 01 52 45 56 45 4D 00 01 99
There are a few things that make me think that there's something wrong with that code and a few things that make me believe it is what I want to copy. Maybe I'm copying too much or too little?
I pasted it into Sanny and compiled... The game crashed without me typing a thing.
How do I correct this?