Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After being stuck, creeps sometimes re-path through single width border walls #11

Open
sonoftheflame opened this issue Aug 13, 2017 · 1 comment

Comments

@sonoftheflame
Copy link

When stuck and trying to re-path, creeps sometimes appear to re-path through a single depth natural wall as if it were an exit. An example can be seen starting with a creep being stuck trying to get to room E72N92 on tick 20651644 in room E73N92 at 22,33 which then attempts to navigate through room E72N91. On tick 20651708 it becomes stuck again and correctly re-paths, but when this occurs the creeps will often navigate all the way to near 20,1 in E72N91 before re-pathing and turning around. More examples can be viewed elsewhere in the history.

@bonzaiferroni
Copy link
Owner

bonzaiferroni commented Aug 26, 2017

Sorry for the late reply, I hadn't seen this. It seems I missed my chance to view it in history. Is it still happening?

I'm not sure what could cause this behavior, except perhaps not be able to find a path in the first place. Incomplete paths will often lead a creep right into the natural border walls.

One possibility is a creep that is trying to move into another room but the room is being disqualified for some reason. This can happen if you use maxRooms: 1 and attempt to path into another room. I can see how even maxRooms: 2 might lead to unexpected behavior. Anything like that with the travel options that might be the cause?

If you are getting incomplete paths, it should be telling you in the console.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants