Set drones to idle if they "cannot salv"

    Joined
    Jun 27, 2013
    Messages
    896
    Reaction score
    166
    Mining drones that run out of cargo space continue trying to salvage regardless, flooding the log files and wasting precious processor cycles.

    Code:
    1476656975 CANNOT SALV
    1476656976 CANNOT SALV
    1476656976 CANNOT SALV
    1476656976 CANNOT SALV
    1476656976 CANNOT SALV
    1476656976 CANNOT SALV
    1476656976 CANNOT SALV
    1476656976 CANNOT SALV
    1476656977 CANNOT SALV
    1476656977 CANNOT SALV
    1476656977 CANNOT SALV
    1476656977 CANNOT SALV
    1476656977 CANNOT SALV
    1476656977 CANNOT SALV
    1476656977 CANNOT SALV
    1476656978 CANNOT SALV
    1476656978 CANNOT SALV
    1476656978 CANNOT SALV
    1476656978 CANNOT SALV
    1476656978 CANNOT SALV
    1476656978 CANNOT SALV
    1476656978 CANNOT SALV
    1476656979 CANNOT SALV
    1476656979 CANNOT SALV
    1476656979 CANNOT SALV
    1476656979 CANNOT SALV
    1476656979 CANNOT SALV
    1476656979 CANNOT SALV
    1476656980 CANNOT SALV

    If a drone can't salvage, put it to sleep for a second before the next attempt, and gradually increase the sleep duration for each failed attempt to restart.
     
    • Like
    Reactions: Malacodor
    Joined
    Jun 27, 2013
    Messages
    896
    Reaction score
    166
    How about "return to dock when full"?
    Certainly. More fleet commands, and chaining them, are definitely needed.
    However the same situation arises when the drone "cannot dock" - it shouldn't stubbornly try ten times a second, but wait a second after the first failed attempt, then wait maybe 5, 25, 125, ..., or until new orders are issued.