Orbital Transfer - Inter-Platform Logistics

by urthen

Adds provider and requester chests to send items between platforms orbiting the same location

Content
1 year, 9 months ago
2.0
9.23K
Factorio: Space Age Icon Space Age Mod
Logistics

b (resolved) Error when deleting chest while in transfer

1 year, 9 months ago

Hey got an error when deleting the chest while an items was transfering:
error message:
The mod Orbital Transfer (0.1.2) caused a non-recoverable error. Please report this error to the mod author.
Error while running event orbital-transfer::on_tick (ID 0)
LuaEntity API call when LuaEntity was invalid.
stack traceback:
[C]: in function 'index'
__orbital-transfer
/control.lua:331 in function 'handleOutboundDeliveryTick'
orbital-transfer/control.lua:379: in function <orbital-transfer/control.lua:366>

reproduction steps:
Place chests => request items => Delete chest while item is in transit
==> Error

1 year, 9 months ago

Ah, I think I see the problem, I'm not checking for validity when I try and switch the item to the target surface.

I'll fix this for the next version (most likely today), thanks!

1 year, 9 months ago

Fixed (hopefully, anyway) in 0.2.0, let me know if it happens again.

11 months ago

it happened again

The mod Orbital Transfer (0.2.3) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event orbital-transfer::on_object_destroyed (ID 176)
LuaSpacePlatform API call when LuaSpacePlatform was invalid.
stack traceback:
[C]: in function 'index'
__orbital-transfer
/control.lua:141: in function 'rescan_requester_chests'
orbital-transfer/control.lua:561: in function 'deregister_transfer_chest'
orbital-transfer/control.lua:572: in function <orbital-transfer/control.lua:568>

11 months ago

weirdly enough its only happening on 1 specific plattform

11 months ago
(updated 11 months ago)

and both chests are affected, doesnt receive or send stuff either

10 months ago

It could be that the current entity is bugged. Try removing it and replacing it.

New response