Author Topic: 3.9.1: Game initialization timeout on one player can cause entire game to fail  (Read 1595 times)

tomreyn

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
When you start a game and any one (does not need to be host or controlling player) player runs into an initialization timeout (180s), this can cause the entire game to fail for all connected players, meaning that every player gets disconnected just because one timed out.

This should not happen. If one player is unable to initialize the game, it should be dropped and replaced by AI, allowing the other players to start the game fine.
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 · · ·

tomreyn

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
On a headless server, when just a single player fails to initialize the game before the timeout, the game will fail for all connected players. It does not need to be the game admin who runs into the timeout - any one player who runs into a timeout makes the game fail for all players.

What really should happen there is that just this one player gets disconnected and the game starts for everyone else.

Also, the player who gets disconnected sends his message about him failing to initialize in time in his localized language - and it is displayed in this language to all the other players (or just to the game admin?). This message should be displayed in each recipients' local language, not that of the sender.
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 · · ·

kagu

  • Administrator
  • Horseman
  • ********
  • Posts: 203
    • View Profile
This happened two times recently, and is really anoying, PLEASE make it 60-80 , 180 looks like liftime.
Megaglest Chat
Please support:
1. CEGUI 2. In-process games 3. Registered Players
Playtime:
Every Sunday 21:00 - 01:00 CET