Author Topic: [fixed] 3.7.0 When joining a server, players may remain on lobby chat (IRC)  (Read 845 times)

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
When a player connect to lobby (IRC) chat and later connects to a (or starts hosting a) gameserver then it happens in some cases that this players' MegaGlest will not emit the "connecting to: [servername]" or "tries to create a game" string, and the player seems to remain in the lobby when she really connected to the gamserver. This means that other players assume this person is present in chat and can read text written there while factually the player will miss all text written and will only get to see text written after she returns to the lobby (if so).

It is unclear why this happens sometimes and not other times - in most cases this is not a problem. It seems that this issue was introduced as a side effect of connection caching, it has never been observed before this change.

I have no personally been able to reproduce it, so we may need more information from someone who can. My understanding is, though, this happens quite sporadically and it's not something you can easily reproduce just because it happened to you once.
« Last Edit: 20 November 2012, 22:58:58 by tomreyn »
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
I added some code in svn to close the IRC connection if the IRC thread shuts down for unknown reasons, this may fix this issue if they are related.

jammyjamjamman

  • Administrator
  • Horseman
  • ********
  • Posts: 210
    • View Profile
I've managed to produce this bug on MG 3.7.0 Rev3905 and on MG-dev Rev3928. It is triggered if I join a headless server before the game manages to connect me to the IRC channel.

Here's a photo of the bug in action, showing me in the lobby and also in the headless server: http://megaglest.pzt.me/9rqn
Also this is a verbose log of the game with the bug using the svn: http://megaglest.pzt.me/8uku
and with MG 3.7.0: http://megaglest.pzt.me/8ckg

Hope these can be of help.

"All right, I've been thinking. When life gives you lemons? Don't make lemonade. Make life take the lemons back! Get mad! 'I don't want your damn lemons! What am I supposed to do with these?'" ~Cave Johnson, Portal 2

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Ok try rev #3939

Thanks

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
I think Softcoder means r3929.
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

jammyjamjamman

  • Administrator
  • Horseman
  • ********
  • Posts: 210
    • View Profile
The bug is gone now on svn head.  :)
"All right, I've been thinking. When life gives you lemons? Don't make lemonade. Make life take the lemons back! Get mad! 'I don't want your damn lemons! What am I supposed to do with these?'" ~Cave Johnson, Portal 2