RimWorld
Un-Limited Reborn
 このトピックはピン留めされているので、おそらく重要です
NuanKi  [開発者] 2024年7月27日 23時17分
Bug Reports
When reporting bugs or mod conflicts, please always upload your log file via HugsLib Log Publisher (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.
最近の変更はNuanKiが行いました; 7月27日 23時48分
< >
1-15 / 22 のコメントを表示
Just 2024年9月1日 13時41分 
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  [開発者] 2024年9月1日 21時28分 
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
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  [開発者] 2024年9月3日 22時30分 
Added compatibility with CE
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.
[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
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 2024年11月14日 23時35分 
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  [開発者] 2024年11月15日 20時58分 
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  [開発者] 5月16日 19時49分 
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  [開発者] 5月16日 20時39分 
yep, my username is nuanki
NuanKi  [開発者] 5月16日 20時41分 
you can also use this mod: https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2873415404
to be able to create logs without using huglibs
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
< >
1-15 / 22 のコメントを表示
ページ毎: 1530 50