Hi all
I didn't want to create a new thread for this issue, instead, I have resurrected this post; (Yes, I am a necromancer).
Using Kanegasi's code did correctly remove all items and placed them in my bags/backpack;
Lua Code:
local EquipmentSlots = {
AMMOSLOT = 0,
HEADSLOT = 1,
NECKSLOT = 2,
SHOULDERSLOT = 3,
SHIRTSLOT = 4,
CHESTSLOT = 5,
WAISTSLOT = 6,
LEGSSLOT = 7,
FEETSLOT = 8,
WRISTSLOT = 9,
HANDSSLOT = 10,
FINGER0SLOT = 11,
FINGER1SLOT = 12,
TRINKET0SLOT = 13,
TRINKET1SLOT = 14,
BACKSLOT = 15,
MAINHANDSLOT = 16,
SECONDHANDSLOT = 17,
RANGEDSLOT = 18,
TABARDSLOT = 19
}
local ignore,foundspot={[0]={},[1]={},[2]={},[3]={},[4]={},}
for k, v in pairs(EquipmentSlots) do
PickupInventoryItem(v)
foundspot = false
if CursorHasItem() then
for bag = 4, 0, -1 do
for slot = 1, C_Container.GetContainerNumSlots(bag) do
if not ignore[bag][slot] and not C_Container.GetContainerItemID(bag, slot) then
if bag == 0 then
C_Container.PutItemInBackpack()
else
C_Container.PutItemInBag(bag+19)
end
ignore[bag][slot] = true
foundspot = true
break
end
end
if foundspot then
break
end
end
end
end
Since the launch of Wrath and Dragonflight 10.05 the code has stopped working, (even after adding the
C_Container. where required), and it throws no errors at all.
The code still works in flawlessly Classic.
How do I get this running again?