Author Topic: r4341: Rejoin: When multiple players join simultaniously, game may never resume  (Read 1088 times)

tomreyn

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
There are some oddities with rejoin and pausing. When you have a game where players will disconnect and reconnect repeatedly then you will run into this situation where one of them rejoins, and there is no player currently in process of joining, but the game does not resume - it remains paused. I'm not exactly sure what triggers it, maybe there are situations where clients get stuck in the join in sequence, maybe due to the game state download progress messages. When you setup a game with multiple network clients and they rejoin, and some rejoin at the same time (I'm not sure this is actually necessary to reproduce) this issue is guaranteed to occur.

Edit (tomreyn, 2013-06-01): better subject title
« Last Edit: 1 June 2013, 20:55:17 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
Try to see if this is fixed in 4388 as I tried to make this more stable

tomreyn

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
One situation which I now know triggers this, and still does so on r4394, is when a joining player hits the "play now" button repeatedly (maybe more than once is sufficient). Zhis player will then join, but the game doesn't resume. If the server admin tries to resume it manually, it does so, but just for one frame, then pauses again. Further attempts to resume the game result in the same behaviour, so the game is no longer playable.
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
Hopefully fixed in 4398


Edit by tomreyn (2013-06-21):

Note to self: I'm not sure whether or not this was fixed, needs more testing (and an update to this post) when we look into rejoins again.
« Last Edit: 21 June 2013, 10:59:22 by tomreyn »

 

anything