FilUnderscore / ImprovedHordes

7 Days To Die Server/Client Mod - Improves existing hordes by reworking their core behaviours.
https://community.7daystodie.com/topic/26781-improved-hordes/
Other
8 stars 3 forks source link

WorldZoneHordePopulator throws error when checking for trader POI #21

Closed FilUnderscore closed 1 year ago

FilUnderscore commented 1 year ago
Stacktrace: 
  at World.GetTraderAreaAt (Vector3i _pos) [0x0000c] in <d7dcfa4979674f179c13273f8b30b551>:0 
  at (wrapper dynamic-method) World.DMD<World::IsWithinTraderArea>(World,Vector3i)
  at World.GetLandClaimOwner (Vector3i worldBlockPos, PersistentPlayerData lpRelative) [0x0000b] in <d7dcfa4979674f179c13273f8b30b551>:0 
  at ImprovedHordes.POI.WorldPOIScanner+POI.IsPlayerConvertedPOI () [0x0002b] in <545fd6ff8ed54acf9c76b226d604ce04>:0 
  at ImprovedHordes.POI.WorldPOIScanner+POIZone.GetLocationOutside (ImprovedHordes.Core.Abstractions.World.Random.IWorldRandom worldRandom, UnityEngine.Vector2& location) [0x0001b] in <545fd6ff8ed54acf9c76b226d604ce04>:0 
  at ImprovedHordes.POI.WorldZoneHordePopulator`1[Horde].CanPopulate (System.Single dt, ImprovedHordes.POI.WorldPOIScanner+POIZone& zone, System.Collections.Generic.List`1[T] playerGroups, System.Collections.Generic.Dictionary`2[TKey,TValue] clusters, ImprovedHordes.Core.Abstractions.World.Random.IWorldRandom worldRandom) [0x00082] in <545fd6ff8ed54acf9c76b226d604ce04>:0 
  at ImprovedHordes.Core.World.Horde.Populator.HordePopulator`1[TaskReturnValue].Populate (System.Single dt, System.Collections.Generic.List`1[T] playerGroups, System.Collections.Generic.Dictionary`2[TKey,TValue] clusters, ImprovedHordes.Core.World.Horde.Spawn.WorldHordeSpawner spawner, ImprovedHordes.Core.Abstractions.World.Random.IWorldRandom worldRandom) [0x00001] in <545fd6ff8ed54acf9c76b226d604ce04>:0 
  at ImprovedHordes.Core.World.Horde.Populator.WorldHordePopulator.UpdateAsync (System.Single dt) [0x00089] in <545fd6ff8ed54acf9c76b226d604ce04>:0 
  at ImprovedHordes.Core.Threading.Threaded.ThreadLoop (ThreadManager+ThreadInfo threadInfo) [0x00078] in <545fd6ff8ed54acf9c76b226d604ce04>:0