Author Topic: [fixed] 3.7.1: "Unexpected network message: 5" with last sec changes on headless  (Read 515 times)

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
On a headless game server, where the controlling client has some latency to the game server, you may run into a situation where the controlling client makes a change to the game setup, such as switching a "CPU" (normal) to "CPU ultra", and immediately after starts the game. If this is the case, all connected clients will receive this error message (just the last part displays on screen) as soon as the game starts:
Code: [Select]
*ERROR* In [network_interface.cpp::DisplayErrorMessage Line: 99] sErr [client_interface.cpp::waitUntilReady Unexpected network message: 5]
It would seem this is because the last second change to the game setup does not propagate in time from the controlling client to the server or to the other client, triggering this error.

For me, it's much easier to reproduce this on headless server summoner than on engineer since latency from my controlling client is way higher to summoner.
It's apparently a headless only problem, or we just weren't able to reproduce it when I was hosting on my local computer.

All tests were run with me as a controlling client and Derek as the second network player.
« Last Edit: 27 December 2012, 13:30:30 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
Should be fixed in svn rev# 3959