ID:143354
 
Code:
mob/var/list/V
mob/var/tmp
SaveSlot=0
CanSave=0
atom/movable/var
random
xco=0
yco=0
zco=0
view=9
mob/proc
AutoSave()
src.SaveK()
spawn(5000) AutoSave()
SaveK()
if(src.CanSave)
var/savefile/F = new("Players/[src.key]/Save Slot [src.SaveSlot].sav")
src.V = src.verbs
src.xco = src.x
src.yco = src.y
src.zco = src.z
Write(F)
src<<"<font color=red><b>Your game progress has been automaically saved ([src.SaveSlot])."
LoadPlayer()
if(fexists("Players/[src.key]/Save Slot [src.SaveSlot].sav"))
var/savefile/F = new("Players/[src.key]/Save Slot [src.SaveSlot].sav")
src<<"new save file"
Read(F)
src<<"read save file"
src.loc = locate(xco,yco,zco)
src<<"load location"
for(var/stuff in src.V)src.verbs += stuff
src<<"loading verbs"
client.view = src.view
src<<"setting screen size"
src.CanSave=1
src<<"src can save =1"
src.MuteCheck()
src<<"mutecheck"
src.V_Icon()
src<<"village icon"
var/obj/Training/Taijutsu/Log/Initiate/I = new /obj/Training/Taijutsu/Log/Initiate
I.loc = src
src<<"get log training verb in training category"
src.Screen()
src<<"give screen objects"
src.Regenerate()
src<<"load regenerate proc"
src.RemoveOverlays()
src<<"remove overlays"
src.AutoSave()
src<<"iniate auto save procedure"
else{alert("There's no Save file found in Save Slot [src.SaveSlot]. You could create a new character in this slot.");src.Clicking=0;src.Loading=0;return}
src.Loading=0
src.Clicking=0


Problem description:
Well, as you can see, I made a few text messages to the [src] what happens and such. But the problem is, it stops
at "src<<"load location"". Perhaps the problem is the:
for(var/stuff in src.V)src.verbs += stuff
, but I really don't know.

Regards,

~ Rick(Sokkiejjj)
try getting verbs out of savefile into new var, then add verbs from var
In response to Ripiz
SaveK and LoadPlayer kinda reminds me of the WOTS Source.
Saving verbs generally seems like a bad idea. You should instead save the cause that allows the player/datum access to these verbs in the first place.