bugBattle for Wesnoth - Bugs: bug #19302, Lobby doesn't refresh games list...

Show feedback again

bug #19302: Lobby doesn't refresh games list properly

Submitted by:  Gabriel Morin <gabba>
Submitted on:  Wed Jan 18 20:23:39 2012  
Category: BugSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Multiplayer Lobby
Status: ConfirmedPrivacy: Public
Assigned to: Gunter Labes <soliton>Open/Closed: Open
Release: 1.9.14+svn(52648)Operating System: Ubuntu 10.04

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

Please log in, so followups can be emailed to you.


(Jump to the original submission Jump to the original submission)

Mon Mar 20 10:49:59 2017, comment #7:

How about that. While testing bug #15772, I think I ran into this one. Entered a game without meaning to, exited immediately, then had an empty room. Retried the room and re-entered a different game, causing it to apparently hang on trying to enter the game. Interesting.

So, sadly, looks like this is still an issue in 1.13.7+dev.

Wedge009 <wedge009>
Project Member
Mon Mar 20 10:22:48 2017, comment #6:

I couldn't reproduce this with 1.13.7+dev. Given this is so old I'm inclined to close this.

Wedge009 <wedge009>
Project Member
Sun Mar 19 23:41:27 2017, comment #5:

Is this still confirmed for the redesigned MP lobby in 1.13.x? If it is a network issue it might still be, but the last contact on this issue was nearly five years ago, so it would be good to get an update.

Wedge009 <wedge009>
Project Member
Thu Apr 5 08:43:32 2012, comment #4:

Marking as confirmed since this seems reproducible. Soliton, assigning to you since you're the one who knows most about the network - I don't know whether this is a client or server issue.

Gabriel Morin <gabba>
Project Member
Sat Feb 25 11:12:20 2012, comment #3:

I can confirm the previous posts. Creating and closing the game will break the lobby. The players cannot see the others games or chat messages any longer.
Whispering still works!
The command-line output says error server: ERROR: Could not find game for player: marcel. (socket: 2)

marcel is the hosting or message-sending player, 2 the socket that is used for that player.

The error appears when creating or sending a message after creating/closing the first game.
When a new player enters the lobby after that his name seems to appear twice in the list.
Two different errors appear while he connects to the server or writes a message/creates a game:
error network: Error socket: 17216176 not found in connection_map. Not sending...
and error network: Error socket: 16813152 not found in connection_map. Not sending...

All messages sent by this last entered player are doubled for him. All other players can read his messages.
A game created by him is not seen.
After he created a game (and I think after he closes the game) one of the other players playerlist disappeared.
The others could no longer see his messages.
Whispering still works. To the player with no playerlist too. Whispering with /msg playername message still works for the player without the list.

Somewhen (possibly after the first player lost his player list or when the last player closed the game) the last player did no longer see his messages or name in the player list twice.

My testcase was to create 3 players and join to the local lobby. The first created a game, the second joined and the first canceled the game. The fourth player joined to the lobby afterwards.
Between all that I tried to send messages in the lobby with the results mentioned above.

Marcel Miebach <retr0virus>
Sun Jan 22 02:30:34 2012, comment #2:

I can confirm this. Additionally, once one or both clients have quit the game, simple chatting breaks. One client may see all messages doubled, and the other sees nothing at all.

Galen Brooks <fluffbeast>
Thu Jan 19 00:06:32 2012, comment #1:

Easier way to reproduce the bug: create a game with the first client then immediately close it before anyone joins; your next game will not show in the lobby for the second client.

Gabriel Morin <gabba>
Project Member
Wed Jan 18 20:23:39 2012, original submission:

This consistently reproduces the problem. I run all of these commands under gdb (managed by Eclipse) with debug builds, btw.

./wesnothd --verbose

./wesnoth --log-debug=whiteboard,engine,network,replay,unit --nomusic --server localhost

./wesnoth --log-debug=whiteboard,engine,network,replay,unit --nomusic --server localhost

Create a game with one client, join it with the other and start the game. Then quit it with both clients. Afterwards, one client or the other will have problems creating new games: the other won't be able to see them in the lobby.

Gabriel Morin <gabba>
Project Member


(Note: upload size limit is set to 1024 kB, after insertion of the required escape characters.)

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by wedge009 (Posted a comment)
  • -unavailable- added by retr0virus (Posted a comment)
  • -unavailable- added by fluffbeast (Posted a comment)
  • -unavailable- added by gabba (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Error: not logged in



    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu Apr 5 08:43:32 2012gabbaStatusNone=>Confirmed
      Assigned toNone=>soliton
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup