| 03-20-2004, 11:29 PM | #1 |
sup, anyone feel like designing a save hero system. Right now its kinda a big thing, and i cant seem to be able to make a nice ENCRYPTED save/load hero system on my own. Post your systems in this thread, anazlyzing something helps my better understand a concept then just reading about it. TY :D |
| 03-21-2004, 12:24 AM | #2 |
Encryption/Decryption systems are not that difficult. All you do is designate a value to each thing you want to save and then [if you want] add a value involving the name. Then you might want to add a key in there. Such as, code = 78956, code but 9 is the 'key', so its |9 - each # in the code| to make the real code; 21043. 2 in position 1 could mean has 2 points [leaderboard stat] 1 in position 2 could mean the name starts with the letter t 0 in position 3 could mean the name ends with the letter e 4 in position 4 could mean set the level of the hero to 4 3 in position 5 could mean set the lumber of the player to 3 This wont likely be 'cracked'. Sure, it's very simple and if they knew what each position did and meant they could make their own, but this works itself. You can also double up, meaning you could use two positions of the code for one value, like 01-26 for the beginning of the name. Honestly, it's harder to make a code not knowing than it is knowing what you are saving. |
| 03-21-2004, 02:29 AM | #3 |
ok i see what u mean, im also having another problem, how to code items. any triggering thoughts on this? |
| 03-21-2004, 05:57 AM | #4 |
Designate a number to that item... like ankh of reincarnation = 6T then the 6T can be part of your code... But a good code will be split up, so the code will be like T453-6132 Then it is split up so if the item is changed they wont be able to detect what changed, so put things backwards and split up, then its hard to crack and hard to determine what is going on =) |
| 03-23-2004, 12:49 AM | #5 |
Close. Actually, make an array of items and do "For each integer A from 1 - 6 Do For each integer B from 1 - (Number of items in array) Action - If so and so carries item of type ItemArray[Integer B] in slot Integer A then set (the digit of the code, in the array) = Integer B * Something. (Then scramble it) |
