View Issue Details

IDProjectCategoryLast Update
0025864AI War 2Gameplay IssueNov 27, 2021 3:51 pm
ReporterBadgerBadger Assigned To 
Status newResolutionopen 
Product VersionBeta 3.760 Chaotic Maps And Ark Empires 
Summary0025864: OrderRelatedPoint is outside gravwell when serializing
Description11/27/2021 1:49:58 PM 3.757 SINGLEP To properly be stored, the value of each combat space coordinate must be between -262,143 and +262,143 but the coordinates passed in for 'OrderRelatedPoint' were X: -2,113,763 , Y: -7,695,666. These would be outside of the gravity well! Note that passing 0,0 is also fine, but that was not the case here.
  at System.Environment.get_StackTrace () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0
  at Arcen.Universal.ArcenDebugging.ArcenLog_InnerOnMainThreadOnly (System.String Message, Arcen.Universal.DebugLogDestination Destination, System.Boolean IncludeStackTrace, Arcen.Universal.Verbosity Verbosity, System.DateTime Timestamp) [0x00197] in /home/arcengames_aiw-ultra/CodeCrossProject/ArcenUniversal/src/UtilityLibraries/ArcenDebugging.cs:394
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00039] in /home/arcengames_aiw-ultra/CodeCrossProject/ArcenUniversal/src/UtilityLibraries/ArcenDebugging.cs:230
  at ArcenSerializationAIWar2SpecificExtensions.AddArcenPointFromCombatSpace (Arcen.Universal.ArcenSerializationBuffer Buffer, Arcen.Universal.ArcenPoint Pt, System.String FieldNameForErrors, Arcen.Universal.UEErrorStyle ErrorStyle) [0x0013a] in /home/arcengames_aiw-ultra/CodeMain/ArcenAIW2Core/src/Logic/Networking/ArcenSerializationAIWar2SpecificExtensions.cs:63
  at Arcen.AIW2.Core.EntityOrder.SerializeTo (Arcen.Universal.ArcenSerializationBuffer Buffer) [0x00028] in /home/arcengames_aiw-ultra/CodeMain/ArcenAIW2Core/src/Logic/GameState/CombatEncounter/EntityOrder.cs:305
  at Arcen.AIW2.Core.EntityOrderCollection.SerializeTo (Arcen.Universal.ArcenSerializationBuffer Buffer) [0x00120] in /home/arcengames_aiw-ultra/CodeMain/ArcenAIW2Core/src/Logic/GameState/GameEntity/EntityOrderCollection.cs:266
  at Arcen.AIW2.Core.GameEntity_Squad.SerializeSquadTo (Arcen.Universal.ArcenSerializationBuffer Buffer, Arcen.Universal.UltraEfficientStyle StyleForPKIDsIfNetworkSyncData, Arcen.Universal.SerializationCommandType SerializationCmdType) [0x00171] in /home/arcengames_aiw-ultra/CodeMain/ArcenAIW2Core/src/Logic/GameState/GameEntity/GameEntity_Squad.cs:1056
  at Arcen.AIW2.Core.PlanetFaction.SerializePlanetFactionEntities (Arcen.Universal.ArcenSerializationBuffer Buffer, Arcen.Universal.SerializationCommandType SerializationCmdType, Arcen.Universal.List`1[T] SquadsThatNeedToSerializeExternalData) [0x0015e] in /home/arcengames_aiw-ultra/CodeMain/ArcenAIW2Core/src/Logic/GameState/CombatEncounter/PlanetFaction.cs:506
  at Arcen.AIW2.Core.Planet.SerializePlanetFactionsAndEntitiesTo (Arcen.Universal.ArcenSerializationBuffer Buffer, Arcen.Universal.SerializationCommandType SerializationCmdType, Arcen.Universal.List`1[T] SquadsThatNeedToSerializeExternalData) [0x00072] in /home/arcengames_aiw-ultra/CodeMain/ArcenAIW2Core/src/Logic/GameState/Mapping/Planet.cs:940
  at Arcen.AIW2.Core.Galaxy.SerializePlanetFactionsAndEntitiesTo (Arcen.Universal.ArcenSerializationBuffer Buffer, Arcen.Universal.SerializationCommandType SerializationType, Arcen.Universal.List`1[T] SquadsThatNeedToSerializeExternalData) [0x0003f] in /home/arcengames_aiw-ultra/CodeMain/ArcenAIW2Core/src/Logic/GameState/Mapping/Galaxy.cs:177
  at Arcen.AIW2.Core.World_AIW2.SerializeWorldTo (Arcen.Universal.ArcenSerializationBuffer Buffer, Arcen.Universal.SpecialSerializationType SpecialSerialization, Arcen.Universal.SerializationCommandType SerializationType) [0x00520] in /home/arcengames_aiw-ultra/CodeMain/ArcenAIW2Core/src/Logic/GameState/World_AIW2.cs:1036
  at Arcen.Universal.World.SerializeTo (Arcen.Universal.ArcenSerializationBuffer Buffer, Arcen.Universal.SpecialSerializationType SpecialSerialization, Arcen.Universal.SerializationCommandType SerializationType) [0x0039d] in /home/arcengames_aiw-ultra/CodeCrossProject/ArcenUniversal/src/Logic/GameState/World.cs:439
  at Arcen.Universal.World.SaveWorldToDisk (System.String SaveName, Arcen.Universal.List`1[T] SavegameMetadata) [0x000ef] in /home/arcengames_aiw-ultra/CodeCrossProject/ArcenUniversal/src/Logic/GameState/World.cs:979
  at Arcen.AIW2.External.GameCommand_SaveGame.Execute (Arcen.AIW2.Core.GameCommand command, Arcen.AIW2.Core.ArcenClientOrHostSimContextCore context) [0x00000] in <a711e4597e4f492486d14f52f597e9d7>:0
  at Arcen.AIW2.Core.GameCommand.Execute (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x00061] in /home/arcengames_aiw-ultra/CodeMain/ArcenAIW2Core/src/Logic/Networking/GameCommand.cs:408
  at Arcen.AIW2.Core.World_AIW2.OnClient_ExecuteGameCommandsReceivedFromServer (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x000d1] in /home/arcengames_aiw-ultra/CodeMain/ArcenAIW2Core/src/Logic/GameState/World_AIW2.cs:3776
  at Arcen.AIW2.External.SimPlannerImplementation.ProcessCoreLogicForArbitraryFrameOnMainThread (System.Boolean& stalledWaitingOnConnections, System.Boolean& mayUpdateVisuals, System.String& reasonForNoVisualUpdates) [0x00000] in <a711e4597e4f492486d14f52f597e9d7>:0
  at Arcen.AIW2.Core.Engine_AIW2.ProcessArbitraryFrameOnMainThread (System.Boolean& stalledWaitingOnConnections, System.String& reasonForNoVisualUpdates) [0x001b4] in /home/arcengames_aiw-ultra/CodeMain/ArcenAIW2Core/src/Logic/Engine_AIW2.cs:1532
  at Arcen.Universal.Engine_Universal.OnUpdateFromMainThread () [0x00463] in /home/arcengames_aiw-ultra/CodeCrossProject/ArcenUniversal/src/Engine_Universal.cs:1371

On the SVN build from saturday morning.

Note it might be useful debugging data if the code listed the unit being serialized.
TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
Nov 27, 2021 3:51 pm BadgerBadger New Issue