Fixed Executing a TXT a lot makes the game no longer saves your config/data.

Status
Not open for further replies.

-CG7244-

Sometimes I sprite "things"
Not sure if this is a bug or not, and I know, I'm not supposed to do this in the game, but executing a txt alot makes the game no longer saves your data/config. How to produce this "bug":

1- Make a txt file with many "addfile <wad>" in it.
2- Execute the txt file in game alot of times until it says "couldn't execute file txtname.txt".
3- The game will freeze for 1 second.

Results:

1- When loading a level, the game freezes for 1 second.
2- The saves in the 1 player mode will disappear (do not worry, it will not corrupt your gamedata.dat), and you will not be able to create a new save.
3- You will not be able to add wads with the "addfile" command.
4- You will not be able to create gifs or screenshots in game.

I think it makes the game no longer read and write files in the folder of it.
 
Last edited by a moderator:

Monster Iestyn

Fangtastic
Sonic Team Junior
Kart Krew™️
I suspect this is most likely a bug with how the game handles loading files that are already loaded. The game forgets to "close" the redundant file handles, which build up as you add them again and again, eventually hitting a limit preventing you from opening any more files.

If I'm correct here, this MR should fix the bug: https://git.magicalgirl.moe/STJr/SRB2/merge_requests/310
 
Last edited:
Status
Not open for further replies.

Who is viewing this thread (Total: 1, Members: 0, Guests: 1)

Top