Git Product home page Git Product logo

ameisennavigation's Issues

Data Protocol

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..

[WOTLK] Bug : Get Path.

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>(); } }

Wrong mmap version

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.