Just Wondering

The Partridge Family were neither partridges nor a family. Discuss.
Post Reply
McSquizzy123
Posts: 22
Joined: July 15th, 2012, 6:07 pm

Just Wondering

Post by McSquizzy123 » January 21st, 2013, 11:20 am

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?

indus
Posts: 35
Joined: November 7th, 2012, 12:35 am

Re: Just Wondering

Post by indus » January 21st, 2013, 12:15 pm

If you do a MMO you should be storing the data on a server not on each client pc.

McSquizzy123
Posts: 22
Joined: July 15th, 2012, 6:07 pm

Re: Just Wondering

Post by McSquizzy123 » January 21st, 2013, 12:41 pm

Oh ya xD, i meant offline rpg

Musi
Posts: 106
Joined: November 25th, 2012, 1:06 am

Re: Just Wondering

Post by Musi » January 21st, 2013, 5:54 pm

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.
Musi

There are 10 types of people that understand binary.
Those that do, and those that don't.

User avatar
LuX
Posts: 1492
Joined: April 22nd, 2012, 12:33 pm
Location: Finland

Re: Just Wondering

Post by LuX » January 21st, 2013, 6:39 pm

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.
ʕ •ᴥ•ʔ

McSquizzy123
Posts: 22
Joined: July 15th, 2012, 6:07 pm

Re: Just Wondering

Post by McSquizzy123 » January 21st, 2013, 8:39 pm

Thanks for the help Lux :D that's exactly what I was looking for.

Post Reply