Posted By
|
Message
|
Kramy
Registered 08/06/2002
Points 1888
|
9th February, 2004 at 15:47:15 -
Item5 = ExplodingCowFound (37 is no, 614 is yes)
I like that...ExplodingCowFound.
Gives me an idea. Encrypt values with strings!
Quest1=1
Quest2=1
Quest3=0
Quest4=0
Change to:
Duh=woogie!
Huh=odd???
Dahhhh=oam
cow=42
Lol, that would be hillarious if they opened up a save file and found that.
Kramy
|
Shen Possibly Insane
Registered 14/05/2002
Points 3497
|
9th February, 2004 at 15:51:39 -
Even better if there was a
UserIsGay=1
or something odd like that. just to be evil
gone fishin'
|
Kramy
Registered 08/06/2002
Points 1888
|
9th February, 2004 at 16:00:57 -
Lol
[Game]
UserIsGay=1
HackersIsQueer=1
WhyAreYouReadingThis=1
AreYouReadingThisInNotePad=0
Ok_HowAboutWordpad=0
No_OkInInternetExplorer=0
Well_WhatAreYouReadingThisInThen=1
Kramy
|
Rick (AntiMatter Entertainment) Possible psychotic
Registered 18/10/2002
Points 814
|
9th February, 2004 at 17:42:49 -
"The calculation for HP works fine with dividing in TGF"
That depends what you divide it by. The trouble is, it's possible to have a lower HP value than whatever you put after the divide. For example, the user saves the game with only 10 HP left, but has 15 Mana. If your formula is:
ps1=HP/MP
10 / 15 = 0.66666666666666666666666666666667
And that can't be used!
Basically, you have to avoid subtracts and divides just in case any given value is saved lower than the one you need to subtract from it, or divide it by.
|
DeadmanDines Best Article Writer
Registered 27/04/2006
Points 4758
|
11th February, 2004 at 07:37:07 -
I dunno about you lot, but when I made games, I enjoyed building whole new fileformats to save with.
It narrows down the number of possible hackers to those with hex-editing knowledge. Couple that with a few checksums, and you're already on your way to a pretty secure lump of stuff. Do a bit of blowfish on some of the data inside, and no one'll be cracking that any time soon.
I like my own file formats, because you can tailor them for maximum game efficiency. When working on a level format, for example, I could arrange the data in the order it would be read, making loading a much quicker and simpler process.
191 / 9999 * 7 + 191 * 7
|
|
|