View Issue Details

IDProjectCategoryLast Update
0023602AI War 2GUIAug 28, 2020 12:52 pm
ReporterStarKelp Assigned ToChris_McElligottPark  
Status resolvedResolutionfixed 
Product Version2.128 Don't Lie About Distant Future Waves, AI 
Fixed in Version2.129 No Shrooms For Ships 
Summary0023602: Notification Boxes make Wormhole Names Break
DescriptionOnly some though!
If you start a new game with the Devourer Golem, scout all, and click on its notification box while already on its planet, it will occasionally cause wormhole names to bug out in... interesting ways. From saying the entirely wrong name, to changing font size, to even rotating!
TagsNo tags attached.

Activities

StarKelp

Aug 28, 2020 1:45 am

manager  

Example2.png (67,995 bytes)   
Example2.png (67,995 bytes)   
Example1.png (77,944 bytes)   
Example1.png (77,944 bytes)   

BadgerBadger

Aug 28, 2020 1:54 am

manager   ~0058216

Chris has been poking around at this code for multiplayer I see.

The Devourer notification click handler is

            public MouseHandlingResult ClickHandler()
            {
                if(planet != null)
                {
                    if ( Engine_AIW2.Instance.CurrentGameViewMode == GameViewMode.GalaxyMapView )
                        Engine_AIW2.Instance.PresentationLayer.CenterGalaxyViewOnPlanet( planet, false );
                    else
                    {
                        World_AIW2.Instance.SwitchViewToPlanet( planet ); <======
                    }
                    return MouseHandlingResult.None;
                }
                return MouseHandlingResult.DoNotPlayClickSound;
            }

Looks like this goes to World, which makes a GameCommand to update the player's "currently viewed planets"

Chris_McElligottPark

Aug 28, 2020 12:48 pm

administrator   ~0058228

So, any command that causes you to go to the same planet you are already on will potentially do this. Keep clicking, and more of them are likely to get caught like this.

It's a problem with how it is trying to shut down the one planet and open it back up at the same time.

I'll see if I can fix the central pipeline to not do this in general.

Chris_McElligottPark

Aug 28, 2020 12:52 pm

administrator   ~0058229

Thanks!

* If a player is already on a planet viewing that planet, and a further command was sent to view that planet again (as if they were not already there), then funky stuff happened in various places, including the wormholes getting half-initialized and not drawing properly in scale.
** To solve this, it simply doesn't do anything if you try to re-open your view to the existing planet you are already on.

Issue History

Date Modified Username Field Change
Aug 28, 2020 1:45 am StarKelp New Issue
Aug 28, 2020 1:45 am StarKelp File Added: Example2.png
Aug 28, 2020 1:45 am StarKelp File Added: Example1.png
Aug 28, 2020 1:54 am BadgerBadger Note Added: 0058216
Aug 28, 2020 12:48 pm Chris_McElligottPark Note Added: 0058228
Aug 28, 2020 12:52 pm Chris_McElligottPark Assigned To => Chris_McElligottPark
Aug 28, 2020 12:52 pm Chris_McElligottPark Status new => resolved
Aug 28, 2020 12:52 pm Chris_McElligottPark Resolution open => fixed
Aug 28, 2020 12:52 pm Chris_McElligottPark Fixed in Version => 2.129 No Shrooms For Ships
Aug 28, 2020 12:52 pm Chris_McElligottPark Note Added: 0058229