glest / glest-source

Glest is a network multi-player cross-platform 3D real-time strategy (RTS) game, where you create armies of units and battle different factions.
https://glest.io
GNU General Public License v3.0
58 stars 40 forks source link

some player slots become disabled #70

Closed andy5995 closed 6 years ago

andy5995 commented 6 years ago

When observers are allowed (the default), when connected to the headless, sometimes some (not all) players slots become disabled.

The code for that is most likely in https://github.com/ZetaGlest/zetaglest-source/blob/develop/source/glest_game/menu/menu_state_connected_game.cpp

The temporary work-around for this is for the headless admin to uncheck the box to "allow observers"

andy5995 commented 6 years ago

I just submitted a PR to fix this.

Before the PR, I was able to reproduce this by connecting to a headless server, changing to the Highcliff map (8 player map), clicking on the arrow that selects the slot type (network, closed, CPU).

The PR fixes it but I don't know if there will be side effects. Please anyone report a problem.