Page 1 of 1

(fixed) Bug: Rendering of items on a table

Posted: Tue Apr 26, 2011 11:36 am
by Gambit37
Playing the test_dungeon, I noticed that items on the table downstairs will appear/disappear randomly as you move around. They are still pick-up-able, but sometimes invisible. Needs fixing ;-)

Re: Bug: Rendering of items on a table

Posted: Tue Apr 26, 2011 7:57 pm
by Joramun
Ha ! Finally someone else notices this !

Re: Bug: Rendering of items on a table

Posted: Tue Apr 26, 2011 8:20 pm
by Sophia
The problem is, *I* still can't get this to happen.
So it's hard for me to fix! :(

Re: Bug: Rendering of items on a table

Posted: Tue Apr 26, 2011 8:28 pm
by Gambit37
Oh, really, that's weird. Perhaps your version has dev differences to the release package?

I also noticed the stat bars from the champion top bar randomly vanishing too....

Re: Bug: Rendering of items on a table

Posted: Tue Apr 26, 2011 8:42 pm
by Sophia
Gambit37 wrote:Oh, really, that's weird. Perhaps your version has dev differences to the release package?
Not really. I don't use debug versions, really. Because of the amount of debugging information built into the release version, I mostly don't need to, and it (supposedly!) keeps things more consistent. What I compile is what you get!
Gambit37 wrote:I also noticed the stat bars from the champion top bar randomly vanishing too....
:shock:

Re: Bug: Rendering of items on a table

Posted: Tue Apr 26, 2011 9:28 pm
by beowuuf
Video card/operating system imparing a drawing routine somehow?

Re: Bug: Rendering of items on a table

Posted: Tue Apr 26, 2011 9:42 pm
by Sophia
One of the small advantages of DSB being software rendered is that shouldn't happen!
I wonder, though. Are you guys running windowed or fullsceen? Can I see the first few lines of log.txt (like before it starts parsing all the Lua)?

Re: Bug: Rendering of items on a table

Posted: Tue Apr 26, 2011 9:44 pm
by Gambit37
Sure, here's mine (windowed mode):

Code: Select all

INIT: Parsing configuration file
INIT: Using gamedir E:\Dungeon Master\Custom Games (Me)\Gamebooks\Maze of Zagor\_dsb47\test_dungeon (base:0)
INIT: Starting windowed mode
INIT: Using color depth of 32
INIT: Starting FMOD
INIT: Triple buffering unavailable or disabled.
LUA: Lua initialized

Re: Bug: Rendering of items on a table

Posted: Tue Apr 26, 2011 9:59 pm
by Gambit37
Just looked at this again. This is what happens in WINDOWED mode:

I go down the stairs to the second level of the test_dungeon. If I stay standing on the stairs the first two items on the table are invisible, but I can see the further quiver and arrows. If I move forward so I'm right next to the table, they are still invisible (but pick-upable). I then sidestep right, forward one and turn to the table. Now the bow and quiver have vinished (first two items) and the axe and arrows are visible.

As I was writing the above paragraph, my mouse was over my browser window. Returning the mouse to the DSB window to move around the table, the bow and quiver appeared -- simply by moving the mouse over the window!

If I then move around the table and face it from different directions, all the items stay visible.

However, if I step 2 tiles away and face it (either from the stairs or opposite corridor), then the two front items disappear again. Moving back and forth one tile, the items appear and disappear.

If I move three tiles away, then I can see the quiver and arrows, but not the back row with the axe and bow. (though if the shading was dark enough, you probably wouldn't see these realistically anyway)

Dunno if this helps you at all...?

Re: Bug: Rendering of items on a table

Posted: Tue Apr 26, 2011 10:04 pm
by Joramun
I run it windowed, too! (same effects).

Re: (unable to reproduce) Bug: Rendering of items on a table

Posted: Mon May 02, 2011 9:07 pm
by Sophia
I may have fixed this. No promises. :)

Re: (unable to reproduce) Bug: Rendering of items on a table

Posted: Mon May 02, 2011 10:07 pm
by Gambit37
Oh, so you were able to reproduce it in the end?

Re: (unable to reproduce) Bug: Rendering of items on a table

Posted: Mon May 02, 2011 11:28 pm
by Sophia
No, I wasn't. That's why I don't know if I fixed it.
I just found some code in the function that draws the items on tables that, upon re-reading it, I realized that it shouldn't ever have worked. :D So I fixed that.

Re: (unable to reproduce) Bug: Rendering of items on a table

Posted: Fri May 06, 2011 2:26 pm
by Joramun
The bug seems indeed fixed !

Re: (unable to reproduce) Bug: Rendering of items on a table

Posted: Sat May 07, 2011 2:56 pm
by Gambit37
Yep, I concur, this seems to be fixed now. Nice one :-)