• 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

Bug - ${Ground} usage coupled with /nav /invoke broken and crashes EQ

I was attempting to use /invoke ${Ground.Grab} to pick up the nearest Glowing Globe in Mearatas, which I had manually moved to and was standing right next to it, probably within 5. It did not do it and instead reported:
"You are 225.42 away from the Glowing Globe, move to within 20 feet of it to Grab it."

I tried several times to pick it up with /invoke ${Ground.Grab}.

After manually picking it up, out of curiousity I again /invoke ${Ground.Grab}, and it again gives me a distance clear across somewhere, even though I know there's one much closer.

I tried using ${NearestSpawn[glowing globe]} and which reported null, as well as ${NearestSpawn[npc glowing globe.... item... all of the search options; tried caps. Nothing. Also tried using .ID and got null.

I got the ID of the reported ground spawn by using /echo ${Ground.ID}, which returned 132, and attempted to /nav id, to whit it reported:
"Could not find spawn matching id 132."

Now this is getting more curious, so I got the XYZ coords via ${Ground.X} etc, and then did /nav xyz ... which worked. I then did /invoke ${Ground.Grab} and EQ crashed to desktop. I didn't find a coredump.

I restarted eq, and I wrote a little script. It worked but wouldn't always pick up the ground spawn right away. If you tried /invoke ${Ground.Grab} a couple times it seemed to work. Also, if there were stacked/Glowing Globes, it did not pick them all up, it instead reported another somewhere far away. Once or twice it would attempt to pick up the same ground spawn even though I had already grabbed it.

pickupAN
Code:
Sub Main

    /declare     XCoord        int        outer
    /declare    YCoord        int        outer
    /declare    ZCoord        int        outer
    
    /varset XCoord ${Ground.X}
    /varset YCoord ${Ground.Y}
    /varset ZCoord ${Ground.Z}
    
    /nav locxyz ${XCoord} ${YCoord} ${ZCoord}
    
    /while (${Me.Moving}) {
        /delay 1s
    }
    /delay 3s
    /invoke ${Ground.Grab}
    /delay 2s
    /autoinventory
    
/return
 
ground tlo has some issues. but your issue specifically is you're not targetting.

you should /itemtarget glowing then try and ground.grab

have you tried using mq2groundspawns?

 
Either what SIC said or it's not a glowing globe.
the ones in mearatas are, but good point about the names - some names are dummmmmb for like mushrooms and other stuff

the reason it said the glowing globe was super far away, is because that is the item is was thinking you were targeting
you need to get close to what you want to pick up, then item target it, then grab it
 
Bug - ${Ground} usage coupled with /nav /invoke broken and crashes EQ

Users who are viewing this thread

Back
Top
Cart