May 29, 20196 yr As title say bot just dont see unequipped bag in inventory. Checked with various bags, wotlk version Also want to add that ObjectManager.Me.GetEquipedItemBySlot(wManager.Wow.Enums.InventorySlot.CONTAINER_BAG_OFFSET_1); is not working too(for all bag offsets) and always 0 even with equipped bag. Other inventory slots works. @Droidz please take a look.
June 8, 20196 yr Author Hi, 1.Lua.LuaDoString<int>("itemId = GetInventoryItemID('player', 23); return itemId"); correctly returns bag ID for equipped bag 2. For check if bag in inventory(hope the code is correct) local itemID = 4496 for i = 0, NUM_BAG_SLOTS do for z = 1, GetContainerNumSlots(i) do if GetContainerItemID(i, z) == itemID then print("Have Item") else print("not have item") break end end end returns that no item with this id in inventory (tested with various bags)
Create an account or sign in to comment