Unable to collect shipments

Issue #78 resolved
Former user created an issue

I was unable to create a save file. It failed for network error several times. I have no idea why, as my internet is stable.

I am unable to collect shipments from other systems. While in a system, the only resources that I am able to collect seem to be scrap metal. Shipments from other systems will arrive and stay under my icon at my current system, but are not collected, even when I am empty of that resource. I assigned as a major issue because it slowed me down until I figured out that I did collect these shipments once I started to move to a new system.

To recreate: Have 20+ factories sending shipments of 1000 scrap metal, 2 sending 250 batteries, 2 sending 250 duranium, 2 sending 250 crankbots. Enter a new system Defeat the station Build a factory Spam fabribot button until out of duranium and scrap metal. Wait for shipments to reach you. Observe helm to see shipments.

Comments (4)

  1. Kev Bourque repo owner

    From the user's post: "When shipments are stacked up under my ship and I needed them, I would FTL to a new system (and back if still building in that system). When the jump starts, the shipments are collected."

    It sounds like the issue is caused by one of my "hacks" to improve performance. I disable and re-enable collision detection on the HELM map in a lot of places to improve performance. When collision detection is disabled on those shipments they wouldn't know they're on top of the ship marker to be received. Doing an FTL Jump re-enables a lot of the collisions, so it makes sense they'd get picked up then.

    Mostly making this note for myself so I know what to do when fixing it.

  2. Kev Bourque repo owner

    Changed the check to be based on distance to the player and not a collision. This is less expensive on the CPU and should prevent shipments from not being picked up.

  3. Log in to comment