P2P-Automation : Platform to Platform Logistics

by SirPuck

Automated logistic requests from Platfrom to Platfrom in the same orbit (space location) using vanilla mechanics. This mod is in maintenance mode : Check IPL - Inter Platform Logistics, it's basically the newer, better version of this mod !

Content
6 months ago
2.0
2.11K
Logistics Logistic network

b FIXED : Error while running event

1 year, 9 days ago

I'm using version 1.0.0
Just found out your mod got an update 45 minutes ago. I'll still be leaving the error here, just in case.

Error while running event P2P-automation::on_player_changed_surface (ID 57)
P2P-automation/control.lua:240: attempt to index local 'hub' (a nil value)
stack traceback:
P2P-automation/control.lua:240: in function <P2P-automation/control.lua:233>

1 year, 9 days ago

Hello ! Thank you :) I've been trying to remember if I fixed this sneaky one. I'm gonna chase it and kill it. Gimme a moment.

1 year, 9 days ago

What was the surface you were trying to look at when the game crashed ?

1 year, 9 days ago

Some platform. Take a look at this screenshot:

https://snipboard.io/pblRLC.jpg

1 year, 9 days ago

Is this platform "real" ? Does it have a hub ? Or is it just a ghost thing ?

1 year, 9 days ago

I'm not even sure where it came from or what that ghost icon means. I was kind of trying to figure it out when the error showed up 🙂

1 year, 9 days ago

This shouldn't happen unless your platform doesn't have a hub, for some reason. I'll add a nil check for sanity, but that's weird.

1 year, 9 days ago

Published a version that should fix it. Can you double check please ? Thanks.

1 year, 9 days ago

I was able to reproduce it easily. Just clicking the ghostly platform's name triggers the error.

Ok, I'm updating right now 👍

1 year, 9 days ago

Fixed. Thanks a lot!

https://snipboard.io/GUygIq.jpg

1 year, 9 days ago

Ahah your screenshot makes me think I should probably also add a spanish (castellano) locale :)

1 year, 9 days ago
(updated 1 year, 9 days ago)

That would be a nice touch!👏👏

If you need a hand with that, let me know how. I'm native.

1 year, 9 days ago

Just added in 1.0.3. Feel free to tell me if it's good or not.

1 year, 9 days ago

Updated to 1.0.3. For some reason, I still see English

https://snipboard.io/6WI5A4.jpg

1 year, 9 days ago

You need to restart the game I believe.

1 year, 9 days ago

I'm sure I did 🤔

1 year, 9 days ago
(updated 1 year, 9 days ago)

Alright I didn't name the folders correctly. This should be good in v 1.0.4 (just out now)

1 year, 9 days ago

New response