Posted by qvintus on Sat, 14 Sep 2013 01:22:31
First I want to say, I'm using the API for patch 1.12.1.. I hope. Trying to make a simple filter/autoloot what you want. Addon for vanilla WoW.
Been trying to put this together for hours but I just can't spot my error nor find any info about this 'LootSlot();' function.
My problem is that nothing happens. So far all it does is spit out my prints.. that's it.
## Interface: 11200 ## Title: LootOMat ## Notes: none ## Dependencies: Stubby main.lua
function lootIt() local lootLength = GetNumLootItems(); for items = 1, lootLength do local lootIcon, lootName, lootQuantity, lootRarity = GetLootSlotInfo(items); if (lootRarity > 0 or lootQuantity == 0) then Stubby.Print(lootName); local loot = LootSlot(items); end end end local f = CreateFrame("Frame", "MyAddOnFrame", nil); f:RegisterEvent("LOOT_OPENED"); f:RegisterEvent("OPEN_MASTER_LOOT_LIST"); f:SetScript("OnEvent", lootIt); Stubby.Print("LootOMat: Successfully Loaded");
Any help is welcome!
Best regards Qvintus
Posted by jnwhiteh on Sat, 14 Sep 2013 07:26:04
Sorry, we don't support private servers.
Posted by qvintus on Sat, 14 Sep 2013 12:43:50
Saw no such thing in term of service.. oh well sorry to take your time .__.