Author Topic: [fixed] r2604: pausing/resuming network game without effect  (Read 798 times)

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Quote from: softcoder
Added in svn rev#2601:

The following apply:
- only the server (or headless admin) can pause/resume a network game.
- to pause/resume press ESC in game and select the pause/resume button to toggle the state.

This didn't work for me while testing it on r2604, map 'cliff way', with six Mega CPUs of various factions, one LAN player (observer) and one local player (game host, also observer).
Clicking the 'Pause/Resume game' button on the host had no visible effect at all - the game just continued for both server and client.
« Last Edit: 12 October 2011, 03:25:22 by softcoder »
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 · · ·

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,240
    • View Profile
    • http://www.titusgames.de
Re: r2604: pausing/resuming network game without effect
« Reply #1 on: 5 October 2011, 00:24:15 »
works for me in r2610
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: r2604: pausing/resuming network game without effect
« Reply #2 on: 5 October 2011, 06:21:50 »
Hmm, it doesn't work for me in r2610 when the server host is an observer.

Code: [Select]
$ cat ~/.megaglest/lastCustomGamSettings.mgg
Description=Cliff Way
MapFilterIndex=8
Map=cliff_way
Tileset=jungle
TechTree=megapack
DefaultUnits=1
DefaultResources=1
DefaultVictoryConditions=1
FogOfWar=0
AdvancedIndex=1
AllowObservers=1
FlagTypes1=3
EnableObserverModeAtEndGame=1
AiAcceptSwitchTeamPercentChance=100
PathFinderType=0
EnableServerControlledAI=1
NetworkFramePeriod=20
NetworkPauseGameForLaggedClients=1
FactionThisFactionIndex=0
FactionCount=8
FactionControlForIndex0=7
ResourceMultiplierIndex0=5
FactionTeamForIndex0=6
FactionStartLocationForIndex0=0
FactionTypeNameForIndex0=*Observer*
FactionPlayerNameForIndex0=tomreyn
FactionControlForIndex1=4
ResourceMultiplierIndex1=25
FactionTeamForIndex1=0
FactionStartLocationForIndex1=1
FactionTypeNameForIndex1=*Random*
FactionPlayerNameForIndex1=AI1
FactionControlForIndex2=5
ResourceMultiplierIndex2=5
FactionTeamForIndex2=8
FactionStartLocationForIndex2=2
FactionTypeNameForIndex2=*Observer*
FactionPlayerNameForIndex2=tomreyn
FactionControlForIndex3=4
ResourceMultiplierIndex3=25
FactionTeamForIndex3=1
FactionStartLocationForIndex3=3
FactionTypeNameForIndex3=*Random*
FactionPlayerNameForIndex3=AI2
FactionControlForIndex4=4
ResourceMultiplierIndex4=25
FactionTeamForIndex4=2
FactionStartLocationForIndex4=4
FactionTypeNameForIndex4=*Random*
FactionPlayerNameForIndex4=AI3
FactionControlForIndex5=4
ResourceMultiplierIndex5=25
FactionTeamForIndex5=3
FactionStartLocationForIndex5=5
FactionTypeNameForIndex5=*Random*
FactionPlayerNameForIndex5=AI4
FactionControlForIndex6=4
ResourceMultiplierIndex6=25
FactionTeamForIndex6=4
FactionStartLocationForIndex6=6
FactionTypeNameForIndex6=*Random*
FactionPlayerNameForIndex6=AI5
FactionControlForIndex7=4
ResourceMultiplierIndex7=25
FactionTeamForIndex7=5
FactionStartLocationForIndex7=7
FactionTypeNameForIndex7=*Random*
FactionPlayerNameForIndex7=AI6
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 · · ·

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,240
    • View Profile
    • http://www.titusgames.de
Re: r2604: pausing/resuming network game without effect
« Reply #3 on: 5 October 2011, 09:43:38 »
I think this is maybe somehow ok? I mean why should an observer have control of anything?
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: r2604: pausing/resuming network game without effect
« Reply #4 on: 5 October 2011, 12:52:57 »
Because this observer is also the (non-headless) server host/admin, and only this person is currently able to pause the game.

I don't think it has to be possible, but it is surely counter-intuitive.
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: r2604: pausing/resuming network game without effect
« Reply #5 on: 5 October 2011, 15:56:28 »
fixed in svn rev# 2616