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

Respawn/Newbie zone borders not respected #187

Open
Almaravarion opened this issue Oct 14, 2020 · 0 comments
Open

Respawn/Newbie zone borders not respected #187

Almaravarion opened this issue Oct 14, 2020 · 0 comments

Comments

@Almaravarion
Copy link

Overmind cannot cope with respawn zone borders, sending multiple creeps through shortest standard path [unless room is avoided]. In essence - it assumes there are no borders between different zones.

Perhaps adding an 'avoid tag' where constructed wall is on the room change layer [basically newbie/respawn zone borders] would help avoid wasting cpu and energy on pathing through timed impassable walls;

More reliable method would be to use the now depreciated code from isRoomAvailable to getRoomStatus and compare status with own status, and mark all rooms that do not match own status as unavailable.
NOTE: At such check the bordering highways will have to be added manually or avoid checks for those, as highways will always be marked as 'normal' if available to traverse at all cases. Those are split by constructed walls.

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

1 participant