Error reading end tag..

User avatar
JD_Farmer
Posts: 31
Joined: Mon Dec 05, 2011 12:45 pm
Location: Denmark
Contact:

Error reading end tag..

Post by JD_Farmer »

Hi palls!

I have experienced the following errors, and I've never seen them before, so I thought that You guys might could give me a answer :)

Errors:

Error: C:/Users/Mathias/Documents/My Games/FarmingSimulator2015/mods//HEVA_frontWeight/HEVA_weight.xml(60). Error reading end tag..
Error: C:/Users/Mathias/Documents/My Games/FarmingSimulator2015/mods//HEVA_frontWeight/HEVA_weight.xml(60). Error reading end tag..
Error loadVehicle: invalid vehicle config file 'C:/Users/Mathias/Documents/My Games/FarmingSimulator2015/mods//HEVA_frontWeight/HEVA_weight.xml', no type specified


The XML file look like this:

<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="cultivator">
<annotation>Copyright (C) Mafokri Moddeling - pure danish power!</annotation>
<name>
<en>HE-VA Front Weight</en>
<de>HE-VA FrontGewicht</de>
</name>
<typeDesc>$l10n_TypeDesc_Cultivator</typeDesc>
<filename>HEVA_weight.i3d</filename>

<size width="2" length="2" />

<speedLimit value="17" />

<workAreas>
<workArea startIndex="0>0" widthIndex="0>1" heightIndex="0>2" refNodeIndex="0" type="cultivator" chargeValue="1" />
</workAreas>

<groundReferenceNodes>
<groundReferenceNode index="0>" threshold="0.2" depthNode="0>10" />
</groundReferenceNodes>

<!-- recommended horsepower by manufacturer: 100 -->
<powerConsumer neededPtoPower="0" forceNode="0>" maxForce="12" />

<cultivatorSound file="$data/vehicles/tools/cultivatorSound.wav" pitchOffset="1" volume="1"/>

<inputAttacherJoints>
<inputAttacherJoint index="3" jointType="implement" topReferenceNode="4" upperRotationOffset="8" lowerRotationOffset="0" lowerDistanceToGround="0.7" upperDistanceToGround="1.0" />
</inputAttacherJoints>

<attacherJoints>
<attacherJoint index="0>11" jointType="trailerLow" maxRotLimit="20 85 85" minRotRotationOffset="0" allowsJointLimitMovement="false" />
<attacherJoints>

<groundParticleAnimations>
<groundParticleAnimation file="$data/vehicles/particleAnimations/koeckerling/koeckerlingTrio300M.i3d" >
<node index="0>9" animMeshIndex="0|0" refNodeIndex="0" />
</groundParticleAnimation>

<groundParticle file="$data/vehicles/particleAnimations/koeckerling/koeckerlingTrio300M.i3d" >
<node index="0>9" particleIndex="1|0" refNodeIndex="0" />
</groundParticle>
</groundParticleAnimations>

<!--washable dirtDuration="30" washDuration="1" workMultiplier="20" /-->

<aiLeftMarker index="6" />
<aiRightMarker index="7" />
<aiBackMarker index="8" />
<aiNeedsLowering value="true" />
<aiTurnWidthScale value="1" />

<components count="1">
<component1 centerOfMass="0 0.1 0.25" solverIterationCount="10" />
</components>

<schemaOverlay file="$dataS2/menu/schemas/implementSchema.png" fileSelected="$dataS2/menu/schemas/implementSchemaSelected.png" width="0.5" height="0.5" attacherJointPosition="0 0"/>

</vehicle>

The modDesc looks like this:

<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<modDesc descVersion="21">
<author>Mafokri Moddeling</author>
<version>1</version>
<title>
<en>HE-VA Front Weight</en>
<de>HE-VA Frontgewicht</de>
</title>
<description>
<en><![CDATA[by Mafokri Moddeling]]>
</en>
<de><![CDATA[by Mafokri Moddeling]]>
</de>
</description>
<iconFilename>Textures/store.dds</iconFilename>
<multiplayer supported="true"/>

<specializations>
<specialization name="AloeCounterWeight" className="AloeCounterWeight" filename="Scripts/weightAddOn.lua"/>
</specializations>

<vehicleTypes>
<type name="Scheibengewicht" className="Vehicle" filename="$dataS/scripts/vehicles/Vehicle.lua">
<specialization name="attachable" />
<specialization name="AloeCounterWeight" />
</type>
<type name="cultivator" className="Vehicle" filename="$dataS/scripts/vehicles/Vehicle.lua">
<specialization name="attachable" />
</type>
</vehicleTypes>

<storeItems>
<storeItem>
<name>
<de>HE-VA Gewicht</de>
<en>HE-VA Weight</en>
</name>
<rotation>0</rotation>
<image active="Textures/store_johndeere.dds" brand="Textures/brand_heva.dds"/>
<price>810</price>
<dailyUpkeep>7</dailyUpkeep>
<xmlFilename>weight_addOn.xml</xmlFilename>
<brand>John Deere</brand>
<category>weights</category>
<specs>
<power>100</power>
</specs>
</storeItem>
<storeItem>
<name>
<de>HE-VA Front Rahmen</de>
<en>HE-VA Front Frame</en>
</name>
<rotation>0</rotation>
<image active="Textures/store_heva.dds" brand="Textures/brand_heva.dds"/>
<price>810</price>
<dailyUpkeep>7</dailyUpkeep>
<xmlFilename>HEVA_weight.xml</xmlFilename>
<brand>HE-VA</brand>
<category>cultivators</category>
<specs>
<power>100</power>
</specs>
</storeItem>
</storeItems>

<inputBindings>
<input name="ALOE_WEIGHT_LESS" category="VEHICLE" key1="KEY_comma" key2="" button="" device="0" mouse="" />
<input name="ALOE_WEIGHT_MORE" category="VEHICLE" key1="KEY_period" key2="" button="" device="0" mouse="" />
</inputBindings>

<l10n>
<text name="ALOE_WEIGHT_LESS">
<de>Gewicht veringern</de>
<en>Scale down the mass</en>
</text>
<text name="ALOE_WEIGHT_MORE">
<de>Gewicht erhöhen</de>
<en>Raise the mass</en>
</text>
<text name="ALOE_WEIGHT_CURRENTMASS">
<de>Aktuelles Gewicht: %d kg von %d kg</de>
<en>Current Mass: %d kg of %d kg </en>
</text>
</l10n>
</modDesc>



Regards,

Mathias
Error: Not all attributes for human being was found! :!:
User avatar
bassaddict
GIANTS Software | Web/Script Programmer
Posts: 11983
Joined: Tue Nov 29, 2011 2:44 pm
Location: ER, DE

Re: Error reading end tag..

Post by bassaddict »

The attacherJoints tag isn't closed correctly, the / is missing.
tater salad
Posts: 55
Joined: Sat Nov 10, 2012 7:09 am

Re: Error reading end tag..

Post by tater salad »

Line 34 is one problem.

This is the current state of lines 32 thru 34

Code: Select all

<attacherJoints>
	<attacherJoint index="0>11" jointType="trailerLow" maxRotLimit="20 85 85" minRotRotationOffset="0" allowsJointLimitMovement="false" /> 
<attacherJoints>
Change it to this

Code: Select all

<attacherJoints>
	<attacherJoint index="0>11" jointType="trailerLow" maxRotLimit="20 85 85" minRotRotationOffset="0" allowsJointLimitMovement="false" /> 
</attacherJoints>

Try that and see if the problem is solved.

edit: Bass beat me to it. :)
tom42728
Posts: 212
Joined: Tue Jul 31, 2012 11:38 pm

Re: Error reading end tag..

Post by tom42728 »

I see this too

Code: Select all

<!--washable dirtDuration="30" washDuration="1" workMultiplier="20" /-->
shouldn't it be

Code: Select all

<washable dirtDuration="30" washDuration="1" workMultiplier="20" />
and vehicle type is cultivator correct

Code: Select all

<vehicle type="cultivator">
in the game weights uses

Code: Select all

<vehicle type="implement">
Platform: PC
Specs: ASUS ROG Strix x570 MB, Ryzen 9 x5950 CPU, 128gig DDR4 Ram and GTX 1660 SC Ultra Graphics Card
User avatar
JD_Farmer
Posts: 31
Joined: Mon Dec 05, 2011 12:45 pm
Location: Denmark
Contact:

Re: Error reading end tag..

Post by JD_Farmer »

Thank you guys!! I'll see if it helps me off with my problem :)

The reson why the "washable" code is looking like that is that I have disabled it for a little time until I have created the specular file for the textures :)
Error: Not all attributes for human being was found! :!:
Post Reply