Author Topic: [fixed] Minor masterserver related issues affecting 3.6.0.3 and pre-3.6.1 svn  (Read 894 times)

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
As previously reported, there are situations where the masterserver claims that a server has 9 players connected, however there are just 8 player slots. The reson for this issue is currently unknown, as is unknown whether this is already improperly reported by the game client, or whether it's a bug in the masterserver code. The latter seems unlikely to me, though, since the code does not do any calculations there but just passes on what it receives.

There are also issues where game information ends up at the masterserver in different formats or with incorrect values:
  • Sometimes all map/tileset/techtree names start with an upper case character followed by lower case characters, sometimes they are entirely lowercase.
  • While waiting for players, the platform filed has a different values (more specific) than during game, e.g. "GNU64bit-Rev: 3080" while waiting for players and "GNU" during the game.
  • There is this issue about two subversion revisions listed at the same time in the platform field (also on CLI in the --version output), e.g. the platform field of a development server may say GNU64bit-Rev: 3075:3076M in the platform field on the masterserver or SVN: [Rev: 3431:3437] - using STREFLOP [SSE] - [no-denormals] on the --version output.
« Last Edit: 14 July 2012, 19:25:07 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 think this may now be fixed in svn rev 3442 (had to do with headless server mode when all slots are used would always report 9)

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Thanks, I appreciate your fix for one of the four issues disucssed here (the first one discussed, about 9 players showing up on the master server as connected to a gameserver when only 8 can be connected simultaniously).

Do you want me to repost the remaining three issues one by one so they can be separately tracked? Or should I just leave this thread untagged (i.e. 'open')?
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
Fixed the rest in svn rev 3446. The two different #'s in svn rev are normal in svn when you have local changes that are not commited.

Thanks

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Thank you!
About the different #'s in svn rev: my impression was that you also get these when you have no local changes but have made a rebuild but not a full rebuild, because I've seen this happen to people who usually don't make any changes locally. But I also looked at the cmake script you wrote for Linux and realized that you use the svnversion command there to determine the revision (not knowing about this command I usually used svn info . | awk '/^Revision/ {print $2}'). So I just learnt about the meaning of the M character, too, whichhad been puzzling me for a while. This said, I guess it's fine as it is, and when you have two revision numbers in your build then it's a good indicator that a 'svn up' (on the uppermost directory of your working directory structure) and a full rebuild are in order.
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
Is this fixed now then?

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
It's hard to test the 9 players issue, but as far as I can tell, at least the other issues are fixed. Thanks!
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 · · ·