The-International-Screeps-Bot / The-International-Open-Source

An automated bot for the coding game Screeps.com
MIT License
104 stars 35 forks source link

Traffic oscillation when storing structures are full #780

Closed CarsonBurke closed 9 months ago

CarsonBurke commented 9 months ago

image

it seems that remote haulers aren't detecting that the storage is full until they are adjacent (when they search for / create a requests to respond to)

CarsonBurke commented 9 months ago

added detection in the hauler logic for if a task cannot be found. If one cannot be found when trying to deliver to the commune using the hubPaths, the energy will instead be dropped on the ground