HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

What's save/load system ?

04-02-2005, 02:14 AM#1
Jackyquah
I see some question about save/load. for hero or Item
what's that. is that something to do with gamecache store or restore ?
or something else ?
04-02-2005, 09:18 AM#2
Azhag
It is when a player types -save as an example and then the game gives you a bunch of letters and numbers like this : 5h790a-m182y-19m2s
That is your save/load code. Then when you play the game again, you can type
-load 5h790a-m182y-19m2s and it will load your heroes previous level, possibly abilites, and items.
It is not a game cache.
04-02-2005, 10:42 AM#3
Bibendus
It needs a good programmig knowledge to be done... there are some open source save/load triggers but it's not easy to understand how they works for noobs.
04-02-2005, 08:00 PM#4
Raptor--
Quote:
Originally Posted by Bibendus
It needs a good programmig knowledge to be done... there are some open source save/load triggers but it's not easy to understand how they works for noobs.

well you don't really need programming knowledge or math knowledge to do and understand how it works, basically you're creating a one-to-one function that sends everything from one domain to another, and then back, ie encoding/decoding
i'm sure you could do this: turn everything you want to save into a number, add 1 to that number (mod 10) and output that -- there u just encoded a save code

of course, needless to say in order to make a GOOD function that is hard to crack and short is a whole different matter
04-02-2005, 09:07 PM#5
Jackyquah
Is there any tutorial about save/load system ?
or example to save Hero or Item ?
if not what kind of function I should used to do save/load System ?

I couldn't find any function or trigger action that blizzards provided that could make me to do save/load things.
04-02-2005, 09:25 PM#6
Anitarf
As Raptor-- said, making any kind of decent save/load system requires good math and triggering knowledge. It is not something you can do just with the help of a tutorial. You should rather look into finding an already existing save/load system that you can implement into your map rather than attempting to make one yourself.
04-02-2005, 10:17 PM#7
Jackyquah
I have no problem with math, what I want to know is what function or trigger action that provide by blizzard I should used to make basic save/load system ?

I mean what function or trigger action I should used to save data into file/load data from file in local or other computer, beside using Game cache or standard save/load game
04-02-2005, 11:17 PM#8
Anitarf
There are none, that's the point. The way save codes work is that they transform the data that needs to be saved into a string so they can then display this string to the player so the player can then write it down and then type it in the next game.

A good system is expected to have as short a code as possible (so the player doesn't have to write/type too much) and a good encryption (so the player can't just type in a random code and just get some random hero).
04-02-2005, 11:33 PM#9
Jackyquah
lol, It's not like save/load, it's more like cheat code from previous play. but thanx for info.