runtime error: Failed to write variable Macro to savefile players/vaigod69(1).sav. The value being written was /list (/list).
proc name: Write (/mob/Write)
source file: Save[Login].dm,38
usr: Hjjh (/mob)
src: Hjjh (/mob)
call stack:
Hjjh (/mob): Write(players/vaigod69(1).sav (/savefile))
Hjjh (/mob): Save Mob()
Hjjh (/mob): Auto Save()
Hjjh (/mob): Save()
Calls Write:
mob
proc
Save_Mob() // the save proc
if(src.savefile1) // if your character is slot 1
src<<"<B><FONT COLOR='#4d9ae6'>Character Saved!" // tells you that you saved
var/savefile/F = new("players/[src.ckey](1).sav") // creates the save file
src.savefile1=1 // just makes sure you are still in slot 1
src.Write(F) // writes your location
Write Code:
mob
Write(savefile/SAVE) // Write proc
..() // < that is the line 38 in my error code
SAVE["x"] << x
SAVE["y"] << y
SAVE["z"] << z
Macro list:
mob
var
Macro = list("A" = null)
Problem description:
When i click save it gives me this error i dont know how to fix it.