Community Forum

Placeables

Forum Overview >> Editor

CategoryEditor
Created14.12.2018 22:18


Bjørn Brynildsen (prawler) 14.12.2018 22:18
Hi
¨
I managed to import the modified grain silo. I really thought i had it figyred it out, so today i tried to add/import a fuelpump to my farm.
I keep getting theese errors:

2018-12-14 22:11 C:/Users/Bjørn Brynildsen/Documents/My Games/FarmingSimulator2019/mods/FS19_FelsbrunnByBrynildsen/maps/placeables/FS19_fuelTank5000/fueltank5000.i3d (18.11 ms)
2018-12-14 22:11 Error: Running LUA method 'update'.
2018-12-14 22:11 dataS/scripts/placeables/Placeable.lua(1092) : attempt to index local 'storeItem' (a nil value)

Anyone know how to get rid of those?

Best regards
Bjørn

Krists U (Kristsu) 14.12.2018 22:25
Write in modDesc this
<storeItems>
<storeItem xmlFilename="maps/placeables/FS19_fuelTank5000/fueltank5000.xml"/>
</storeItems>


Saltybart (Bert85) 14.12.2018 22:26
Did you add it to your modDesc.xml ?

Add:

<storeItems>
<storeItem xmlFilename="maps/placeables/FS19_fuelTank5000/fueltank5000.xml" />
</storeItems>

If you already have
<storeItems>
</storeItems>

Then add only <storeItem xmlFilename="maps/placeables/FS19_fuelTank5000/fueltank5000.xml" /> between him.

Please note: If you are going to make the map public, always ask permission from the author of the model to build it in.


Krists U (Kristsu) 14.12.2018 22:35
Bart, his placeables folder is in maps folder. Your file path not right )

Bjørn Brynildsen (prawler) 14.12.2018 22:40
Hi guys

Yes, i have added the store items in modDesc.xml

I really cant figure out what is wrong....

Bjørn


Saltybart (Bert85) 15.12.2018 00:18
Oh @Krists missed that: P

@Bjørn Can you upload your modDesc and yourMapName_items.xml somewhere ?

Bilbo Beutlin (BBeutlin) 15.12.2018 01:19
For the XML use "$moddir$FS19_FelsbrunnByBrynildsen/maps/placeables/FS19_fuelTank5000/fueltank5000.xml"
In this xml use <filename>maps/placeables/FS19_fuelTank5000/fueltank5000.i3d</filename>

Bjørn Brynildsen (prawler) 15.12.2018 20:00
Hi Bart

I just got back from work.

Shure, i can upload modDesc and items.xml to my dropbox and share it with you......all i need is youre email adress.....

Bjørn


Bjørn Brynildsen (prawler) 15.12.2018 20:27
Hi Bart

I just got back from work.

Shure, i can upload modDesc and items.xml to my dropbox and share it with you......all i need is youre email adress.....

Bjørn


Bjørn Brynildsen (prawler) 18.12.2018 13:01
Hi

Just to update you guys
Tried another placeable mod(storagesilo)
Sort of the same result, but the triggers DID work on the fueltank. They do not work on the silo.

Hoping to solve it soon.....

Bjørn


Bjørn Brynildsen (prawler) 18.12.2018 13:15
Hi

Just to update you guys
Tried another placeable mod(storagesilo)
Sort of the same result, but the triggers DID work on the fueltank. They do not work on the silo.

Hoping to solve it soon.....

Bjørn


Andrei Sprinseana (xsenio) 26.12.2018 16:58
Hello! Such a question can be done so that the grain storage is bought along with the land, for example, as BGA.

Dasgfsdf Agfdf (rhshsfgsg) 27.12.2018 20:50
I have the same problem but only when I want to import animalhusbandrys. Every other objects work fine

Jelmar Van Zanten (jelmarvz) 15.01.2019 16:52
I'am very curious about the solution. Because I have the same problem. When I buy something there is no error. and when I start the savegame again I got this error

2019-01-15 16:41 C:/Users/Jelmar van Zanten/Documents/My Games/FarmingSimulator2019/mods/FS19_Empty_Map_backup_11_01_2019/maps/Objecten/Schuren/Kuhestal/husbandryCowSmall.i3d (281.21 ms)
2019-01-15 16:41 Error: Running LUA method 'update'.
2019-01-15 16:41 dataS/scripts/placeables/Placeable.lua(1092) : attempt to index local 'storeItem' (a nil value)

Same as Bjorn I quess


Note: Log in to post. Create a new account here.