There's so many out there. Which would be the best for saving a 1 dimensional array? I've tried the Associative Array but it's just not saving any data, and the Dyamic Array seems to not save when using loops (does work if you manually tell it to save a specific value).
In my experience, the AssArray or Jam's Array object are the best ones to work with. Although the Assarray is very powerful, sometimes you'll find one or two bugs, so I don't know if that was a good reccommendation.
I think I've got it all working with GlobalStoreX or something like that. Only problems with this is the manual arraysize and lack of encryption of any sort. But it'll do for now. I'll have to try Jams Array next time!
Not that you would, but I've had big problems in the past using two arrays in the same game before. Somehow MMF always confused the values between the two. Just a warning to help!
--
"Del Duio has received 0 trophies. Click here to see them all."
"To be a true ninja you must first pick the most stealthy of our assorted combat suits. Might I suggest the bright neon orange?"
DXF Games, coming next: Hasslevania 2- This Space for Rent!
If you use values from 0 to 255 you should use my ByteArray.
It's a raw array format so it will make the smallest file without compression. (You can compress it with Zlib using the binary object though, creating a super small file!)
ive only ever had headaches using arrays. maybe im incompetent....or maybe not. Nowadays i just stick to INI. encryption is the only problem there but i think that if somone wants to mess with it let them.
What ive started doing is putting in some code on random screens, checking wether or not the INI numbers make sense ie. if the player has a character lvl of 100 and has only passed through 10 mins of game play then the player has to put up with a giant "CHEATER" on the screen. That'll teach em....
What ive started doing is putting in some code on random screens, checking wether or not the INI numbers make sense ie. if the player has a character lvl of 100 and has only passed through 10 mins of game play then the player has to put up with a giant "CHEATER" on the screen. That'll teach em....
Awesome, I've thought of a similar idea where a few parts of the array were dedicated "dummy" slots filled with some ridiculous value. If when the player loaded his game up and these dummy slots were something else, it would know he was a cheater and give him like 3 max HP for a punishment
--
"Del Duio has received 0 trophies. Click here to see them all."
"To be a true ninja you must first pick the most stealthy of our assorted combat suits. Might I suggest the bright neon orange?"
DXF Games, coming next: Hasslevania 2- This Space for Rent!
What ive started doing is putting in some code on random screens, checking wether or not the INI numbers make sense ie. if the player has a character lvl of 100 and has only passed through 10 mins of game play then the player has to put up with a giant "CHEATER" on the screen. That'll teach em....
Awesome, I've thought of a similar idea where a few parts of the array were dedicated "dummy" slots filled with some ridiculous value. If when the player loaded his game up and these dummy slots were something else, it would know he was a cheater and give him like 3 max HP for a punishment
DaVince This fool just HAD to have a custom rating
Registered 04/09/2004
Points 7998
2nd November, 2007 at 17:57:20 -
You can cheat your way through arrays...
I use that byte thingy object to create a file that's as big as it needs to be, and no bigger. It's not very easy to work with though, I'd rather use something that automates this, like LIJI's Byte Array object, if I could.