View Issue Details
ID | Project | Category | Date Submitted | Last Update | |
---|---|---|---|---|---|
0025998 | AI War 2 | Bug - Other | Dec 21, 2021 9:22 am | Dec 23, 2021 5:54 pm | |
Reporter | RocketAssistedPuffin | Assigned To | Chris_McElligottPark | ||
Status | resolved | Resolution | fixed | ||
Product Version | Beta 3.770 Bug Roasting | ||||
Fixed in Version | Beta 3.772 Refinements And Polish | ||||
Summary | 0025998: SINGLEP DELAYED11 TID39 Hit error in ProduceShipsIfNecessary debugCode 710 System.IndexOutOfRangeException: Index was outside th | ||||
Description | 3.770 SINGLEP DELAYED11 TID39 Hit error in ProduceShipsIfNecessary debugCode 710 System.IndexOutOfRangeException: Index was outside the bounds of the array. at Arcen.Universal.MersenneTwister.GenerateUInt () [0x0012b] in <7d0b76a91ae14000a55bcfec3818a507>:0 at Arcen.Universal.MersenneTwister.Next (System.Int32 maxValue) [0x0002a] in <7d0b76a91ae14000a55bcfec3818a507>:0 at Arcen.Universal.MersenneTwister.Next (System.Int32 minValue, System.Int32 maxValue) [0x00012] in <7d0b76a91ae14000a55bcfec3818a507>:0 at Arcen.Universal.Mat.GetRandomPointFromCircleCenter (Arcen.Universal.RandomGenerator Rand, Arcen.Universal.ArcenPoint Center, System.Int32 DistanceMin, System.Int32 DistanceMax) [0x00001] in <7d0b76a91ae14000a55bcfec3818a507>:0 at Arcen.Universal.ArcenPoint.GetRandomPointWithinDistance (Arcen.Universal.RandomGenerator Random, System.Int32 MinDistance, System.Int32 MaxDistance) [0x00001] in <7d0b76a91ae14000a55bcfec3818a507>:0 at Arcen.AIW2.External.PlanetExtensions.Helper_GetSafePlacementPoint_Inner (Arcen.AIW2.Core.Planet planet, Arcen.AIW2.Core.ArcenHostOnlySimContext Context, Arcen.AIW2.Core.GameEntityTypeData EntityTypeToPlace, Arcen.Universal.ArcenPoint BasePoint, System.Int32 MinDistance, System.Int32 MaxDistance, Arcen.Universal.ArcenPoint& FinalResult) [0x00069] in <c3040ecc58b247ec9d125cdb837f80f7>:0 at Arcen.AIW2.External.PlanetExtensions.GetSafePlacementPoint_Internal (Arcen.AIW2.Core.Planet planet, Arcen.AIW2.Core.ArcenHostOnlySimContext Context, Arcen.AIW2.Core.GameEntityTypeData EntityTypeToPlace, Arcen.Universal.ArcenPoint BasePoint, System.Int32 MinDistancePreferred, System.Int32 MaxDistancePreferred, System.Int32 AbsoluteMinDistance, System.Int32 AbsoluteMaxDistance, System.Int32 AmountToDecreaseMinDistancePerOuterLoop, System.Int32 AmountToIncreaseMaxDistancePerOuterLoop, System.Int32 MaxExtraOuterLoops) [0x0003e] in <c3040ecc58b247ec9d125cdb837f80f7>:0 at Arcen.AIW2.External.PlanetExtensions.GetSafePlacementPoint_AroundEntity (Arcen.AIW2.Core.Planet planet, Arcen.AIW2.Core.ArcenHostOnlySimContext Context, Arcen.AIW2.Core.GameEntityTypeData EntityTypeToPlace, Arcen.AIW2.Core.GameEntity_Base PlaceAround, Arcen.Universal.FInt MinOldStyleDistanceFactor_Multiplier, Arcen.Universal.FInt MaxOldStyleDistanceFactor_Multiplier) [0x00072] in <c3040ecc58b247ec9d125cdb837f80f7>:0 at Arcen.AIW2.External.ZenithArchitraveFactionDeepInfo.ProduceShipsIfNecessary (Arcen.AIW2.Core.ArcenHostOnlySimContext Context) [0x001b5] in <c0043c0e53cc4252bce4f0f1401fe48e>:0 No help in what could've triggered this. I only noticed it in the log when looking for another thing. | ||||
Tags | No tags attached. | ||||
|
This will solve many random bugs: * Improved our implementation of MersenneTwister so that it is fully threadsafe. There were some funky cases where multiple threads could use a single of these random-generators, and that would lead to exceptions. Thanks! |
Date Modified | Username | Field | Change |
---|---|---|---|
Dec 21, 2021 9:22 am | RocketAssistedPuffin | New Issue | |
Dec 23, 2021 5:54 pm | Chris_McElligottPark | Assigned To | => Chris_McElligottPark |
Dec 23, 2021 5:54 pm | Chris_McElligottPark | Status | new => resolved |
Dec 23, 2021 5:54 pm | Chris_McElligottPark | Resolution | open => fixed |
Dec 23, 2021 5:54 pm | Chris_McElligottPark | Fixed in Version | => Beta 3.772 Refinements And Polish |
Dec 23, 2021 5:54 pm | Chris_McElligottPark | Note Added: 0063575 |