ID:145178
 
Code:
mob/Logout()
Save()
del(src)

mob
Logout()
src.clicked1 = 0
src.clickload = 0

mob
proc
Save()
var/savefile/F = new("Save/[src.ckey]")
F["last_x"] << src.x
F["last_y"] << src.y
F["last_z"] << src.z
Write(F) // This Writes the file
Load()
if(fexists("Save/[src.ckey]"))
var/savefile/F = new("Save/[src.ckey]")
Read(F)
F["last_x"] >> src.x
F["last_y"] >> src.y
F["last_z"] >> src.z
src.Move(locate(src.x,src.y,src.z))

mob
verb
Save_Game()
usr<<"Game Saved"
Save()


Problem description:

Ok I got it so when the usr saves the game via verb panel, it load the location correctly upon loading. Even though it is set to save when they log out, it doesn't, any suggestions or maybe an autosave loop how-to?
You've defined mob/Logout() twice; one is overriding the other. Just define it once.

Lummox JR