Skip to content

hauler scripts doesn't work well #9

Description

@royluo1984

since the items in jetcans are no longer stackable(still can stack the ore manually, but cannot use stack all command to stack the ores), so the design of hauler scripts become inefficiency.
when the hauler arrives the pickup location and opened the jetcan, the script tries to stack the ores in jetcans first and move the stacked ores into ore holds after leave only 1 ore of that stack after the move. This makes hauler scripts extreme slow due to the ores in jetcans are no longer stackable.

there is also a bug in the script, the hauler will loot in ores into its cargo bay, and when the delivery location have been changed to corp hangar in space, the script stuck after hauler back to the drop off location. the stuck is caused by the script only unload the ores in ore holds and ignore the ores in cargo bay. (haven't test the script when delivery location set to station)

the infinite loop is like

scripts find the hauler is full for some reason --> trying to unload ---> unable to unload the ores in cargo bay because the scripts ignore the cargo bay---> scripts find the hauler is full for some reason ---> trying to unload ---->and so on

suggestion.
1, to increase the efficiency of the script, by looting ALL items from the jetcans at once.
2, ignore the cargo bay when hauler ship has ore holds
3, the miner only start jetting cans & move ores to jet can after 80% ore hold full

suggest additional function:
add an option that the hauler script able to pick the ores from a mobile tractor unit.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions