JonathanSafer / screeps

Screeps AI
MIT License
25 stars 7 forks source link

Route not found #135

Closed JonathanSafer closed 4 years ago

JonathanSafer commented 4 years ago

Deposit miner in E1S31 seems to be struggling to find a route to E2S31. Unclear why, as when done manually it works.

JonathanSafer commented 4 years ago

Args are correct going into getRoute, and the room doesn’t appear to be marked as enemy

JonathanSafer commented 4 years ago

Maybe the home room is marked as enemy?

JonathanSafer commented 4 years ago

Not even sure that enemy is what is triggering the pathing failure

JonathanSafer commented 4 years ago

Home room seems to have been polling positive for enemy in some cases, unclear why. !! Added for clarification. Enemy rooms now set to 20, so they aren’t unpathable, but will only get route thru if it is a dead end.