Author Topic: Please improve option switching on headless server  (Read 1592 times)

tomreyn

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Please improve option switching on headless server
« on: 17 November 2011, 22:32:52 »
Currently, option switching on a headless server hwne you control and setup the game, is rather unintuitive and not user friendly.

When the client changes an option to a new value, client and server need to synch whether the value you selected on the client is available on the server, too. If it is not, then the value is forcefully reverted to the last successful match between client and server. This switching back and forth is not easy to handle and not very nice to use.

I assume the best way to fix this would involve synching client + server options before the custom game menu is displayed, then only display those options which are available on both client and server. This is probably easier said than done...

This topic has been previously discussed.
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
Re: Please improve option switching on headless server
« Reply #1 on: 3 December 2011, 08:46:22 »
Ok obviously there needs to be a lot of thought and work done in this area, but for now (for the release coming shortly) I have changed the timing when settings are sent back and forth to give more time for users to change settings. Likewise I added the ability for the admin user to reload the last headless server game settings (the file is different from the one saved in the custom game menu).

Thanks

tomreyn

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: Please improve option switching on headless server
« Reply #2 on: 3 December 2011, 21:07:47 »
Thanks for improving the timing, I think it's good enough for a first stable release with the headless feature now.
Being able to reload last games' settings on a headless server, too, is very useful and much appreciated.

As you already pointed out, it would be nice to reconsider the approach for synchronizing availability information on game data between headless server and controlling client (and presenting the results to the controlling user) in the future.
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 · · ·