Page 3 of 3 FirstFirst 123
Results 31 to 32 of 32

Thread: Video Tutorial : XPath Modding in A17 for Beginners.

  1. #31
    Colony Founder SlicksGirl's Avatar
    Join Date
    Apr 2016
    Location
    Texas, pre-apoloclypse
    Posts
    1,308
    Rep Power
    1
    so i am getting this error

    Code:
    2019-03-25T23:13:02 62.173 ERR XML loader: Patching 'recipes.xml' from mod 'DW Mods - Dyes Mod' failed
    2019-03-25T23:13:02 62.174 EXC XML.Patch (/append/recipe): Patch element does not have an 'xpath' attribute
    Exception: XML.Patch (/append/recipe): Patch element does not have an 'xpath' attribute
      at XmlPatcher.singlePatch (.XmlFile _targetFile, System.Xml.XmlElement _patchElement, System.String _patchName) [0x00000] in <filename unknown>:0 
      at XmlPatcher.PatchXml (.XmlFile _xmlFile, .XmlFile _patchXml, System.String _patchName) [0x00000] in <filename unknown>:0 
      at XmlPatcher.LoadAndPatchConfig (System.String _configName) [0x00000] in <filename unknown>:0 
    UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
    UnityEngine.DebugLogHandler:LogException(Exception, Object)
    UnityEngine.Logger:LogException(Exception, Object)
    UnityEngine.Debug:LogException(Exception)
    Logger:masterLogException(Exception)
    Logger:Exception(Exception)
    Log:Exception(Exception)
    XmlPatcher:LoadAndPatchConfig(String)
    <loadSingleXml>c__Iterator1:MoveNext()
    UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)
    and my code looks like this

    Code:
    <?xml version="1.0" encoding="UTF-8" ?>
    
    <!--recipes-->
    
    <append xpath="/recipes">
    
    blah blah blah
    
    </append>
    I copied and pasted the xpath code over from the items one for this mod and the items one has no errors. I've also ran the code through a validator, used ccleaner on my computer, validated the steam files, and started a brand new game. It still says the xpath file isnt coded. any ideas why?

  2. #32
    Survivor Zagan's Avatar
    Join Date
    Mar 2018
    Posts
    90
    Rep Power
    0
    Kinda looks like Buggi bugged out man. He hasn't posted in a while.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •