Players cannot load in Developer Help
|
|
Code:
mob proc load() if(fexists("savespot/[usr.key]")) if(usr.client) var/savefile/load load = new ("savespot/[usr.key]") load["mob"] >> usr load["x"] >> usr.x load["y"] >> usr.y load["z"] >> usr.z
|
Problem description:
It seems completely random that a mob bugs out and cannot be loaded, runtime errors like this
runtime error: Cannot modify null.x. proc name: load (/mob/proc/load) source file: Login.dm,30
|
And I cannot figure the problem out...
proc name: load (/mob/proc/load) source file: Login.dm,30 usr: null src: Pika1516 (/mob) call stack: Pika1516 (/mob): load() the load (16,2,1) (/turf/load): Click(the load (16,2,1) (/turf/load), "mapwindow.map", "icon-x=32;icon-y=12;left=1;scr...")
|
The mob may randomly not load at all despite the save being in the correct folder.
|