Ignore corpses

Have a macro idea but not sure where to start? Ask here.

Moderator: MacroQuest Developers

Bigguy70
a ghoul
a ghoul
Posts: 85
Joined: Tue Sep 27, 2005 9:08 am

Ignore corpses

Post by Bigguy70 » Sat Dec 31, 2005 8:45 am

Is there anyway to make a macro ignore a corpse it has already looted?

I've writen a looter/genbot but if im fighting multiple mobs or an area with quick spawn it will try to loot the same corpse :(

Back when I played UO and used EasyUO it had a command Ignoreitem which
hid an item from the find function.

EasyUO is how I learned my scripting skills but my thought processes are still used to having the funtions that easyuo had :roll:

User avatar
gimp
a grimling bloodguard
a grimling bloodguard
Posts: 584
Joined: Fri Oct 29, 2004 9:28 am
Location: internet

Post by gimp » Sat Dec 31, 2005 10:06 am

easiest way to solve your problem of course is to just loot the corpses fully.
else, add "/hidecorpses all" at the end of your loot routine.

and your loot corpse logic hopefully act smarter than /target corpse, /loot

use /target id ${mobid}, the mob id remains the same when mob is dead, you should save this id from while your bots are killing the mob.

or, when corpse is targeted, access ${Target.ID} and save this for later use (repops in zone is going to repopulate the same spawn id's so you need another timer or something to "decay" these id's over time)

Moeymoejoe
a snow griffon
a snow griffon
Posts: 363
Joined: Sun Jul 18, 2004 10:17 pm

Post by Moeymoejoe » Sat Dec 31, 2005 10:12 am

The eq command "/hidecorpse looted" will make any corpse you inspect/loot vanish after you get off it. Unfortunatley MQ doesnt recogize whatever flag eq uses to ID these corpses.

User avatar
dont_know_at_all
Developer
Developer
Posts: 5450
Joined: Sun Dec 01, 2002 4:15 am
Location: Florida, USA
Contact:

Post by dont_know_at_all » Sat Dec 31, 2005 12:39 pm

Code: Select all

/alert clear 1
| a clear alert and noalert don't mix
/alert add 1 npc this_is_bogus

:nexttarg

| target the nearest corpse not in the alert
/target corpse noalert 1
/if (!${Target.ID}) /return

/loot
....
| add the corpse we just looted to the list
/addalert add 1 corpse "${Spawn[ID ${MobID}].CleanName}"
/notify LootWnd DoneButton leftmouseup
/goto :nexttarg
edited for syntax

A_Druid_00
Macro Maker Extraordinaire
Posts: 2378
Joined: Tue Jul 13, 2004 12:45 pm
Location: Rolling on the Lawn Farting

Post by A_Druid_00 » Tue Jan 03, 2006 7:25 am

I do this in Ninjadvloot, if you want to just use a .inc.
[quote]<DigitalMocking> man, A_Druid_00 really does love those long ass if statements
<dont_know_at_all> i don't use his macro because i'm frightened of it[/quote]
[quote][12:45] <dont_know_at_all> never use a macro when you can really fuck up things with a plugin[/quote]

xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: Ignore corpses

Post by xyilla » Mon Jun 30, 2025 5:00 pm


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: Ignore corpses

Post by xyilla » Mon Jun 30, 2025 5:37 pm


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: Ignore corpses

Post by xyilla » Mon Jun 30, 2025 5:38 pm


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: Ignore corpses

Post by xyilla » Mon Jun 30, 2025 5:39 pm


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: Ignore corpses

Post by xyilla » Mon Jun 30, 2025 5:40 pm


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: Ignore corpses

Post by xyilla » Mon Jun 30, 2025 5:42 pm


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: Ignore corpses

Post by xyilla » Mon Jun 30, 2025 5:43 pm


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: Ignore corpses

Post by xyilla » Mon Jun 30, 2025 5:44 pm


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: Ignore corpses

Post by xyilla » Mon Jun 30, 2025 5:45 pm


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: Ignore corpses

Post by xyilla » Mon Jun 30, 2025 5:46 pm