ID:148177
 
Hey im trying to make my saving code save so that it saves the location of your character, but it doesnt work, it has no errors.

mob
var
saved_x
saved_y
saved_z
proc
Save_Character()
var
savefile/F = new()
Write(F)
client.Export(F)
src << "[src.name] saved."
mob/PC/verb/Save()
set category = "Communication"
src.Save_Character()

mob/Write(savefile/F)
saved_x = x
saved_y = y
saved_z = z
..()
You're writing the locations fine, but you're not reading them in again. =) Check the other thread.