Community Forum

Placeable.lua(1094) : attempt to index local 'storeItem' (a nil value)

Forum Overview >> Editor

CategoryEditor
Created12.12.2020 23:56


Ivan Polic (Polke) 12.12.2020 23:56
Error: Running LUA method 'update'.
dataS/scripts/placeables/Placeable.lua(1094) : attempt to index local 'storeItem' (a nil value)
I have this problem on my map.
After each placheable that I added, throw out this error.
Only when I add default vehicles does it show me these errors, and when I delete from the defaultvehicles.xml what I added for default vehicles does not eject these errors to me.
LOG : https://pastebin.pl/view/4bae47c9
defaultitems.xml : https://pastebin.pl/view/3c124c8a
defaultvehicles.xml : https://pastebin.pl/view/98f6154e
modDesc.xml : https://pastebin.pl/view/c80e4670

Bilbo Beutlin (BBeutlin) 13.12.2020 00:44
Very clever. In modDesc you have the <storeItems> tag twice where the first is empty (line 71). The second will be ignored by the XML parser.
Such things you can easily avoid by checking/validating the xml files with suitable tools.

Besides I'd urgently recommand you clean up your mod's folder structures..

Ivan Polic (Polke) 13.12.2020 01:45
Man you don't know how much you helped me, thank you to heaven!

Ivan Polic (Polke) 13.12.2020 02:07
Man you don't know how much you helped me, thank you to heaven!


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