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 : Error while running event

5 months 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>

5 months 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.

5 months ago

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

5 months ago

Some platform. Take a look at this screenshot:

https://snipboard.io/pblRLC.jpg

5 months ago

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

5 months 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 🙂

5 months 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.

5 months ago

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

5 months ago

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

Ok, I'm updating right now 👍

5 months ago

Fixed. Thanks a lot!

https://snipboard.io/GUygIq.jpg

5 months ago

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

5 months ago
(updated 5 months ago)

That would be a nice touch!👏👏

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

5 months ago

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

5 months ago

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

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

5 months ago

You need to restart the game I believe.

5 months ago

I'm sure I did 🤔

5 months ago
(updated 5 months ago)

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

5 months ago

New response