Movement Loop Generator 2.0

Topics related to tools created by the Core Team or 3rd-party community members.

Moderator: Team Members

Post Reply
User avatar
Cynnar
Project Leader
Posts: 738
Joined: Sat Sep 27, 2014 1:22 am
EQ2Emu Server: Eq2emulator
Characters: Vlash
Veinlash
Taragak
Cynnar

Movement Loop Generator 2.0

Post by Cynnar » Mon Mar 27, 2017 7:52 pm

The Original Movement Loop Generator would not parse log files for me so I thought it was time for a new one. The original generator was Scatman's program. I could not locate the source for this program, so I wrote it from scratch with some changes and additions.

The familiar...
The use of /loc_start spawn name and /loc_stop command use. This marks where you start collecting waypoints.
When finished the generator will create a lua script.

The new...
Each waypoint will be displayed in the main window in a grid format.
Any waypoint can be edited or deleted, as well as a new waypoint being inserted.
The output lua script is a fully functional script that can be assigned to the spawn without any editing, and movement will work.

Source on Github
All Releases

Source is on SVN
Download exe from SVN
SVN username: anonymous
SVN password:
There is no password for anonymous

Notice: the original post was lost after the critical system recovery. I will get pictures back up soon.
[ 01000011 01111001 01101110 01101110 01100001 01110010 ]

Follow on:
Twitter Facebook

Contact me:
PM Discord chat email

Hardware: the parts of a computer that can be kicked

User avatar
Cynnar
Project Leader
Posts: 738
Joined: Sat Sep 27, 2014 1:22 am
EQ2Emu Server: Eq2emulator
Characters: Vlash
Veinlash
Taragak
Cynnar

Re: Movement Loop Generator 2.0

Post by Cynnar » Sun Jan 13, 2019 3:45 pm

Finally got around to working on this some more. Here are some screenshots.
ScreenHunter_220 Jan. 13 16.36.png
ScreenHunter_219 Jan. 13 16.35.png
Here is the actual log I used when I was testing and grabbing those screenshots.

Code: Select all

(1547395389)[Sun Jan 13 10:03:09 2019] Logging to 'logs/Kithicor Forest/eq2log_Balrog.txt' is now *ON*
(1547395389)[Sun Jan 13 10:03:09 2019] You have entered Frostfang Sea.
(1547395389)[Sun Jan 13 10:03:09 2019] Dev: DB Milestone 2 - Current zones: FrostfangSea, GreaterFaydark, DarklightWood. Spells have been wiped, repop starting soon.
(1547395417)[Sun Jan 13 10:03:37 2019] Unknown command: 'loc_start test'
(1547395420)[Sun Jan 13 10:03:40 2019] Your location is -214.82, 34.45, -728.69.  Your orientation is 334.88, 0.00, 0.00
(1547395424)[Sun Jan 13 10:03:44 2019] Your location is -212.47, 34.43, -733.71.  Your orientation is 334.88, 0.00, 0.00
(1547395427)[Sun Jan 13 10:03:47 2019] Your location is -209.24, 32.54, -740.60.  Your orientation is 334.88, 0.00, 0.00
(1547395435)[Sun Jan 13 10:03:55 2019] Unknown command: 'loc_stop'
(1547395443)[Sun Jan 13 10:04:03 2019] Unknown command: 'loc_start test'
(1547395445)[Sun Jan 13 10:04:05 2019] Your location is -209.24, 32.54, -740.60.  Your orientation is 82.34, 0.00, 0.00
(1547395448)[Sun Jan 13 10:04:08 2019] Your location is -214.73, 33.83, -741.33.  Your orientation is 82.34, 0.00, 0.00
(1547395451)[Sun Jan 13 10:04:11 2019] Your location is -220.38, 34.36, -742.09.  Your orientation is 82.34, 0.00, 0.00
(1547395454)[Sun Jan 13 10:04:14 2019] Unknown command: 'loc_stop'
Right now the best thing to do is use the loc_start SpawnNameHere to start you waypoint logging. Create a hotkey for your /loc and press that new hotkey at each point you want the spawn to stop or turn. You can also add in a function and the generator will create the function for you. You will need to edit it and add in what you want the npc to do at that waypoint, Like bend over and gather a shiney.

Edit:
Forgot to mention that you can use a /loc_delay 5 to set the pause at a waypoint time to 5. Same goes for speed as well loc_speed 5 will change the speed to 5
You do not have the required permissions to view the files attached to this post.
[ 01000011 01111001 01101110 01101110 01100001 01110010 ]

Follow on:
Twitter Facebook

Contact me:
PM Discord chat email

Hardware: the parts of a computer that can be kicked

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest