jnnshschl / ameisennavigation Goto Github PK
View Code? Open in Web Editor NEWNavigationmesh Server for my bot based on the TrinityCore MMAP's and Recast & Detour
License: GNU General Public License v3.0
Navigationmesh Server for my bot based on the TrinityCore MMAP's and Recast & Detour
License: GNU General Public License v3.0
How do I get Flightpath?
Hey,
We're trying to use this project with NodeJS. And are slightly confused on the communication protocol. I guess with the recent refactor the documentations not been updated yet
For example when trying to get a RANDOM_POINT:
byteBuffer.writeByte(6); // Length in bytes
byteBuffer.writeByte(MessageType.RANDOM_POINT); // Value 2
byteBuffer.writeInt(1); // MapID (Kalimdor)
But don't get a response. Unless I remove writing the length
byteBuffer.writeByte(MessageType.RANDOM_POINT);
byteBuffer.writeInt(1);
Which seems to get a response:
0d 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00
Which I assume is Vector3.Zero as it some how failed to find a random point..
Hello, i did what the discord said to do, get the mmaps, etc but for some reason when i use your getPath method but it keeps returning 0,0,0. these are the vectors i am using
this problem happens in eastern kingsdom and when i tried using it to get a path to a npc in thunderbluff
Vector3 start = new Vector3(9361.473f, -7041.952f, 18.32074f); Vector3 end = new Vector3(9124.827f, -7067.296f, 23.31561f);
and i am using your getpath method
public static IEnumerable<Vector3> GetPath(MessageType msgType, int mapId, Vector3 start, Vector3 end, int flags) { try { return Client.IsConnected ? Client.Send((byte)msgType, (mapId, flags, start, end)).AsArray<Vector3>() : Array.Empty<Vector3>(); } catch { return Array.Empty<Vector3>(); } }
Hi, first of all, great project ๐ฅ
I'm trying to get this running to power pathfinding in a bot I'm building. I've tried downloading the mmaps from the link in the readme, but I get the following error:
Wrong MMAP version (got:6, expected:12) dtTile 1 1 (mapId: 1)
I can only assume that download is old? Before I go compiling the trinity src just to get the extractor tools, happen to have an updated download link for ones you are using?
When using ameisennavigation server,If the coordinates are closer to the wall, it is easier to touch the wall when turning.
Is there a way to solve this problem?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.