Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: what does this mean?  (Read 919 times)

jaked122

  • Bay Watcher
  • [PREFSTRING:Lurker tendancies]
    • View Profile
what does this mean?
« on: June 28, 2010, 08:55:59 am »

DF crashes on a single specific save, I'm starting a new one to test if it is only with the save.
it spits out
Spoiler (click to show/hide)

TheSpaceMan

  • Bay Watcher
    • View Profile
    • http://www.digital-lifeform.com
Re: what does this mean?
« Reply #1 on: June 28, 2010, 12:32:09 pm »

DF crashes on a single specific save, I'm starting a new one to test if it is only with the save.
it spits out
Spoiler (click to show/hide)

The value bg is smaller then 0 or it's larger or equal to 16.

what bg actually does, i could only guess.

Essentialy it's a warning put into the code, that this specific value doesn't fit the data expected.
Logged
Poking around with a DFParser.
Bodypart names, creatures names in one easily overviewable place.

Oh my new (old) picture?

dorf

  • Bay Watcher
    • View Profile
Re: what does this mean?
« Reply #2 on: June 28, 2010, 01:07:45 pm »

Seems like you should contact Baughn, if he doesn't notice the thread.
Also, more information would be great too.
Logged

Sizik

  • Bay Watcher
    • View Profile
Re: what does this mean?
« Reply #3 on: June 28, 2010, 01:26:19 pm »

Did you do any raw file editing/use any mods?
« Last Edit: June 28, 2010, 09:56:10 pm by Sizik »
Logged
Skyscrapes, the Tower-Fortress, finally complete!
Skyscrapes 2, repelling the zombie horde!

Quatch

  • Bay Watcher
  • [CURIOUSBEAST_ GRADSTUDENT]
    • View Profile
    • Twitch? Sometimes..
Re: what does this mean?
« Reply #4 on: June 28, 2010, 08:56:31 pm »

bg is frequently shorthand for background, and 16 is the number of colours DF knows about, so yeah, sounds graphics related.

an assert statement is a line of code that the programmer knows must be true, but tests anyhow (in case of wierdness). If the test fails, the program dies.
Logged
SAVE THE PHILOSOPHER!
>>KillerClowns: It's faster to write "!!science!!" than any of the synonyms: "mad science", "dwarven science", or "crimes against the laws of god and man".
>>Orius: I plan my forts with some degree of paranoia.  It's kept me somewhat safe.

sweitx

  • Bay Watcher
  • Sun Berry McSunshine
    • View Profile
Re: what does this mean?
« Reply #5 on: June 29, 2010, 01:02:40 pm »

Sounds like bg means background.  And the graphic system is complaining that the value in bg is essentially asking it to draw the background with a color that's, well, non-existent.
Logged
One of the toads decided to go for a swim in the moat - presumably because he could path through the moat to my dwarves. He is not charging in, just loitering in the moat.

The toad is having a nice relaxing swim.
The goblin mounted on his back, however, is drowning.