Logistic Train Network - thought bubble

by Quezler

Gives the locomotives a thought bubble for what it wants to pickup.

Content
6 months ago
1.1 - 2.0
3.83K
Trains

b Crash: Unknown item name: iron-plate.uncommon

6 months ago

I get this crash, I guess while a train was moving to depot but got a new schedule. I just observed a train while the crash happened

2188.193 Error MainLoop.cpp:1449: Exception at tick 208699120: The mod Logistic Train Network - thought bubble (2.0.0) caused a
 non-recoverable error.
Please report this error to the mod author.

Error while running event glutenfree-ltn-thought-bubble::Custom event (ID 316)
Unknown item name: iron-plate.uncommon
stack traceback:
    [C]: in function 'draw_sprite'
    __glutenfree-ltn-thought-bubble__/scripts/bubble.lua:85: in function 'update_train'
    __glutenfree-ltn-thought-bubble__/scripts/bubble.lua:27: in function <__glutenfree-ltn-thought-bubble__/scripts/bubble.lua:
11>
stack traceback:
    [C]: in function 'raise_event'
    __LogisticTrainNetwork__/script/dispatcher.lua:174: in function <__LogisticTrainNetwork__/script/dispatcher.lua:24>
6 months ago

please send me an autosave that crashes with this error a few seconds after loading.

6 months ago

I have now re-enabled your mod and let it run, my guess is that I won't have much dispatches.

6 months ago

I have uploaded the crashing save game: 20250402 - Crash with thought bubble.zip

You can find the save from today here: https://cloud.mxchange.org/s/public?dir=%2FFactorio%2Fsaves

6 months ago

what a weird save file, there are a few dozen mods inside it that aren't even on the portal as 2.0 mods despite the save being clearly 2.0, did you port like all of them manually or what? its really weird.

6 months ago

atan-wood even complains its not compatible with space age and disabeling space age makes other mods complain, please provide me a save file with mod portal downloadable mods that don't require any file editing.

6 months ago

this is some weirdly unholy save file that exists in limbo between 1.1 and 2.0, i have no idea anymore what is going on here.

6 months ago

and well if this is some cursed 1.1 version with bootleg quality, add log(what) above local shipment_sprite = what:gsub(',','.')

6 months ago

Yes, I fix them locally and when they are working then I try to convince the author to update his mod with my changes. You can find some mods fixed by me here: https://github.com/Quix0r?tab=repositories

And with atan-wood, I have removed the ! from as I really need higher quality wood and other wood-producing/agriculture mods don't support quality. The intermediate products are now higher quality than normal, so all other needs to be upgraded, too.

6 months ago

And so far, the mod atan-wood is working and produces wood in higher quality. :-)

6 months ago

still id like a save that crashes due to the above error that only has mods downloaded as-is from the portal in order to work on this.

6 months ago

still id like a save that crashes due to the above error that only has mods downloaded as-is from the portal in order to work on this.

Sure I understand that. Just hit "Load" and hope you get the crash, then the mods from the save are ignored.

6 months ago

I'd like to receive a save that's capable of getting that error as-is.

6 months ago

try 2.0.1.

6 months ago
(updated 6 months ago)

EDIT: No, other crash now:

 491.084 Error MainLoop.cpp:1449: Exception at tick 223899005: The mod LTN - Logistic Train Network (2.3.2) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event LogisticTrainNetwork::on_nth_tick(5)
The mod Logistic Train Network - thought bubble (2.0.1) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event glutenfree-ltn-thought-bubble::on_train_schedule_changed (ID 125)
__glutenfree-ltn-thought-bubble__/scripts/bubble.lua:71: {
  force = "[LuaForce: player]",
  from = "[item=copper-ore] Mining 002",
  from_id = 11686286,
  network_id = 1,
  pickupDone = true,
  shipment = {},
  started = 223897585,
  surface_connections = {},
  to = "[item=copper-ore] Smelting 001",
  to_id = 8925433,
  train = "[LuaTrain: id=712]"
}
stack traceback:
        [C]: in function 'error'
        __glutenfree-ltn-thought-bubble__/scripts/bubble.lua:71: in function 'update_train'
        __glutenfree-ltn-thought-bubble__/scripts/bubble.lua:44: in function <__glutenfree-ltn-thought-bubble__/scripts/bubble.lua:43>
stack traceback:
        [C]: in function 'add_record'
        __LogisticTrainNetwork__/script/schedule.lua:407: in function 'requesterStop'
        __LogisticTrainNetwork__/script/dispatcher.lua:733: in function 'ProcessRequest'
        __LogisticTrainNetwork__/script/dispatcher.lua:140: in function <__LogisticTrainNetwork__/script/dispatcher.lua:24>
6 months ago

new error, new thread.

New response