Pathfinder Rail cannot be included
Posted: 14 Jan 2019 13:56
Hi Sifu
I'm currently exploring an Idea for a AI I like to program but I get stuck at the path finding.
In short my first 2 lines of code:
import("graph.aystar", "", 6);
import("Pathfinder.Rail", "", 1);
the graph.aystar works as expected but the pathfinder.Rail kicks following error:
Your script made an error: couldn't find library 'Pathfinder.Rail' with version 1
in long:
my AI supposed to find the outermost Powerstation and connect all Coal mines to it by train. It supposed to to that by gradually extending the existing network. My idea was to get a pretty average train network done by the AI which I'll buy over at some point to have a challenge of optimizing it .
I managed to get the above concept running to the point of defining the path of the rail track. To come up with it manually is above my current skills therefore I thought of starting with the existing libraries. But even that is not rewarded with success and I'm ending up with multiple stations all over the map without being connected. Not a very useful AI so far
What am I missing to get the pathfinder imported? compared to aystar the folder structure looks right, the naming looks right, the revision is matching, classname is not used so far, ... I just can't find anything wrong with it!
I'm currently exploring an Idea for a AI I like to program but I get stuck at the path finding.
In short my first 2 lines of code:
import("graph.aystar", "", 6);
import("Pathfinder.Rail", "", 1);
the graph.aystar works as expected but the pathfinder.Rail kicks following error:
Your script made an error: couldn't find library 'Pathfinder.Rail' with version 1
in long:
my AI supposed to find the outermost Powerstation and connect all Coal mines to it by train. It supposed to to that by gradually extending the existing network. My idea was to get a pretty average train network done by the AI which I'll buy over at some point to have a challenge of optimizing it .
I managed to get the above concept running to the point of defining the path of the rail track. To come up with it manually is above my current skills therefore I thought of starting with the existing libraries. But even that is not rewarded with success and I'm ending up with multiple stations all over the map without being connected. Not a very useful AI so far
What am I missing to get the pathfinder imported? compared to aystar the folder structure looks right, the naming looks right, the revision is matching, classname is not used so far, ... I just can't find anything wrong with it!