ID:2716424
 
BYOND Version:514
Operating System:Windows 10 Home
Web Browser:Firefox 91.0
Applies to:Dream Daemon
Status: Open

Issue hasn't been assigned a status value.
#define SAVEFILE_COUNT 500

/mob/verb/test()
var/list/savefiles[SAVEFILE_COUNT]
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:

using 254
proc name: test (/mob/verb/test)
source file: world.dm,7
usr: (src)
src: Jaredfogle (/mob)
src.loc: null
call stack:
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