Post new topic    
Liquid Metal Slime
Send private message
"too many save onetime tags" 
 PostSun Mar 09, 2014 10:26 pm
Send private message Reply with quote
I encountered an interesting debug message. I ran the game in game.exe, started a new game and saved it in slot 0. After closing the game, reloading slot 0, and then quitting again, it creates a g_debug .txt file with the following warning:

Code:
Partial game data upgrade...
Save slot 0: too many saved onetime tags 16000 > 15999


What could that mean?
Slime Knight
Send private message
 
 PostSun Mar 09, 2014 10:40 pm
Send private message Reply with quote
Is there even a slot 0?
Liquid Metal Slime
Send private message
 
 PostMon Mar 10, 2014 12:09 am
Send private message Reply with quote
Jack wrote:
Is there even a slot 0?


Yes. All numerical values in OHR start at 0. So if there are 4 save slots, they are numbered 0, 1, 2, 3.
Blubber Bloat
Send private message
 
 PostMon Mar 10, 2014 12:51 am
Send private message Reply with quote
Pretty much any programming language starts at 0
dOn'T MiNd mE! i'M jUsT CoNtAgIoUs!!!
Play Orbs CCG: http://orbsccg.com/r/4r6x V
Metal King Slime
Send private message
 
 PostMon Mar 10, 2014 1:00 am
Send private message Reply with quote
Yes, this message is printed every time you load any game, and has been for about a year. We haven't gotten around to fixing it yet. It's an off-by-one error in the saving or loading code, and the solution is probably to just not print that message.

Some thigns in the OHR start at 1 rather than 0. Positions in a string for example, which is unfortunate. A number of programming languages have everything starting at 1 rather than 0.
Blubber Bloat
Send private message
 
 PostMon Mar 10, 2014 1:07 am
Send private message Reply with quote
TMC wrote:
Yes, this message is printed every time you load any game, and has been for about a year. We haven't gotten around to fixing it yet. It's an off-by-one error in the saving or loading code, and the solution is probably to just not print that message.

Some thigns in the OHR start at 1 rather than 0. Positions in a string for example, which is unfortunate. A number of programming languages have everything starting at 1 rather than 0.

Reminds me of some old MS DOS game that crashed each time you closed the game, they changed the error message to essentially "good bye!", so you could change that specific error message to something like "game loaded". You know, flair.
dOn'T MiNd mE! i'M jUsT CoNtAgIoUs!!!
Play Orbs CCG: http://orbsccg.com/r/4r6x V
Metal King Slime
Send private message
 
 PostMon Mar 10, 2014 5:32 am
Send private message Reply with quote
I've heard that story. IIRC the error was generated by the memory extender, so they patched the memory extender to change the error message.
Display posts from previous: