View Issue Details
ID | Project | Category | Date Submitted | Last Update | |
---|---|---|---|---|---|
0021049 | AI War 2 | Bug - Other | Apr 18, 2019 7:31 pm | Apr 22, 2019 12:03 pm | |
Reporter | RocketAssistedPuffin | Assigned To | Chris_McElligottPark | ||
Status | resolved | Resolution | fixed | ||
Product Version | BETA 0.850 The Arrival of Fleets | ||||
Fixed in Version | BETA 0.853 An Officer And A Bunch Of Fleets | ||||
Summary | 0021049: Cannot select other fleets in lobby | ||||
Description | Apparently you always get the Classic regardless of what you chose. | ||||
Tags | No tags attached. | ||||
related to | 0021098 | resolved | Chris_McElligottPark | Cant start game with other ships |
|
Boy that's irritating. I really hate the lobby code, and I don't understand it at all. On a cursory look through the code, I have no idea what's wrong. |
|
The code in BaseFaction.cs that should set the starting fleet is case "StartingFlagship": ArcenDebugging.ArcenDebugLogSingleLine("setting the starting flagship to " + fieldValue, Verbosity.DoNotShow ); <===== faction.InitialFleet = FleetDesignTemplateTable.Instance.GetRowByName( fieldValue, false, null ); FactionConfig.CustomFieldValues[field.InternalName] = faction.InitialFleet.InternalName; break; But when I start a game, I see 4/22/2019 9:16:43 AM Generate Map with type Simple and seed 295488209 4/22/2019 9:16:43 AM World Created, Launching Server 4/22/2019 9:16:43 AM Successfully opened host socket 4/22/2019 9:16:48 AM Generate Map with type Simple and seed 295488209 4/22/2019 9:16:48 AM Generate Map Complete Note that debug log line never happens. At a guess, the problem is in the game lobby we say switch ( field.InternalName ) .... case "StartingFleet": AddDropdown( Set, typeof( dFleet ), tag, tabName, customDropdownRect, fontSize ); break; and in the BaseFaction code we say switch ( field.InternalName ) .... case "StartingFlagship": The mismatched name (startingfleet vs startingflagship) is the problem. |
|
Thanks! * Fixed a bug where you could not select the starting fleet without it always just defaulting back to classic. * Put in some fixes so that if you have invalid/mismatched options (custom or otherwise) in the lobby, it will now complain about them properly and let you know that things are failing. ** With this we found that the team colors for Instigators and the AntagonizedDysonSphere were not working properly, for instance. |
Date Modified | Username | Field | Change |
---|---|---|---|
Apr 18, 2019 7:31 pm | RocketAssistedPuffin | New Issue | |
Apr 19, 2019 1:23 pm | Chris_McElligottPark | Note Added: 0051194 | |
Apr 22, 2019 7:26 am | RocketAssistedPuffin | Relationship added | related to 0021098 |
Apr 22, 2019 11:18 am | BadgerBadger | Note Added: 0051270 | |
Apr 22, 2019 11:19 am | BadgerBadger | Note Edited: 0051270 | |
Apr 22, 2019 11:20 am | BadgerBadger | Note Edited: 0051270 | |
Apr 22, 2019 11:20 am | BadgerBadger | Assigned To | => Chris_McElligottPark |
Apr 22, 2019 11:20 am | BadgerBadger | Status | new => assigned |
Apr 22, 2019 12:03 pm | Chris_McElligottPark | Status | assigned => resolved |
Apr 22, 2019 12:03 pm | Chris_McElligottPark | Resolution | open => fixed |
Apr 22, 2019 12:03 pm | Chris_McElligottPark | Fixed in Version | => BETA 0.853 An Officer And A Bunch Of Fleets |
Apr 22, 2019 12:03 pm | Chris_McElligottPark | Note Added: 0051278 |