View Issue Details

IDProjectCategoryLast Update
0021358AI War 2GUIJul 9, 2019 1:43 am
Reporterptarth Assigned ToChris_McElligottPark  
Status resolvedResolutionfixed 
Product Version0.873 Battlestation Overhaul 
Fixed in Version0.874 Basic Fleet Management 
Summary0021358: Count of turrets impacted by technology upgrade is too high
DescriptionCapturing a Citadel/Battlestation that grants turrets results in the technology tooltip showing an impacted turret count that is excessively high, instead of 90, it counts 3250. I think it might be counting once per planet (with some planets removed... AI homeworlds and such?).

The code is around line 246 of Window_InGameSidebarScience.cs.
TagsNo tags attached.

Relationships

related to 0021363 resolvedChris_McElligottPark Hacking Coordinator grants far more ships than intended 

Activities

ptarth

Jul 6, 2019 5:58 pm

reporter  

20190706143710_1.jpg (239,167 bytes)   
20190706143710_1.jpg (239,167 bytes)   
start2.save (628,494 bytes)

wm46

Jul 6, 2019 11:11 pm

reporter   ~0052065

Was this save from the current patch? I'm getting an error when I try to load it.

7/6/2019 11:09:35 PM
Error: rowNamesByOldIndex null on table: GameEntityTypeDataTable

  at System.Environment.get_StackTrace () [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.DebugLogDestination Destination, System.Boolean IncludeStackTrace, Arcen.Universal.Verbosity Verbosity) [0x00000] in <6599868ac38149d29348d4f26f9cd584>:0
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.DebugLogDestination Destination, Arcen.Universal.Verbosity Verbosity) [0x00000] in <6599868ac38149d29348d4f26f9cd584>:0
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <6599868ac38149d29348d4f26f9cd584>:0
  at Arcen.Universal.ArcenDynamicTable`1[T].DeserializeFrom_Inner (Arcen.Universal.ArcenDeserializationBuffer Buffer, System.String& NameFound, System.Boolean UseDefaultIfBroken, System.Boolean DoByIndex) [0x00000] in <6599868ac38149d29348d4f26f9cd584>:0
  at Arcen.Universal.ArcenDynamicTable`1[T].DeserializeByIndex (Arcen.Universal.ArcenDeserializationBuffer Buffer, System.Boolean UseDefaultIfBroken) [0x00000] in <6599868ac38149d29348d4f26f9cd584>:0
  at Arcen.Universal.ArcenDynamicTable`1[T].DeserializeByIndex (Arcen.Universal.ArcenDeserializationBuffer Buffer) [0x00000] in <6599868ac38149d29348d4f26f9cd584>:0
  at Arcen.AIW2.Core.World_AIW2.DeserializeFrom (Arcen.Universal.ArcenDeserializationBuffer Buffer, System.Boolean LoadAsTemplate) [0x00000] in <494756b3573146e38863e4de754fd854>:0
  at Arcen.Universal.World.DeserializeFrom (Arcen.Universal.ArcenDeserializationBuffer Buffer, System.Boolean LoadAsTemplate) [0x00000] in <6599868ac38149d29348d4f26f9cd584>:0
  at Arcen.Universal.World.LoadWorldFromDiskInner (System.String SaveName, System.Byte[] Bytes, System.Boolean LoadAsTemplate) [0x00000] in <6599868ac38149d29348d4f26f9cd584>:0
  at Arcen.Universal.World.LoadWorldFromDisk (System.String SaveName, System.String CampaignName, System.Boolean LoadAsTemplate) [0x00000] in <6599868ac38149d29348d4f26f9cd584>:0
  at Arcen.Universal.Engine_Universal.LoadGame (System.String SaveName, System.String CampaignName, System.Boolean LoadAsTemplate) [0x00000] in <6599868ac38149d29348d4f26f9cd584>:0
  at Arcen.AIW2.External.Window_LoadGameMenu+bSavegame.HandleClick_Subclass (MouseHandlingInput input) [0x00000] in <328e50f50c8c44ec96fcb25c774a472f>:0
  at Arcen.AIW2.External.ButtonAbstractBase.HandleClick (MouseHandlingInput input) [0x00000] in <328e50f50c8c44ec96fcb25c774a472f>:0
  at Arcen.Universal.ArcenUI_Button.OnClick (UnityEngine.EventSystems.PointerEventData eventData) [0x00000] in <6599868ac38149d29348d4f26f9cd584>:0
  at Arcen.Universal.ArcenUI_Button.OnPointerClick (UnityEngine.EventSystems.PointerEventData eventData) [0x00000] in <6599868ac38149d29348d4f26f9cd584>:0
  at UnityEngine.EventSystems.ExecuteEvents.Execute (UnityEngine.EventSystems.IPointerClickHandler handler, UnityEngine.EventSystems.BaseEventData eventData) [0x00000] in <9bb8f6e40006490da4518a3cf5afe42e>:0
  at UnityEngine.EventSystems.ExecuteEvents.Execute[T] (UnityEngine.GameObject target, UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.ExecuteEvents+EventFunction`1[T1] functor) [0x00000] in <9bb8f6e40006490da4518a3cf5afe42e>:0
  at UnityEngine.EventSystems.StandaloneInputModule.ReleaseMouse (UnityEngine.EventSystems.PointerEventData pointerEvent, UnityEngine.GameObject currentOverGo) [0x00000] in <9bb8f6e40006490da4518a3cf5afe42e>:0
  at UnityEngine.EventSystems.StandaloneInputModule.ProcessMousePress (UnityEngine.EventSystems.PointerInputModule+MouseButtonEventData data) [0x00000] in <9bb8f6e40006490da4518a3cf5afe42e>:0
  at UnityEngine.EventSystems.StandaloneInputModule.ProcessMouseEvent (System.Int32 id) [0x00000] in <9bb8f6e40006490da4518a3cf5afe42e>:0
  at UnityEngine.EventSystems.StandaloneInputModule.ProcessMouseEvent () [0x00000] in <9bb8f6e40006490da4518a3cf5afe42e>:0
  at UnityEngine.EventSystems.StandaloneInputModule.Process () [0x00000] in <9bb8f6e40006490da4518a3cf5afe42e>:0
  at UnityEngine.EventSystems.EventSystem.Update () [0x00000] in <9bb8f6e40006490da4518a3cf5afe42e>:0
ArcenDebugLog.txt (25,860 bytes)   
7/6/2019 7:30:31 AM	Current directory used: C:/Program Files (x86)/Steam/steamapps/common/AI War 2/
Process Count = 0 so PlayerDataDirectory used: C:/Program Files (x86)/Steam/steamapps/common/AI War 2/PlayerData/
7/6/2019 7:30:32 AM	No resolution change was required.
7/6/2019 7:30:32 AM	Applied graphics settings: 
AntialiasingMode:x2
UseSoftParticles:False
BillboardsFaceCameraPosition:False
AnisotropicMode:ForceEnable
TextureQuality:Full
7/6/2019 7:30:32 AM	Applied Framerate Type: 144 FPS (vsync: 0 targetFPS:144)
7/6/2019 7:30:41 AM
Element 9 skipped due to non-null controller.  In SystemMenu 30

  at System.Environment.get_StackTrace () [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0 
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.DebugLogDestination Destination, System.Boolean IncludeStackTrace, Arcen.Universal.Verbosity Verbosity) [0x00000] in <6599868ac38149d29348d4f26f9cd584>:0 
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.DebugLogDestination Destination, Arcen.Universal.Verbosity Verbosity) [0x00000] in <6599868ac38149d29348d4f26f9cd584>:0 
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <6599868ac38149d29348d4f26f9cd584>:0 
  at Arcen.Universal.ArcenDebugging.ArcenDebugLogWrapper (System.String Message) [0x00000] in <6599868ac38149d29348d4f26f9cd584>:0 
  at Arcen.Universal.ArcenUI_CustomUI.Initialize () [0x00000] in <6599868ac38149d29348d4f26f9cd584>:0 
  at Arcen.Universal.ArcenUI.Inner_DoRepeatablePartOfInitialization (System.Boolean IsReload) [0x00000] in <6599868ac38149d29348d4f26f9cd584>:0 
  at Arcen.Universal.ArcenUI.InitializeOnceOnly () [0x00000] in <6599868ac38149d29348d4f26f9cd584>:0 
  at Arcen.Universal.Engine_Universal+<LoadExternalData>d__117.MoveNext () [0x00000] in <6599868ac38149d29348d4f26f9cd584>:0 
  at UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) [0x00000] in <f2d9bfd81cd243c587e2f9b06b7a4c89>:0 

7/6/2019 7:30:48 AM	ArcenAssetBundleCache.InstantiatedObjects: 759
7/6/2019 7:30:48 AM	Game Version: 0.873
graphicsDeviceType in use: Direct3D11
graphicsDeviceVersion in use: Direct3D 11.0 [level 11.1]
graphicsMultiThreaded: False
graphicsShaderLevel: 50
operatingSystem: Windows 10  (10.0.0) 64bit
graphicsDeviceName: NVIDIA GeForce GTX 1050 Ti
graphicsDeviceID: 7298
graphicsDeviceVendor: NVIDIA
graphicsDeviceVendorID: 4318
graphicsDeviceVersion: Direct3D 11.0 [level 11.1]
graphicsMemorySize: 4018
maxTextureSize: 16384
npotSupport: Full
processorType: AMD Ryzen 5 1500X Quad-Core Processor 
processorCount: 8
processorFrequency: 3500
systemMemorySize: 16335
supportedRenderTargetCount: 8
supportsComputeShaders: True
supportsShadows: True
usesReversedZBuffer: True
7/6/2019 7:30:48 AM	17.1 seconds total load time.

LoadFinalSFXStuff (8.3s)
ExternalIconDictionaryTable (0.3s)
ArcenUIPrefabTable (0.3s)
SpaceboxDefinitionTable (0.8s)
PlanetDefinitionTable (0.4s)
GameEntityTypeDataTable.Initialize (0.7s)
GameEntityTypeDataTable.InitVisualBits (4.0s)
SurrogateTableTable (0.8s)
7/6/2019 7:30:49 AM
Hello Steam user 'Weapon Master'

  at System.Environment.get_StackTrace () [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0 
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.DebugLogDestination Destination, System.Boolean IncludeStackTrace, Arcen.Universal.Verbosity Verbosity) [0x00000] in <6599868ac38149d29348d4f26f9cd584>:0 
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.DebugLogDestination Destination, Arcen.Universal.Verbosity Verbosity) [0x00000] in <6599868ac38149d29348d4f26f9cd584>:0 
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <6599868ac38149d29348d4f26f9cd584>:0 
  at ArcenGameController.Update () [0x00000] in <3f44926ddd434aeeab645aa250c75454>:0 

7/6/2019 7:31:15 AM	Successfully opened host socket
7/6/2019 7:31:29 AM	PLAYER DISCONNECTED 0.0.0.0=>0
7/6/2019 7:31:29 AM	Successfully opened host socket
7/6/2019 7:39:43 AM	PLAYER DISCONNECTED 0.0.0.0=>0
7/6/2019 7:39:43 AM	Successfully opened host socket
7/6/2019 7:44:37 AM	No resolution change was required.
7/6/2019 7:44:37 AM	Applied graphics settings: 
AntialiasingMode:x2
UseSoftParticles:False
BillboardsFaceCameraPosition:False
AnisotropicMode:ForceEnable
TextureQuality:Full
7/6/2019 7:44:37 AM	Applied Framerate Type: 144 FPS (vsync: 0 targetFPS:144)
7/6/2019 8:43:33 AM	PLAYER DISCONNECTED 0.0.0.0=>0
7/6/2019 11:09:18 PM	Current directory used: C:/Program Files (x86)/Steam/steamapps/common/AI War 2/
Process Count = 0 so PlayerDataDirectory used: C:/Program Files (x86)/Steam/steamapps/common/AI War 2/PlayerData/
7/6/2019 11:09:19 PM	No resolution change was required.
7/6/2019 11:09:19 PM	Applied graphics settings: 
AntialiasingMode:x2
UseSoftParticles:False
BillboardsFaceCameraPosition:False
AnisotropicMode:ForceEnable
TextureQuality:Full
7/6/2019 11:09:19 PM	Applied Framerate Type: 144 FPS (vsync: 0 targetFPS:144)
7/6/2019 11:09:27 PM
Element 9 skipped due to non-null controller.  In SystemMenu 30

  at System.Environment.get_StackTrace () [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0 
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.DebugLogDestination Destination, System.Boolean IncludeStackTrace, Arcen.Universal.Verbosity Verbosity) [0x00000] in <6599868ac38149d29348d4f26f9cd584>:0 
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.DebugLogDestination Destination, Arcen.Universal.Verbosity Verbosity) [0x00000] in <6599868ac38149d29348d4f26f9cd584>:0 
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <6599868ac38149d29348d4f26f9cd584>:0 
  at Arcen.Universal.ArcenDebugging.ArcenDebugLogWrapper (System.String Message) [0x00000] in <6599868ac38149d29348d4f26f9cd584>:0 
  at Arcen.Universal.ArcenUI_CustomUI.Initialize () [0x00000] in <6599868ac38149d29348d4f26f9cd584>:0 
  at Arcen.Universal.ArcenUI.Inner_DoRepeatablePartOfInitialization (System.Boolean IsReload) [0x00000] in <6599868ac38149d29348d4f26f9cd584>:0 
  at Arcen.Universal.ArcenUI.InitializeOnceOnly () [0x00000] in <6599868ac38149d29348d4f26f9cd584>:0 
  at Arcen.Universal.Engine_Universal+<LoadExternalData>d__117.MoveNext () [0x00000] in <6599868ac38149d29348d4f26f9cd584>:0 
  at UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) [0x00000] in <f2d9bfd81cd243c587e2f9b06b7a4c89>:0 

7/6/2019 11:09:29 PM	ArcenAssetBundleCache.InstantiatedObjects: 759
7/6/2019 11:09:30 PM	Game Version: 0.873
graphicsDeviceType in use: Direct3D11
graphicsDeviceVersion in use: Direct3D 11.0 [level 11.1]
graphicsMultiThreaded: False
graphicsShaderLevel: 50
operatingSystem: Windows 10  (10.0.0) 64bit
graphicsDeviceName: NVIDIA GeForce GTX 1050 Ti
graphicsDeviceID: 7298
graphicsDeviceVendor: NVIDIA
graphicsDeviceVendorID: 4318
graphicsDeviceVersion: Direct3D 11.0 [level 11.1]
graphicsMemorySize: 4018
maxTextureSize: 16384
npotSupport: Full
processorType: AMD Ryzen 5 1500X Quad-Core Processor 
processorCount: 8
processorFrequency: 3500
systemMemorySize: 16335
supportedRenderTargetCount: 8
supportsComputeShaders: True
supportsShadows: True
usesReversedZBuffer: True
7/6/2019 11:09:30 PM	11.7 seconds total load time.

LoadFinalSFXStuff (7.3s)
GameEntityTypeDataTable.Initialize (0.4s)
GameEntityTypeDataTable.InitVisualBits (1.4s)
SurrogateTableTable (0.7s)
7/6/2019 11:09:30 PM
Hello Steam user 'Weapon Master'

  at System.Environment.get_StackTrace () [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0 
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.DebugLogDestination Destination, System.Boolean IncludeStackTrace, Arcen.Universal.Verbosity Verbosity) [0x00000] in <6599868ac38149d29348d4f26f9cd584>:0 
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.DebugLogDestination Destination, Arcen.Universal.Verbosity Verbosity) [0x00000] in <6599868ac38149d29348d4f26f9cd584>:0 
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <6599868ac38149d29348d4f26f9cd584>:0 
  at ArcenGameController.Update () [0x00000] in <3f44926ddd434aeeab645aa250c75454>:0 

7/6/2019 11:09:35 PM
Error: rowNamesByOldIndex null on table: GameEntityTypeDataTable

  at System.Environment.get_StackTrace () [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0 
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.DebugLogDestination Destination, System.Boolean IncludeStackTrace, Arcen.Universal.Verbosity Verbosity) [0x00000] in <6599868ac38149d29348d4f26f9cd584>:0 
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.DebugLogDestination Destination, Arcen.Universal.Verbosity Verbosity) [0x00000] in <6599868ac38149d29348d4f26f9cd584>:0 
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <6599868ac38149d29348d4f26f9cd584>:0 
  at Arcen.Universal.ArcenDynamicTable`1[T].DeserializeFrom_Inner (Arcen.Universal.ArcenDeserializationBuffer Buffer, System.String& NameFound, System.Boolean UseDefaultIfBroken, System.Boolean DoByIndex) [0x00000] in <6599868ac38149d29348d4f26f9cd584>:0 
  at Arcen.Universal.ArcenDynamicTable`1[T].DeserializeByIndex (Arcen.Universal.ArcenDeserializationBuffer Buffer, System.Boolean UseDefaultIfBroken) [0x00000] in <6599868ac38149d29348d4f26f9cd584>:0 
  at Arcen.Universal.ArcenDynamicTable`1[T].DeserializeByIndex (Arcen.Universal.ArcenDeserializationBuffer Buffer) [0x00000] in <6599868ac38149d29348d4f26f9cd584>:0 
  at Arcen.AIW2.Core.World_AIW2.DeserializeFrom (Arcen.Universal.ArcenDeserializationBuffer Buffer, System.Boolean LoadAsTemplate) [0x00000] in <494756b3573146e38863e4de754fd854>:0 
  at Arcen.Universal.World.DeserializeFrom (Arcen.Universal.ArcenDeserializationBuffer Buffer, System.Boolean LoadAsTemplate) [0x00000] in <6599868ac38149d29348d4f26f9cd584>:0 
  at Arcen.Universal.World.LoadWorldFromDiskInner (System.String SaveName, System.Byte[] Bytes, System.Boolean LoadAsTemplate) [0x00000] in <6599868ac38149d29348d4f26f9cd584>:0 
  at Arcen.Universal.World.LoadWorldFromDisk (System.String SaveName, System.String CampaignName, System.Boolean LoadAsTemplate) [0x00000] in <6599868ac38149d29348d4f26f9cd584>:0 
  at Arcen.Universal.Engine_Universal.LoadGame (System.String SaveName, System.String CampaignName, System.Boolean LoadAsTemplate) [0x00000] in <6599868ac38149d29348d4f26f9cd584>:0 
  at Arcen.AIW2.External.Window_LoadGameMenu+bSavegame.HandleClick_Subclass (MouseHandlingInput input) [0x00000] in <328e50f50c8c44ec96fcb25c774a472f>:0 
  at Arcen.AIW2.External.ButtonAbstractBase.HandleClick (MouseHandlingInput input) [0x00000] in <328e50f50c8c44ec96fcb25c774a472f>:0 
  at Arcen.Universal.ArcenUI_Button.OnClick (UnityEngine.EventSystems.PointerEventData eventData) [0x00000] in <6599868ac38149d29348d4f26f9cd584>:0 
  at Arcen.Universal.ArcenUI_Button.OnPointerClick (UnityEngine.EventSystems.PointerEventData eventData) [0x00000] in <6599868ac38149d29348d4f26f9cd584>:0 
  at UnityEngine.EventSystems.ExecuteEvents.Execute (UnityEngine.EventSystems.IPointerClickHandler handler, UnityEngine.EventSystems.BaseEventData eventData) [0x00000] in <9bb8f6e40006490da4518a3cf5afe42e>:0 
  at UnityEngine.EventSystems.ExecuteEvents.Execute[T] (UnityEngine.GameObject target, UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.ExecuteEvents+EventFunction`1[T1] functor) [0x00000] in <9bb8f6e40006490da4518a3cf5afe42e>:0 
  at UnityEngine.EventSystems.StandaloneInputModule.ReleaseMouse (UnityEngine.EventSystems.PointerEventData pointerEvent, UnityEngine.GameObject currentOverGo) [0x00000] in <9bb8f6e40006490da4518a3cf5afe42e>:0 
  at UnityEngine.EventSystems.StandaloneInputModule.ProcessMousePress (UnityEngine.EventSystems.PointerInputModule+MouseButtonEventData data) [0x00000] in <9bb8f6e40006490da4518a3cf5afe42e>:0 
  at UnityEngine.EventSystems.StandaloneInputModule.ProcessMouseEvent (System.Int32 id) [0x00000] in <9bb8f6e40006490da4518a3cf5afe42e>:0 
  at UnityEngine.EventSystems.StandaloneInputModule.ProcessMouseEvent () [0x00000] in <9bb8f6e40006490da4518a3cf5afe42e>:0 
  at UnityEngine.EventSystems.StandaloneInputModule.Process () [0x00000] in <9bb8f6e40006490da4518a3cf5afe42e>:0 
  at UnityEngine.EventSystems.EventSystem.Update () [0x00000] in <9bb8f6e40006490da4518a3cf5afe42e>:0 

7/6/2019 11:09:35 PM
Error: rowNamesByOldIndex null on table: GameEntityTypeDataTable

  at System.Environment.get_StackTrace () [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0 
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.DebugLogDestination Destination, System.Boolean IncludeStackTrace, Arcen.Universal.Verbosity Verbosity) [0x00000] in <6599868ac38149d29348d4f26f9cd584>:0 
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.DebugLogDestination Destination, Arcen.Universal.Verbosity Verbosity) [0x00000] in <6599868ac38149d29348d4f26f9cd584>:0 
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <6599868ac38149d29348d4f26f9cd584>:0 
  at Arcen.Universal.ArcenDynamicTable`1[T].DeserializeFrom_Inner (Arcen.Universal.ArcenDeserializationBuffer Buffer, System.String& NameFound, System.Boolean UseDefaultIfBroken, System.Boolean DoByIndex) [0x00000] in <6599868ac38149d29348d4f26f9cd584>:0 
  at Arcen.Universal.ArcenDynamicTable`1[T].DeserializeByIndex (Arcen.Universal.ArcenDeserializationBuffer Buffer, System.Boolean UseDefaultIfBroken) [0x00000] in <6599868ac38149d29348d4f26f9cd584>:0 
  at Arcen.Universal.ArcenDynamicTable`1[T].DeserializeByIndex (Arcen.Universal.ArcenDeserializationBuffer Buffer) [0x00000] in <6599868ac38149d29348d4f26f9cd584>:0 
  at Arcen.AIW2.Core.World_AIW2.DeserializeFrom (Arcen.Universal.ArcenDeserializationBuffer Buffer, System.Boolean LoadAsTemplate) [0x00000] in <494756b3573146e38863e4de754fd854>:0 
  at Arcen.Universal.World.DeserializeFrom (Arcen.Universal.ArcenDeserializationBuffer Buffer, System.Boolean LoadAsTemplate) [0x00000] in <6599868ac38149d29348d4f26f9cd584>:0 
  at Arcen.Universal.World.LoadWorldFromDiskInner (System.String SaveName, System.Byte[] Bytes, System.Boolean LoadAsTemplate) [0x00000] in <6599868ac38149d29348d4f26f9cd584>:0 
  at Arcen.Universal.World.LoadWorldFromDisk (System.String SaveName, System.String CampaignName, System.Boolean LoadAsTemplate) [0x00000] in <6599868ac38149d29348d4f26f9cd584>:0 
  at Arcen.Universal.Engine_Universal.LoadGame (System.String SaveName, System.String CampaignName, System.Boolean LoadAsTemplate) [0x00000] in <6599868ac38149d29348d4f26f9cd584>:0 
  at Arcen.AIW2.External.Window_LoadGameMenu+bSavegame.HandleClick_Subclass (MouseHandlingInput input) [0x00000] in <328e50f50c8c44ec96fcb25c774a472f>:0 
  at Arcen.AIW2.External.ButtonAbstractBase.HandleClick (MouseHandlingInput input) [0x00000] in <328e50f50c8c44ec96fcb25c774a472f>:0 
  at Arcen.Universal.ArcenUI_Button.OnClick (UnityEngine.EventSystems.PointerEventData eventData) [0x00000] in <6599868ac38149d29348d4f26f9cd584>:0 
  at Arcen.Universal.ArcenUI_Button.OnPointerClick (UnityEngine.EventSystems.PointerEventData eventData) [0x00000] in <6599868ac38149d29348d4f26f9cd584>:0 
  at UnityEngine.EventSystems.ExecuteEvents.Execute (UnityEngine.EventSystems.IPointerClickHandler handler, UnityEngine.EventSystems.BaseEventData eventData) [0x00000] in <9bb8f6e40006490da4518a3cf5afe42e>:0 
  at UnityEngine.EventSystems.ExecuteEvents.Execute[T] (UnityEngine.GameObject target, UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.ExecuteEvents+EventFunction`1[T1] functor) [0x00000] in <9bb8f6e40006490da4518a3cf5afe42e>:0 
  at UnityEngine.EventSystems.StandaloneInputModule.ReleaseMouse (UnityEngine.EventSystems.PointerEventData pointerEvent, UnityEngine.GameObject currentOverGo) [0x00000] in <9bb8f6e40006490da4518a3cf5afe42e>:0 
  at UnityEngine.EventSystems.StandaloneInputModule.ProcessMousePress (UnityEngine.EventSystems.PointerInputModule+MouseButtonEventData data) [0x00000] in <9bb8f6e40006490da4518a3cf5afe42e>:0 
  at UnityEngine.EventSystems.StandaloneInputModule.ProcessMouseEvent (System.Int32 id) [0x00000] in <9bb8f6e40006490da4518a3cf5afe42e>:0 
  at UnityEngine.EventSystems.StandaloneInputModule.ProcessMouseEvent () [0x00000] in <9bb8f6e40006490da4518a3cf5afe42e>:0 
  at UnityEngine.EventSystems.StandaloneInputModule.Process () [0x00000] in <9bb8f6e40006490da4518a3cf5afe42e>:0 
  at UnityEngine.EventSystems.EventSystem.Update () [0x00000] in <9bb8f6e40006490da4518a3cf5afe42e>:0 

7/6/2019 11:09:35 PM
Error: rowNamesByOldIndex null on table: GameEntityTypeDataTable

  at System.Environment.get_StackTrace () [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0 
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.DebugLogDestination Destination, System.Boolean IncludeStackTrace, Arcen.Universal.Verbosity Verbosity) [0x00000] in <6599868ac38149d29348d4f26f9cd584>:0 
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.DebugLogDestination Destination, Arcen.Universal.Verbosity Verbosity) [0x00000] in <6599868ac38149d29348d4f26f9cd584>:0 
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <6599868ac38149d29348d4f26f9cd584>:0 
  at Arcen.Universal.ArcenDynamicTable`1[T].DeserializeFrom_Inner (Arcen.Universal.ArcenDeserializationBuffer Buffer, System.String& NameFound, System.Boolean UseDefaultIfBroken, System.Boolean DoByIndex) [0x00000] in <6599868ac38149d29348d4f26f9cd584>:0 
  at Arcen.Universal.ArcenDynamicTable`1[T].DeserializeByIndex (Arcen.Universal.ArcenDeserializationBuffer Buffer, System.Boolean UseDefaultIfBroken) [0x00000] in <6599868ac38149d29348d4f26f9cd584>:0 
  at Arcen.Universal.ArcenDynamicTable`1[T].DeserializeByIndex (Arcen.Universal.ArcenDeserializationBuffer Buffer) [0x00000] in <6599868ac38149d29348d4f26f9cd584>:0 
  at Arcen.AIW2.Core.World_AIW2.DeserializeFrom (Arcen.Universal.ArcenDeserializationBuffer Buffer, System.Boolean LoadAsTemplate) [0x00000] in <494756b3573146e38863e4de754fd854>:0 
  at Arcen.Universal.World.DeserializeFrom (Arcen.Universal.ArcenDeserializationBuffer Buffer, System.Boolean LoadAsTemplate) [0x00000] in <6599868ac38149d29348d4f26f9cd584>:0 
  at Arcen.Universal.World.LoadWorldFromDiskInner (System.String SaveName, System.Byte[] Bytes, System.Boolean LoadAsTemplate) [0x00000] in <6599868ac38149d29348d4f26f9cd584>:0 
  at Arcen.Universal.World.LoadWorldFromDisk (System.String SaveName, System.String CampaignName, System.Boolean LoadAsTemplate) [0x00000] in <6599868ac38149d29348d4f26f9cd584>:0 
  at Arcen.Universal.Engine_Universal.LoadGame (System.String SaveName, System.String CampaignName, System.Boolean LoadAsTemplate) [0x00000] in <6599868ac38149d29348d4f26f9cd584>:0 
  at Arcen.AIW2.External.Window_LoadGameMenu+bSavegame.HandleClick_Subclass (MouseHandlingInput input) [0x00000] in <328e50f50c8c44ec96fcb25c774a472f>:0 
  at Arcen.AIW2.External.ButtonAbstractBase.HandleClick (MouseHandlingInput input) [0x00000] in <328e50f50c8c44ec96fcb25c774a472f>:0 
  at Arcen.Universal.ArcenUI_Button.OnClick (UnityEngine.EventSystems.PointerEventData eventData) [0x00000] in <6599868ac38149d29348d4f26f9cd584>:0 
  at Arcen.Universal.ArcenUI_Button.OnPointerClick (UnityEngine.EventSystems.PointerEventData eventData) [0x00000] in <6599868ac38149d29348d4f26f9cd584>:0 
  at UnityEngine.EventSystems.ExecuteEvents.Execute (UnityEngine.EventSystems.IPointerClickHandler handler, UnityEngine.EventSystems.BaseEventData eventData) [0x00000] in <9bb8f6e40006490da4518a3cf5afe42e>:0 
  at UnityEngine.EventSystems.ExecuteEvents.Execute[T] (UnityEngine.GameObject target, UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.ExecuteEvents+EventFunction`1[T1] functor) [0x00000] in <9bb8f6e40006490da4518a3cf5afe42e>:0 
  at UnityEngine.EventSystems.StandaloneInputModule.ReleaseMouse (UnityEngine.EventSystems.PointerEventData pointerEvent, UnityEngine.GameObject currentOverGo) [0x00000] in <9bb8f6e40006490da4518a3cf5afe42e>:0 
  at UnityEngine.EventSystems.StandaloneInputModule.ProcessMousePress (UnityEngine.EventSystems.PointerInputModule+MouseButtonEventData data) [0x00000] in <9bb8f6e40006490da4518a3cf5afe42e>:0 
  at UnityEngine.EventSystems.StandaloneInputModule.ProcessMouseEvent (System.Int32 id) [0x00000] in <9bb8f6e40006490da4518a3cf5afe42e>:0 
  at UnityEngine.EventSystems.StandaloneInputModule.ProcessMouseEvent () [0x00000] in <9bb8f6e40006490da4518a3cf5afe42e>:0 
  at UnityEngine.EventSystems.StandaloneInputModule.Process () [0x00000] in <9bb8f6e40006490da4518a3cf5afe42e>:0 
  at UnityEngine.EventSystems.EventSystem.Update () [0x00000] in <9bb8f6e40006490da4518a3cf5afe42e>:0 

7/6/2019 11:09:35 PM
Error: rowNamesByOldIndex null on table: GameEntityTypeDataTable

  at System.Environment.get_StackTrace () [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0 
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.DebugLogDestination Destination, System.Boolean IncludeStackTrace, Arcen.Universal.Verbosity Verbosity) [0x00000] in <6599868ac38149d29348d4f26f9cd584>:0 
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.DebugLogDestination Destination, Arcen.Universal.Verbosity Verbosity) [0x00000] in <6599868ac38149d29348d4f26f9cd584>:0 
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <6599868ac38149d29348d4f26f9cd584>:0 
  at Arcen.Universal.ArcenDynamicTable`1[T].DeserializeFrom_Inner (Arcen.Universal.ArcenDeserializationBuffer Buffer, System.String& NameFound, System.Boolean UseDefaultIfBroken, System.Boolean DoByIndex) [0x00000] in <6599868ac38149d29348d4f26f9cd584>:0 
  at Arcen.Universal.ArcenDynamicTable`1[T].DeserializeByIndex (Arcen.Universal.ArcenDeserializationBuffer Buffer, System.Boolean UseDefaultIfBroken) [0x00000] in <6599868ac38149d29348d4f26f9cd584>:0 
  at Arcen.Universal.ArcenDynamicTable`1[T].DeserializeByIndex (Arcen.Universal.ArcenDeserializationBuffer Buffer) [0x00000] in <6599868ac38149d29348d4f26f9cd584>:0 
  at Arcen.AIW2.Core.World_AIW2.DeserializeFrom (Arcen.Universal.ArcenDeserializationBuffer Buffer, System.Boolean LoadAsTemplate) [0x00000] in <494756b3573146e38863e4de754fd854>:0 
  at Arcen.Universal.World.DeserializeFrom (Arcen.Universal.ArcenDeserializationBuffer Buffer, System.Boolean LoadAsTemplate) [0x00000] in <6599868ac38149d29348d4f26f9cd584>:0 
  at Arcen.Universal.World.LoadWorldFromDiskInner (System.String SaveName, System.Byte[] Bytes, System.Boolean LoadAsTemplate) [0x00000] in <6599868ac38149d29348d4f26f9cd584>:0 
  at Arcen.Universal.World.LoadWorldFromDisk (System.String SaveName, System.String CampaignName, System.Boolean LoadAsTemplate) [0x00000] in <6599868ac38149d29348d4f26f9cd584>:0 
  at Arcen.Universal.Engine_Universal.LoadGame (System.String SaveName, System.String CampaignName, System.Boolean LoadAsTemplate) [0x00000] in <6599868ac38149d29348d4f26f9cd584>:0 
  at Arcen.AIW2.External.Window_LoadGameMenu+bSavegame.HandleClick_Subclass (MouseHandlingInput input) [0x00000] in <328e50f50c8c44ec96fcb25c774a472f>:0 
  at Arcen.AIW2.External.ButtonAbstractBase.HandleClick (MouseHandlingInput input) [0x00000] in <328e50f50c8c44ec96fcb25c774a472f>:0 
  at Arcen.Universal.ArcenUI_Button.OnClick (UnityEngine.EventSystems.PointerEventData eventData) [0x00000] in <6599868ac38149d29348d4f26f9cd584>:0 
  at Arcen.Universal.ArcenUI_Button.OnPointerClick (UnityEngine.EventSystems.PointerEventData eventData) [0x00000] in <6599868ac38149d29348d4f26f9cd584>:0 
  at UnityEngine.EventSystems.ExecuteEvents.Execute (UnityEngine.EventSystems.IPointerClickHandler handler, UnityEngine.EventSystems.BaseEventData eventData) [0x00000] in <9bb8f6e40006490da4518a3cf5afe42e>:0 
  at UnityEngine.EventSystems.ExecuteEvents.Execute[T] (UnityEngine.GameObject target, UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.ExecuteEvents+EventFunction`1[T1] functor) [0x00000] in <9bb8f6e40006490da4518a3cf5afe42e>:0 
  at UnityEngine.EventSystems.StandaloneInputModule.ReleaseMouse (UnityEngine.EventSystems.PointerEventData pointerEvent, UnityEngine.GameObject currentOverGo) [0x00000] in <9bb8f6e40006490da4518a3cf5afe42e>:0 
  at UnityEngine.EventSystems.StandaloneInputModule.ProcessMousePress (UnityEngine.EventSystems.PointerInputModule+MouseButtonEventData data) [0x00000] in <9bb8f6e40006490da4518a3cf5afe42e>:0 
  at UnityEngine.EventSystems.StandaloneInputModule.ProcessMouseEvent (System.Int32 id) [0x00000] in <9bb8f6e40006490da4518a3cf5afe42e>:0 
  at UnityEngine.EventSystems.StandaloneInputModule.ProcessMouseEvent () [0x00000] in <9bb8f6e40006490da4518a3cf5afe42e>:0 
  at UnityEngine.EventSystems.StandaloneInputModule.Process () [0x00000] in <9bb8f6e40006490da4518a3cf5afe42e>:0 
  at UnityEngine.EventSystems.EventSystem.Update () [0x00000] in <9bb8f6e40006490da4518a3cf5afe42e>:0 

7/6/2019 11:09:35 PM	Successfully opened host socket
ArcenDebugLog.txt (25,860 bytes)   

wm46

Jul 6, 2019 11:19 pm

reporter   ~0052066

But the second time I try to load the file, it works just fine...

Hmm.

As for the issue, it seems like it's counting all planets is the galaxy when calculating how many turrets are given by the GCA. I'll give it a look tomorrow.

BadgerBadger

Jul 7, 2019 12:50 am

manager   ~0052067

Last edited: Jul 7, 2019 12:51 am

Yeah, the code seems to think there are player command fleets on every planet:
7/6/2019 5:23:13 PM Murdoch Cmd on Murdoch owned by Player for AmbushTurret: effective cap 47 num 1
7/6/2019 5:23:13 PM Spewak Cmd on Spewak owned by Player for AmbushTurret: effective cap 11 num 2
...
7/6/2019 5:23:13 PM Krogstie Cmd on Krogstie owned by Player for AmbushTurret: effective cap 23 num 139
7/6/2019 5:23:13 PM Plateau Cmd on Plateau owned by Player for AmbushTurret: effective cap 23 num 140

I think Chris might have implicitly added command fleets to all planets; I am suspicious of the World_AIW2.Instance.Player_AddedToCommandStation_Current and Player_AddedToCommandStation_Permanent data structures. A check for "If this is a command station fleet, does the command station exist" could be added to the UI code, but I think it's more intuitive to be able to ask the Fleet "Do you actually exist", and I don't see a mechanism for that at the moment. One might need to be added.

wm46

Jul 7, 2019 1:53 am

reporter   ~0052068

Yeah, I just saw that for myself by checking the planet name for each fleet the science is checking. For now an easy fix that works on my end is this:

                    World_AIW2.Instance.DoForFleets( localFaction, delegate ( Fleet fleet )
                    {
                        if ( fleet.Category == FleetCategory.PlayerPlanetaryCommand && fleet.Planet.GetControllingFaction() != localFaction )
                            return DelReturn.Continue;
                        fleet.DoForMemberGroups( delegate ( Fleet.Membership mem )
                        {
                            ....

But adding ships to planetary command fleets that don't exist should probably be fixed at the source too.

Chris_McElligottPark

Jul 8, 2019 10:28 am

administrator   ~0052071

There ARE validly player command fleets on every planet. A command station dies and the fleet continues to exist, and so I just create them all at the start. For the player command fleets, for the interface it should just check to see if there's a centerpiece that is alive. If so, then it's valid, if not then it's not valid. Checking the controlling faction also works, but is slower to run slightly and different from what I've been doing thus far.

Chris_McElligottPark

Jul 8, 2019 4:02 pm

administrator   ~0052121

Thanks!

* The DoForFleets() logic now includes a FleetStatus parameter that can restrict it from including un-owned planets. Have not tested this, but it should solve issues like the count of turrets benefiting from a technology being wildly too high.

Issue History

Date Modified Username Field Change
Jul 6, 2019 5:58 pm ptarth New Issue
Jul 6, 2019 5:58 pm ptarth File Added: 20190706143710_1.jpg
Jul 6, 2019 5:58 pm ptarth File Added: start2.save
Jul 6, 2019 11:11 pm wm46 File Added: ArcenDebugLog.txt
Jul 6, 2019 11:11 pm wm46 Note Added: 0052065
Jul 6, 2019 11:19 pm wm46 Note Added: 0052066
Jul 7, 2019 12:50 am BadgerBadger Note Added: 0052067
Jul 7, 2019 12:51 am BadgerBadger Note Edited: 0052067
Jul 7, 2019 1:53 am wm46 Note Added: 0052068
Jul 7, 2019 11:14 am ptarth Description Updated
Jul 8, 2019 10:28 am Chris_McElligottPark Note Added: 0052071
Jul 8, 2019 4:02 pm Chris_McElligottPark Assigned To => Chris_McElligottPark
Jul 8, 2019 4:02 pm Chris_McElligottPark Status new => resolved
Jul 8, 2019 4:02 pm Chris_McElligottPark Resolution open => fixed
Jul 8, 2019 4:02 pm Chris_McElligottPark Fixed in Version => 0.874 Basic Fleet Management
Jul 8, 2019 4:02 pm Chris_McElligottPark Note Added: 0052121
Jul 9, 2019 1:43 am Dominus Arbitrationis Relationship added related to 0021363