Equipment train stop

by Quezler

Update the equipment grid of your trains by driving past it.

Utilities
a month ago
1.1 - 2.0
1.15K
Trains

g Crashing with K2 diesel train

1 year, 6 months ago

I get this error message : https://imgur.com/a/ZEFJqqE

1 year, 6 months ago

looks like that mod doesn't use the same name for both the train item and the train entity, that mod breaks naming conventions, but then again my mod should check for the entity placement results, I'll be fixing this within a few hours on my end.

1 year, 6 months ago

try 1.0.4

1 year, 6 months ago

Thanks will do <3

1 year, 6 months ago

i haven't tested it myself yet, so a confirmation if this works or even made it more broken would be appreciated.

1 year, 6 months ago
(updated 1 year, 6 months ago)

Didn't crash immediately this time, but crashed when driving through with a template in.

I tried driving through with no template: no crash, correct error message.
With template: the crash message.

Edit: I dumbed out in title, its the 248k mod that adds diesel train not k2.

The mod Equipment train stop (1.0.4) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event glutenfree-equipment-train-stop::on_entity_destroyed (ID 160)
LuaEntity doesn't contain key items_to_place_this.
stack traceback:
[C]: in function 'index'
...tenfree-equipment-train-stop
/scripts/equipmentgrid.lua:11: in function 'tick_rolling_stock'
glutenfree-equipment-train-stop/scripts/handler.lua:131: in function <glutenfree-equipment-train-stop/scripts/handler.lua:85>

1 year, 6 months ago

my bad, try 1.0.5, i tried getting the item name from the entity instead of the prototype.

1 year, 6 months ago

Ayy! It works my dude! Thanks a lot!

1 year, 6 months ago

sweet

New response