Page 1 of 1

[2.1.6] Bug : Saving messes up fog system and turn on bright

Posted: Sun Jun 12, 2011 15:50
by MAPET
When I save a game the whole fog system will be disabled and brightness of screen is going to messed up. Please fix this strange bug...

Re: [2.1.6] Bug : Saving messes up fog system and turn on br

Posted: Sun Jun 12, 2011 16:23
by Rachael
You're using the wrong version.

First off, GZDoom has never advanced to the 2.x.x series, only ZDoom has. This means you're using ZDoom.

Also, you're using a very outdated version of ZDoom and this bug was long fixed.

Latest GZDoom version
Latest ZDoom version

SVN Builds (sometimes more stable than release)

Re: [2.1.6] Bug : Saving messes up fog system and turn on br

Posted: Sun Jun 12, 2011 16:31
by MAPET
Sorry I forgot to mention that I'm using the latest SVN version 1216... My fault, but this bug is in the newest SVN version. Anyway thanks for reply, I'm very excited how great is this project.

Re: [2.1.6] Bug : Saving messes up fog system and turn on br

Posted: Sun Jun 12, 2011 16:51
by Enjay
Confirmed. Saving in r1216 (either via the menu or quicksave) makes the whole level fullbright.

Image

Image

Re: [2.1.6] Bug : Saving messes up fog system and turn on br

Posted: Sun Jun 12, 2011 16:53
by Rachael
Thanks for clarifying then. I'm sure Graf or Gez will have a look at it when they have the time.

Re: [2.1.6] Bug : Saving messes up fog system and turn on br

Posted: Sun Jun 12, 2011 17:01
by Graf Zahl
Only GZDoom or also ZDoom? The save code is identical in both and this is possibly related to the lighting changes of ZDoom r3223

Re: [2.1.6] Bug : Saving messes up fog system and turn on br

Posted: Sun Jun 12, 2011 17:06
by Enjay
Only GZdoom. Zdoom r3224 seems fine for me.

Re: [2.1.6] Bug : Saving messes up fog system and turn on br

Posted: Sun Jun 12, 2011 17:29
by Player701
Confirmed (r1216), but for me, saving doesn't turn the light on, it turns it off.

Re: [2.1.6] Bug : Saving messes up fog system and turn on br

Posted: Wed Jun 15, 2011 19:22
by NeuralStunner
Confirmed for me as well. This is especially tricky with AutoSave enabled. Unfortunately, the maxed brightness gets included in the save as well, so reloading is not a viable workaround.

Re: [2.1.6] Bug : Saving messes up fog system and turn on br

Posted: Wed Jun 15, 2011 20:28
by Enjay
Is it still happening for you? r1217 fixed it for me.

Re: [2.1.6] Bug : Saving messes up fog system and turn on br

Posted: Thu Jun 16, 2011 3:30
by NeuralStunner
Enjay wrote:Is it still happening for you? r1217 fixed it for me.
Yes, it appears to be working now. Bizarre! I wonder what actually changed between those two revisions, or perhaps something was missed in the build process last time?

Re: [2.1.6] Bug : Saving messes up fog system and turn on br

Posted: Thu Jun 16, 2011 8:35
by Graf Zahl
The thing that changed was the ZDoom revision number. That caused a broken savegame in r1216.