Placeable.lua(1094)

Vos forums pour toutes les discussions sur le modding.
Guilhome
Posts: 30
Joined: Sat Nov 24, 2018 10:05 pm

Placeable.lua(1094)

Post by Guilhome »

Bonjour à tous,

J'ai un petit problème sur la map que je suis sur le point de terminer!

J'ai ces messages lorsque je lance une partie en facile (avec les véhicules de démarrage)
"2020-05-04 16:01 data/placeables/bunkerSilo/bunkerSiloSmallDouble.i3d (2.14 ms)
2020-05-04 16:01 Error: Running LUA method 'update'.
2020-05-04 16:01 dataS/scripts/placeables/Placeable.lua(1094) : attempt to index local 'storeItem' (a nil value)
2020-05-04 16:01 Z:/fs19/farming mapping mods/FS19_Unzent_Map_FR/maps/farmSilos/farmSilo.i3d (5.12 ms)
2020-05-04 16:01 Error: Running LUA method 'update'.
2020-05-04 16:01 dataS/scripts/placeables/Placeable.lua(1094) : attempt to index local 'storeItem' (a nil value)
2020-05-04 16:01 Z:/fs19/farming mapping mods/FS19_Unzent_Map_FR/maps/animalHusbandry/husbandryCowLarge.i3d (98.79 ms)
2020-05-04 16:01 Error: Running LUA method 'update'.
2020-05-04 16:01 dataS/scripts/placeables/Placeable.lua(1094) : attempt to index local 'storeItem' (a nil value)
2020-05-04 16:01 Z:/fs19/farming mapping mods/FS19_Unzent_Map_FR/maps/animalHusbandry/husbandryPigLarge.i3d (5.29 ms)
2020-05-04 16:01 Error: Running LUA method 'update'.
2020-05-04 16:01 dataS/scripts/placeables/Placeable.lua(1094) : attempt to index local 'storeItem' (a nil value)
2020-05-04 16:01 Z:/fs19/farming mapping mods/FS19_Unzent_Map_FR/maps/animalHusbandry/husbandrySheepLarge.i3d (35.08 ms)
2020-05-04 16:01 Error: Running LUA method 'update'.
2020-05-04 16:01 dataS/scripts/placeables/Placeable.lua(1094) : attempt to index local 'storeItem' (a nil value)
2020-05-04 16:01 Z:/fs19/farming mapping mods/FS19_Unzent_Map_FR/maps/animalHusbandry/husbandryHorseLarge.i3d (0.55 ms)
2020-05-04 16:01 Error: Running LUA method 'update'.
2020-05-04 16:01 dataS/scripts/placeables/Placeable.lua(1094) : attempt to index local 'storeItem' (a nil value)"

J'ai fait beaucoup de tests et de modiff mais rien n'y fait!

Auriez-vous des indications?

D'avance merci!

Guilhome
Attachments
log.txt
LOG
(19.66 KiB) Downloaded 122 times
User avatar
claude 68
Posts: 1270
Joined: Sun Nov 16, 2014 12:20 pm
Location: Alsace

Re: Placeable.lua(1094)

Post by claude 68 »

Bonsoir

Tu as un soucis avec le StoreItem.

attempt to index local 'storeItem' (a nil value) = tentative d'indexation du "storeItem" local (valeur nulle)
Bon jeu à tous
Claude 68 ( joueur PC)

Comment poster votre Log de jeu ==> PUBLIER LE FICHIER LOG du jeu
Comment poster une photo du jeu ==> PUBLIER UNE PHOTO du jeu
Lien pour la version la plus récente du CoursePlay ==> Dernière Version CoursePlay FS22
Lien pour la version la plus récente de l'AutoDrive ==> Dernière Version AutoDrive FS22
FusingGrain
Posts: 701
Joined: Tue Sep 01, 2015 6:32 am

Re: Placeable.lua(1094)

Post by FusingGrain »

merci
Last edited by FusingGrain on Thu Jan 07, 2021 11:54 am, edited 1 time in total.
Guilhome
Posts: 30
Joined: Sat Nov 24, 2018 10:05 pm

Re: Placeable.lua(1094)

Post by Guilhome »

Pour répondre à l'exemple :

J'ai importé la 3D de mon bâtiment, puis placé mes triggers, ensuite export et intégration dans les XML et au mod desc.

Ce que je n'arrive pas a comprendre c'est surtout que cela ne le fait que en mode facile, quand je supprime l'xml defaultVehicles je n'ai plus l'erreur, et en mode moyen ou difficile, pas d'erreur!

La le jeu ne reconnait pas mes enclos en tant que tel, il me dit que je ne possede pas d'enclos ni d'animaux alors que je les ai acheté!

Au besoin je copie mes xml ici car je ne peux pas les mettres en PJ!

Merci encore

PS: y aurait il un discord pour ce genre de discussion? en FR
FusingGrain
Posts: 701
Joined: Tue Sep 01, 2015 6:32 am

Re: Placeable.lua(1094)

Post by FusingGrain »

merci
Last edited by FusingGrain on Thu Jan 07, 2021 11:54 am, edited 1 time in total.
Guilhome
Posts: 30
Joined: Sat Nov 24, 2018 10:05 pm

Re: Placeable.lua(1094)

Post by Guilhome »

DESC
<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<modDesc descVersion="40">
<author>Guilhome</author>
<version>1.0.0.0</version>
<title>
<en>FS19_Unzent_Map_FR</en>
<de>FS19_Unzent_Map_FR</de>
</title>
<description>
<en>This is the Unzent_Map_FR</en>
<de>Dies ist die FS19_Unzent_Map_FR</de>
</description>
<l10n>

<text name="input_ANIMATED_OBJECT_OPEN_DOOR">
<en>Open door</en>
<de>Tor öffnen</de>
<fr>Ouvrir la porte</fr>
</text>
<text name="input_ANIMATED_OBJECT_CLOSE_DOOR">
<en>Close door</en>
<de>Tor schließen</de>
<fr>Fermer la porte</fr>
</text>
<text name="input_ANIMATED_OBJECT_OPEN_FILET">
<en>open</en>
<de>öffnen</de>
<fr>Ouvrir le filet</fr>
</text>
<text name="input_ANIMATED_OBJECT_CLOSE_FILET">
<en>Close</en>
<de>schließen</de>
<fr>Fermer le filet</fr>
</text>

</l10n>
<iconFilename>icon.png</iconFilename>
<multiplayer supported="true"/>
<maps>
<map id="SampleModMap" className="Mission00" filename="$dataS/scripts/missions/mission00.lua" configFilename="maps/mapDE.xml" defaultVehiclesXMLFilename="defaultVehicles.xml" defaultItemsXMLFilename="defaultItems.xml">
<title>
<en>FS19_Unzent_Map_FR</en>
<de>FS19_Unzent_Map_FR</de>
</title>
<description>
<en>This is the sample mod map 1.</en>
<de>Dies ist die Beispiel Mod Map 1.</de>
</description>
<iconFilename>map_preview.png</iconFilename>
</map>
</maps>

<storeItems>
<storeItem xmlFilename="maps/sellingStationWoodChips/sellingStationWoodChips.xml" />
<storeItem xmlFilename="maps/sellingStationWood/sellingStationWood.xml" />
<storeItem xmlFilename="maps/waterTrigger/waterFillTriggers.xml" />
<storeItem xmlFilename="maps/animalHusbandry/husbandryCowLarge.xml" />
<storeItem xmlFilename="maps/animalHusbandry/husbandryPigLarge.xml" />
<storeItem xmlFilename="maps/animalHusbandry/husbandrySheepLarge.xml" />
<storeItem xmlFilename="maps/animalHusbandry/husbandryHorseLarge.xml" />
<storeItem xmlFilename="sellingStationVehicles/sellingStationVehicles.xml" />
<storeItem xmlFilename="sellingStationGeneric/sellingStationCamping.xml" />
<storeItem xmlFilename="sellingStationGeneric/sellingStationMarche.xml" />
<storeItem xmlFilename="sellingStationGeneric/sellingStationLaBaquiere.xml" />
<storeItem xmlFilename="sellingStationGrange/sellingStationGrange.xml" />
<storeItem xmlFilename="sellingStationLaine/sellingStationLaine.xml" />
<storeItem xmlFilename="maps/farmSilos/farmSilo.xml"/>

<!-- Deco Husbandrys -->
<storeItem xmlFilename="maps/animalHusbandry/animalDealer_cowDeco.xml" />
<storeItem xmlFilename="maps/animalHusbandry/animalDealer_horseDeco.xml" />
<storeItem xmlFilename="maps/animalHusbandry/animalDealer_pigDeco.xml" />
<storeItem xmlFilename="maps/animalHusbandry/animalDealer_sheepDeco.xml" />
</storeItems>

</modDesc>



DEFAULTITEMS

<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<items>
<item mapBoundId="sellingStationWood" className="WoodSellStationPlaceable" filename="$moddir$FS19_Unzent_Map_FR/maps/sellingStationWood/sellingStationWood.xml" position="-807.171 171.896 798.364" rotation="0 90 0" />
<item mapBoundId="sellingStationWoodChips" className="SellingStationPlaceable" filename="$moddir$FS19_Unzent_Map_FR/maps/sellingStationWoodChips/sellingStationWoodChips.xml" position="-782.986 171.996 759.947" rotation="0 -90 0" />
<item mapBoundId="waterFillTriggers" className="BuyingStationPlaceable" filename="$moddir$FS19_Unzent_Map_FR/maps/waterTrigger/waterFillTriggers.xml" position="0 0 0" rotation="0 0 0" />
<item className="BunkerSiloPlaceable" filename="$moddir$FS19_Unzent_Map_FR/XML/bunkerSiloSmallDouble.xml" position="960 179.7 903.4" rotation="0 -130 0" farmId="1" />
<item className="SiloPlaceable" filename="$moddir$FS19_Unzent_Map_FR/maps/farmSilos/farmSilo.xml" position="992.007 179.66 928.247" rotation="0 -44.786 0" defaultFarmProperty="false" farmId="1" />

<item className="AnimalHusbandry" filename="$moddir$FS19_Unzent_Map_FR/maps/animalHusbandry/husbandryCowLarge.xml" position="0 0 0" rotation="0 0 0" defaultFarmProperty="false" farmId="1" />
<item className="AnimalHusbandry" filename="$moddir$FS19_Unzent_Map_FR/maps/animalHusbandry/husbandryPigLarge.xml" position="0 0 0" rotation="0 0 0" defaultFarmProperty="false" farmId="1" />
<item className="AnimalHusbandry" filename="$moddir$FS19_Unzent_Map_FR/maps/animalHusbandry/husbandrySheepLarge.xml" position="0 0 0" rotation="0 0 0" defaultFarmProperty="false" farmId="1" />
<item className="AnimalHusbandry" filename="$moddir$FS19_Unzent_Map_FR/maps/animalHusbandry/husbandryHorseLarge.xml" position="0 0 0" rotation="0 0 0" defaultFarmProperty="false" farmId="1" />

<item mapBoundId="sellingStationVehicles" className="Workshop" filename="$moddir$FS19_Unzent_Map_FR/sellingStationVehicles/sellingStationVehicles.xml" position="-136.282 118.824 -78.582" rotation="0 18.337 0" />
<item mapBoundId="sellingStationCamping" className="SellingStationPlaceable" filename="$moddir$FS19_Unzent_Map_FR/sellingStationGeneric/sellingStationCamping.xml" position="6.331 121.195 -64.785" rotation="0 -56.674 0" />
<item mapBoundId="sellingStationMarche" className="SellingStationPlaceable" filename="$moddir$FS19_Unzent_Map_FR/sellingStationGeneric/sellingStationMarche.xml" position="244.47 158.625 -414.76" rotation="0 -69.90 0" />
<item mapBoundId="sellingStationLaBaquiere" className="SellingStationPlaceable" filename="$moddir$FS19_Unzent_Map_FR/sellingStationGeneric/sellingStationLaBaquiere.xml" position="-703.147 170.306 730.678" rotation="0 3.489 0" />
<item mapBoundId="sellingStationLaBoulbenne" className="SellingStationPlaceable" filename="$moddir$FS19_Unzent_Map_FR/sellingStationGeneric/sellingStationLaBoulbenne.xml" position="-820.716 107.81 -753.97" rotation="0 90 0" />
<item mapBoundId="sellingStationGrange" className="SellingStationPlaceable" filename="$moddir$FS19_Unzent_Map_FR/sellingStationGrange/sellingStationGrange.xml" position="-89.707 160.945 -805.89" rotation="0 -20.42 0" />
<item mapBoundId="sellingStationLaine" className="SellingStationPlaceable" filename="$moddir$FS19_Unzent_Map_FR/sellingStationLaine/sellingStationLaine.xml" position="-117.587 160.988 -814.482" rotation="0 -21.03 0" />

<item mapBoundId="animalDealer_cowDeco" className="AnimalHusbandry" filename="$moddir$FS19_Unzent_Map_FR/maps/animalHusbandry/animalDealer_cowDeco.xml" position="0.0000 0.0000 0.0000" rotation="0.000 0.0000 0.0000" age="0" price="1.000000" globalProductionFactor="0.000000" farmId="63">
<module name="animals" fillCapacity="0.000000">
<animal fillType="COW_TYPE_BROWN" dirtScale="0.000000"/>
<animal fillType="COW_TYPE_BROWN_WHITE" dirtScale="0.000000"/>
<animal fillType="COW_TYPE_BLACK" dirtScale="0.000000"/>
<animal fillType="COW_TYPE_BLACK_WHITE" dirtScale="0.000000"/>
<animal fillType="COW_TYPE_BRAHMAN_BROWN" dirtScale="0.000000"/>
<animal fillType="COW_TYPE_BRAHMAN_WHITE" dirtScale="0.000000"/>
<animal fillType="COW_TYPE_BRAHMAN_LIGHT_BROWN" dirtScale="0.000000"/>
<animal fillType="COW_TYPE_BRAHMAN_GREY" dirtScale="0.000000"/>
<animal fillType="COW_TYPE_BLACK_WHITE" dirtScale="0.000000"/>
<animal fillType="COW_TYPE_BLACK" dirtScale="0.000000"/>
</module>
</item>

<item mapBoundId="animalDealer_horseDeco" className="AnimalHusbandry" filename="$moddir$FS19_Unzent_Map_FR/maps/animalHusbandry/animalDealer_horseDeco.xml" position="0.0000 0.0000 0.0000" rotation="0.0000 0.0000 0.0000" age="0" price="1.000000" globalProductionFactor="0.000000" farmId="63">
<module name="animals" fillCapacity="0.000000">
<animal fillType="HORSE_TYPE_GREY" dirtScale="0.000000" isRidingActive="false" name="Oliver" fitnessScale="0.050000" healthScale="1.000000" ridingTimer="0.000000"/>
<animal fillType="HORSE_TYPE_BROWN_WHITE" dirtScale="0.000000" isRidingActive="false" name="Opal" fitnessScale="0.050000" healthScale="1.000000" ridingTimer="0.000000"/>
<animal fillType="HORSE_TYPE_BEIGE" dirtScale="0.000000" isRidingActive="false" name="Wings" fitnessScale="0.050000" healthScale="1.000000" ridingTimer="0.000000"/>
<animal fillType="HORSE_TYPE_RED_BROWN" dirtScale="0.000000" isRidingActive="false" name="Edgar" fitnessScale="0.050000" healthScale="1.000000" ridingTimer="0.000000"/>
<animal fillType="HORSE_TYPE_BROWN" dirtScale="0.000000" isRidingActive="false" name="Winston" fitnessScale="0.050000" healthScale="1.000000" ridingTimer="0.000000"/>
<animal fillType="HORSE_TYPE_BLACK" dirtScale="0.000000" isRidingActive="false" name="Athena" fitnessScale="0.050000" healthScale="1.000000" ridingTimer="0.000000"/>
<animal fillType="HORSE_TYPE_DARK_BROWN" dirtScale="0.000000" isRidingActive="false" name="Colton" fitnessScale="0.050000" healthScale="1.000000" ridingTimer="0.000000"/>
<animal fillType="HORSE_TYPE_LIGHT_BROWN" dirtScale="0.000000" isRidingActive="false" name="Leonardo" fitnessScale="0.050000" healthScale="1.000000" ridingTimer="0.000000"/>
</module>
</item>

<item mapBoundId="animalDealer_pigDeco" className="AnimalHusbandry" filename="$moddir$FS19_Unzent_Map_FR/maps/animalHusbandry/animalDealer_pigDeco.xml" position="0.0000 0.0000 0.0000" rotation="0.0000 0.0000 0.0000" age="0" price="1.000000" globalProductionFactor="0.000000" farmId="63">
<module name="animals" fillCapacity="0.000000">
<animal fillType="PIG_TYPE_RED" dirtScale="0.000000"/>
<animal fillType="PIG_TYPE_WHITE" dirtScale="0.000000"/>
<animal fillType="PIG_TYPE_BLACK_WHITE" dirtScale="0.000000"/>
<animal fillType="PIG_TYPE_BLACK" dirtScale="0.000000"/>
<animal fillType="PIG_TYPE_BLACK_WHITE" dirtScale="0.000000"/>
<animal fillType="PIG_TYPE_WHITE" dirtScale="0.000000"/>
<animal fillType="PIG_TYPE_RED" dirtScale="0.000000"/>
<animal fillType="PIG_TYPE_BLACK" dirtScale="0.000000"/>
</module>
</item>

<item mapBoundId="animalDealer_sheepDeco" className="AnimalHusbandry" filename="$moddir$FS19_Unzent_Map_FR/maps/animalHusbandry/animalDealer_sheepDeco.xml" position="0.0000 0.0000 0.0000" rotation="0.0000 0.0000 0.0000" age="0" price="1.000000" globalProductionFactor="0.000000" farmId="63">
<module name="animals" fillCapacity="0.000000">
<animal fillType="SHEEP_TYPE_WHITE" dirtScale="0.000000"/>
<animal fillType="SHEEP_TYPE_BROWN" dirtScale="0.000000"/>
<animal fillType="SHEEP_TYPE_BLACK_WHITE" dirtScale="0.000000"/>
<animal fillType="SHEEP_TYPE_BLACK" dirtScale="0.000000"/>
<animal fillType="SHEEP_TYPE_BLACK" dirtScale="0.000000"/>
<animal fillType="SHEEP_TYPE_WHITE" dirtScale="0.000000"/>
<animal fillType="SHEEP_TYPE_BROWN" dirtScale="0.000000"/>
<animal fillType="SHEEP_TYPE_BLACK_WHITE" dirtScale="0.000000"/>
</module>
</item>

</items>


HUSDANDRY COW

<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<placeable>
<storeData>
<name>$l10n_animals_cowStable</name>
<image>$data/placeables/animalHusbandry/store_husbandryCowLarge.png</image>
<canBeSold>false</canBeSold>
<showInStore>false</showInStore>
<price>300000</price>
<functions>
<function>$l10n_function_animalPenCow</function>
</functions>
<lifetime>1000</lifetime>
<dailyUpkeep>300</dailyUpkeep>
<rotation>0</rotation>
<brand>Lizard</brand>
<species>placeable</species>
<category>animalpens</category>
<vertexBufferMemoryUsage>1221784</vertexBufferMemoryUsage>
<indexBufferMemoryUsage>147174</indexBufferMemoryUsage>
<textureMemoryUsage>25116168</textureMemoryUsage>
<instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
<instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
</storeData>

<placeableType>husbandry</placeableType>
<filename>maps/animalHusbandry/husbandryCowLarge.i3d</filename>

<hotspots>
<hotspot name="Cow barn" fullName="$l10n_animals_cowPasture" imageName="COW_BARN" hidable="true" linkNode="0|14" category="CATEGORY_TRIGGERS" />
</hotspots>

<dayNightObjects>
<dayNightObject node="0|4|0|0|0" intensityDay="0" intensityNight="1" />
<dayNightObject node="0|4|0|0|1" visibleDay="false" visibleNight="true" />
<dayNightObject node="0|4|1|0|0" intensityDay="0" intensityNight="1" />
<dayNightObject node="0|4|1|0|1" visibleDay="false" visibleNight="true" />
</dayNightObjects>

<animatedObjects>
<animatedObject saveId="cowStableGate1" >
<animation duration="2.5">
<part node="0|1|0|0">
<keyFrame time="0.0" translation="0 0 0"/>
<keyFrame time="1.0" translation="-5.566 0 0"/>
</part>
</animation>
<controls triggerNode="0|1|0|1" posAction="ACTIVATE_HANDTOOL" posText="action_openGate" negText="action_closeGate" />
<sounds>
<moving file="sounds/gates/slideGate02.wav" loops="0" linkNode="0|1|0|0" volume="0.8" radius="25" innerRadius="3" fadeOut="0.25"/>
</sounds>
</animatedObject>

<animatedObject saveId="cowStableGate2" >
<animation duration="2.5">
<part node="0|1|1|0">
<keyFrame time="0.0" translation="0 0 0"/>
<keyFrame time="1.0" translation="5.593 0 0"/>
</part>
</animation>
<controls triggerNode="0|1|1|1" posAction="ACTIVATE_HANDTOOL" posText="action_openGate" negText="action_closeGate" />
<sounds>
<moving file="sounds/gates/slideGate02.wav" loops="0" linkNode="0|1|1|0" volume="0.8" radius="25" innerRadius="3" fadeOut="0.25"/>
</sounds>
</animatedObject>

<animatedObject saveId="cowStableGate3" >
<animation duration="2.5">
<part node="0|1|2|0">
<keyFrame time="0.0" translation="0 0 0"/>
<keyFrame time="1.0" translation="-5.62 0 0"/>
</part>
</animation>
<controls triggerNode="0|1|2|1" posAction="ACTIVATE_HANDTOOL" posText="action_openGate" negText="action_closeGate" />
<sounds>
<moving file="sounds/gates/slideGate02.wav" loops="0" linkNode="0|1|2|0" volume="0.8" radius="25" innerRadius="3" fadeOut="0.25"/>
</sounds>
</animatedObject>

<animatedObject saveId="cowStableGate4" >
<animation duration="2.5">
<part node="0|1|3|0">
<keyFrame time="0.0" translation="0 0 0"/>
<keyFrame time="1.0" translation="5.566 0 0"/>
</part>
</animation>
<controls triggerNode="0|1|3|1" posAction="ACTIVATE_HANDTOOL" posText="action_openGate" negText="action_closeGate" />
<sounds>
<moving file="sounds/gates/slideGate02.wav" loops="0" linkNode="0|1|3|0" volume="0.8" radius="25" innerRadius="3" fadeOut="0.25"/>
</sounds>
</animatedObject>

<animatedObject saveId="cowStableGate5" >
<animation duration="1.5">
<part node="0|1|4|0">
<keyFrame time="0.0" rotation="0 0 0"/>
<keyFrame time="1.0" rotation="0 -160 0"/>
</part>

<part node="0|1|4|1">
<keyFrame time="0.0" rotation="0 0 0"/>
<keyFrame time="1.0" rotation="0 160 0"/>
</part>
</animation>
<controls triggerNode="0|1|4|2" posAction="ACTIVATE_HANDTOOL" posText="action_openGate" negText="action_closeGate" />
<sounds>
<moving file="$data/sounds/prefab/gate/gate_loop.wav" loops="0" linkNode="0|1|4|0" volume="0.8" radius="25" innerRadius="3" fadeOut="0.25"/>
<posEnd file="$data/sounds/prefab/gate/gate_opened.wav" linkNode="0|1|4|0" volume="0.8" radius="25" innerRadius="3" />
<negEnd file="$data/sounds/prefab/gate/gate_closed.wav" linkNode="0|1|4|0" volume="0.8" radius="25" innerRadius="3" />
</sounds>
</animatedObject>

<!-- <animatedObject saveId="cowFenceGate1" >
<animation duration="1.5">
<part node="0|1|5|0">
<keyFrame time="0.0" rotation="0 0 0"/>
<keyFrame time="1.0" rotation="0 120 0"/>
</part>
</animation>
<controls triggerNode="0|1|5|3" posAction="ACTIVATE_HANDTOOL" posText="action_openGate" negText="action_closeGate" />
<sounds>
<moving file="sounds/gates/metalGateShort.wav" loops="0" linkNode="0|1|5|0" volume="0.8" radius="25" innerRadius="3" fadeOut="0.25"/>
</sounds>
</animatedObject>

<animatedObject saveId="cowFenceGate2" >
<animation duration="1.5">
<part node="0|1|6|0">
<keyFrame time="0.0" rotation="0 0 0"/>
<keyFrame time="1.0" rotation="0 110 0"/>
</part>
</animation>
<controls triggerNode="0|1|6|3" posAction="ACTIVATE_HANDTOOL" posText="action_openGate" negText="action_closeGate" />
<sounds>
<moving file="sounds/gates/metalGateShort.wav" loops="0" linkNode="0|1|6|0" volume="0.8" radius="25" innerRadius="3" fadeOut="0.25"/>
</sounds>
</animatedObject> -->

<animatedObject saveId="cowStableLights" >
<animation duration="0.2">
<part node="0|4|2|1|0"> <!-- Lightswitch-->
<keyFrame time="0.50" rotation="0 0 0" />
<keyFrame time="0.55" rotation="-17 0 0" />
</part>

<part node="0|4|2|2|0">
<keyFrame time="0.5" visibility="false" />
<keyFrame time="0.55" visibility="true" />
</part>

<part node="0|4|2|3|0">
<keyFrame time="0.5" visibility="false" />
<keyFrame time="0.55" visibility="true" />
</part>

<part node="0|4|2|4|0">
<keyFrame time="0.5" visibility="false" />
<keyFrame time="0.55" visibility="true" />
</part>

<part node="0|4|2|5|0">
<keyFrame time="0.5" visibility="false" />
<keyFrame time="0.55" visibility="true" />
</part>

<part node="0|4|2|6|0">
<keyFrame time="0.5" visibility="false" />
<keyFrame time="0.55" visibility="true" />
</part>

<part node="0|4|2|7|0">
<keyFrame time="0.5" visibility="false" />
<keyFrame time="0.55" visibility="true" />
</part>

<part node="0|4|2|8|0">
<keyFrame time="0.5" visibility="false" />
<keyFrame time="0.55" visibility="true" />
</part>

<part node="0|4|2|9|0">
<keyFrame time="0.5" visibility="false" />
<keyFrame time="0.55" visibility="true" />
</part>

<part node="0|4|2|10|0">
<keyFrame time="0.5" visibility="false" />
<keyFrame time="0.55" visibility="true" />
</part>
</animation>

<controls triggerNode="0|4|2|0" posAction="ACTIVATE_HANDTOOL" posText="action_turnOnLight" negText="action_turnOffLight" />
<sounds>
<moving file="sounds/misc/switch01_0.wav" loops="0" linkNode="0|4|2|0" volume="0.8" radius="25" innerRadius="3" fadeOut="0.25"/>
</sounds>
</animatedObject>
</animatedObjects>

<husbandry saveId="Animals_COW" hasStatistics="false">
<modules>
<module name="animals">
<config type="COW" navmeshNode="0|13" animalLoadTriggerNode="0|5" maxNumAnimals="500" husbandryFileName="$dataS/character/cowAnimalHusbandry.xml" placementRaycastDistance="2.0" carryingCapacity="50" rideableDeliveryStartNode="0|11|0" rideableDeliveryWidthNode="0|11|0|0" rideableDeliveryHeightNode="0|11|0|0" />
</module>
<module name="food">
<config node="0|6|0" exactFillRootNode="0" baleTriggerNode="3" animalPlacesNode="1" >
<fillPlane node="0|6|1" minY="-0.286" maxY="0" colorChange="false" />
</config>
</module>
<module name="water">
<config node="0|7|0" exactFillRootNode="0" fillTypes="WATER" acceptedToolTypes="undefined trailer">
<fillPlane node="0|7|1|0" minY="-0.22" maxY="0.247" colorChange="false" />
</config>
</module>
<module name="liquidManure">
<config node="0|9|0" fillTypes="LIQUIDMANURE" triggerNode="0" dischargeNode="1" >
<fillPlane node="0|9|1" minY="-6.509" maxY="-0.993" />
<!-- <unloadTrigger exactFillRootNode="3" /> -->
</config>
</module>
<module name="manure">
<config startNode="0|10|1|0" widthNode="0|10|1|0|0" heightNode="0|10|1|0|1" fillType="MANURE"/>
</module>
<!-- <module name="foodSpillage">
<config fillType="SILAGE">
<area startNode="0|6|0|2|0" widthNode="0|6|0|2|0|0" heightNode="0|6|0|2|0|1" />
<area startNode="0|6|0|2|1" widthNode="0|6|0|2|1|0" heightNode="0|6|0|2|1|1" />
<area startNode="0|6|0|2|2" widthNode="0|6|0|2|2|0" heightNode="0|6|0|2|2|1" />
<area startNode="0|6|0|2|3" widthNode="0|6|0|2|3|0" heightNode="0|6|0|2|3|1" />
</config>
</module> -->
<module name="milk">
<config node="0|12" fillTypes="MILK" triggerNode="0" autoStart="true" fillLitersPerSecond="50" />
</module>
<module name="straw">
<config node="0|8" exactFillRootNode="0" baleTriggerNode="2" fillTypes="STRAW" >
<fillPlane node="0|8|1" minY="-0.303" maxY="0.0" colorChange="false" />
</config>
</module>
</modules>
<placementRaycast distance="2" />
</husbandry>

<tipOcclusionUpdateArea sizeX="62" sizeZ="60" />

</placeable>
FusingGrain
Posts: 701
Joined: Tue Sep 01, 2015 6:32 am

Re: Placeable.lua(1094)

Post by FusingGrain »

merci
Last edited by FusingGrain on Thu Jan 07, 2021 11:55 am, edited 1 time in total.
Guilhome
Posts: 30
Joined: Sat Nov 24, 2018 10:05 pm

Re: Placeable.lua(1094)

Post by Guilhome »

Merci pour le retour!

Cependant, lorsque je démarre une partie, mes bâtiments sont bien placés et fonctionnels ! Du moins en moyen ou difficile !

En facile, j'ai bien mon terrain qui m'appartient (j'ai modifié la ligne [defaultFarmProperty="true"] pour le bâtiment qui est dessus) mais j'ai toujours la même erreur de LUA.

Aucune erreur dans les autres mode de jeu!

Le seul truc qui change d'un mode de jeu à l'autre c'est que les terrain sont à moi et qu'il y a le "defaultVéhicles" qui intervient...
FusingGrain
Posts: 701
Joined: Tue Sep 01, 2015 6:32 am

Re: Placeable.lua(1094)

Post by FusingGrain »

merci
Last edited by FusingGrain on Thu Jan 07, 2021 11:55 am, edited 1 time in total.
Guilhome
Posts: 30
Joined: Sat Nov 24, 2018 10:05 pm

Re: Placeable.lua(1094)

Post by Guilhome »

Voici ! C'est celui de base donc j'ai en effet du mal a croire que cela vienne d'ici!
Je suis sur une map que j'ai commencée d'un sample vide comme demandé plus haut!
Je suis pas super calé en modding, j'ai commencé la map il y a 6 semaines et c'est un début pour moi.
Il y a des choses comme ce bug qui m’échappent comme dans ce cas le fait que ca ne marche pas pareil dans tous les mode de jeu!

PS: merci pour ton aide, mais j'essaie tant bien que mal de suivre et de comprendre ! c'est un forum fait pour ca donc le ton utilisé et un peu moyen... et pour autre info, le forum ne voulait pas prendre mes xml hier donc je pensais que c’était volontaire (pour le desc et le husbandry)
Attachments
defaultVehicles.xml
defaultVehicles
(2.44 KiB) Downloaded 115 times
Last edited by Guilhome on Tue May 05, 2020 5:10 pm, edited 1 time in total.
FusingGrain
Posts: 701
Joined: Tue Sep 01, 2015 6:32 am

Re: Placeable.lua(1094)

Post by FusingGrain »

merci
Last edited by FusingGrain on Thu Jan 07, 2021 11:55 am, edited 1 time in total.
User avatar
fernand24
Posts: 3414
Joined: Mon Oct 29, 2012 10:58 pm
Location: Beynac et Cazenac

Re: Placeable.lua(1094)

Post by fernand24 »

Guilhome wrote: Mon May 04, 2020 4:08 pm
J'ai un petit problème sur la map que je suis sur le point de terminer!

J'ai fait beaucoup de tests et de modiff mais rien n'y fait!
Bonsoir Guilhome

Je te propose de m'envoyer ta map en MP pour que je puisse regarder d'où vient ton souci. Du moins essayer.

Bonne soirée.
Fernand24
Fernand 24 est un joueur sur "PC Gamer" *thumbsup*


https://www.youtube.com/channel/UCUI0le ... subscriber
FusingGrain
Posts: 701
Joined: Tue Sep 01, 2015 6:32 am

Re: Placeable.lua(1094)

Post by FusingGrain »

merci
Last edited by FusingGrain on Thu Jan 07, 2021 11:56 am, edited 1 time in total.
User avatar
fernand24
Posts: 3414
Joined: Mon Oct 29, 2012 10:58 pm
Location: Beynac et Cazenac

Re: Placeable.lua(1094)

Post by fernand24 »

Bonsoir

Pour le defaultVehicles.xml:

<vehicle filename=" ($data) remplacer par ="data/vehicles/newHolland/TX32Header/TX32Header.xml"
Fernand 24 est un joueur sur "PC Gamer" *thumbsup*


https://www.youtube.com/channel/UCUI0le ... subscriber
User avatar
fernand24
Posts: 3414
Joined: Mon Oct 29, 2012 10:58 pm
Location: Beynac et Cazenac

Re: Placeable.lua(1094)

Post by fernand24 »

Bonsoir

Bon le fautif pour les erreurs lua est :
<!-- <item className="BunkerSiloPlaceable" filename="$moddir$FS19_Unzent_Map_FR/XML/bunkerSiloSmallDouble.xml" position="960 179.7 903.4" rotation="0 -130 0" farmId="1" /> -->

Dans defaultItems.xml je neutralise la ligne N° 6 est il n'y a plus d'erreur dans le log.

Fais l'essai en neutralisant la ligne est dis moi.

log.txt
(18.3 KiB) Downloaded 117 times
(Test faits avec l'ancêtre de 2010.)
Fernand 24 est un joueur sur "PC Gamer" *thumbsup*


https://www.youtube.com/channel/UCUI0le ... subscriber
Post Reply