RimWorld

RimWorld

The Brotherhood Compendium 1.6
Error after game loading
Config error in Caravan_BoS: Shell_HighExplosive tradeability doesn't allow traders to sell this thing

Possible Matches:
[Source: The Brotherhood Compendium 1.6]
[File: E:\SteamLibrary\steamapps\workshop\content\294100\3571412768\1.6\Defs\TraderKindDefs\Caravan_BoS.xml]

[Harmony, 0Harmony.dll] MonoMod.Utils.DynamicMethodDefinition.UnityEngine.StackTraceUtility.ExtractStackTrace_Patch1()
[Harmony, 0Harmony.dll] MonoMod.Utils.DynamicMethodDefinition.Verse.Log.Error_Patch3(System.String)
[Core, Assembly-CSharp.dll] Verse.DefDatabase`1[[RimWorld.TraderKindDef, Assembly-CSharp, Version=1.6.9371.18214, Culture=neutral, PublicKeyToken=null]].ErrorCheckAllDefs()
[System, mscorlib.dll] System.Reflection.RuntimeMethodInfo.InternalInvoke(System.Reflection.RuntimeMethodInfo, System.Object, System.Object[], System.Exception&)
[System, mscorlib.dll] System.Reflection.RuntimeMethodInfo.Invoke(System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture)
[System, mscorlib.dll] System.Reflection.MethodBase.Invoke(System.Object obj, System.Object[] parameters)
[Core, Assembly-CSharp.dll] Verse.GenGeneric.InvokeStaticMethodOnGenericType(System.Type genericBase, System.Type genericParam, System.String methodName)
[Core, Assembly-CSharp.dll] Verse.PlayDataLoader+<>c.<DoPlayLoad>b__4_1(System.Type defType)
[System, mscorlib.dll] System.Threading.Tasks.Parallel+<>c__DisplayClass33_0`2[[System.Type, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].<ForEachWorker>b__0(System.Int32 i)
[System, mscorlib.dll] System.Threading.Tasks.Parallel+<>c__DisplayClass19_0`1[[System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].<ForWorker>b__1(System.Threading.Tasks.RangeWorker& currentWorker, System.Int32 timeout, System.Boolean& replicationDelegateYieldedBeforeCompletion)
[System, mscorlib.dll] System.Threading.Tasks.TaskReplicator+Replica`1[[System.Threading.Tasks.RangeWorker, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].ExecuteAction(System.Boolean& yieldedBeforeCompletion)
[System, mscorlib.dll] System.Threading.Tasks.TaskReplicator+Replica.Execute()
[System, mscorlib.dll] System.Threading.Tasks.TaskReplicator+Replica+<>c.<.ctor>b__4_0(System.Object s)
[System, mscorlib.dll] System.Threading.Tasks.Task.InnerInvoke()
[System, mscorlib.dll] System.Threading.Tasks.Task.Execute()
[System, mscorlib.dll] System.Threading.Tasks.Task.ExecutionContextCallback(System.Object obj)
[System, mscorlib.dll] System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx)
[System, mscorlib.dll] System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx)
[System, mscorlib.dll] System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task& currentTaskSlot)
[System, mscorlib.dll] System.Threading.Tasks.Task.ExecuteEntry(System.Boolean bPreventDoubleExecution)
[System, mscorlib.dll] System.Threading.Tasks.Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
[System, mscorlib.dll] System.Threading.ThreadPoolWorkQueue.Dispatch()
[System, mscorlib.dll] System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
< >
Showing 16-18 of 18 comments
veoba Sep 24 @ 6:52am 
Originally posted by альтушка:
ну CE последняя версия, как я понимаю
а про упрощённую систему боеприпасов впервые слышу
Отключил эту опцию - ошибка осталась. Значит это ни при чём. Что-то с версиями, значит. Но игра точно последней версии, у меня. СЕ тоже проверил - последний из мастерской.
Last edited by veoba; Oct 2 @ 7:26am
<ThingDef ParentName="BaseBullet"> <defName>Bullet_flambe</defName> <label>flamethrower fuel</label> <graphicData> <texPath>Things/Projectile/Proj_Flamethrower</texPath> <graphicClass>Graphic_Flicker</graphicClass> <shaderType>TransparentPostLight</shaderType> </graphicData> <thingClass>FlameWeapons.BulletIncendiary</thingClass> <projectile> <speed>20</speed> <arcHeightFactor>1.1</arcHeightFactor> <shadowSize>1</shadowSize> <damageDef>Flame</damageDef> <explosionRadius>1.0</explosionRadius> <soundExplode>flambe450shot</soundExplode> <preExplosionSpawnThingDef>Filth_Fuel</preExplosionSpawnThingDef> <preExplosionSpawnChance>0.5</preExplosionSpawnChance> <ai_IsIncendiary>true</ai_IsIncendiary> <explosionChanceToStartFire>1.0</explosionChanceToStartFire> </projectile> </ThingDef>

This is wrong, the Thing Class is broken.

You need to change it to "<thingClass>Projectile_Explosive</thingClass>" in order for it to work!

Or, you can patch the C-Sharp.

Sarg says you can fix it this way:
He needs to change the Harmony patch to Bullet.Impact to take into account the additional argument Impact accepts (Thing hitThing, bool blockedByShield = false) as arguments, and he is only specifying Thing hitThing So the game doesn't find the method being targetted by the patch
Last edited by TurtleShroom; Oct 5 @ 11:38am
veoba Oct 5 @ 1:37pm 
Тут такой момент, ты не видишь ошибку, потому что нет вот этого мода от Таранчука:
https://steamcommunity.com/sharedfiles/filedetails/?id=1759688093
< >
Showing 16-18 of 18 comments
Per page: 1530 50