So, I'm getting an error when trying to load items when starting the game. It's giving me an error, telling me that I have an "s" instead of a ">" on line 2723. I've looked through every file at this point at line 2723 and 20 lines on each side of it and cannot find a single instance of this being true... Any idea why it would be giving me this issue...?
Here is the error code, in case the exact error code is needed:
2018-09-24T13:25:55 13.842 ERR Loading and parsing xml (Expected >, but found s [115] Line 2723, position 10.)
Line 2690 - 2765 (items.xml)
And here is recipes.xml from 2711 - 2737
Here is the error code, in case the exact error code is needed:
2018-09-24T13:25:55 13.842 ERR Loading and parsing xml (Expected >, but found s [115] Line 2723, position 10.)
Line 2690 - 2765 (items.xml)
Code:
<item id="183" name="molotovCocktail">
<property name="Class" value="ItemClassTimeBomb"/>
<property name="Material" value="organic"/>
<property name="Meshfile" value="Items/Weapons/Ranged/Molotov/molotovPrefab"/>
<property name="HoldType" value="54"/>
<property name="DropScale" value="2"/>
<property name="ThrowableDecoy" value="true"/>
<property name="FuelValue" value="60"/>
<property name="Stacknumber" value="40"/> <!-- STK explosives -->
<property name="Explosion.BlockDamage" value="5"/>
<property name="Explosion.EntityDamage" value="5"/>
<property name="Explosion.ParticleIndex" value="10"/>
<property name="Explosion.RadiusBlocks" value="3"/>
<property name="Explosion.RadiusEntities" value="4"/>
<property name="Explosion.RadiusBuffs" value="3"/> <!-- int, default is same as RadiusBlocks -->
<property name="Explosion.BlastPower" value="70"/>
<property name="Explosion.DamageBonus.stone" value="0.1"/>
<property name="Explosion.DamageBonus.metal" value="0"/>
<property name="Explosion.DamageBonus.earth" value="0"/>
<property name="Explosion.DamageBonus.water" value="0"/>
<property name="Explosion.DamageBonus.wood" value="6"/>
<property name="FuseTime" value="20000"/> <!-- theoretically redundant but I don't want to experiment on this -->
<property name="Explosion.Buff" value="burningMolotov"/>
<property name="Explosion.Buff_chance" value="1"/>
<property name="ExplodeOnHit" value="true"/>
<property class="Action0">
<property name="Class" value="ThrowAway"/>
<!-- <property name="Hitmask_override" value="Arrow"/> unfortunately this cannot work without a serious rewrite of the hitmask system -->
<property name="Delay" value="1.2"/>
<property name="Explosion.ParticleIndex" value="7"/>
<property name="Throw_strength_default" value="14"/>
<property name="Throw_strength_max" value="25"/>
<property name="Max_strain_time" value="1.5"/>
<property name="Sound_start" value="swoosh"/>
</property>
<!-- <property class="Action1">
<property name="Class" value="Activate"/>
<property name="Delay" value="1"/>
</property> -->
<property name="EconomicValue" value="41"/>
<property name="Group" value="Ammo/Weapons"/>
<property name="CraftingSkillGroup" value="craftSkillScience"/>
</item>
<item id="186" name="flare">
<property name="Class" value="ItemClassTimeBomb"/>
<property name="Meshfile" value="Items/Weapons/Ranged/PipeBomb/PipeBombPrefab"/>
<property name="Material" value="metal"/>
<property name="HoldType" value="25"/>
<property name="Stacknumber" value="40"/> <!-- STK explosives -->
<property name="EconomicValue" value="5"/>
<property name="EconomicBundleSize" value="1"/>
<property name="SellableToTrader" value="false"/>
<property name="Explosion.BlockDamage" value="1"/>
<property name="Explosion.EntityDamage" value="1"/>
<property name="Explosion.ParticleIndex" value="1"/>
<property name="Explosion.RadiusBlocks" value="1"/>
<property name="Explosion.RadiusEntities" value="1"/>
<property name="FuseTime" value="4"/> <!-- End: Needed for time in sec, max 6 -->
<property name="DropScale" value="2"/>
<property class="Action0"> <!-- AttackAction -->
<property name="Class" value="ThrowAway"/>
<property name="Delay" value="1.2"/>
<property name="Throw_strength_default" value="8"/>
<property name="Throw_strength_max" value="30"/>
<property name="Max_strain_time" value="1.5"/>
<property name="Sound_start" value="swoosh"/>
</property>
<property class="Action1"> <!-- UseAction -->
<property name="Class" value="Activate"/>
<property name="Delay" value="1"/>
</property>
<property name="ThrowableDecoy" value="true"/>
<property name="Group" value="Ammo/Weapons"/>
<property name="CreativeMode" value="Dev"/>
</item>
Code:
<recipe name="militaryHelmetLight" count="1" >
<ingredient name="ductTape" count="1" />
<ingredient name="flashlight02" count="1" />
<ingredient name="militaryHelmet" count="1" />
</recipe>
<recipe name="swatHelmetLight" count="1" >
<ingredient name="ductTape" count="1" />
<ingredient name="flashlight02" count="1" />
<ingredient name="swatHelmet" count="1" />
</recipe>
<recipe name="scrapHelmetLight" count="1" >
<ingredient name="ductTape" count="1" />
<ingredient name="flashlight02" count="1" />
<ingredient name="scrapHelmet" count="1" />
</recipe>
<recipe name="steelHelmetLight" count="1" >
<ingredient name="ductTape" count="1" />
<ingredient name="flashlight02" count="1" />
<ingredient name="steelHelmet" count="1" />
</recipe>
<recipe name="Lockpick" count="1" craft_time="20">
<ingredient name="scrapIron" count="5"/>
</recipe>
Last edited by a moderator: