#define SAVEFILE_COUNT 500
for (var/i in 1 to SAVEFILE_COUNT)
world.log << "using [i]"
var/savefile/savefile = new /savefile("savefiles/savefile[i].sav")
savefiles[i] = savefile
world.log << "finished [SAVEFILE_COUNT] savefiles"
The following code will open and save reference to 500 savefiles, but will stop at 255. The outputted runtime is:
proc name: test (/mob/verb/test)
source file: world.dm,7
src: Jaredfogle (/mob)
Jaredfogle (/mob): test()
I understand not being able to store more savefiles, but the runtime being completely blank is unexpected behavior.
This has caused problems in SS13 where our runtimes just look like this: https://i.imgur.com/Ncmsgxl.png