边缘世界 RimWorld

边缘世界 RimWorld

[RH2] Faction: V.O.I.D.
Alex 2024 年 3 月 7 日 下午 3:05
VOID base structure can't be generated, enemies stands in ruins
https://gist.github.com/HugsLibRecordKeeper/b3800ff98e053d3660e9f44300072b2a

Picture of bug in game
[img]https://imgur.com/dn9yY40[/img]
----
The error:

Error in DoSettlementGeneration: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.ThrowHelper.ThrowArgumentOutOfRangeException (System.ExceptionArgument argument, System.ExceptionResource resource) [0x00029] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.ThrowHelper.ThrowArgumentOutOfRangeException () [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0
at EncounterFramework.Utils.DoGeneration (Verse.Map map, EncounterFramework.LocationData locationData, RimWorld.Faction faction) [0x00c08] in <2bccb8c321cf43ce963cb7610c63f789>:0
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

----
VOID's code EncounterFramework.Utils.DoSettlementGeneration mess up and get this ArgumentOutOfRangeException C# error

The error message is generated by try{} and catch{} syntax and it is at the bottom of DoSettlementGeneration method

so from my understanding of the code, the code try every possible base gen pattern depending on the location on world map. So it can be the biome change by mod/mod added biome that cause this exception?
最后由 Alex 编辑于; 2024 年 3 月 7 日 下午 3:08
< >
正在显示第 1 - 1 条,共 1 条留言
Alex 2024 年 3 月 8 日 上午 12:52 
It can also be conflict with real ruin
< >
正在显示第 1 - 1 条,共 1 条留言
每页显示数: 1530 50