Author Topic: [fixed] 3.5.3-beta1: Map filter may trigger inconsistency in custom game menu  (Read 1168 times)

david

  • Guest
Hi,

Here is a bug we encountered yesterday with Tomreyn yesterday.
I had switch from 6 to 4 players filter and Tomreyn did something maybe switch to another slot.

Here is a screenshot:



[small]Edit (tomreyn): Replaced screenshot by copy of lesser filesize[/small]
« Last Edit: 14 November 2011, 17:41:12 by david »

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: bug on custom game menu MG 3.5.3 beta
« Reply #1 on: 6 November 2011, 15:11:40 »
Thanks for reporting this. It looked similar on my screen (see screenshot below). As you can see, David(ou) was hosting, I was one of the clients.

My screenshot was taken later than Davidou's. By the time Davidou took his screenshot, I was stuck on the "Player 4" slot. And while I had the 'greater than' buttons on the right hand side as you can see them in my screenshot, I was unable to switch slots - hitting these buttons had no effect. Only when Davidou set a 6 player map (instead of 4) was I able to switch to the "Player 3" slot. The 'greater than' buttons for players 4 and 5 remained on my screen until Davidou started the game.

(click to show/hide)
« Last Edit: 13 November 2011, 13:49:07 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: bug on custom game menu MG 3.5.3 beta
« Reply #2 on: 11 November 2011, 08:06:10 »
Are there some reproducible steps to get this to occur? I tried a few things and could not get this to happen.

david

  • Guest
Re: bug on custom game menu MG 3.5.3 beta
« Reply #3 on: 11 November 2011, 11:46:43 »
You can try launching two times Megaglest.

With the first instance you create the game.
And the second you join.

Then you change filter map from 6 to 4
You can see now on the other window that you can change to slot 5 even if it's not available.

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Re: bug on custom game menu MG 3.5.3 beta
« Reply #4 on: 11 November 2011, 18:33:29 »
I cannot reproduce this behavior following your steps. Did you follow these steps and  reproduce this issue?

david

  • Guest
Re: bug on custom game menu MG 3.5.3 beta
« Reply #5 on: 13 November 2011, 11:14:59 »

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: bug on custom game menu MG 3.5.3 beta
« Reply #6 on: 13 November 2011, 13:35:26 »
Thanks for the step by step explanation, david. I can reproduce it on 3.5.3-beta1 now.

Here's the steps again:
1. Start a first instance of the game - this will be referred to as "instance 1" later -, go to the LAN menu and click the button to host a server.
2. Using the map filter, setup a game with 6 players. The first player is you (Contral = "Human"), all other slots have "Control" set to "Network".
3. Start a second instance of the game - this will be referred to as "instance 2" later -, go to the LAN menu, click on "Find LAN games" to automatically connect to the server.
4. On instance 2, switch to the slot of "Player 4" (the fifth slot, of white color).
5. On instance 1, reduce the map filter value to "4". As expected, the player of instance 2 is now listed as "Player lacks open slot".
6. On instance 2, you are still able to switch to the slot of "Player 5" (the sixth slot, of cyan color - though this color is not visible, only the button to switch the slot is visible). Switch to "Player 5".
7. On instance 2, the only information provided on your player now is "Not ready", no further information is provided on this player  (the rest of the line is empty). While buttons to switch to other player slots are displayed, clicking them has no effect - you cannot switch to other slots anymore.
8. On instance 1, the only option provided on the instance 2 player now is "Block Player", no further information is provided on this player (the rest of the line is empty).
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
try svn rev 2802 and report back if its fixed.

david

  • Guest
Hi,

the bug is fixed for me!

thanks.

 

anything