• 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

Need loot macro

pythag1

Member
Hi - sure this is out there but cant track it down, I am after a macro that runs whilst I play that does nothing but:

Checks i am not in combat
checks if corpse with radius of X if so loots as per loot.ini
then goes back and starts again

any help?
 
Here is something quick:

Rich (BB code):
#include Ninjadvloot.inc
Sub Main

/declare campX int outer ${Me.X} 
/declare campY int outer ${Me.Y}
/declare campF int outer ${Int[${Me.Heading.DegreesCCW}]}

   /call SetupAdvLootVars

:loop
/if (!${Me.Combat} && ${SpawnCount[corpse radius ${CorpseRadius} zradius 100 noalert 25]}) {
/delay 2s
/call LootMobs
/MoveTo Loc ${campY} ${campX}
:wait
/if (${Me.Moving}) /goto :wait
/delay 5s
/face heading ${campF}
}
/delay 1s
/goto :loop

/end
 
After a little more searching this one posted by hoosierbilly works a little better
Rich (BB code):
| LootMobs.mac v1.1 by hoosierbilly 23 Sept 2011
| Based on - Sellstuff.mac v1.1 by Maskoi 11/27/2010
| Type /mac lootmobs
| Required  Ninjadvloot.inc v2.+ and MQ2Moveutils

#include Ninjadvloot.inc
Sub Main
   /call SetupAdvLootVars
	/if (!${SpawnCount[corpse radius ${CorpseRadius} zradius 100 noalert 25]}) {
	/echo There are no corpse's within ${CorpseRadius} units range.
	/squelch /endmac
	}
	/if (${SpawnCount[npc radius ${MobsTooClose} zradius 100 noalert ${AlertList}]}) {
	/echo Can't loot while mobs are within ${MobsTooClose} units range.
	/squelch /endmac
	}
    /call LootMobs
	/look
	/echo Looting complete - go slay some more.
/squelch /return

The first one kept running back to some reference point which didnt work when passing through a dungeon.
Thank you :)
 
Need loot macro

Users who are viewing this thread

Back
Top
Cart