Bulk Rail Loader

by therax

Bulk train loader/unloader with buffer.

Content
2 years ago
0.16 - 1.1
58.5K
Logistics

b Error Loading Map

5 years ago

Here is the error from Factorio log. Hope it helps.
194.896 Error MainLoop.cpp:1199: Exception at tick 27543060: The mod Bulk Rail Loader caused a non-recoverable error.
Please report this error to the mod author.

Error while running event railloader::on_nth_tick(60)
invalid key to 'next'
stack traceback:
[C]: in function 'next'
railloader/EntityQueue.lua:44: in function 'handler'
railloader/Event.lua:21: in function <railloader/Event.lua:19>

5 years ago

Can you upload the save?

5 years ago

I tried another save and it works, I think I made a Save that caused the error on reloading.

5 years ago

Any idea how that happened? I’d like to fix the mod so it at least doesn’t crash.

5 years ago

I could not reproduce the error, so I am calling a cosmic ray flipping a 0 to a 1 during the saving process.

5 years ago

Hi therax, I got the same error message after today's update to 0.6.2. The autosave which was done 2 minutes before my manual save seems to work. I copied the crashed savegame, so if you want to test it, let me know and I'll send it to you.

5 years ago

Thanks for the offer. I believe I was able to trace the problem to the case where a save is created immediately after a railloader is mined that currently has a train inside, which prevents the rails from being removed at the same time.

5 years ago

This should now be fixed in v0.6.3.

5 years ago

v0.6.3:
Error while running event railloader::on_load()
railloader/EntityQueue.lua:39: table index is nil
stack traceback:
railloader/EntityQueue.lua:39: in function 'on_load'
railloader/inserterconfig.lua:126: in function 'on_load'
railloader/control.lua:23: in function <railloader/control.lua:20>

5 years ago

I'm getting the same error on loading a save

5 years ago

Yeah me too. For test reasons I deactivated everything except BRL but the error is still there.

5 years ago

I added some additional safety around this function. Please try v0.6.4.

5 years ago

Now it works, thank you!

5 years ago

Thanks for the quick turnaround!!! Works perfectly

New response