client
proc
SaveMob()
var/savefile/F = new("players.sav")
var/char_ckey = cKey(src.mob.name)
F["/[ckey]/[char_ckey]"] << src.mob
LoadMob(char_ckey)
var/savefile/F = new("players.sav")
F["/[ckey]/[char_ckey]"] >> new_mob
mob
Write(savefile/F)
F << x
F << y
F << z
..()
Read(savefile/F)
var{save_x;save_y;save_z}
F >> save_x
F >> save_y
F >> save_z
..()
Move(locate(save_x,save_y,save_z))
mob
Login()
var/savefile/F = new(ckey)
Read(F)
return..()
Logout()
var/savefile/F = new(ckey)
Write(F)
del src
mob
var
save_x
save_y
save_z
Write(savedfile/F)
save_x = x
save_y = y
save_z = z
F["name"] << name
F["icon"] << icon
..()
Read(savefile/F)
..()
F["name"] >> name
F["icon"] >> icon
Move(locate(save_x,save_y,save_z))
mob
Write(savefile/F)
F["name"] << name
F["icon"] << icon
Read(savefile/F)
F["name"] >> name
F["icon"] >> icon
mob
var
save_x
save_y
save_z
Write(savedfile/F)
save_x = x
save_y = y
save_z = z
..()
Read(savefile/F)
..()
Move(locate(save_x,save_y,save_z))
mob
Login()
var/savefile/F = new(ckey)
Read(F)
return..()
Logout()
var/savefile/F = new(ckey)
Write(F)
del src
--------------------------------------------------------
save.dm:66:save_z :warning: definition is here
save.dm:45:error:F:undefined type: F
save.dm:46:error:F:undefined type: F
save.dm:10:error:new_mob:undefined var
save.dm:56:error:name:undefined var
save.dm:57:error:icon:undefined var
save.dm:59:error:name:undefined var
save.dm:60:error:icon:undefined var
Dragon Warrior.dmb - 7 errors, 6 warnings (double-click on an error to jump to it)
huh?
</<></<></<></<></< ></<></<></<>
ID:178094
Jun 21 2002, 2:28 pm
|
|
Your an idiot.
Those are examples, pick 1 not use all 15 jeeeeeeeeeezzzzzzzzz
RaeKwon