Skip to content

Uses a parsed pkt file from WowPacketParser to create paths from movement packets

License

Notifications You must be signed in to change notification settings

DavuKnight/WaypointCreator

 
 

Repository files navigation

logo Waypoint Creator

Used to create paths for npcs on wow private servers. Note: This software requires a parsed packet file to work.

Login

When you start the program you will see the following window. If you have access to a database you can connect to it so the program can provide the creatures name for the entries you have sniffed. just input the data required to connect to your database and click ok. If save values is checked it will save your data so next time you use the software you will just need to click ok. Connecting to a database is used to display creatures names and is recommended but not required and if you do not wish to you can just click cancel.

logo

Main Window

After you login to your database, or click cancel, you will be presented with the main window. Click the import sniff button and you will see an Open file window.

logo

Select a parsed pkt file on your computer to load into the program and click the Open button. The program will then collect all the movement packets from the sniff file.

logo

You will now see that a file has been loaded into the program ready to examine the movement packets

logo

You can now search through the movement packets by all, leaving the entry textbox blank, or you can input a creature entry to narrow the search as shown below.

logo

logo

You will see a list of guids the program has collected movement packets for, if any. You can then select a guid, by clicking on it, and you will be shown its collected movement packets displayed in a list and on a grid.

This group of movement packets shown here is obviously random movement and not a path But it is still useful. First note that "Gray Bear" is shown because I logged into my database. If I did not log in this would show "Entry XXXXX database not connected". Also if you are connected to a database and the sniff contains a creature not found in that database you will see "Entry XXXXX not in database".

If you look in the top right of the window you will see Wander Range. This is a calculation of the move radius based on the distance between the two farthest collected move points. This will be more accurate with more points collected. Note that if you see a spike where the creature moved into combat you may wish to delete those points for a more accurate calculation. I will get into cutting and pasting when I discuss paths. Here I would set the wander distance for this creature to 10.

logo

If you wish to locate this npc in game you can right click on a point and then click "Make .go xyz". I this case it will copy ".go xyz -320.78665 -787.35364 56.93638" to your clipboard so you can paste it in game to take you to the location. Note: Make sure you are on the right map before doing this or you may find yourself falling.

Pathing "The main reason we are here"

Below we see a sniff that appears to be a path. It is important to not that this software does not detext paths, but will show you movement packets on a graph and it is up to you to find the path in the points. Here we can see that the movement is repeating, thus a path, but some points appear more than once and need to be removed.

logo

Looking at the path you can see that it goes from point 1 to point 10 and then repeats so we should remove all the points above 10 by selecting them, then right clicking on the points, and clicking cut.

logo

After cutting the duplicate points we are left with the path shown below.

logo

You can then right click on the waypoints again and click "Create SQL" to output your path to the textbox on the SQL Output Tab. Click on the SQL Output tab and you will see your SQL for the path.

It's very important to note that the creature_addon INSERT line is generic. The values given will be good for most creatures but may be wrong for some. If the npc has a mount or auras you will need to update it before inserting into db or you will erase them. Also you will need to make sure bytes2 is correct.

logo

About

Uses a parsed pkt file from WowPacketParser to create paths from movement packets

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 50.4%
  • HTML 49.6%