RPG Maker Achievement System part 2.
#7
People can just decrypt the game and use your encryption mechanism to do the job for them, so I would suggest only looking at a simple encryption.
Actually I would suggest you compress the data. You can encrypt the compressed data if you want.
If you use save_data and load_data to put the object into a file you can use this instead:

Save
Code:
data = Zlib::Deflate.deflate(Marshal.dump(object))
save_data(object, filename)

Load
Code:
data = load_data(filename)
object = Marshal.load(Zlib::Inflate.inflate(data))

You can also consider adding a checknum which is derived from the data. That way you can immediately notice if the data has been tampered with assuming they haven't changed the checknum accordingly. If you want to see a use look at my Collect Letters project.

*hugs*
- Zeriab
[Image: ZeriabSig.png]
Reply }


Messages In This Thread
RPG Maker Achievement System part 2. - by PK8 - 08-01-2009, 07:05 AM
RPG Maker Achievement System part 2. - by EJlol - 08-01-2009, 09:50 AM
RPG Maker Achievement System part 2. - by Yin - 08-01-2009, 05:45 PM
RPG Maker Achievement System part 2. - by Regimos - 08-01-2009, 06:36 PM
RPG Maker Achievement System part 2. - by PK8 - 08-02-2009, 06:22 AM
RPG Maker Achievement System part 2. - by Zeriab - 08-04-2009, 05:48 PM
RPG Maker Achievement System part 2. - by SP27 - 08-29-2009, 09:52 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
   Has Anyone Ever Tried to Create A Game+ System? Solitaire 12 898 10-22-2024, 09:13 PM
Last Post: Solitaire
   RPG Maker Unite and VRM models? JayRay 0 1,945 02-18-2023, 07:10 AM
Last Post: JayRay
   Small RPG Maker Games for Android Mike_Everley 0 1,941 12-23-2021, 10:56 AM
Last Post: Mike_Everley
   RPG Maker series + Rants kyonides 4 6,463 08-25-2020, 12:41 AM
Last Post: kyonides
   RPG Maker has gotten progressively worse since XP Son_Rukiri 19 26,199 07-22-2018, 03:22 AM
Last Post: DerVVulfman
Question  Easiest 2D Sprite maker software MrFunny 2 6,775 11-28-2017, 06:19 PM
Last Post: JayRay
   Is RPG Maker XP still a viable option? Zaphias 10 16,447 03-04-2017, 07:34 AM
Last Post: hanetzer
Sad  RPG MKER XP tile system should be in VX and MV MoonBeamDust 3 6,894 04-24-2016, 03:34 AM
Last Post: DerVVulfman
   RPG Maker MV Announced PK8 2 7,837 04-04-2016, 05:59 PM
Last Post: Starmage
   Are TCGs in RPG Maker realistic. BeJeremiah 9 17,339 06-11-2015, 03:01 AM
Last Post: JayRay



Users browsing this thread: 1 Guest(s)