client
Del()
mob.SaveSave(mob)
..()
mob
proc
LoadSave(mob/M)
if(!fexists("[M.ckey].sav"))
return 0
var/savefile/F=new("[M.ckey].sav")
Read(F)
SaveSave(mob/M)
var/savefile/F=new("[M.ckey].sav")
Write(F)
Problem description:
The code is obviously a very simple saving/loading code. It works and does what it needs to do, and it does not need to do anything else.
However, for some strange reason, when it attempts to save a lot of objs in the mobs contents (I am testing with 300), I get the following error message, and I am quoting this directly from Dream Daemon.
Shutting down after encountering too many critical errors.
Shutting down after encountering too many critical errors.
Shutting down after encountering too many critical errors.
Shutting down after encountering too many critical errors.
Shutting down after encountering too many critical errors.
Shutting down after encountering too many critical errors.
Shutting down after encountering too many critical errors.
Shutting down after encountering too many critical errors.
Shutting down after encountering too many critical errors.
Shutting down after encountering too many critical errors.
Shutting down after encountering too many critical errors.
Shutting down after encountering too many critical errors.
Shutting down after encountering too many critical errors.
Shutting down after encountering too many critical errors.
Shutting down after encountering too many critical errors.
Shutting down after encountering too many critical errors.
Shutting down after encountering too many critical errors.
Shutting down after encountering too many critical errors.
Shutting down after encountering too many critical errors.
Shutting down after encountering too many critical errors.
Shutting down after encountering too many critical errors.
Shutting down after encountering too many critical errors.
Shutting down after encountering too many critical errors.
Shutting down after encountering too many critical errors.
Shutting down after encountering too many critical errors.
Shutting down after encountering too many critical errors.
Shutting down after encountering too many critical errors.
Shutting down after encountering too many critical errors.
Shutting down after encountering too many critical errors.
Shutting down after encountering too many critical errors.
Shutting down after encountering too many critical errors.
Shutting down after encountering too many critical errors.
Shutting down after encountering too many critical errors.
Shutting down after encountering too many critical errors.
Shutting down after encountering too many critical errors.
Shutting down after encountering too many critical errors.
Shutting down after encountering too many critical errors.
Shutting down after encountering too many critical errors.
Shutting down after encountering too many critical errors.
Shutting down after encountering too many critical errors.
Shutting down after encountering too many critical errors.
Shutting down after encountering too many critical errors.
Shutting down after encountering too many critical errors.
Shutting down after encountering too many critical errors.
Shutting down after encountering too many critical errors.
Shutting down after encountering too many critical errors.
Shutting down after encountering too many critical errors.
Shutting down after encountering too many critical errors.
Shutting down after encountering too many critical errors.
Shutting down after encountering too many critical errors.
Shutting down after encountering too many critical errors.
Shutting down after encountering too many critical errors.
Shutting down after encountering too many critical errors.
Shutting down after encountering too many critical errors.
Shutting down after encountering too many critical errors.
Shutting down after encountering too many critical errors.
Shutting down after encountering too many critical errors.
Shutting down after encountering too many critical errors.
Shutting down after encountering too many critical errors.
Shutting down after encountering too many critical errors.
Shutting down after encountering too many critical errors.
Shutting down after encountering too many critical errors.
Shutting down after encountering too many critical errors.
Shutting down after encountering too many critical errors.
Shutting down after encountering too many critical errors.
Shutting down after encountering too many critical errors.
Shutting down after encountering too many critical errors.
Shutting down after encountering too many critical errors.
Shutting down after encountering too many critical errors.
Shutting down after encountering too many critical errors.
Shutting down after encountering too many critical errors.
Shutting down after encountering too many critical errors.
Shutting down after encountering too many critical errors.
Shutting down after encountering too many critical errors.
Shutting down after encountering too many critical errors.
Shutting down after encountering too many critical errors.
Shutting down after encountering too many critical errors.
Shutting down after encountering too many critical errors.
Shutting down after encountering too many critical errors.
Shutting down after encountering too many critical errors.
Shutting down after encountering too many critical errors.
Shutting down after encountering too many critical errors.
Shutting down after encountering too many critical errors.
Shutting down after encountering too many critical errors.
Shutting down after encountering too many critical errors.
Shutting down after encountering too many critical errors.
Shutting down after encountering too many critical errors.
Shutting down after encountering too many critical errors.
Shutting down after encountering too many critical errors.
Shutting down after encountering too many critical errors.
Shutting down after encountering too many critical errors.
Shutting down after encountering too many critical errors.
Shutting down after encountering too many critical errors.
Shutting down after encountering too many critical errors.
Shutting down after encountering too many critical errors.
Shutting down after encountering too many critical errors.
Shutting down after encountering too many critical errors.
Shutting down after encountering too many critical errors.
Shutting down after encountering too many critical errors.
Shutting down after encountering too many critical errors.
Shutting down after encountering too many critical errors.
Shutting down after encountering too many critical errors.
I have tried various libraries as well. They all output the same problem (give or take 100 critical errors or so).
Strangely enough, the save file looks normal and even loads as it should.
Anyone have any ideas why this might be happening, and how to fix it? Or is BYOND incapable of saving large amounts of objects?
(Oh yeah, don't try and be witty and say something like I don't need to save 300 objects or whatever, if I did not need to save 300 I wouldn't attempt it)