Author Topic: [fixed] Changing maps in headless server is extremely difficult (3.8.0-beta1)  (Read 1146 times)

ctz

  • Summoner
  • **
  • Posts: 46
  • aka cathaur, formerly lyra
    • View Profile
Changing maps as the controller when connected to a headless server is extremely difficult.

To demonstrate: join a headless server that is not yours (I tested on Summoner).  You will likely have a different map set from the server and non-negligible latency.

Then try to switch maps to something alphabetically far away from the current map.  There is no map filter on headless, so you must scroll through the whole list of maps.

Frequently, the map will change by itself to something you have already scrolled past (related to latency, or when you have a map that server does not), thus undoing a lot of clicks if you have been clicking quickly.

Eventually you will probably encounter a map that the server has but you don't.  The selected map is now "***missing***".  Suppose that you do not want to download any new maps, so you decline the download.  The map selection now reverts to the alphabetically first map in your set, undoing a lot of your clicks.  If you were unable to get the map you wanted to select, you probably will not be able to get it now.

If you mv ~/.megaglest/maps ~/.megaglest/maps2 (thus removing all non-default maps) it will get somewhat easier to scroll, but users should not have to do that.

Possible solutions (or feature requests?):
*Make the headless server not need to know anything about the map, so then only the controller's and clients' map sets need to matter.
*Headless server should send the controller a map list upon join, and only those maps that are on both server and controller are scrolled through.
*Make a better selection interface, like a drop-down menu, so that selecting a map does not require temporarily selecting each one of the maps between the current one and the target one.
« Last Edit: 2 October 2013, 07:26:31 by ctz »

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
I feel that interface improvements are by and far the best approach to this issue. In particular, we should adopt the drop down menus that GAE uses. The drop down menus have a scrollbar, which make selection from a large set of choices easy, and choices are atomic (you instantly pick something from a list instead of iterating through every element alphabetically).
Edit the MegaGlest wiki: http://docs.megaglest.org/

My personal projects: http://github.com/KatrinaHoffert

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,240
    • View Profile
    • http://www.titusgames.de
yes its not that fun to switch things at the moment this needs to be improved.

But one hint: hold down a key combined with shift ( for example shift+"R") and then click on the list box of the map selection. This will directly jump to the first map starting with "r" ( or the last when you switch backwards )
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

ctz

  • Summoner
  • **
  • Posts: 46
  • aka cathaur, formerly lyra
    • View Profile
Someone needs to document these hidden key bindings somewhere.

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,240
    • View Profile
    • http://www.titusgames.de
Any suggestions where to do it ? Best would be in game, but I have no idea how :-/ .
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

ctz

  • Summoner
  • **
  • Posts: 46
  • aka cathaur, formerly lyra
    • View Profile
The loading screen hints seem like a good place.

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
"Mouse over" online help on the custom game menu as you hover the various selection boxes would be even better.
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 · · ·