Persistent variables need some protection
Posted: 28 Jul 2016, 13:28
Yop,
I use persistent variables in almost all of my creations. Problem is, that if persistent is in manialink it can be easily stolen using console (Ctrl + G). It's important, because persistent variables can be used to make custom rankings and someone else is able to recover them and cheat.
My solutions:
The best - hide names of persistent variables in debugger (replace name with Persistent#01 or anything else.
Also good - add #PersistentKey number just like a #Constant. All scripts with the same code will share persistents.
The worst - allow us to hide manialink from debugger (<manialink hidescript="1">).
I use persistent variables in almost all of my creations. Problem is, that if persistent is in manialink it can be easily stolen using console (Ctrl + G). It's important, because persistent variables can be used to make custom rankings and someone else is able to recover them and cheat.
My solutions:
The best - hide names of persistent variables in debugger (replace name with Persistent#01 or anything else.
Also good - add #PersistentKey number just like a #Constant. All scripts with the same code will share persistents.
The worst - allow us to hide manialink from debugger (<manialink hidescript="1">).