• Hail, we're RedGuides. We want you to play six (yes, 6!) EverQuest characters at once. We have scripts and a friendly community to help, please join our playstyle and say hello! 👋
  • We've added LLM sections to our Terms & Rules and Resource Rules, for everyone's sanity & in-game safety.
    Read more
    a. Do not replace your voice with an LLM. This goes for your posts and your scripts. Drafting and editing with a tool is fine, but don't take you out of what you share.
    b. Do not replace your EQ character's voice with an LLM. We don't want scripts that speak over /ooc, /shout or other public channels. This has been an unwritten rule that's kept casino scripts off the site for decades, but we're now compelled to make it clear: keep automated communication private.

    Why Does RG Review Scripts?
    Nearly every LLM-written Lua script we see is making your character do impossible things, and rarely in a way that's beneficial to you. We've seen heavy server hammering, /target over impossible distances when /nav spawn would passively accomplish the same thing, a spawn search that fires 20+ times per second, and other pointless actions that are likely annoying GMs.

    You are welcome to use LLMs as a tool to structure, draft, and edit your work, but please read critically before hitting /lua run

Checking movement with MQ2Navigation

I found a little snippet in a macro to check for movement while using MQ2Navigation. I modified it to be able to be plugged into just about any macro with very little modification.

I came up with this because I noticed using /nav target, the macro would immediately go to the next line of code. This was causing the code I was writing to turn on attack and start spamming to move closer. This will also hold it this loop until you finish a long run. I was having a problem with beginning hunting mode before the toon reached the proper area. This seems to work well for both. Enjoy.

Snippet:

Rich (BB code):
	/nav target or LocX LocY LocZ
		:waitForMove
		/delay 2s
		/if (${Navigation.MeshLoaded} && ${Navigation.Active})  {
				/goto :waitForMove
		}
 
Avoid goto loops if possible because sometimes you forget about them when you modify code and it makes tracking the flow more difficult than it needs to be. I'd suggest a /while statement for code cleanup purposes.
Rich (BB code):
/while ${Navigation.Active} {
/delay 2
}
 
Randyleo, I find the Advpath easier to work with. A sub that handles the "wait till I am finished moving" for me is

Sub waiting
/while (${AdvPath.State}==2)
/delay 1
/endwhile
/return

another tool for your tool box..........
 
Checking movement with MQ2Navigation

Users who are viewing this thread

Back
Top
Cart