• Mods are now organized as resources. Use the Mods link above to browse for or submit a mod, tool, or prefab.

    The TFP Official Modding Forum Policy establishes the rules and guidelines for mod creators and mod users.

Help with mod error

LionsDen

Refugee
I get a red console error with the following line.

<set xpath="/materials/material[@id=Msand]/property[@name=stability_glue]/@value">10</set>

I had it working yesterday and suddenly I am getting errors today. Meanwhile this other one works perfectly.

<set xpath="/materials/material[@id=Mgravel]/property[@name=stability_glue]/@value">10</set>

 
Here is a screenshot.

20181210193936_1.jpg

It says:

2018-12-10T19:39:34 19.090 ERR XML loader: Patching 'items.xml' from mod 'Sand SI' failed

XPathException: function ends-with not found

The things is the file is materials.xml so I don't know why it is trying to patch items.

 
Crap, I figured it out.

I have another mod I am working on and I never changed the mod files info so it was calling itself Sand SI.

That is the one that is giving me a problem.

Thanks for trying to help.

 
Crap, I figured it out.
I have another mod I am working on and I never changed the mod files info so it was calling itself Sand SI.

That is the one that is giving me a problem.

Thanks for trying to help.
Haha, I did that yesterday.

 
Back
Top