边缘世界 RimWorld

边缘世界 RimWorld

Rim-Elves
Vex  [开发者] 2023 年 8 月 31 日 上午 10:37
Bug Reports
Report bugs here. (Please attach a full error log with each report if possible.)
< >
正在显示第 1 - 12 条,共 12 条留言
Inglix 2023 年 10 月 16 日 下午 12:43 
Your patch for the KindInstinct gene in Gene_Patch.xml fails if any other mod has already added an exclusionTags node to that def. You should consider using PatchOperationConditional so it can be handled properly whether an exclusionTags node already exists or not.

Here's a log showing the error that is generated on game startup.

https://gist.github.com/HugsLibRecordKeeper/01fd19871304b5c78b68d926a36a6486

The mod that I had which was already adding exclusionTags to that def was Integrated Genes.

https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2884115974
最后由 Inglix 编辑于; 2023 年 10 月 16 日 下午 12:43
Inglix 2023 年 10 月 16 日 下午 7:38 
Unrelated to my previous post, but I noticed when examining the info cards of my elves they all show a body size of 0.55 instead of 1.0.

Edit: Okay so after looking at the included source I can see that it's the Harmony patch used to support the Chemical Susceptibility gene which is patching the return value of Pawn.BodySize.

This does have the desired effect of making them far less capable of handling drugs and alcohol, however it also has tons of undesirable side effects since a pawn's body size is used in calculations of several other stats, such as meat and leather amounts when butchered, nutrition required to fill their hunger need, carrying capacity, and probably others I'm not even aware of.
最后由 Inglix 编辑于; 2023 年 10 月 16 日 下午 8:06
Röstli 2023 年 10 月 26 日 上午 3:07 
Hi, it looks like Rim-Elves has a slight incompatibility with Integrated Genes, since both mods are adding exclusions to the KindInstinct gene, causing an error on start-up. Changing the Gene_Patch file so that it uses a conditional seems to fix it, and I've uploaded the fixed patch xml to DropBox if you'd like to use it:

https://www.dropbox.com/scl/fi/di2c26mdbe22k26kcomjd/Gene_Patch.xml?rlkey=9mqnoonxm3la1knsrjy6a280e&dl=0
N7Huntsman 2023 年 11 月 9 日 上午 1:14 
As noted in various other reports, elves with the gigantic gene have a bodySize of 0.55, compared to base humans of 0.8. As noted by @Inglix above, this appears to be intentional to a degree, but there are numerous negative ramifications to this approach.
Vex  [开发者] 2023 年 11 月 23 日 上午 11:54 
Hey, sorry for the super late replies - I am currently working on changing the stat to not use bodysize and just inject into the drug ingestion calculation, but since I'm no expert in C# and life's busy, it's gonna take a little bit. Sorry bout that.
Serina 2023 年 12 月 20 日 上午 9:13 
引用自 Vex
Hey, sorry for the super late replies - I am currently working on changing the stat to not use bodysize and just inject into the drug ingestion calculation, but since I'm no expert in C# and life's busy, it's gonna take a little bit. Sorry bout that.

good news: genes already have method to do stuff on drug ingestion, you can put the multiplier there instead
Ontario 2024 年 10 月 1 日 上午 3:30 
[Rim-Elves] Patch operation Verse.PatchOperationSequence(count=2, lastFailedOperation=Verse.PatchOperationTest(/Defs/GeneDef[defName = "KindInstinct"]/exclusionTags)) failed

https://gist.github.com/HugsLibRecordKeeper/bea4c6664e596dba7920a3a57e9bdf47
Max 4 月 5 日 下午 1:55 
[Rim-Elves] Patch operation Verse.PatchOperationSequence(count=2, lastFailedOperation=Verse.PatchOperationTest(/Defs/GeneDef[defName = "KindInstinct"]/exclusionTags)) failed
file: D:\SteamLibrary\steamapps\workshop\content\294100\3028702598\1.5\Patches\Gene_Patch.xml
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch6 (string)
Verse.PatchOperation:Complete (string)
Verse.PatchOperationSequence:Complete (string)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.LoadedModManager.ClearCachedPatches_Patch3 ()
Verse.LoadedModManager:LoadAllActiveMods (bool)
Verse.PlayDataLoader:DoPlayLoad ()
Verse.PlayDataLoader:LoadAllPlayData (bool)
Verse.Root/<>c:<Start>b__6_1 ()
Verse.LongEventHandler:RunEventFromAnotherThread (System.Action)
Verse.LongEventHandler/<>c:<UpdateCurrentAsynchronousEvent>b__28_0 ()
System.Threading.ThreadHelper:ThreadStart_Context (object)
System.Threading.ExecutionContext:RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object)
System.Threading.ThreadHelper:ThreadStart ()
Maal 7 月 17 日 上午 12:26 
Some red error about gene patching?

https://gist.github.com/HugsLibRecordKeeper/167a843c14e218425aa2d5e1ff74293b

[Rim-Elves] Patch operation Verse.PatchOperationSequence(count=2, lastFailedOperation=Verse.PatchOperationTest(/Defs/GeneDef[defName = "KindInstinct"]/exclusionTags)) failed file: C:\Program Files (x86)\Steam\steamapps\workshop\content\294100\3028702598\1.6\Patches\Gene_Patch.xml UnityEngine.StackTraceUtility:ExtractStackTrace () (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch3 (string) Verse.PatchOperation:Complete (string) Verse.PatchOperationSequence:Complete (string) Verse.LoadedModManager:ClearCachedPatches () Verse.LoadedModManager:LoadAllActiveMods (bool) Verse.PlayDataLoader:DoPlayLoad () Verse.PlayDataLoader:LoadAllPlayData (bool) Verse.Root/<>c:<Start>b__10_1 () Verse.LongEventHandler:RunEventFromAnotherThread (System.Action) Verse.LongEventHandler/<>c:<UpdateCurrentAsynchronousEvent>b__28_0 () System.Threading.ThreadHelper:ThreadStart_Context (object) System.Threading.ExecutionContext:RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object) System.Threading.ThreadHelper:ThreadStart ()
cwan 7 月 18 日 上午 2:45 
https://gist.github.com/HugsLibRecordKeeper/892ce3e908e6a880e0df8aa8ce6186c2

Red error on startup:

Config error in RE_Elven_Archer: Cheapest weapon with one of my weaponTags costs 250 but weaponMoney min is 105, so could end up weaponless.

Full error:

Config error in RE_Elven_Archer: Cheapest weapon with one of my weaponTags costs 250 but weaponMoney min is 105, so could end up weaponless. UnityEngine.StackTraceUtility:ExtractStackTrace () (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch3 (string) Verse.DefDatabase`1<Verse.PawnKindDef>:ErrorCheckAllDefs () System.Reflection.RuntimeMethodInfo:Invoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo) System.Reflection.MethodBase:Invoke (object,object[]) Verse.GenGeneric:InvokeStaticMethodOnGenericType (System.Type,System.Type,string) Verse.PlayDataLoader/<>c:<DoPlayLoad>b__4_1 (System.Type) System.Threading.Tasks.Parallel/<>c__DisplayClass33_0`2<System.Type, object>:<ForEachWorker>b__0 (int) System.Threading.Tasks.Parallel/<>c__DisplayClass19_0`1<object>:<ForWorker>b__1 (System.Threading.Tasks.RangeWorker&,int,bool&) System.Threading.Tasks.TaskReplicator/Replica`1<System.Threading.Tasks.RangeWorker>:ExecuteAction (bool&) System.Threading.Tasks.TaskReplicator/Replica:Execute () System.Threading.Tasks.TaskReplicator/Replica/<>c:<.ctor>b__4_0 (object) System.Threading.Tasks.Task:InnerInvoke () System.Threading.Tasks.Task:Execute () System.Threading.Tasks.Task:ExecutionContextCallback (object) System.Threading.ExecutionContext:RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) System.Threading.Tasks.Task:ExecuteWithThreadLocal (System.Threading.Tasks.Task&) System.Threading.Tasks.Task:ExecuteEntry (bool) System.Threading.Tasks.Task:System.Threading.IThreadPoolWorkItem.ExecuteWorkItem () System.Threading.ThreadPoolWorkQueue:Dispatch () System.Threading._ThreadPoolWaitCallback:PerformWaitCallback ()
Luckspeare 8 月 25 日 上午 12:19 
Better Hugslib report of this error, which only seems to occur (for me) when loaded alongside Big and Small - Races and its associated dependencies:

Config error in RE_Elven_Archer: Cheapest weapon with one of my weaponTags costs 250 but weaponMoney min is 105, so could end up weaponless.

https://pastebin.com/PTNuSWRi
sayheyjay 8 月 29 日 下午 10:04 
As noted in the comments there is a reference to a Medieval Overhaul def that no longer exists and it breaks faction generation.
< >
正在显示第 1 - 12 条,共 12 条留言
每页显示数: 1530 50