im having a little trouble understanding deadrons character handling as in how it works. see what i want to do is make my own create new character/load character interface (one that doesnt involve pop up alerts) but deadrons coding confuses me to no end. i was wondering if someone could give me the key points to understanding save file stuff so i can make my own system or if someone could help me make sense of how to customize deadron's system. any help at all would be very very much appreciated.
ID:171943
Jul 19 2004, 10:59 pm
|
|
In response to ShakerDeath
|
|
eh well i dont really want to trust anyone elses system with my save files... i guess ill just have to slowly decypher it.
|
In response to ShakerDeath
|
|
ShakerDeath wrote:
Deadron is hard to understand for n00bs.. Well, Deadron's libraries are just meant to be "plugged in" not understood (unless you want to). |
//siefer's savefile help It started out just being a snippet, but i got carried away, this is more like a total demo... Anyway, I hope this helps you. <small>note: To anyone reading this, if there's a bug, or i stated something the wrong way, please excuse me, i whipped this up in about 3 minutes.</small> ~FM |
ok, the most easyest save:
client/New() This save saves EVERYTHING(including mobs inside the mob), besides the location- because location can't be saved The save file will be sent to the host if you want to save the file to the client client/New() if you save to the client you can use the file in different world useing the same file format the difference between << and write is that >> saves everything (besides location) and write saves only VARS same way the other way: >> loads everything and read loads only vars if you don't want a var to be saved you give it the tmp flag mob these are helpfull for things like random combat, makes sure when you login, you don't start in a battle |
In response to Theosco
|
|
Actually, location is really easy to save:
proc/Save() Edit: btw, search characterhandling and go to griswald's characterhandling. It's a simple and useful demo. |
In response to Rippy
|
|
don't forget to add the load location to that Rippy
|
In response to Theosco
|
|
I know, I was just giving a quick example.
|
i suggest u download easier sources.
just search for "Login" or "saving" or something.. in libary/demos.
Deadron is hard to understand for n00bs..