#87 BG1: GUIINV.py: AttributeError: SetButtonBAM

GemRB Main Engine
closed-works-for-me
nobody
GUIScripts (36)
5
2007-02-09
2007-02-07
Nick
No

Another small error in the CVS version (again I think since 0.2.8) which I so far lack the knowledge to fix, this time in the GUIINV.py file.

Traceback:
File "./GUIScripts/bg1/GUIINV.py", line 153, in OpenInventoryWindow
UpdateInventoryWindow ()
File "./GUIScripts/bg1/GUIINV.py", line 233, in UpdateInventoryWindow
UpdateSlot (pc, i)
File "./GUIScripts/bg1/GUIINV.py", line 416, in UpdateSlot
GemRB.SetButtonBAM (Window, Button, SlotType["ResRef"],0,0)
AttributeError: SetButtonBAM(WindowIndex, ControlIndex, BAMResRef, CycleIndex, FrameIndex, col1)

(as a side note, the red syntax error text telling me this continued as red after the error, so all subsequent messages were also red)

As I say, I compared with other GUIScripts, but couldn't find anything to help me out.

Discussion

  • Laszlo Toth
    Laszlo Toth
    2007-02-08

    Logged In: YES
    user_id=885460
    Originator: NO

    This also appears to be a lack of the Guiscript plugin recompile.
    The sixth parameter (color) is now optional.

     
  • Nick
    Nick
    2007-02-08

    Logged In: YES
    user_id=1676706
    Originator: YES

    The bug has been fixed, thanks for your report.

     
  • Laszlo Toth
    Laszlo Toth
    2007-02-09

    • status: open --> closed-works-for-me