L2jGeodataPathFinder
L2j format geodata path finder
Install / Use
/learn @k0t9i/L2jGeodataPathFinderREADME
L2jGeodataPathFinder
Path finder in L2j Geodata files using A* search algorithm with post smoothing.
Repository structure
Path Finder
Dynamic link library exporting two methods.
Finds path by the game coords. Fills first argument with array of path node metadata (height and minX, maxX, minY, maxY in game coords) and returns size of this array:
size_t FindPath(PathNode ** result, const char* geoDataDir, const float startX, const float startY, const float startZ, const float endX, const float endY, const uint16_t maxPassableHeight);
Releases memory for a previously found path:
void ReleasePath(PathNode * path);
Usage Example
Console C# application with usage example. Finds path from (80364, 147100, -3533) (near the Giran weapons store) to (83864, 143100) (north bridge of Giran)
Visualization of this example, red - original A* path, yellow - smoothed path (height map and image generation done in another application):
Real life usage in a ingame bot:
Related Skills
node-connect
350.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.9kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
350.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
350.1kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
