SpringLobby - Page 15

SpringLobby

Moderators: Moderators, Lobby Developers

Locked
YokoZar
Posts: 883
Joined: 15 Jul 2007, 22:02

Post by YokoZar »

Hooray a segfault:

Open springlobby, give a wrong password. Fail to login. Click connect, enter correct password and try to connect.
YokoZar
Posts: 883
Joined: 15 Jul 2007, 22:02

Post by YokoZar »

Also the add bot button just pops up an add bot dialog with no AIs to select from in the pull down list, then the program locks up. I'm using Linux and the latest tarball (0.0.1.0512)
YokoZar
Posts: 883
Joined: 15 Jul 2007, 22:02

Post by YokoZar »

YokoZar wrote:Also the add bot button just pops up an add bot dialog with no AIs to select from in the pull down list, then the program locks up. I'm using Linux and the latest tarball (0.0.1.0512)
This is because for some reason my ~/.spring/AI folder did not have a bot-libs subfolder.


Anyway, I can't figure out how to force someone's team or kick people.
User avatar
tc-
Lobby Developer
Posts: 152
Joined: 19 Apr 2007, 20:15

Post by tc- »

imbaczek: Will do that later, it will probably be in the first release.

YokoZar: The bot libs search path is a bit too restricted atm. Will fix that after forcing ally, team etc.
semi
Posts: 69
Joined: 30 Mar 2007, 20:42

Post by semi »

EDIT: clicked the wrong button
rabe
Posts: 16
Joined: 24 Jun 2007, 22:35

Post by rabe »

check if you have stdoutdebug=1 in your .springrc; setting such value to 0 fixed the black screen problem here
That did the trick. Thank you very much!
User avatar
tc-
Lobby Developer
Posts: 152
Joined: 19 Apr 2007, 20:15

Post by tc- »

Forcing team, ally, spectator etc works now for both players and bots. Kicking and removing bots works. Also implemented Ring.

Next is the problem with the bot libs...

Edit: We have decided to wait until next spring release to fix the bot-lib problem since we can fix it in a much better way then. Until then symlinking the AI/Bot-lib directory to the direcotry specified in the settings should work.
YokoZar
Posts: 883
Joined: 15 Jul 2007, 22:02

Post by YokoZar »

I did the symlink, it does indeed work.

This latest release had a serious problem for me - the game simply didn't launch when the host started it. I was ready, but it just never started.

The only anomalous thing I can think of was the host changed my team and ally team before starting. My color was also different from the dropdown box for some reason. But, either way, it simply didn't start.

Hosting a single player game bot caused a more serious problem: the lobby appeared to hang after I hit start.

Here's the last thing in the terminal window:

Code: Select all

-- OnListRightClick(  ): : Done
** OnBattleUpdateBot(  ): 
** GetBot(  ): 
-- GetBot(  ): : index
-- GetBot(  ): : Bot1
-- GetBot(  ): : index
-- GetBot(  ): : Bot2
-- GetBot(  ): : index
-- GetBot(  ): : Bot3
-- GetBot(  ): : index
-- GetBot(  ): : Bot4
-- GetBot(  ): : return != 0
** GetBot(  ): 
-- GetBot(  ): : index
-- GetBot(  ): : Bot1
-- GetBot(  ): : index
-- GetBot(  ): : Bot2
-- GetBot(  ): : index
-- GetBot(  ): : Bot3
-- GetBot(  ): : index
-- GetBot(  ): : Bot4
-- GetBot(  ): : return != 0
** OnUserJoinedBattle(  ): 
** OnBattleInfoUpdated(  ): 
** OnBattleInfoUpdated(  ): 
** OnStartHostedBattle(  ): 
** SendMyBattleStatus(  ): 
** SendMyUserStatus(  ): 
User avatar
tc-
Lobby Developer
Posts: 152
Joined: 19 Apr 2007, 20:15

Post by tc- »

YokoZar: That bug should be fixed in latest svn now. Thanks for reporting :-)
User avatar
Comp1337
Posts: 2434
Joined: 12 Oct 2005, 17:32

Post by Comp1337 »

After having hell with installing wxwidgets, I get major compiletime errors..
I think I have screwed up with the wxwidgets. Anyone care to help a linux newb?
I did what this page said, but the only packages that showed up on the apt-get at the end were

Code: Select all

wx2.8-doc - wxWidgets Cross-platform C++ GUI toolkit (documentation)
wx2.8-examples - wxWidgets Cross-platform C++ GUI toolkit (examples)
wx2.8-headers - wxWidgets Cross-platform C++ GUI toolkit (header files)
wx2.8-i18n - wxWidgets Cross-platform C++ GUI toolkit (i18n support)
I tried installing them all with no avail :(


After that i searched for 'wx', and got loads.
I installed libwxbase2.8-dev (2.8.4.0-0), and now i got wx-config and everything seemed jolly. During compiletime i got LOADS of wx-related errors
:(
User avatar
tc-
Lobby Developer
Posts: 152
Joined: 19 Apr 2007, 20:15

Post by tc- »

Comp1337: What distro do you use? Also can you pastebin the the whole build log? Also it might help specifying where you wx-config script is located with

Code: Select all

./configure --with-wx-config=/path/to/wx-config
User avatar
Comp1337
Posts: 2434
Joined: 12 Oct 2005, 17:32

Post by Comp1337 »

tc- wrote:Comp1337: What distro do you use? Also can you pastebin the the whole build log? Also it might help specifying where you wx-config script is located with

Code: Select all

./configure --with-wx-config=/path/to/wx-config
Ubuntu 7.04 Feisty AMD64
Ill getcha the build log tomorrow, i closed the terminal and i cba atm
YokoZar
Posts: 883
Joined: 15 Jul 2007, 22:02

Post by YokoZar »

tc- wrote:YokoZar: That bug should be fixed in latest svn now. Thanks for reporting :-)
Hmm, nope, with version 22 it's still not launching games about half the time. When I make a single player game it'll freeze up sometimes too - I managed to get one bot as a test, but then when I added 6 it didn't work.

edit: whoops, you've got a tarball up to version 30 now, I'll check that.

Ok, so now the game starts with my 7 AIs, but they all appear to be comm sharing, ending the game instantly.
User avatar
tc-
Lobby Developer
Posts: 152
Joined: 19 Apr 2007, 20:15

Post by tc- »

YokoZar: It all seems to work here, are you sure it's the latest build?
YokoZar
Posts: 883
Joined: 15 Jul 2007, 22:02

Post by YokoZar »

tc- wrote:YokoZar: It all seems to work here, are you sure it's the latest build?
Version 0530. Yeah.
User avatar
tc-
Lobby Developer
Posts: 152
Joined: 19 Apr 2007, 20:15

Post by tc- »

YokoZar: Can you pastebin the springlobby_script_debug.txt file so we can see whats wrong?
YokoZar
Posts: 883
Joined: 15 Jul 2007, 22:02

Post by YokoZar »

tc- wrote:YokoZar: Can you pastebin the springlobby_script_debug.txt file so we can see whats wrong?
Still getting the same problem in latest tarball (0536): http://pastebin.com/meb0551
User avatar
tc-
Lobby Developer
Posts: 152
Joined: 19 Apr 2007, 20:15

Post by tc- »

YokoZar: I fixed at least one bug releated to you script problems now. Might work now :-)
bruno07
Posts: 5
Joined: 26 Jul 2007, 02:37

GetMapName

Post by bruno07 »

If you lack the LastMap= entry in $HOME/.SpringLobby or if this line refer to a deleted map, the lobby segfaults when you press the ''Host'' button. (Not the previous ''Host new..'')

Nothing useful is returned from the lobby or strace if the LastMap line refer to missing files.
This is returned on the console if the LastMap line is missing completely:

Code: Select all

unitsync: Unitsync assertion failed: tools/unitsync/unitsync.cpp:313: Array index out of bounds. Call GetMapCount before GetMapName.
Segmentation fault
Same if this is your first run, eg. the .Springlobby config file is new and therefore contains no LastMap.

Edit: (At revision 544.)
/Allan
YokoZar
Posts: 883
Joined: 15 Jul 2007, 22:02

Post by YokoZar »

tc- wrote:YokoZar: I fixed at least one bug releated to you script problems now. Might work now :-)
Almost. If I change my own team to 7 and change the AI Bot to team 1, I still end up as team 1 (and him as 7). This means I have to always start on the same spot in fixed positions :(
Locked

Return to “SpringLobby Client”