"too many save onetime tags"

Make games! Discuss those games here.

Moderators: Bob the Hamster, marionline, SDHawk

Post Reply
User avatar
Willy Elektrix
Liquid Metal Slime
Posts: 910
Joined: Sun Aug 15, 2010 11:30 pm

"too many save onetime tags"

Post by Willy Elektrix »

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: Select all

Partial game data upgrade...
Save slot 0: too many saved onetime tags 16000 > 15999
What could that mean?
User avatar
Jack
Slime Knight
Posts: 266
Joined: Tue Oct 16, 2007 2:39 pm
Location: Maine
Contact:

Post by Jack »

Is there even a slot 0?
User avatar
Willy Elektrix
Liquid Metal Slime
Posts: 910
Joined: Sun Aug 15, 2010 11:30 pm

Post by Willy Elektrix »

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.
User avatar
Meowskivich
Blubber Bloat
Posts: 2199
Joined: Tue Mar 06, 2012 12:38 am
Location: Earth
Contact:

Post by Meowskivich »

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
TMC
Metal King Slime
Posts: 4101
Joined: Sun Apr 10, 2011 9:19 am

Post by TMC »

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.
Last edited by TMC on Mon Mar 10, 2014 1:02 am, edited 1 time in total.
User avatar
Meowskivich
Blubber Bloat
Posts: 2199
Joined: Tue Mar 06, 2012 12:38 am
Location: Earth
Contact:

Post by Meowskivich »

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
TMC
Metal King Slime
Posts: 4101
Joined: Sun Apr 10, 2011 9:19 am

Post by TMC »

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.
Post Reply