ERROR][XML] :: load [$CurrentDir:mpmissions\dayzOffline.chernarusplus\db/types.xml] failed

  • Hi,


    bekomme immer den gleichen Fehler, nach stundenlanger suche hab ich noch nichts gefunden...

    Das rot markierte wäre die entsprechende Zeile 20076


    15:58:49 !!! [ERROR][XML] :: load [$CurrentDir:mpmissions\dayzOffline.chernarusplus\db/types.xml] failed

    15:58:49 !!! [ERROR][XML] :: Error reading Attributes. line 20076

    15:58:49 !!! [CE][offlineDB] :: Failed to read types file 'db/types.xml'.


    <type name="Msp_SleepingBag_Green"> <!-- <nominal> to <cost> Settings from MountainBag_Green -->

    <nominal>5</nominal>

    <lifetime>3888000</lifetime> <!-- max. Lifetime -->

    <restock>0</restock>

    <min>3</min>

    <quantmin>-1</quantmin>

    <quantmax>-1</quantmax>

    <cost>100</cost>

    <flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/>

    <category name="clothes"/>

    <usage name="Industrial"/>

    <usage name="Coast"/>

    </type>

    <type name="Msp_SleepingBag_Blue <!-- <nominal> to <cost> Settings from MountainBag_Blue -->

    <nominal>5</nominal>

    <lifetime>3888000</lifetime>

    <restock>0</restock>

    <min>3</min>

    <quantmin>-1</quantmin>

    <quantmax>-1</quantmax>

    <cost>100</cost>

    <flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/>

    <category name="clothes"/>

    <usage name="Industrial"/>

    <usage name="Coast"/>

    </type>

    <type name="Msp_SleepingBag_LimeGreen"> <!-- <nominal> to <cost> Settings from MountainBag_Green -->

    <nominal>5</nominal>

    <lifetime>3888000</lifetime> <!-- max. Lifetime -->

    <restock>0</restock>

    <min>3</min>

    <quantmin>-1</quantmin>

    <quantmax>-1</quantmax>

    <cost>100</cost>

    <flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/>

    <category name="clothes"/>

    <usage name="Industrial"/>

    <usage name="Coast"/>

    </type>

    <type name="Msp_SleepingBag_Orange"> <!-- <nominal> to <cost> Settings from MountainBag_Orange -->

    <nominal>10</nominal>

    <lifetime>3888000</lifetime> <!-- max. Lifetime -->

    <restock>0</restock>

    <min>7</min>

    <quantmin>-1</quantmin>

    <quantmax>-1</quantmax>

    <cost>100</cost>

    <flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/>

    <category name="clothes"/>

    <usage name="Industrial"/>

    <usage name="Coast"/>

    </type>

    <type name="Msp_SleepingBag_Purple"> <!-- <nominal> to <cost> Settings from MountainBag_Blue -->

    <nominal>5</nominal>

    <lifetime>3888000</lifetime> <!-- max. Lifetime -->

    <restock>0</restock>

    <min>3</min>

    <quantmin>-1</quantmin>

    <quantmax>-1</quantmax>

    <cost>100</cost>

    <flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/>

    <category name="clothes"/>

    <usage name="Industrial"/>

    <usage name="Coast"/>

    </type>

    <type name="Msp_SleepingBag_Red"> <!-- <nominal> to <cost> Settings from MountainBag_Red -->

    <nominal>10</nominal>

    <lifetime>3888000</lifetime> <!-- max. Lifetime -->

    <restock>0</restock>

    <min>7</min>

    <quantmin>-1</quantmin>

    <quantmax>-1</quantmax>

    <cost>100</cost>

    <flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/>

    <category name="clothes"/>

    <usage name="Industrial"/>

    <usage name="Coast"/>

    </type>


    Hoffe es kann wer helfen

  • danke, glaub ich bin blind xD

    hab ich aber schon mal komplett zum testen entfernt, dann kam dieser Fehler noch zum Schluss:


    18:17:26 !!! [ERROR][XML] :: load [$CurrentDir:mpmissions\dayzOffline.chernarusplus\db/types.xml] failed

    18:17:26 !!! [ERROR][XML] :: Error reading end tag. line 52155

    18:17:26 !!! [CE][offlineDB] :: Failed to read types file 'db/types.xml'.


    </type>

    <type name="BookBible">

    <nominal>2</nominal>

    <lifetime>1800</lifetime>

    <restock>600</restock>

    <min>1</min>

    <quantmin>-1</quantmin>

    <quantmax>-1</quantmax>

    <cost>100</cost>

    <flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/>

    <category name="tools"/>

    <usage name="Town"/>

    <usage name="Village"/>

    <usage name="School"/>

    </type>

    <!-- DayZ Original REMOVED End -->

    </types>


    Also direkt am Ende, die letzte Zeile

  • Wahrscheinlich fehlt dein Header?!


    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>

    <types>


    Setz das mal in die erste Zeile.

    "Denn wo der Glaube tausend Jahre gesessen hat, eben da sitzt jetzt der Zweifel."

  • Poste mal die ersten 5 Zeilen deiner types.xml. Die Fehlermeldung sagt, Error reading end tag. Ich vermute, das Tag wird nicht geöffnet am Anfang?!


    Oder du hast irgendwo in der Datei ein doppeltes </types>. Such mal nach Dopplern alternativ.

    "Denn wo der Glaube tausend Jahre gesessen hat, eben da sitzt jetzt der Zweifel."

  • <?xml version="1.0" encoding="UTF-8" standalone="yes"?>

    <types>

    <type name="WrittenNote">

    <nominal>0</nominal>

    <lifetime>3888000</lifetime>

    <restock>0</restock>

    <min>0</min>

    <quantmin>-1</quantmin>

    <quantmax>-1</quantmax>

    <cost>100</cost>

    <flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/>

    <category name="tools"/>

    <usage name="Village"/>

    </type>


    Hab zwischen <types> und <type name="WrittenNote"> nur noch viel Text, die ich aber mit <!-- --> ausgegrenzt hab, an denen liegts nicht

  • Habs jetzt nach 7 Stunden gefunden...

    Die Meldung bedeutet das z.B. ein </type> fehlt leider fast ganz unten, indem das ich immer wieder 1000+ Zeilen gelöscht habe konnte ich es eingrenzen.


    Bei anderen Errors hat er mir wenigstens die richtige Zeile genannt.

    danke ;)

  • hab xmlvalidation auch auf dem PC als Software, auch hab ich ca. 8 Online probiert, aber die zeigen auch nichts ans, liegt vtl. an meinen Markierungen <!-- --> da er die als Error sieht udn somit den anderen fehler nicht zeigt