Page 1 of 2
Itemnotify loot... problem
Posted: Tue Oct 26, 2010 10:10 pm
by JalapenoCrunch
/varset LootTotal ${Corpse.Items}
/echo ${LootTotal} items on the corpse
/for LootSlot 1 to ${LootTotal}
.
. ${Corpse.Item[${LootSlot}].Name} and ${Corpse.Item[${LootSlot}].NoDrop}
. work fine to choose ${ClickIt}=rightmouseup or leftmouseup
.
/nomodkey /shift /itemnotify loot${LootSlot} ${ClickIt}
.
.
.
The above snippit results in white text error message in the MQ2 chat window from every /itemnotify. The message varies based on lootslot and clickit.
SLOT IS NULL: Could not send notification to loot2 rightmouseup
Echo before the /itemnotify shows that ${LootSlot} ${ClickIt} have the correct contents.
Is it still broken or do I have something else wrong?
I can also manually type the /itemnotify line into the MQ2 window, with a corpse open, and get the same white text. This was happening with the 10/23 code also.
Re: Itemnotify loot... problem
Posted: Tue Oct 26, 2010 11:36 pm
by devestator
Use /itemnotify ${Corpse.Item[${LootSlot}].InvSlot} leftmouseup
With the inventory changes lootN no longer works in reference to inventory slots.
Re: Itemnotify loot... problem
Posted: Wed Oct 27, 2010 9:56 pm
by JalapenoCrunch
Thank you, that fixed it. I have 2 more questions.
Functional changes such as this are inevitable as time goes by but is there a place to check for such changes? I couldn't find anything about the named loot slots not working with itemnotify on the board or wiki.
Also, I know the InvSlot TLO is gone but is there any word on if/when the InvSlot data type will be fixed? FindItem[].InvSlot.Pack and the ability to search thru closed packs were really useful.
In the mean time, keep up the good work.

Re: Itemnotify loot... problem
Posted: Wed Oct 27, 2010 10:31 pm
by dont_know_at_all
You can search through closed packs.
Eventually, the wiki will catch up.
Re: Itemnotify loot... problem
Posted: Wed Oct 27, 2010 11:28 pm
by JalapenoCrunch
Is the InvSlot data type (FindItem[xxx].InvSlot.ID, FindItem[xxx].InvSlot.Pack, etc) the same as the TLO InvSlot. Has it been removed also? If it is supposed to still be functional I am getting some inconsistant results.
To demonstrate, put a stack of Opals (or whatever item) in each of 2 backpacks in pack slots 2 and 3. No other Opals in inventory on the toon. Create a one line macro:
/echo "${FindItem[Opal].InvSlot.ID}" "${FindItem[Opal].InvSlot.Pack}"
With both packs open I get: [MQ2] "337" "30"
Pack 2 open pack 3 closed: [MQ2] "337" "30"
Pack 2 closed pack 3 open: [MQ2] "NULL" "NULL"
With both packs closed: [MQ2] "NULL" "NULL"
Move the pack in slot 3 to slot 1 and you get similar results but now FindItem returns NULL unless pack 1 is open. It seems that the pack in the lowest slot containing an item must be open.
Re: Itemnotify loot... problem
Posted: Wed Oct 27, 2010 11:43 pm
by dont_know_at_all
Open everything always.
Don't look in the burrito.
Re: Itemnotify loot... problem
Posted: Thu Oct 28, 2010 12:12 am
by JalapenoCrunch
That answer seems contradictory to your previous post or I am misunderstanding something. Can FindItem search through closed packs or do I have to have all packs open?
I can't help but look in the burrito, I usually have to add green chili sauce.
Re: Itemnotify loot... problem
Posted: Thu Oct 28, 2010 3:34 am
by dont_know_at_all
You can't click inside closed bags.
FindItem works in closed bags.
Re: Itemnotify loot... problem
Posted: Thu Oct 28, 2010 5:22 am
by drzoon
How I understand it is this: The
invslot DataType does not work as it did before the HoT expansion and the change to larger bags. Due to the fact that bags can have anything up to 20 slots, the EQ client now only provides the slot information when the bags are open.
Any TLO or other DataType that references invslot (eg. ${InvSlot}, ${FindItem[x].InvSlot}) will now return NULL if the item is in a bag and the bag is closed. If the item is not in a bag (ie. in one of the main worn or pack inventory slots), or is in a bag but the bag is open, it will return the correct value.
Re: Itemnotify loot... problem
Posted: Sun Oct 31, 2010 12:29 am
by JalapenoCrunch
Thanks for the info on .InvSlot. Its reliability is much degraded. FindItem finds and returns an Item object for items in closed bags. Is there a way or can a way be added to determine which bag holds an item if the bag is closed?
Re: Itemnotify loot... problem
Posted: Sun Oct 31, 2010 12:47 am
by devestator
JalapenoCrunch wrote:Thanks for the info on .InvSlot. Its reliability is much degraded. FindItem finds and returns an Item object for items in closed bags. Is there a way or can a way be added to determine which bag holds an item if the bag is closed?
el_nene posted a TLO that could find the bag an item is in the other day, I didn't test it but it looks like it would work:
viewtopic.php?f=46&t=17031
You can also now use my MQ2BagWindow plugin to eliminate the need of opening bags:
viewtopic.php?f=50&t=17035
Re: Itemnotify loot... problem
Posted: Tue Nov 16, 2010 12:29 pm
by ivan_the_iv
what folder was this correction made in? I can't seem to find it. Thanks
Re: Itemnotify loot... problem
Posted: Wed Jan 14, 2026 9:37 am
by xyilla
Re: Itemnotify loot... problem
Posted: Wed Jan 14, 2026 9:38 am
by xyilla
Re: Itemnotify loot... problem
Posted: Wed Jan 14, 2026 9:39 am
by xyilla