how to prevent save cheating? (for games where saving is NOT allowed)
There is one way to prevent/make your game unreasonable to hack or mod, code some vital parts in machine code and keep a normal copy in your pc.
A game's .exe file (Windows example) is machine code. The first thing a hacker or modmaker does is disassemble this into assembly language so that they can see how the program works, and change it. If the disassembler also comes with a memory debugger its very easy to find the routines that perform checks and rewrite them.
There is one way to prevent/make your game unreasonable to hack or mod, code some vital parts in machine code and keep a normal copy in your pc.
I am sorry, but this far from true. If you code your program in "machine code" or in C or C++ the exe will be similar and just as accessible.
Actually, programs coded in "machine code" directly tend to be cleaner and easier to understand when using a disassembling tool.
And I have no idea of what you mean by keep a normal copy.
...code some vital parts in machine code...
I honestly laughed out loud...
Bro, do you even compile?
No i don't. I finish writing my code and shout DONE! and i see the output of the program.I honestly laughed out loud...Bro, do you even compile?...code some vital parts in machine code...
So keep laughing :)
No actually he rolls a bowling ball all over his keyboard with notepad open and hopes that one day, according to the law of infinite probability, his game will actually just work.
Hackers work with machine code. Programming vital parts in machine code will do nothing, as mentioned above.