Possible bug in $corpse(empty) returns FALSE everytime

A forum for reporting bugs NOT related to custom plugins.

Moderator: MacroQuest Developers

Furiousness
a lesser mummy
a lesser mummy
Posts: 62
Joined: Tue Aug 26, 2003 3:48 pm

Possible bug in $corpse(empty) returns FALSE everytime

Post by Furiousness » Tue Feb 03, 2004 8:01 pm

Hi As above, am trying to check a mob's corpse before looting it to see if its empty, but alas I get FALSE each time I use $corpse(empty).

Any help appreciated.

Cheers

Fury

Brambo
orc pawn
orc pawn
Posts: 19
Joined: Thu Dec 18, 2003 4:08 am

Post by Brambo » Wed Feb 04, 2004 6:41 am

From the readme file:

$corpse(empty) Returns TRUE if there are no items in the corpse loot window.

You'll have to have the loot window open, meaning actually loot the mob, before it can tell whether it's empty or not.

GD
a snow griffon
a snow griffon
Posts: 353
Joined: Sat Jun 29, 2002 11:57 pm

Post by GD » Wed Feb 04, 2004 7:05 am

If you want to know if a corpse is empty or not, con it. If it only has 30 seconds on it, it's empty.
Opinions are like assholes, everyone has one, but most of them stink.

Furiousness
a lesser mummy
a lesser mummy
Posts: 62
Joined: Tue Aug 26, 2003 3:48 pm

Will try again

Post by Furiousness » Wed Feb 04, 2004 1:23 pm

Sorry will rephrase. I am trying to check the corpse after opening the loot window, to see if there is anything in it. If not then dont even click slot 0 to try and loot. So I do have the loot window open, and yes the readme file is correct (very handy for those that read it). But it still returns FALSE each time I call $corpse(empty) WITH the Loot Window OPEN.

Also seems $corpse(has,"itemname") also fails.

Cheers

Brendan