Author Topic: [fixed] PauseGame shortcut key does not work on headless server  (Read 944 times)

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
While I can use the default PauseGame shortcut 'p' to pause a local game, and I can use the In-game menu on a headless server to pause a game, hitting 'p' on a headless server doesn't pause the game.
« Last Edit: 29 October 2011, 18:21:36 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
Re: PauseGame shortcut key does not work on headless server
« Reply #1 on: 22 October 2011, 04:05:39 »
Are you referring to the headless server itself? The headless server does not accept normal keyboard / mouse events, rather in console mode it takes commands and outputs stuff that we think is important. Were you referring to an admin client or the headless server?

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: PauseGame shortcut key does not work on headless server
« Reply #2 on: 23 October 2011, 16:15:07 »
I'm referring to an admin client.
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: PauseGame shortcut key does not work on headless server
« Reply #3 on: 24 October 2011, 20:32:59 »
is it a good idea to allow game pausing for network games with the simple press of one key? This could be done accidentally and would annoy a lot of people, thats why I only allows the key to work for non network games and used the menu option for network games as it take more conscious thought to pause

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: PauseGame shortcut key does not work on headless server
« Reply #4 on: 26 October 2011, 04:06:10 »
I'd say it's okay to have it there. And if you don't, it should be explained somehow, since people will expect it to be there, after all it's configured in options.

Personally I'd set any shortcuts which do not invoke commands which change the gameplay to function (Fn with n=1..12) keys, so it's out of the way and you don't hit it accidentially.
It might be a good idea to change some keyboard shortcut defaults in next version (I may do a seperate feature request on this).
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: PauseGame shortcut key does not work on headless server
« Reply #5 on: 26 October 2011, 04:13:35 »
Done in rev 2709

 

anything