The-International-Open-Source
The-International-Open-Source copied to clipboard
Bug: Harvesters keep dancing when 1 creep wants to go to the same location as the other
Describe the bug screeps.com/s/imFsDG See there, both want to go to same spot Expected behaviour When 1 is at mining pos it should path around or get other sourceTarget pos
How can we reproduce this? 2 sources next to each other, both 1 entry
Potential fix Check if sourceContainer? is already placed at pos
Applicable media
@CarsonBurke This should do it. Tested and worked. Would not work optimal but would handle the case and stop them from fighting for the same spot
Thanks, I have a better fix in mind relating to initial construction of sourcePositions. We also need to account for upgrade and harvest positions that can conflict like this. I’ve got it
Stale, re-open if issue persists