#223 BG1 Character Creation

GemRB Main Engine
closed-fixed
Laszlo Toth
GamePlay (136)
5
2011-09-15
2011-09-10
AkylaQD
No

If you chose class Mage you don't go through abilities button, bg1 crashed with error: bg1.sh: line 4: 20690 Ошибка сегментирования (Segmentation fault) LD_LIBRARY_PATH=${GEMRB_LIB} ${GEMRB_BIN} -c bg1.cfg

Discussion

  • Laszlo Toth
    Laszlo Toth
    2011-09-10

    • milestone: --> GemRB Main Engine
     
  • Laszlo Toth
    Laszlo Toth
    2011-09-10

    This works for me without problem. Can you reproduce this? Is it only for mages?

     
  • Crashes reproducabily for me when I hit "Skills" when choosing a mage.

    #0 0x00007fa2cc5e7739 in ScrollBar::SetPos (this=0xd00de0, NewPos=0)
    at /data/gemrb/git/gemrb/gemrb/core/GUI/ScrollBar.cpp:66
    #1 0x00007fa2cc5edeb3 in Window::RedrawControls (this=0xc380d0,
    VarName=0x7fa2bfbc2594 "SpellTopIndex", Sum=0)
    at /data/gemrb/git/gemrb/gemrb/core/GUI/Window.cpp:401
    #2 0x00007fa2c5dfbebd in GemRB_Control_SetVarAssoc (
    args=<value optimized out>)
    at /data/gemrb/git/gemrb/gemrb/plugins/GUIScript/GUIScript.cpp:1877
    #3 0x00007fa2c5b1cf3e in PyEval_EvalFrameEx ()
    from /usr/lib/libpython2.6.so.1.0
    #4 0x00007fa2c5b1f165 in PyEval_EvalCodeEx ()
    from /usr/lib/libpython2.6.so.1.0
    #5 0x00007fa2c5b1d813 in PyEval_EvalFrameEx ()
    from /usr/lib/libpython2.6.so.1.0
    #6 0x00007fa2c5b1f165 in PyEval_EvalCodeEx ()
    from /usr/lib/libpython2.6.so.1.0
    #7 0x00007fa2c5b1d813 in PyEval_EvalFrameEx ()
    from /usr/lib/libpython2.6.so.1.0
    #8 0x00007fa2c5b1f165 in PyEval_EvalCodeEx ()
    from /usr/lib/libpython2.6.so.1.0
    #9 0x00007fa2c5ab13ad in function_call () from /usr/lib/libpython2.6.so.1.0
    #10 0x00007fa2c5a89237 in PyObject_Call () from /usr/lib/libpython2.6.so.1.0
    #11 0x00007fa2c5b17ce5 in PyEval_CallObjectWithKeywords ()
    from /usr/lib/libpython2.6.so.1.0
    #12 0x00007fa2c5df7cb9 in GUIScript::RunFunction (this=<value optimized out>,
    ModuleName=<value optimized out>, FunctionName=0x7fa2cc6102a4 "OnLoad",
    error=true, intparam=-1)
    at /data/gemrb/git/gemrb/gemrb/plugins/GUIScript/GUIScript.cpp:10755
    #13 0x00007fa2cc57af98 in Interface::Main (this=0x603010)
    at /data/gemrb/git/gemrb/gemrb/core/Interface.cpp:1136
    #14 0x0000000000400dc5 in main (argc=3, argv=0x7fff9ebb9d08)
    at /data/gemrb/git/gemrb/gemrb/GemRB.cpp:92

    this->Frames is all zeroes at this point.

     
  • AkylaQD
    AkylaQD
    2011-09-11

    i do a mustake it error appears if click a skills button don't abilities and only for mage, but i don't check all classes.

     
  • Laszlo Toth
    Laszlo Toth
    2011-09-15

    Well, the first (and only) scrollbar i got via SetVarAssoc after pressing Skills had its frames properly initialized for me. I tested this on Windows so far.
    Wjp, if you can reproduce this with the current source, please debug it!

     
  • Laszlo Toth
    Laszlo Toth
    2011-09-15

    There are two bugs, plus a user error :)
    1. you have GUIEnhancements = 1 in your config file (user error)
    2. it shouldn't work for bg1 (this is a scripting bug)
    3. the scrollbar code doesn't like missing graphics resources

     
  • Laszlo Toth
    Laszlo Toth
    2011-09-15

    • status: open --> closed-fixed
     
  • Laszlo Toth
    Laszlo Toth
    2011-09-15

    The core bug is also fixed in latest git head.