Page 1 of 1

Maybe some bugs in STK SVN 11326

PostPosted: 12 May 2012, 13:34
by dehavilland
STK SVN11326+Irrlicht 1.8SVN4162 under ubuntu 10.04.4 LTS x64 compiled by gcc 4.4.6

The brand new STK is better than the stable edition 0.7.3 except for two bugs

1.There is a SIGSEGV caught in challenge mode(when i enter in the room and press "fire" to enter the game...)
gdb 7.2 outputs as follows:

Program received signal SIGSEGV, Segmentation fault.
SelectChallengeDialog::SelectChallengeDialog (this=0x1d52fcd0, percentWidth=<value optimized out>, percentHeight=<value optimized out>,
challenge_id=<value optimized out>) at states_screens/dialogs/select_challenge.cpp:120
120 getWidget<LabelWidget>("title")->setText( track_name, true );


2.The multiplayer mode is malfunctioning.
I decided to play STK with my classmate using two keyboards, one is my laptop's, the other a plug-in USB keyboard. The laptop's fire key is SPACE, and the plug-in one's is LEFT CTRL.
Under multiplayer mode, after I successfully selected the character, my friend failed joining the game with (as we excepted) LEFT CTRL. There was no response. Pressing the LEFT CTRL on the laptop also not works.
And the console didn't output any message about it.

Regards
Winston Wu

Re: Maybe some bugs in STK SVN 11326

PostPosted: 12 May 2012, 15:00
by Auria
Hi,

in gdb, when you get the crash, can you please enter command "bt" and post the output here? But do make sure it's not picking the wrong data files. For instance if you have both STK 0.7.3 and trunk installed, there is a chance STK could pick the datafiles from 0.7.3 which may explain the crash

Regarding multiplayer, indeed I think you found something, I will create a ticket and look at it. This was with trunk though right? In 0.7.3 multiplayer is definitely supposed to work

Re: Maybe some bugs in STK SVN 11326

PostPosted: 12 May 2012, 15:24
by dehavilland
Auria {l Wrote}:Hi,

in gdb, when you get the crash, can you please enter command "bt" and post the output here? But do make sure it's not picking the wrong data files. For instance if you have both STK 0.7.3 and trunk installed, there is a chance STK could pick the datafiles from 0.7.3 which may explain the crash

Regarding multiplayer, indeed I think you found something, I will create a ticket and look at it. This was with trunk though right? In 0.7.3 multiplayer is definitely supposed to work


Hi

Both STK and Irrlicht are from trunk. STK SVN 11326 & Irr 1.8SVN4162 (Both STK and Irrlicht are of most recent edition) No 0.7.3 in my system.

The output as follows

#0 SelectChallengeDialog::SelectChallengeDialog (this=0x26c7a210, percentWidth=<value optimized out>, percentHeight=<value optimized out>,
challenge_id=<value optimized out>) at states_screens/dialogs/select_challenge.cpp:120
#1 0x000000000055d12e in OverWorld::onFirePressed (this=<value optimized out>, who=<value optimized out>) at modes/overworld.cpp:181
#2 0x0000000000534e24 in PlayerController::action (this=0x26c83ee0, action=<value optimized out>, value=-5) at karts/controller/player_controller.cpp:197
#3 0x0000000000505db3 in InputManager::dispatchInput (this=<value optimized out>, type=Input::IT_KEYBOARD, deviceID=<value optimized out>, button=32,
axisDirection=<value optimized out>, value=32768) at input/input_manager.cpp:567
#4 0x000000000050654f in InputManager::input (this=<value optimized out>, event=...) at input/input_manager.cpp:791
#5 0x00000000004ac4dd in GUIEngine::EventHandler::OnEvent (this=0x11f1c00, event=...) at guiengine/event_handler.cpp:160
#6 0x00002aaaab1555eb in irr::CIrrDeviceStub::postEventFromUser(irr::SEvent const&) () from /usr/local/lib/libIrrlicht.so.1.8
#7 0x00002aaaab14d6e3 in irr::CIrrDeviceLinux::run() () from /usr/local/lib/libIrrlicht.so.1.8
#8 0x00000000004717e3 in IrrDriver::update (this=0x9f4060, dt=0) at graphics/irr_driver.cpp:1387
#9 0x0000000000419558 in MainLoop::run (this=0x1bbb3b0) at main_loop.cpp:160
#10 0x0000000000416b0d in main (argc=<value optimized out>, argv=0x7fffffffc6e8) at main.cpp:1416

Re: Maybe some bugs in STK SVN 11326

PostPosted: 12 May 2012, 18:23
by Auria
On a second thoguht... ooops! you were right about this bug, and it was totally my fault, there is a file I forgot to commit. Now if you update to latest SVN it should work. Sorry about that

Regarding multiplayer, can you try more keys? I tried and can't reproduce the problem you met

Re: Maybe some bugs in STK SVN 11326

PostPosted: 12 May 2012, 19:38
by dehavilland
Auria {l Wrote}:On a second thoguht... ooops! you were right about this bug, and it was totally my fault, there is a file I forgot to commit. Now if you update to latest SVN it should work. Sorry about that

Regarding multiplayer, can you try more keys? I tried and can't reproduce the problem you met


Oops...I am so careless that I forgot to set the MENU KEYS independently...and it works now...

Re: Maybe some bugs in STK SVN 11326

PostPosted: 13 May 2012, 03:04
by dehavilland
And one minor bug of the Story Mode
the kart will be stuck in a corner of the garage.
I can not move the kart in any direction(including backward) but to call for rescue.
Screenshot-2.png

Re: Maybe some bugs in STK SVN 11326

PostPosted: 13 May 2012, 19:04
by Auria
Thanks, this is a known issue but knowing where to reproduce it is always better, I added this to https://sourceforge.net/apps/trac/super ... ticket/577

Re: Maybe some bugs in STK SVN 11326

PostPosted: 14 May 2012, 05:49
by dehavilland
Auria {l Wrote}:Thanks, this is a known issue but knowing where to reproduce it is always better, I added this to https://sourceforge.net/apps/trac/super ... ticket/577

Thanks!
And thank you for the new SVN 11234.
But there is some other problems. The AI seems to be very stupid. In 0.7.3 when the AI got cakes, bowlings or swatters they make full use of them, and the challenge is fierce. But in SVN they do not use any items they get except for nitrogen, and I am the only one that throw cakes, bowlings ... Maybe because it is still under development?

Re: Maybe some bugs in STK SVN 11326

PostPosted: 14 May 2012, 23:38
by hiker
dehavilland {l Wrote}:But there is some other problems. The AI seems to be very stupid. In 0.7.3 when the AI got cakes, bowlings or swatters they make full use of them, and the challenge is fierce. But in SVN they do not use any items they get except for nitrogen, and I am the only one that throw cakes, bowlings ... Maybe because it is still under development?

Good observations. Looks like I accidentally committed some debug code that disables item usage for AIs. Fixed in r11236.

Thanks!
Joerg

Re: Maybe some bugs in STK SVN 11326

PostPosted: 15 May 2012, 05:54
by dehavilland
hiker {l Wrote}:
dehavilland {l Wrote}:But there is some other problems. The AI seems to be very stupid. In 0.7.3 when the AI got cakes, bowlings or swatters they make full use of them, and the challenge is fierce. But in SVN they do not use any items they get except for nitrogen, and I am the only one that throw cakes, bowlings ... Maybe because it is still under development?

Good observations. Looks like I accidentally committed some debug code that disables item usage for AIs. Fixed in r11236.

Thanks!
Joerg


I'm sorry but when I updated to R11240, the AI are still stupid... ;)

Re: Maybe some bugs in STK SVN 11326

PostPosted: 16 May 2012, 01:00
by hiker
dehavilland {l Wrote}:I'm sorry but when I updated to R11240, the AI are still stupid... ;)

Gee, you were right. I only notices an explosion happening in the GUI, but that must have been from a kart hitting a banana (and getting a bomb).

There was indeed another bug in a (seemingly) unrelated patch nearly a month ago. Fixed in r11241. There might actually be a bit of redesign necessary, but it should work now.

Thanks a lot for the report!
Joerg

Re: Maybe some bugs in STK SVN 11326

PostPosted: 16 May 2012, 15:18
by dehavilland
hiker {l Wrote}:
dehavilland {l Wrote}:I'm sorry but when I updated to R11240, the AI are still stupid... ;)

Gee, you were right. I only notices an explosion happening in the GUI, but that must have been from a kart hitting a banana (and getting a bomb).

There was indeed another bug in a (seemingly) unrelated patch nearly a month ago. Fixed in r11241. There might actually be a bit of redesign necessary, but it should work now.

Thanks a lot for the report!
Joerg


THX, it seems that it is OK now.