• 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

Request - Loot macro

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.
	 /endmac
	}
	/if (${SpawnCount[npc radius ${MobsTooClose} zradius 100 noalert ${AlertList}]}) {
	/echo Can't loot while mobs are within ${MobsTooClose} units range.
	 /endmac
	}
    /call LootMobs
	/look
	/echo Looting complete - go slay some more.
/return
 
If I was to modify this macro to make it so it didn't care abouts mobs, and looted everything in a fairly large radius, could I just use the following:

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 10000 noalert 25]}) {
	/echo There are no corpse's within ${CorpseRadius} units range.
	 /endmac
	}
	/if (${SpawnCount[npc radius ${MobsTooClose} zradius 1 noalert ${AlertList}]}) {
	/echo Can't loot while mobs are within ${MobsTooClose} units range.
	 /endmac
	}
    /call LootMobs
	/look
	/echo Looting complete - go slay some more.
/return

I have set the radius for corpses to 10000, and the mob radius to 1 ... Or would it be possible to even omit the spawn check?

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 10000 noalert 25]}) {
	/echo There are no corpse's within ${CorpseRadius} units range.
	 /endmac
	}
    /call LootMobs
	/look
	/echo Looting complete - go slay some more.
/return
 
This macro will check for corpses every 30 secs within 100' then run back to the spot you started it after looting.

Rich (BB code):
| loot.mac by Maskoi 07/28/2013 Redguides.com
#include ninjadvloot.inc

sub main
    /declare CampZone               int         outer       ${Zone.ID}
    /declare CampXLoc               int         outer       ${Me.X} 
    /declare CampYLoc               int         outer       ${Me.Y}
    /declare CampZLoc               int         outer       ${Me.Z}
    /declare LookForward            int         outer       ${Me.Heading.DegreesCCW} 
    /echo Starting Loot macro. I will check for corpses to loot every 30s.
    /call SetupAdvLootVars
    /varset CorpseRadius 100
    /varset MobsTooClose 10
    :top
        /moveto mdist 10
        /call LootMobs
        /delay 2s 
        /moveto loc ${CampYLoc} ${CampXLoc}
        /delay 2s ${MoveTo.Stopped}
        /face heading ${LookForward}
        /delay 30s
    /goto :top
/return
 
Thanks Maskoi! This will make cleanup after headshotting so much faster. Redcented!
 
I know right? RL has been super busy for me the last few years. Gonna try to be more active and such on here.
 
Request - Loot macro

Users who are viewing this thread

Back
Top
Cart