Showing results 1 to 5 of 5
Search took 0.00 seconds.
Search: Posts Made By: LudiusMaximus
Forum: Lua/XML Help 02-23-20, 05:23 AM
Replies: 7
Views: 3,446
Posted By LudiusMaximus
Hey, thanks! I did not know of this function....

Hey, thanks! I did not know of this function. With it I do not have to manually hardcode the offset any more.
Forum: Lua/XML Help 02-22-20, 07:33 AM
Replies: 7
Views: 3,446
Posted By LudiusMaximus
As of 8.3 you need to...

As of 8.3 you need to do
scannerTooltip:SetInventoryItem('player', itemSlot:GetID()+51)
Forum: Lua/XML Help 04-06-19, 04:03 PM
Replies: 7
Views: 3,446
Posted By LudiusMaximus
Thanks again for your help! It turned out that...

Thanks again for your help!

It turned out that the error was something else:
Apparently, the slotIDs for bank are now 48-75.

When I changed the line in my code above...
Forum: Lua/XML Help 04-01-19, 03:50 PM
Replies: 7
Views: 3,446
Posted By LudiusMaximus
Thanks for the quick reply! I tried -- Set the...

Thanks for the quick reply!

I tried
-- Set the tooltip to current item.
if (self:GetBag() == -1) then
scannerTooltip:SetInventoryItem('player', self:GetID()+39)
else
...
Forum: Lua/XML Help 04-01-19, 03:06 PM
Replies: 7
Views: 3,446
Posted By LudiusMaximus
GameTooltip SetBagItem() not working for bank slots

My Bagnon plugin relys on scanning item tooltips.

However, it seems that
SetBagItem(self:GetBag(), self:GetID())
does have no effect for items in bank slots (self:GetBag() == -1).

I am using this...
Showing results 1 to 5 of 5