have an autosave code automatically run when you log into your saved character? this is what i have as my autosave.
client
var
autosave = 0
verb
AutoSave()
set category = "Communication"
autosave = 1
src << "Auto Save on"
ASaveMob()
AutoSave_Off()
set category = "Communication"
autosave = 0
src << "Auto Save off"
proc/ASaveMob()
while(autosave)
var/last_x
var/last_y
var/last_z
var/firstletter=copytext(src.ckey, 1, 2)
var/savefile/F = new("players/[firstletter]/[src.ckey].sav")
var/char_ckey = cKey(src.mob.name)
F["/[ckey]/[char_ckey]"]<<src.mob
F["last_x"] >> last_x
F["last_y"] >> last_y
F["last_z"] >> last_z
src << "Game Saved"
sleep(150)</<src>
ID:170819
Dec 11 2004, 3:46 am
|
|
Dec 11 2004, 3:52 am
|
|
Well, you'd probably learn more by making your own, but, however, Deadron has a Character Handling Library which can do just what you're askking for. However, its delete character is broken, so be sure to download and include my patch.
|
In response to Wizkidd0123
|
|
thank you, i am starting to try and learn this stuff, ive been playin for about 2 yrs now, i have to ask my little brother sometimes how i should do things, but this i knew i couldnt do.
|
In response to Wizkidd0123
|
|
cool. thanks again, the more stuff i can learn, the more eager i will be to start making my own game...someday..lol but for now, i will probably read as much as i can, and try to learn the best i can. again, thank you.
|
In response to Twizted1
|
|
Well, in case you haven't found them yet, here are some good links to learn from:
|