• 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
navto.inc

Release navto.inc 1907b

Download
LamahHerder submitted a new resource:

navto.inc - ease MQ2Nav use in macro's

navto.inc ease MQ2Nav use in macro's

/call navToID ${Spawn[pc LamahHerder].ID}
Wait while /nav to Spawn ID, target it when LOS and target-able

/call navToYX 6 9
Wait while /nav to YX loc

/call navToYXZ 6 9 2
Wait while /nav to YXZ loc

/call navToDoorID 69
Wait while /nav to door/switch and click it

/call navToPortalID 69
Wait while /nav to a portal and wait till you are transported

/locq
Bind that...

Read more about this resource...
 
Issue/bug/feature discovered whereby navto.inc will interrupt macro function:

When using the navToPortalID sub, and subsequently having an event in an after zoning scenario, I found that this sub would hang my macro and prevent it from triggering actions in the event. I rewrote the sub like below so that it still functions, but does not interrupt the event sub. I also chose to move the doortarget before the nav command, as it made no logical sense to target it after you've naved to it, though it has no meaningful impact on operation. What I did remove was the delay while not moving, and changed the distance check to delay while your distance from target was less than 60 to instead be while greater than 25 (the distance from the door you activate the portal). I believe it was getting into a logic loop fail with the less than 60 check.

Code:
Sub navToPortalID(int iPortalID)
    DODBG navToPortalID doorID = ${iPortalID}
    /doortarget id ${iPortalID}
    /nav door id ${iPortalID} click
    /while ( ${Switch.Distance}>25 || ${Navigation.Active} || ${Me.Moving} ) {
        /delay 5
    }
/return
 
Release navto.inc

Users who are viewing this thread

Back
Top
Cart