P2P-Automation : Platform to Platform Logistics

by SirPuck

Automated logistic requests from Platfrom to Platfrom in the same orbit (space location) using vanilla mechanics.

Content
3 months ago
2.0
1.15K
Logistics Logistic network

b FIXED Crash when platform name has icon

4 months ago

Got an unrecoverable crash during normal use.

Context: 2 player game, multiple space platforms in use. A relevant platform was named "Space Science Factory [white science icon]". My co-op partner set up a route, I opened the map to check it out, and the instant I clicked on one of the platforms the error appeared.

Error:
Error while running event P2P-automation::on_player_changed_surface (ID 57)
GUI element with name space-science-packSpace Science Factory [white science icon] normal already present in the parent element.
stack traceback:
[C]: in function 'add'
P2P-automation/gui/gui.lua:189: in function 'add_appendix'

Apologies for typos in the error, I transcribed this from a screenshot.
This looks vaguely similar to https://mods.factorio.com/mod/P2P-automation/discussion/67e8fcea0d0ddab0b243c7a7, but the details look different even though it's from the same event?

4 months ago
(updated 4 months ago)

Followup: This does not seem to be related to the platform name having an icon. We removed the icon from the platform name and had the same result.

The item in question happens to be space science pack; I think I was misinterpreting the error report initially.

4 months ago

Hello Niflthaena,
thanks for reporting this. This doesn't appear to be related to plaform names, indeed. It probably is something related to a check that isn't done properly in multiplayer. I'll look into it :)

4 months ago

I'll need more infos. Do you have the same version of the mod as your friend ? Does this crash persist if your friend deletes the request ?

If you can, please join this Discord : https://discord.gg/2q7wMeYg so we can try to solve this together.

4 months ago

Okay I found where the bug is :) It will be fixed soon

New response