zzzar 13 Posted May 29, 2019 Share Posted May 29, 2019 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. Link to comment https://wrobot.eu/forums/topic/11320-bot-dont-see-unequipped-bags/ Share on other sites More sharing options...
Droidz 2738 Posted June 4, 2019 Share Posted June 4, 2019 Hello, you get same result with lua code? Link to comment https://wrobot.eu/forums/topic/11320-bot-dont-see-unequipped-bags/#findComment-54311 Share on other sites More sharing options...
zzzar 13 Posted June 8, 2019 Author Share Posted June 8, 2019 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) Link to comment https://wrobot.eu/forums/topic/11320-bot-dont-see-unequipped-bags/#findComment-54380 Share on other sites More sharing options...
Droidz 2738 Posted July 25, 2019 Share Posted July 25, 2019 Wait next upadate and tell me if problem is resovled Link to comment https://wrobot.eu/forums/topic/11320-bot-dont-see-unequipped-bags/#findComment-55243 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now