Looking for help (again

Your forum for all discussions around Modding.
User avatar
Farming Girl
Posts: 309
Joined: Thu Aug 02, 2018 12:42 pm

Looking for help (again

Post by Farming Girl » Tue Aug 13, 2019 5:56 pm

I have made a new mod, and i'm having four versions of this, so i'm trying to load the first version into FS19 first to test it, but i keep getting the following error
2019-08-13 19:17 Error: C:/Users/annma/OneDrive/Documents/My Games/FarmingSimulator2019/mods/FS19_MultiSilo/multiSilo.xml. placeable. .
2019-08-13 19:17 Error (C:/Users/annma/OneDrive/Documents/My Games/FarmingSimulator2019/mods/FS19_MultiSilo/multiSilo.xml): No storeData found. StoreItem will be ignored!
I have spent all day looking at my XML files but i cannot see anything wrong

modDesc
<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<modDesc descVersion="44">
<author>C+S Modding, Annmarie</author>
<version>1.0.0.0</version>
<title>
<en>Crop Care Silos</en>
<de>Ernte Sorgfalt Silos</de>
</title>
<description>
<en>
<![CDATA[A set of small silos where you can buy Fertiliser Lime and Seeds all with Free Delivery! Available as a set of three or single silos!
]]>
</en>
<de>
<![CDATA[Eine Reihe von kleinen Silos, wo Sie Dünger Kalk und Samen alle mit kostenloser Lieferung kaufen können! Erhältlich als Satz von drei oder einzelnen Silos!]]>
</de>
</description>
<iconFilename>icon.dds</iconFilename>
<multiplayer supported="true"/>

<brands>
<brand name="CNS" title="CNS Farming Solutions" image="brand_cNs.dds"/>
</brands>



<storeItems>
<storeItem xmlFilename="multiSilo.xml" />
</storeItems>


<l10n>
<text name="shopItem_multiSilo">
<en>Multi Silo</en>
<de>Multi Silo</de>
</text>
<text name="shopItem_seedSilo">
<en>Seed Silo</en>
<de>Samensilo</de>
</text>
<text name="shopItem_fertiliserSilo">
<en>Fertiliser Silo</en>
<de>DüngerSilo</de>
</text>
<text name="shopItem_limeSilo">
<en>Lime Silo</en>
<de>Lime Silo</de>
</text>
<text name="function_multiSilo">
<en>You can Buy Seeds, Fertiliser and Lime from here with free Delivery.</en>
<de>Sie können Samen, Dünger und Limette von hier mit kostenloser Lieferung kaufen.</de>
</text>
<text name="function_seedSilo">
<en>You can Buy Seeds from here with free Delivery.</en>
<de>Sie können Samen von hier mit kostenloser Lieferung kaufen.</de>
</text>
<text name="function_fertiliserSilo">
<en>You can Buy Fertiliser from here with free Delivery.</en>
<de>Sie können Dünger von hier mit kostenloser Lieferungkaufen .</de>
</text>
<text name="function_limeSilo">
<en>You can Buy Lime from here with free Delivery.</en>
<de>Sie können Lime von hier mit kostenloser Lieferung kaufen.</de>
</text>
</l10n>
</modDesc>
Mod XML File
<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<placeable>
<storeData>
<name>$l10n_shopItem_mutliSilo</name>
<functions>
<function>$l10n_function_multiSilo</function>
</functions>
<image>store_multiSilo.dds</image>
<price>7500</price>
<dailyUpkeep>10</dailyUpkeep>
<lifetime>1000</lifetime>
<rotation>0</rotation>
<brand>cns</brand>
<species>placeable</species>
<category>placeableMisc</category>
<vertexBufferMemoryUsage>27336</vertexBufferMemoryUsage>
<indexBufferMemoryUsage>4596</indexBufferMemoryUsage>
<textureMemoryUsage>1312480</textureMemoryUsage>
<instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
<instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
</storeData>
<placeableType>buyingStation</placeableType>
<filename>multiSilo.i3d</filename>
<placement testSizeX="2" testSizeZ="7" sizeX="2" sizeZ="7" useRandomYRotation="false" useManualYRotation="true"/>
<clearAreas>
<clearArea startNode="1|0" widthNode="1|0|0" heightNode="1|0|1"/>
</clearAreas>
<hotspots>
<hotspot name="Crop Care Silos" fullName="CNS Crop Care Silos" imageName="SELLING_POINT" hidable="true" linkNode="1|2" category="CATEGORY_TRIGGERS"/>
</hotspots>
<leveling requireLeveling="true" maxSmoothDistance="2" maxSlope="5" maxEdgeAngle="20"/>
<levelAreas>
<levelArea startNode="1|0" widthNode="1|0|0" heightNode="1|0|1" groundType="asphalt"/>
</levelAreas>
</leveling>
<tipOcclusionUpdateArea sizeX="2" sizeZ="7"/>
<placement testSizeX="2" testSizeZ="7" sizeX="2" sizeZ="7" useRandomYRotation="false" useManualYRotation="true" />


<buyingStation stationName="Crop Care Sils" appearsOnPDA="false" storageRadius="0" fillSoundIdentifier="fillSound01"/>
<loadTrigger triggerNode="0|0|0|0" fillLitersPerSecond="2000" dischargeNode="0|0|0|1"/>
<effectNode effectClass="PipeEffect" effectNode="0|0|0|2|0" materialType="pipe" materialTypeId="1" fadeTime="0.5" maxBending="0" controlPoint="3.75 0 0 0"/>
<effectNode effectNode="0|0|0|2|1" materialType="smoke" materialTypeId="1" fadeTime="0.5"/>
</loadTrigger>
<fillType name="seeds" priceScale="1.1"/>
<fillType name="lime" priceScale="1.1"/>
<fillType name="Fertilizer" priceScale="1.10"/>
</buyingStation>
</placeable>
I'm hoping someone can help me with this please, i know im a pain but i have spent hours trying to find the issue

edit, wrong log file listed, i have now listed the correct one, i changed the name format to try and make things clearer to see, but it didn't work, sorry about that

Thanks
Last edited by Farming Girl on Tue Aug 13, 2019 8:23 pm, edited 1 time in total.
Ann-Marie

C&S Modding

Way2drunk2walk
Posts: 187
Joined: Sat May 13, 2017 7:32 am
Location: Somewhere down in Texas

Re: Looking for help (again

Post by Way2drunk2walk » Tue Aug 13, 2019 7:45 pm

Maybe I am missing it but I don't see the CropCareM.xml being referenced anywhere.
I do see in the moddesc "multiSilo.xml"

Perhaps that is the problem. Hope this helps.
"Texas has yet to learn submission to any oppression, come from what source it may." Samuel Houston
Farming on PC

User avatar
cwattyeso
Posts: 1212
Joined: Tue Nov 27, 2018 3:58 pm
Contact:

Re: Looking for help (again

Post by cwattyeso » Tue Aug 13, 2019 7:54 pm

Yeah I would say the fact you don't have a CropCareM.xml listed under the StoreItems in the Moddesc.xml is what is causing you the problem. Maybe you have named your mod xml the wrong name, or you have multiple xmls in your mod, however from your moddesc you're only actually loading one the multiSilo.xml
Check out my YouTube Channel for Farming Simulator and other Gaming Let's Plays and Videos at https://www.youtube.com/c/CwattyesoGamingforFun :D

Also be sure to check out my Twitch Channel for my Farming Simulator Live Streams and Multiplayer Server at https://www.twitch.tv/cwattyeso :this:

GIANTS SOFTWARE Personal Partner Code: CWATTYESO *thumbsup*

User avatar
Farming Girl
Posts: 309
Joined: Thu Aug 02, 2018 12:42 pm

Re: Looking for help (again

Post by Farming Girl » Tue Aug 13, 2019 8:24 pm

i am only loading one of the choices to get the bugs out, then i was going to add the other three into the modDisc
Ann-Marie

C&S Modding

User avatar
Farming Girl
Posts: 309
Joined: Thu Aug 02, 2018 12:42 pm

Re: Looking for help (again

Post by Farming Girl » Fri Aug 16, 2019 2:24 pm

Hey guys, i still haven't figured out the above, the files are the current ones listed above, i'm hoping someone can help me
Ann-Marie

C&S Modding

User avatar
don_apple
Moderator
Posts: 5926
Joined: Thu Oct 28, 2010 9:31 pm
Location: Planet Erde

Re: Looking for help (again

Post by don_apple » Fri Aug 16, 2019 2:36 pm

Could you post the xml files using the "code" tags instead of "spoiler" tags? Seeing them as real code should make it easier to spot errors.
Gruß/Regards,
don_apple

Apple iMac 27" (late 2013), Quad-Core i7 3.5 GHz, 16GB, Nvidia GTX 780M
Bitte benutzt das öffentliche Forum für Supportfragen und nicht PN/Please use the public forum for support questions and not PM
Wo findet man den FarmingSimulator Ordner / Where to find the FarmingSimulator folder log.txt Image Server Forenregeln/Board rules

User avatar
Farming Girl
Posts: 309
Joined: Thu Aug 02, 2018 12:42 pm

Re: Looking for help (again

Post by Farming Girl » Fri Aug 16, 2019 2:38 pm

Ok no problem
Ann-Marie

C&S Modding

User avatar
Farming Girl
Posts: 309
Joined: Thu Aug 02, 2018 12:42 pm

Re: Looking for help (again

Post by Farming Girl » Fri Aug 16, 2019 2:45 pm

Here are the latest HtMl Files, they might be slightly different from above, i have tried all different ways solve this

modDesc

Code: Select all

<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<modDesc descVersion="44">
    <author>C+S Modding, Annmarie</author>
    <version>1.0.0.0</version>
    <title>
        <en>Crop Care Silos</en>
		<de>Ernte Sorgfalt Silos</de>		
    </title>
    <description>
        <en>
            <![CDATA[A set of small silos where you can buy Fertiliser Lime and Seeds all with Free Delivery! Available as a set of three or single silos!
]]>
        </en>
        <de>
            <![CDATA[Eine Reihe von kleinen Silos, wo Sie Dünger Kalk und Samen alle mit kostenloser Lieferung kaufen können! Erhältlich als Satz von drei oder einzelnen Silos!]]>
        </de>
    </description>
	<iconFilename>icon.dds</iconFilename>
	<multiplayer supported="true"/>
	
	<brands>
        <brand name="CNS" title="CNS Farming Solutions" image="brand_cNs.dds"/>
    </brands>
	
    <storeItems>
        <storeItem xmlFilename="multiSilo.xml" />
    </storeItems>
	

	<l10n>
	  <text name="shopItem_multiSilo">
		<en>Multi Silo</en>
		<de>Multi Silo</de>
	  </text>
	  <text name="shopItem_seedSilo">
		<en>Seed Silo</en>
		<de>Samensilo</de>
	  </text>
	  <text name="shopItem_fertiliserSilo">
		<en>Fertiliser Silo</en>
		<de>DüngerSilo</de>
	  </text>
	  <text name="shopItem_limeSilo">
		<en>Lime Silo</en>
		<de>Lime Silo</de>
	  </text>
	  <text name="function_multiSilo">
		<en>You can Buy Seeds, Fertiliser and Lime from here with free Delivery.</en>
		<de>Sie können Samen, Dünger und Limette von hier mit kostenloser Lieferung kaufen.</de>
	  </text>
	  <text name="function_seedSilo">
		<en>You can Buy Seeds from here with free Delivery.</en>
		<de>Sie können Samen von hier mit kostenloser Lieferung kaufen.</de>
	  </text>
	  <text name="function_fertiliserSilo">
		<en>You can Buy Fertiliser from here with free Delivery.</en>
		<de>Sie können Dünger von hier mit kostenloser Lieferungkaufen .</de>
	  </text>
	  <text name="function_limeSilo">
		<en>You can Buy Lime from here with free Delivery.</en>
		<de>Sie können Lime von hier mit kostenloser Lieferung kaufen.</de>
	  </text>
	</l10n>
</modDesc>
MultiSilo.xml

Code: Select all

<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<placeable>
	 <storeData>
		<name>$l10n_shopItem_mutliSilo</name>
		<functions>
			<function>$l10n_function_multiSilo</function>
		</functions>
		<image>store_multiSilo.dds</image>
		<price>7500</price>
		<dailyUpkeep>10</dailyUpkeep>
		<lifetime>1000</lifetime>
		<rotation>0</rotation>
		<brand>cns</brand>
		<species>placeable</species>
		<category>placeableMisc</category>
		<vertexBufferMemoryUsage>27336</vertexBufferMemoryUsage>
		<indexBufferMemoryUsage>4596</indexBufferMemoryUsage>
		<textureMemoryUsage>1312480</textureMemoryUsage>
		<instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
		<instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
	 </storeData>
	 
	 
    <placeableType>buyingStation</placeableType>
    <filename>multiSilo.i3d</filename>
	    <placement testSizeX="2" testSizeZ="7" sizeX="2" sizeZ="7" useRandomYRotation="false" useManualYRotation="true"/>
        <clearAreas>
        <clearArea startNode="1|0" widthNode="1|0|0" heightNode="1|0|1"/>
    </clearAreas>
    <leveling requireLeveling="true" maxSmoothDistance="2" maxSlope="5" maxEdgeAngle="20"/>
        <levelAreas>
            <levelArea startNode="1|0" widthNode="1|0|0" heightNode="1|0|1" groundType="asphalt"/>
        </levelAreas>
    </leveling>
    <tipOcclusionUpdateArea sizeX="2" sizeZ="7"/>
    <placement testSizeX="2" testSizeZ="7" sizeX="2" sizeZ="7" useRandomYRotation="false" useManualYRotation="true" />
    
	
    <buyingStation stationName="Crop Care Sils" appearsOnPDA="false" storageRadius="0" fillSoundIdentifier="fillSound01"/>
        <loadTrigger triggerNode="0|0|0|0" fillLitersPerSecond="2000" dischargeNode="0|0|0|1"/>
            <effectNode effectClass="PipeEffect" effectNode="0|0|0|2|0" materialType="pipe" materialTypeId="1" fadeTime="0.5" maxBending="0" controlPoint="3.75 0 0 0"/>
            <effectNode effectNode="0|0|0|2|1" materialType="smoke" materialTypeId="1" fadeTime="0.5"/>
        </loadTrigger>
        <fillType name="seeds" priceScale="1.1"/>
        <fillType name="lime" priceScale="1.1"/>
        <fillType name="Fertilizer" priceScale="1.10"/>
 	</buyingStation>   
</placeable>
Any help would be great!
Ann-Marie

C&S Modding

User avatar
don_apple
Moderator
Posts: 5926
Joined: Thu Oct 28, 2010 9:31 pm
Location: Planet Erde

Re: Looking for help (again

Post by don_apple » Fri Aug 16, 2019 3:21 pm

I checked the code with xmllint, and it gave the following errors for the MultiSilo.xml:

Code: Select all

xmllint multisilo.xml 
multisilo.xml:34: parser error : Opening and ending tag mismatch: placeable line 2 and leveling
    </leveling>
               ^
multisilo.xml:35: parser error : Extra content at the end of the document
    <tipOcclusionUpdateArea sizeX="2" sizeZ="7"/>
    ^
After removing the '/' at the end of line 34 so that it looks like

Code: Select all

<leveling requireLeveling="true" maxSmoothDistance="2" maxSlope="5" maxEdgeAngle="20">
the error was gone, but then the error was reported again a few lines lower.

After changing the following lines as well to remove the '/' at the end xmllint didn't complain anymore:

Code: Select all

<buyingStation stationName="Crop Care Sils" appearsOnPDA="false" storageRadius="0" fillSoundIdentifier="fillSound01">
        <loadTrigger triggerNode="0|0|0|0" fillLitersPerSecond="2000" dischargeNode="0|0|0|1">
...
Basically the issue is that if you have a section that is enclosed with a start and end tag you can't have a '/' before the '>' at the end of the start tag, even if there are additional options specified in the start tag:

Wrong code:

Code: Select all

<start tag options/>
...
</end tag>
Correct code:

Code: Select all

<start tag options>
...
</end tag>
Gruß/Regards,
don_apple

Apple iMac 27" (late 2013), Quad-Core i7 3.5 GHz, 16GB, Nvidia GTX 780M
Bitte benutzt das öffentliche Forum für Supportfragen und nicht PN/Please use the public forum for support questions and not PM
Wo findet man den FarmingSimulator Ordner / Where to find the FarmingSimulator folder log.txt Image Server Forenregeln/Board rules

User avatar
Farming Girl
Posts: 309
Joined: Thu Aug 02, 2018 12:42 pm

Re: Looking for help (again

Post by Farming Girl » Fri Aug 16, 2019 3:24 pm

Thanks very much, I’ll make the amendments, you are great, I really appreciate your time,.
Ann-Marie

C&S Modding

User avatar
Farming Girl
Posts: 309
Joined: Thu Aug 02, 2018 12:42 pm

Re: Looking for help (again

Post by Farming Girl » Fri Aug 16, 2019 7:28 pm

Just to say thank you, that didn't work, however i fixed those errors which led me to rewrite the file, i now have it in the game YAY, i have some bugs to work out, but i am working on it, and hopefully within the next few days ill be able to upload to the mod-hub, again thank you for the help, i really do appreciate it as i learn more and more everyday, just to think three months ago i had never even done any 3D modelling nor had i done any coding for over 30 years.
Ann-Marie

C&S Modding

Post Reply