Page 1 of 2
Feat Req: /target npccorpse
Posted: Sun Oct 12, 2003 9:06 am
by LordGiddion
Is it possible to have a parameter for /target like npccorpse that will target the nearest corpse not belonging to a PC?
/target corpse targets the nearest corpse but might get pc corpses if one is the closest corpse.
Posted: Sun Oct 12, 2003 6:32 pm
by kagonis
/target corpse npc
Posted: Mon Oct 13, 2003 3:42 am
by Plazmic
Nope, sorry... I haven't seen a way to know if the corpse came from a PC or an NPC ;(
Posted: Mon Oct 13, 2003 5:57 am
by honduras
normally would just
/target corpse <name of corpse>
eg /target corpse spider |would target any corpse that belong to a velium spider, stupid spider, or dumb spider and nothing else that does not contain spiders.
Posted: Mon Oct 20, 2003 7:24 pm
by LordGiddion
Is the corpse timer on a corpse available to your client before you click on it? Odviously corpse timer on a pc corpse would return a different value.
Posted: Mon Oct 20, 2003 7:52 pm
by Imperfect
If corpse level is 55 or greater and is less than 30 minutes odds are it is an npc corpse or if corpse is 54 or less and the corpse timer is less than 7 minutes it is most likelly an npc corpse again.
By no means would this be accurate but, it would work in the vast majority of situations.
Posted: Mon Oct 20, 2003 9:03 pm
by LordGiddion
Also just thought about this, PC corpses have 2 timers, rot and rez, NPC don't - well they have 2 loot and rez but they are odviously different.
Posted: Mon Oct 20, 2003 9:14 pm
by Lax
When you check rez timers they come back as a result of sending /consider to the server, I don't believe theyre in the struct
Posted: Tue Oct 21, 2003 4:15 am
by blakbelt
Imperfect wrote:If corpse level is 55 or greater and is less than 30 minutes odds are it is an npc corpse or if corpse is 54 or less and the corpse timer is less than 7 minutes it is most likelly an npc corpse again.
This wouldnt work on any raid i have been on

everyone is 65 and generally we are back up and running within 10 mins from a wipe.
Posted: Tue Oct 21, 2003 4:23 am
by wassup
blakbelt wrote:Imperfect wrote:If corpse level is 55 or greater and is less than 30 minutes odds are it is an npc corpse or if corpse is 54 or less and the corpse timer is less than 7 minutes it is most likelly an npc corpse again.
This wouldnt work on any raid i have been on

everyone is 65 and generally we are back up and running within 10 mins from a wipe.
He is talking about when you right click a corpse.
If it is a PC corpse and you right click it/con it, you get a message about how long the corpse has to be ressed.
An NPC corpse doesn't return this message when you right click it. It gives you the amount of time left to loot.
Posted: Tue Oct 21, 2003 9:17 am
by Plazmic
I'm not 100% sure about this yet, but it appears $target(hp,cur) of a PC's corpse returns a negative value, while an NPC corpse returns zero.
Posted: Tue Oct 21, 2003 9:45 am
by LordGiddion
Thanks for the hit Plaz I'll try that.
Posted: Tue Oct 21, 2003 11:07 am
by blueninja
This seems to work most of the time but I've seen instances where it doesn't. From the log of my macro (pc name changed):
[2003/10/21 15:35:01] orc_centurion's_corpse0 has 10 hp
[2003/10/21 15:38:11] Player's corpse0 has 32 hp
This is out of some 30-40 corpses that were in the zone at that time (about 7-8 were pc corpses).
Looking through this logfile I just noticed something else, it seems npc corpses have an underscore before the word corpse and player corpses have a space, like in the quoted lines. Player corpses are named "Player's corpseX" while mob corpses are named "mob's_corpseX". This holds true for all the mobs in my log but perhaps it won't if the mob's name doesn't have any spaces. Someone go kill lockjaw and see if the corpse is named "lockjaw's_corpse0" or "lockjaw's corpse0" :) ..
Posted: Tue Oct 21, 2003 10:41 pm
by Imperfect
Considering you are on a raid (not taking into Plaz's ideas about corpses and hp values) every player corpse would have a greater than 30 minute rot timer
Posted: Mon Oct 27, 2003 1:31 pm
by blueninja
Plazmic wrote:I'm not 100% sure about this yet, but it appears $target(hp,cur) of a PC's corpse returns a negative value, while an NPC corpse returns zero.
Took some time before I found any, but all of a sudden I find ~10 pc corpses at the same time that had 0 hp (at BoT gy). Seems this doesn't work
