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

"Out of path-planning region" - probable cause for some civs not starting on their patrols #63

Open
Fusselwurm opened this issue Jun 6, 2020 · 3 comments
Labels

Comments

@Fusselwurm
Copy link
Member


21:15:40 Out of path-planning region for C Alpha 1-2:1 at 3105.0,3658.0, node type Road
21:15:40 Error C Alpha 1-2:1: Invalid path from [3103.50, 13.18, 3658.50] to [3094.86, 13.63, 3661.11].

seems to show when civs dont start patrols

@Fusselwurm Fusselwurm changed the title "Out of path-planning region" - probable cause for civs not starting on their patrols "Out of path-planning region" - probable cause for some civs not starting on their patrols Jun 6, 2020
@Fusselwurm
Copy link
Member Author

Fusselwurm commented Jun 6, 2020

It is actually possible to attach "PathCalculated" EH to every unit (dont need agents for that!) - and it's easy to identify failing units by them not triggering the event in a timely manner.

this addEventHandler ["PathCalculated", {
	params ["_agent", "_path"];
}];

@Fusselwurm
Copy link
Member Author

Fusselwurm commented Jun 7, 2020

when I spawn vecs on a Tanoan island, waypoints on other islands seem to just... time out, without any error messages. 🤔

edit: that is, they disappear after some time (about a minute?). and the next waypoint is selected

@Fusselwurm
Copy link
Member Author

Fusselwurm commented Jul 31, 2020

a thought occurs: what if Out of path-planning region was actually a sensible error message telling me to not add waypoints off-map?

  • reproduce

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

No branches or pull requests

1 participant