Error Reading end tag

User avatar
MrTomkaot
Posts: 565
Joined: Sat Oct 04, 2014 7:37 pm

Error Reading end tag

Post by MrTomkaot »

Guten Tag

Ich habe ein Problem mit einer Sähmaschine. Ich habe mir aus dem LWS 2013 eine Saatgutmaschine konventiert. Im Shop kann die Drillmaschine nicht gekauft werden.
Logfehler:
Error: C:/Users/Tom/Documents/My Games/FarmingSimulator2015/mods//Fortschritt_A202_DrillmaschineV1_1/Spezi/Rabe.xml(103). Error reading end tag..
Error: C:/Users/Tom/Documents/My Games/FarmingSimulator2015/mods//Fortschritt_A202_DrillmaschineV1_1/Spezi/Rabe.xml(103). Error reading end tag..
Error loadVehicle: invalid vehicle config file 'C:/Users/Tom/Documents/My Games/FarmingSimulator2015/mods//Fortschritt_A202_DrillmaschineV1_1/Spezi/Rabe.xml', no type specified
Rabe.xml:
<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="sowingMachine">
<annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
<name>
<en>Sowing Machine</en>
<de>Sämaschine</de>
</name>
<typeDesc>$l10n_TypeDesc_Seeder</typeDesc>
<filename>Rabe.i3d</filename>
<size width="5.5" length="1.5" lengthOffset="-0.1"/>

<powerConsumer ptoRpm="500" neededPtoPower="20" forceNode="0>" maxForce="12" />
<speedLimit value="20" />

<wheels autoRotateBackSpeed="2.0">
<wheel driveMode="0" repr="1" radius="0.34" deltaY="0.20" suspTravel="0.20" spring="100" damper="0" mass="0.4" />
<wheel driveMode="0" repr="2" radius="0.34" deltaY="0.20" suspTravel="0.20" spring="100" damper="0" mass="0.4" />
</wheels>

<workAreas>
<workAreas count="1">
<workArea1 startIndex="4" widthIndex="5" heightIndex="6"/>
</workAreas>

<foldingParts>
<foldingPart componentJointIndex="0" anchorActor="0" animationClip="foldClipSource" rootNode="0|0" speedScale="1.5" />
</foldingParts>

<groundParticleSystems>
<groundParticleSystem position="0 -0.3 0" rotation="0 0 0" file="$data/vehicles/particleSystems/fieldWorkParticleSystem.i3d" />
<groundParticleSystem position="-0.8 -0.3 0" rotation="0 0 0" file="$data/vehicles/particleSystems/fieldWorkParticleSystem.i3d" />
<groundParticleSystem position="0.8 -0.3 0" rotation="0 0 0" file="$data/vehicles/particleSystems/fieldWorkParticleSystem.i3d" />
</groundParticleSystems>

<lightCoronas>
<lightCorona index="3|1" />
</lightCoronas>

<needsActivation value="true" />

<fillTypes fillTypes="seeds"/>
<capacity>700</capacity>
<startFillLevel>0</startFillLevel>
<fillLitersPerSecond>80</fillLitersPerSecond>

<sowingSound file="$data/vehicles/tools/ploughSound.wav" pitchOffset="0.5" volume="0.3"/>

<attacherJoint index="7" jointType="implement" fixedRotation="true" topReferenceNode="8"/>

<aiLeftMarker index="9" />
<aiRightMarker index="10" />
<aiBackMarker index="11" />

<components count="6">
<component1 centerOfMass="0 0 0" solverIterationCount="40" />
<component2 centerOfMass="0 0 0" solverIterationCount="40" />
<component3 centerOfMass="0 0 0" solverIterationCount="40" />
<component4 centerOfMass="0 0 0" solverIterationCount="40" />
<component5 centerOfMass="0 0 0" solverIterationCount="40" />
<component6 centerOfMass="0 0 0" solverIterationCount="40" />
<joint component1="0" component2="2" index="14" rotLimit="12 0 0" transLimit="0 0 0" />
<joint component1="0" component2="3" index="13" rotLimit="12 0 0" transLimit="0 0 0" />
<joint component1="0" component2="4" index="12" rotLimit="15 0 0" transLimit="0 0 0" />
<joint component1="2" component2="1" index="2>1" rotLimit="12 0 0" transLimit="0 0 0" />
<joint component1="1" component2="3" index="1>1" rotLimit="12 0 0" transLimit="0 0 0" />
<joint component1="2" component2="5" index="2>2" rotLimit="6 0 0" transLimit="0 0 0" />
<joint component1="5" component2="0" index="5>1" rotLimit="12 0 0" transLimit="0 0 0" />
</components>
<fillPlanes>
<fillPlane type="wheat">
<node index="21">
<key time="0" y="0.53714" scale="0.1735 0.4 0.7245"/>
<key time="0.5" y="0.56" scale="0.18 0.4 0.7245"/>
<key time="1" y="0.6" scale="0.19 0.4 0.7245"/>
</node>
</fillPlane>
<fillPlane type="barley">
<node index="21">
<key time="0" y="0.53714" scale="0.1735 0.4 0.7245"/>
<key time="0.5" y="0.56" scale="0.18 0.4 0.7245"/>
<key time="1" y="0.6" scale="0.19 0.4 0.7245"/>
</node>
</fillPlane>
<fillPlane type="maize">
<node index="22">
<key time="0" y="0.53714" scale="0.1735 0.4 0.7245"/>
<key time="0.5" y="0.56" scale="0.18 0.4 0.7245"/>
<key time="1" y="0.6" scale="0.19 0.4 0.7245"/>
</node>
</fillPlane>
<fillPlane type="rape">
<node index="23">
<key time="0" y="0.53714" scale="0.1735 0.4 0.7245"/>
<key time="0.5" y="0.56" scale="0.18 0.4 0.7245"/>
<key time="1" y="0.6" scale="0.19 0.4 0.7245"/>
</node>
</fillPlane>
</fillPlanes>

<massScale value="0.25" />
<fillTypes fruitTypes="wheat barley rape maize grass" />

</vehicle>
Kann mir dort jemand helfen?
Wenn die Glaskugel kommt dann heißt es,log.txt posten!
http://wiki.giants-software.com/index.p ... tig_posten

Tutorial "2 Joysticks mit Lenkrad in LS15 nutzen"
http://forum.giants-software.com/viewto ... 27&t=72854
Johnydriver
Posts: 50
Joined: Sun Oct 17, 2010 10:21 am

Re: Error Reading end tag

Post by Johnydriver »

<workArea count="1">
Das ist zu viel
Last edited by Johnydriver on Thu Dec 10, 2015 11:03 am, edited 1 time in total.
"Die voluminöse Expansion der subterranen Agrarprodukte in reziproker Relation zur intellektuellen Kapazität ihrer Produzenten!"
User avatar
böserlöwe
GIANTS Software | Support Engineer
Posts: 10816
Joined: Thu Oct 01, 2009 10:09 pm
Location: Kreis Schaumburg
Contact:

Re: Error Reading end tag

Post by böserlöwe »

Hi, so ist das wohl nicht ganz richtig.

Die Reihenfolge sollte lauten:
<workAreas>
<workArea count="1">
<workArea1 startIndex="4" widthIndex="5" heightIndex="6"/>
</workAreas>
User avatar
MrTomkaot
Posts: 565
Joined: Sat Oct 04, 2014 7:37 pm

Re: Error Reading end tag

Post by MrTomkaot »

Vielen Dank für die Hilfe

Jetzt ist nur noch dieser Eintrag in der log.txt
Warning: Invalid refNodeIndex '0' in 'C:/Users/Tom/Documents/My Games/FarmingSimulator2015/mods//Fortschritt_A202_DrillmaschineV1_1/Spezi/Rabe.xml'! Using default groundreferencenode!
Warning: Invalid refNodeIndex '0' in 'C:/Users/Tom/Documents/My Games/FarmingSimulator2015/mods//Fortschritt_A202_DrillmaschineV1_1/Spezi/Rabe.xml'! Using default groundreferencenode!
Warning: Invalid refNodeIndex '0' in 'C:/Users/Tom/Documents/My Games/FarmingSimulator2015/mods//Fortschritt_A202_DrillmaschineV1_1/Spezi/Rabe.xml'! Using default groundreferencenode!
Warning: No ground reference nodes in C:/Users/Tom/Documents/My Games/FarmingSimulator2015/mods//Fortschritt_A202_DrillmaschineV1_1/Spezi/Rabe.xml
Verbesserte XML:
<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="sowingMachine">
<annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
<name>
<en>Sowing Machine</en>
<de>Sämaschine</de>
</name>
<typeDesc>$l10n_TypeDesc_Seeder</typeDesc>
<filename>Rabe.i3d</filename>
<size width="5.5" length="1.5" lengthOffset="-0.1"/>

<powerConsumer ptoRpm="500" neededPtoPower="20" forceNode="0>" maxForce="12" />
<speedLimit value="20" />

<wheels autoRotateBackSpeed="2.0">
<wheel driveMode="0" repr="1" radius="0.34" deltaY="0.20" suspTravel="0.20" spring="100" damper="0" mass="0.4" />
<wheel driveMode="0" repr="2" radius="0.34" deltaY="0.20" suspTravel="0.20" spring="100" damper="0" mass="0.4" />
</wheels>

<workAreas>
<workArea1 startIndex="4" widthIndex="5" heightIndex="6"/>
</workAreas>

<foldingParts>
<foldingPart componentJointIndex="0" anchorActor="0" animationClip="foldClipSource" rootNode="0|0" speedScale="1.5" />
</foldingParts>

<groundParticleSystems>
<groundParticleSystem position="0 -0.3 0" rotation="0 0 0" file="$data/vehicles/particleSystems/fieldWorkParticleSystem.i3d" />
<groundParticleSystem position="-0.8 -0.3 0" rotation="0 0 0" file="$data/vehicles/particleSystems/fieldWorkParticleSystem.i3d" />
<groundParticleSystem position="0.8 -0.3 0" rotation="0 0 0" file="$data/vehicles/particleSystems/fieldWorkParticleSystem.i3d" />
</groundParticleSystems>

<lightCoronas>
<lightCorona index="3|1" />
</lightCoronas>

<needsActivation value="true" />

<fillTypes fillTypes="seeds"/>
<capacity>700</capacity>
<startFillLevel>0</startFillLevel>
<fillLitersPerSecond>80</fillLitersPerSecond>

<sowingSound file="$data/vehicles/tools/ploughSound.wav" pitchOffset="0.5" volume="0.3"/>

<attacherJoint index="7" jointType="implement" fixedRotation="true" topReferenceNode="8"/>

<aiLeftMarker index="9" />
<aiRightMarker index="10" />
<aiBackMarker index="11" />

<components count="6">
<component1 centerOfMass="0 0 0" solverIterationCount="40" />
<component2 centerOfMass="0 0 0" solverIterationCount="40" />
<component3 centerOfMass="0 0 0" solverIterationCount="40" />
<component4 centerOfMass="0 0 0" solverIterationCount="40" />
<component5 centerOfMass="0 0 0" solverIterationCount="40" />
<component6 centerOfMass="0 0 0" solverIterationCount="40" />
<joint component1="0" component2="2" index="14" rotLimit="12 0 0" transLimit="0 0 0" />
<joint component1="0" component2="3" index="13" rotLimit="12 0 0" transLimit="0 0 0" />
<joint component1="0" component2="4" index="12" rotLimit="15 0 0" transLimit="0 0 0" />
<joint component1="2" component2="1" index="2>1" rotLimit="12 0 0" transLimit="0 0 0" />
<joint component1="1" component2="3" index="1>1" rotLimit="12 0 0" transLimit="0 0 0" />
<joint component1="2" component2="5" index="2>2" rotLimit="6 0 0" transLimit="0 0 0" />
<joint component1="5" component2="0" index="5>1" rotLimit="12 0 0" transLimit="0 0 0" />
</components>
<fillPlanes>
<fillPlane type="wheat">
<node index="21">
<key time="0" y="0.53714" scale="0.1735 0.4 0.7245"/>
<key time="0.5" y="0.56" scale="0.18 0.4 0.7245"/>
<key time="1" y="0.6" scale="0.19 0.4 0.7245"/>
</node>
</fillPlane>
<fillPlane type="barley">
<node index="21">
<key time="0" y="0.53714" scale="0.1735 0.4 0.7245"/>
<key time="0.5" y="0.56" scale="0.18 0.4 0.7245"/>
<key time="1" y="0.6" scale="0.19 0.4 0.7245"/>
</node>
</fillPlane>
<fillPlane type="maize">
<node index="22">
<key time="0" y="0.53714" scale="0.1735 0.4 0.7245"/>
<key time="0.5" y="0.56" scale="0.18 0.4 0.7245"/>
<key time="1" y="0.6" scale="0.19 0.4 0.7245"/>
</node>
</fillPlane>
<fillPlane type="rape">
<node index="23">
<key time="0" y="0.53714" scale="0.1735 0.4 0.7245"/>
<key time="0.5" y="0.56" scale="0.18 0.4 0.7245"/>
<key time="1" y="0.6" scale="0.19 0.4 0.7245"/>
</node>
</fillPlane>
</fillPlanes>

<massScale value="0.25" />
<fillTypes fruitTypes="wheat barley rape maize grass" />

</vehicle>
Könnte mir dabei einer helfen?
Wenn die Glaskugel kommt dann heißt es,log.txt posten!
http://wiki.giants-software.com/index.p ... tig_posten

Tutorial "2 Joysticks mit Lenkrad in LS15 nutzen"
http://forum.giants-software.com/viewto ... 27&t=72854
User avatar
MrTomkaot
Posts: 565
Joined: Sat Oct 04, 2014 7:37 pm

Re: Error Reading end tag

Post by MrTomkaot »

[quote="MrTomkaot"]Vielen Dank für die Hilfe

Jetzt ist nur noch dieser Eintrag in der log.txt
Warning: Invalid refNodeIndex '0' in 'C:/Users/Tom/Documents/My Games/FarmingSimulator2015/mods//Fortschritt_A202_DrillmaschineV1_1/Spezi/Rabe.xml'! Using default groundreferencenode!
Warning: Invalid refNodeIndex '0' in 'C:/Users/Tom/Documents/My Games/FarmingSimulator2015/mods//Fortschritt_A202_DrillmaschineV1_1/Spezi/Rabe.xml'! Using default groundreferencenode!
Warning: Invalid refNodeIndex '0' in 'C:/Users/Tom/Documents/My Games/FarmingSimulator2015/mods//Fortschritt_A202_DrillmaschineV1_1/Spezi/Rabe.xml'! Using default groundreferencenode!
Warning: No ground reference nodes in C:/Users/Tom/Documents/My Games/FarmingSimulator2015/mods//Fortschritt_A202_DrillmaschineV1_1/Spezi/Rabe.xml
Den gesuchten Eintrag hab ich gefunden, wie soll ich diese Einträge in meine Sähmaschine anpassen?

Danke im Vorraus
Wenn die Glaskugel kommt dann heißt es,log.txt posten!
http://wiki.giants-software.com/index.p ... tig_posten

Tutorial "2 Joysticks mit Lenkrad in LS15 nutzen"
http://forum.giants-software.com/viewto ... 27&t=72854
User avatar
böserlöwe
GIANTS Software | Support Engineer
Posts: 10816
Joined: Thu Oct 01, 2009 10:09 pm
Location: Kreis Schaumburg
Contact:

Re: Error Reading end tag

Post by böserlöwe »

Der rootNode sollte die Basis der Verbindung sein, das kann aber nicht der index 0 sein, das wäre das Hauptopjekt selbst.
Das ist eine falsche Verbindung durch angabe des falschen Index.
In der xml muss dann nur der richtige Index zu dem Ursprung des Fehlers angegeben werden.
Bei einer Bewegung gibt es einemal den Drehpunkt und die bewegten Achsen oder Punkte die sich um den Drehpunkt rotieren.
NootNode muss dnan immer der Index sein der auf diesen Drehpunkt verweist.
Von dem die Bewegung ausgeht oder ausgehen soll.
Das kann aber wie gesagt nicht das ganze Objekt mit Index 0 sein. Deshalb hier der Fehler.
In der i3d musst du also nur den richtigen Index für die Einträge finden, dann den Index als Zahl rauslesen und in der xml anstatt der 0 eintragen.
Post Reply