RimWorld

RimWorld

Un-Limited Reborn
 This topic has been pinned, so it's probably important
NuanKi  [developer] 27 Jul, 2024 @ 11:17pm
Bug Reports
When reporting bugs or mod conflicts, please always upload your log file via HugsLib (press Ctrl + F12 directly after the problem happened) and include the link in your message. Without a log file there is no way for me to figure out what exactly is wrong or how to fix it.
< >
Showing 1-15 of 22 comments
Just 1 Sep, 2024 @ 1:41pm 
Hi!
About this error with CE:

[Un-Limited Reborn - Start of stack trace] XmlExtensions.ForEach(storeIn='path', xpath='Defs/StatDef[defName = "MeleeDodgeChance"]/capacityOffsets/li[max]'): Failed to find a node referenced by <xpath>
https://gist.github.com/HugsLibRecordKeeper/5cb49303cdc87f7b5c2437efa9a7a8cd

CE performs a Patch and renames the parameter. It happen in file CombatExtended\Patches\Core\Stats\Stats.xml

Patch:
<Operation Class="PatchOperationReplace"> <xpath>Defs/StatDef[defName="MeleeDodgeChance"]/capacityOffsets</xpath> <value> <capacityFactors> <li> <capacity>Moving</capacity> <weight>1</weight> </li> <li> <capacity>Sight</capacity> <weight>0.7</weight> <max>1</max> </li> </capacityFactors> </value> </Operation>
And the same with "ShootingAccuracyPawn"
<Operation Class="PatchOperationReplace"> <xpath>Defs/StatDef[defName="ShootingAccuracyPawn"]/capacityOffsets</xpath> <value> <capacityOffsets> <li> <capacity>Manipulation</capacity> <scale>1.6</scale> </li> </capacityOffsets> </value> </Operation>

The easiest way to fix it for now (without diving deep inside how exactly CE changes parameters) would be to exclude these 2 patch operations and load them only if no CE is loaded.

I checked it with LoadFolders.xml:
<loadFolders> <v1.5> <li>1.5</li> <li IfModNotActive="CETeam.CombatExtended">no-CE</li> </v1.5> </loadFolders>

In "no-CE" I put file "Patches/Core.xml" with these 2 excluded operations from the main file (from main file I removed them):
<?xml version="1.0" encoding="utf-8" ?> <Patch> <!-- MeleeDodgeChance CapacityOffsets --> <Operation Class="XmlExtensions.ApplyPatch"> <patchName>CapacityMaxRemoveCombat</patchName> <arguments> <li>true</li> <li>MeleeDodgeChance</li> <li>defName</li> <li>capacityOffsets</li> <li>Melee dodge chance</li> </arguments> </Operation> <!-- ShootingAccuracyPawn CapacityOffsets --> <Operation Class="XmlExtensions.ApplyPatch"> <patchName>CapacityMaxRemoveCombat</patchName> <arguments> <li>true</li> <li>ShootingAccuracyPawn</li> <li>defName</li> <li>capacityOffsets</li> <li>Ranged cooldown multiplier</li> </arguments> </Operation> </Patch>

No errors. But ofc, then need to check what does it mean by CE. Something will be still limited then
NuanKi  [developer] 1 Sep, 2024 @ 9:28pm 
Hi, I'm currently in progress of adding more the mod, this is fantastic, thank you!
Btw, does CE only affect that, or does it also modify apparel ratings
Just 2 Sep, 2024 @ 7:02am 
Well, they have a lot of patches for the Core of the game. The best way would be to check this: https://github.com/CombatExtended-Continued/CombatExtended/tree/Development/Patches/Core

The Stats exactly are here: https://github.com/CombatExtended-Continued/CombatExtended/blob/Development/Patches/Core/Stats/Stats.xml

They replace "StatPart_Quality" for apparel.
NuanKi  [developer] 3 Sep, 2024 @ 10:30pm 
Added compatibility with CE
Bolack·AiDieck 9 Nov, 2024 @ 9:19am 
Cooking speed - Make Unlimited and Cooking speed - remove limit didn't work properly. After enable these,Post Process Curve of Cooking speed still exists,but the others options is normal running.
Bolack·AiDieck 9 Nov, 2024 @ 9:19am 
[Un-Limited Reborn - Start of stack trace]
XmlExtensions.ForEach(storeIn='path', xpath='Defs/StatDef[defName = "MeleeDodgeChance"]/capacityFactors/li[max]'): Failed to find a node referenced by <xpath>
XmlExtensions.OptionalPatch(key='MeleeDodgeChance_Caps', defaultValue='true'): Error in <caseTrue> in the operation at position=1
XmlExtensions.ApplyPatch(patchName='CapacityMaxRemove'): Error in <apply> in the operation at position=1
XmlExtensions.ApplyPatch(patchName='Reborn_RemoveLimit'): Error in <apply> in the operation at position=1
XmlExtensions.FindMod(Mod='Combat Extended'): Error in <caseTrue> in the operation at position=1
[End of stack trace]
The top operation is the one that failed, the ones below it are the parents
Source file: D:\SteamLibrary\steamapps\workshop\content\294100\3295368629\1.5\Patches\Core.xml
Bolack·AiDieck 9 Nov, 2024 @ 9:36am 
I've been re-troubleshooting the bug and error report files again, and it looks like some mod has changed the way the post-process curves are calculated regarding cooking speed.
Kavvi 14 Nov, 2024 @ 11:35pm 
not sure what this is, or if its realted to that I dont have royalty/ideology dlc

[Un-Limited Reborn - Start of stack trace]
XmlExtensions.PatchOperationReplace(xpath='Defs/StatDef[defName = "PruningSpeed"]/skillNeedFactors'): Failed to find a node referenced by <xpath>
XmlExtensions.UseSettings: Error in <apply> in the operation at position=1
XmlExtensions.OptionalPatch(key='PruningSpeed_SkillNeedFactors', defaultValue='true'): Error in <caseTrue> in the operation at position=1
XmlExtensions.ApplyPatch(patchName='ChangeSkillNeedFactors'): Error in <apply> in the operation at position=1
XmlExtensions.ApplyPatch(patchName='Reborn_SkillNeedFactors'): Error in <apply> in the operation at position=1
[End of stack trace]

https://gist.github.com/HugsLibRecordKeeper/53dfb2f7b52f65b2e678e95e3d853764
NuanKi  [developer] 15 Nov, 2024 @ 8:58pm 
will look into it tomorrow
same error [Un-Limited Reborn - Start of stack trace]
XmlExtensions.ForEach(storeIn='path', xpath='Defs/StatDef[defName = "MeleeDodgeChance"]/capacityFactors/li[max]'): Failed to find a node referenced by <xpath>
XmlExtensions.OptionalPatch(key='MeleeDodgeChance_Caps', defaultValue='true'): Error in <caseTrue> in the operation at position=1
XmlExtensions.ApplyPatch(patchName='CapacityMaxRemove'): Error in <apply> in the operation at position=1
XmlExtensions.ApplyPatch(patchName='Reborn_RemoveLimit'): Error in <apply> in the operation at position=1
XmlExtensions.FindMod(Mod='Combat Extended'): Error in <caseTrue> in the operation at position=1
[End of stack trace]
The top operation is the one that failed, the ones below it are the parents
Source file: C:\Games\Steam\steamapps\workshop\content\294100\3295368629\1.5\Patches\Core.xml
NuanKi  [developer] 16 May @ 7:49pm 
Can you send a log? I need to see the mods you are using
can i send you in discord? i dont have hugslib
NuanKi  [developer] 16 May @ 8:39pm 
yep, my username is nuanki
NuanKi  [developer] 16 May @ 8:41pm 
you can also use this mod: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2873415404
to be able to create logs without using huglibs
xOR 1 Jul @ 11:43am 
is this related to DLC? i don't have them

[Un-Limited Reborn - Start of stack trace]
XmlExtensions.PatchOperationReplace(xpath='Defs/StatDef[defName = "PruningSpeed"]/skillNeedFactors'): Failed to find a node referenced by <xpath>
XmlExtensions.UseSettings: Error in <apply> in the operation at position=1
XmlExtensions.OptionalPatch(key='PruningSpeed_SkillNeedFactors', defaultValue='true'): Error in <caseTrue> in the operation at position=1
XmlExtensions.ApplyPatch(patchName='ChangeSkillNeedFactors'): Error in <apply> in the operation at position=1
XmlExtensions.ApplyPatch(patchName='Reborn_SkillNeedFactors'): Error in <apply> in the operation at position=1
[End of stack trace]
The top operation is the one that failed, the ones below it are the parents
Source file: D:\GOG Games\RimWorld\Mods\3295368629\1.5\Patches\Advanced.xml
< >
Showing 1-15 of 22 comments
Per page: 1530 50