SRB2 Message Board  

Go Back   SRB2 Message Board > Archived > SRB2 Forum Archives > Bug Reports (2.1.X)

 
 
Thread Tools Search this Thread
Old 11-02-2018   #1
-CG7244-
"Welcome to my Schoolhouse"
 
-CG7244-'s Avatar
Default Executing a TXT a lot makes the game no longer saves your config/data.

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.
__________________
"The more detail that I put in the sprite, means the effort that I put into it."

Last edited by Monster Iestyn; 11-03-2018 at 12:27 PM.
-CG7244- is offline  
Old 11-02-2018   #2
Monster Iestyn
Friendly Neighbour-Hood
Moderator
 
Monster Iestyn's Avatar
Default

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/SRB...e_requests/310
__________________
My page stuffed full of MIDI goodness!
The Hitchhiker's Guide to the Robo-Hoodiverse
Timeline of Sonic Robo Blast History!

That's an uppercase i, not a lowercase L, for the record. Also, it's pronounced "Yes-tin".

Last edited by Monster Iestyn; 11-02-2018 at 09:14 PM.
Monster Iestyn is offline  
Old 11-02-2018   #3
AlamGBC
WOO! GO ME! YAHOO!
Administrator
 
AlamGBC's Avatar
Default

Quote:
Originally Posted by Monster Iestyn View Post
The game forgets to "close" the redundant files
you mean redundant file handles?
__________________
"remember, hacking SRB2 is a good thing, cracking it's save games is not" - Alam and Logan Arias

3DS FC: 0473-7778-0919
AlamGBC is offline  
Old 11-02-2018   #4
Monster Iestyn
Friendly Neighbour-Hood
Moderator
 
Monster Iestyn's Avatar
Default

Oh, okay, I was just simplifying my explanation a bit, but yes.
__________________
My page stuffed full of MIDI goodness!
The Hitchhiker's Guide to the Robo-Hoodiverse
Timeline of Sonic Robo Blast History!

That's an uppercase i, not a lowercase L, for the record. Also, it's pronounced "Yes-tin".
Monster Iestyn is offline  
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:35 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2018, vBulletin Solutions, Inc.