Hello,
I have an internal C++ dll that reads XY coordinates source and XY coordinates dest.
Your task is to include a pathfinding algorithm that will allow me to loop it in my current code.
Parameters that we must check:
I will provide access to that data you will only have to include the path finding with this parameters:
For the algorithm, you can use A* (preferably), point search or this one which is point search enhanced https://github.com/fgenesis/tinypile/blob/master/jps.hh
Please if you're interested contact me kuhi#6402
My idea is a copy & paste task for someone that already knows this.
Thank you <3
I have an internal C++ dll that reads XY coordinates source and XY coordinates dest.
Your task is to include a pathfinding algorithm that will allow me to loop it in my current code.
Parameters that we must check:
- path->isWalkable
- path->isPathable
I will provide access to that data you will only have to include the path finding with this parameters:
C++:
std::vector<int> player_position{ player.x, player.y, player.z };
std::vector<int> walking_to_position{ waypoint.x, waypoint.y, waypoint.z };
DWORD tile = getTile(map, *(DWORD*)&walking_to_position);
bool tile_isWalkable = isWalkable(*(DWORD*)tile, 0);
bool tile_isPathable = isPathable(*(DWORD*)tile);
For the algorithm, you can use A* (preferably), point search or this one which is point search enhanced https://github.com/fgenesis/tinypile/blob/master/jps.hh
Please if you're interested contact me kuhi#6402
My idea is a copy & paste task for someone that already knows this.
Thank you <3
Last edited: