Just Wondering
-
- Posts: 22
- Joined: July 15th, 2012, 6:07 pm
Just Wondering
Say ur makin an mmo with unlockable equipment, how would u store the equipment data where the user can't change it and get the best equipment? The only thing i can think of to store it is a text file, but that can be changed out of game. How would you make the equipment data secure?
Re: Just Wondering
If you do a MMO you should be storing the data on a server not on each client pc.
-
- Posts: 22
- Joined: July 15th, 2012, 6:07 pm
Re: Just Wondering
Oh ya xD, i meant offline rpg
Re: Just Wondering
I've been wondering this myself.
You could store the information as binary instead, that way you'd need a hex editor to read the file properly and even then its hard to work out what the values are for. Still not fool proof though.
You could store the information as binary instead, that way you'd need a hex editor to read the file properly and even then its hard to work out what the values are for. Still not fool proof though.
Musi
There are 10 types of people that understand binary.
Those that do, and those that don't.
There are 10 types of people that understand binary.
Those that do, and those that don't.
Re: Just Wondering
You need to encrypt the save file. Look up on google some ways to do it. Depending on how hard you make it, you can make save files that are nearly impossible to decrypt unless you're a pro.
If you want to play it simple, but not make things too obvious, you could just give each character and/or digit a code word. Like "HFIEUDKEIDLO" might be "HFI = 2" "EUD = 4" etc... and then fill it up with some random letters just to make things even harder.
Another interesting way I come up with is have the encryptor take for example two values or more of the file and search the actual number from a pre made array. This way you can easily set one number in multiple array slots so that it's even harder to figure out what the text stands for.
If you want to play it simple, but not make things too obvious, you could just give each character and/or digit a code word. Like "HFIEUDKEIDLO" might be "HFI = 2" "EUD = 4" etc... and then fill it up with some random letters just to make things even harder.
Another interesting way I come up with is have the encryptor take for example two values or more of the file and search the actual number from a pre made array. This way you can easily set one number in multiple array slots so that it's even harder to figure out what the text stands for.
ʕ •ᴥ•ʔ
-
- Posts: 22
- Joined: July 15th, 2012, 6:07 pm
Re: Just Wondering
Thanks for the help Lux that's exactly what I was looking for.