Page 1 of 1

B42

Posted: Fri Aug 10, 2012 6:27 pm
by Mikael22
whenever i change levels with the transmog chest it freezes
--edit--
it turns out when ever i use the transmog chest it is broken

Re: B42

Posted: Fri Aug 10, 2012 8:01 pm
by edge2054
Are you getting any error messages? I haven't seen this bug and have been playing the SVN for the last couple of hours.

Re: B42

Posted: Sat Aug 11, 2012 2:45 pm
by Noel
Same here, running on 32-bit Linux, r5437. Console repeats this error when I try to go into the transmog chest from the inventory. Chasing it down, it looks like row.h is nil, somehow.
Lua Error: /engine/ui/ListColumns.lua:599: attempt to perform arithmetic on field 'h' (a nil value)
At [C]:-1 __add
At /engine/ui/ListColumns.lua:599 display
At /engine/ui/Inventory.lua:269 display
At /engine/ui/Dialog.lua:614 toScreen
At /engine/Game.lua:149 display
At /mod/class/Game.lua:1154
On a different machine (same SVN, but 64-bit Linux) it seems to work fine. However, that's on characters created in an earlier version, while the failing one is on newly-created characters.

Re: B42

Posted: Sat Aug 11, 2012 5:30 pm
by Mikael22
edge2054 wrote:Are you getting any error messages? I haven't seen this bug and have been playing the SVN for the last couple of hours.
i dont get any error messages the game just frezzes

Re: B42

Posted: Sat Aug 11, 2012 7:03 pm
by darkgod
fixed

Re: B42

Posted: Sun Aug 12, 2012 1:30 pm
by Noel
Hmmm...still getting same behavior with 5444:
- create new char
- auto-pickup object into transmog chest
- click on transmog chest in inventory
=> display freezes, with same error as above spamming the console

I grabbed the full console output this time, and before the repeating nil .h errors, I see this once:

Code: Select all

Lua Error: /engine/ui/Inventory.lua:100: attempt to index local 'texture' (a nil value)
    At [C]:-1 __index
    At /engine/ui/Inventory.lua:100 direct_draw
    At /engine/ui/ListColumns.lua:205 generateRow
    At /engine/ui/ListColumns.lua:398 setList
    At /engine/ui/Inventory.lua:258 generateList
    At /engine/ui/Inventory.lua:66 fct
    At /engine/ui/ImageList.lua:179 onUse
    At /engine/ui/ImageList.lua:102 fct
    At /engine/Mouse.lua:50 receiveMouse
    At /engine/Mouse.lua:83 delegate
    At /engine/ui/Inventory.lua:181 mouseEvent
    At /engine/ui/Inventory.lua:127 fct
    At /engine/Mouse.lua:50 receiveMouse
    At /engine/Mouse.lua:83 delegate
    At /engine/ui/Dialog.lua:518 mouseEvent
    At /engine/ui/Dialog.lua:304 fct
    At /engine/Mouse.lua:50
Aha. Turning off the frame buffering option (clue from r5438) avoids the bug.

Not sure why frame buffering has worked before. This is on a netbook: Atom N280, GMA950 graphics, Ubuntu Linux 10.04

Re: B42

Posted: Sun Aug 12, 2012 1:33 pm
by darkgod
You did recompile the source ?

Re: B42

Posted: Sun Aug 12, 2012 4:56 pm
by darkgod
fixed

Re: B42

Posted: Mon Aug 13, 2012 12:29 am
by Noel
Brilliant. That did it. Works with frame buffer on or off now.

Thanks!