Page 1 of 6

Ignore corpses

Posted: Sat Dec 31, 2005 8:45 am
by Bigguy70
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:

Posted: Sat Dec 31, 2005 10:06 am
by gimp
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)

Posted: Sat Dec 31, 2005 10:12 am
by Moeymoejoe
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.

Posted: Sat Dec 31, 2005 12:39 pm
by dont_know_at_all

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

Posted: Tue Jan 03, 2006 7:25 am
by A_Druid_00
I do this in Ninjadvloot, if you want to just use a .inc.

Re: Ignore corpses

Posted: Mon Jun 30, 2025 5:00 pm
by xyilla

Re: Ignore corpses

Posted: Mon Jun 30, 2025 5:37 pm
by xyilla

Re: Ignore corpses

Posted: Mon Jun 30, 2025 5:38 pm
by xyilla

Re: Ignore corpses

Posted: Mon Jun 30, 2025 5:39 pm
by xyilla

Re: Ignore corpses

Posted: Mon Jun 30, 2025 5:40 pm
by xyilla

Re: Ignore corpses

Posted: Mon Jun 30, 2025 5:42 pm
by xyilla

Re: Ignore corpses

Posted: Mon Jun 30, 2025 5:43 pm
by xyilla

Re: Ignore corpses

Posted: Mon Jun 30, 2025 5:44 pm
by xyilla

Re: Ignore corpses

Posted: Mon Jun 30, 2025 5:45 pm
by xyilla

Re: Ignore corpses

Posted: Mon Jun 30, 2025 5:46 pm
by xyilla