Hey for some reason the boolean InBag is returning false if its in bag. (Not equipped.) Bug ?
TechMecca 7 Posted November 16, 2022 My Code nternal static void SearchForBags() { BagIndex.Clear(); foreach (var item in Bag.GetBagItem()) { if(item.Type == WoWObjectType.Container) { if(item.InBag) { Int32[] s = Bag.GetItemContainerBagIdAndSlot(item.Entry).ToArray(); if (s != null && !BagIndex.Exists(x => x.Name == item.Name)) { var Name = item.Name; var Slots = BagSlotReader(s[0], s[1]); var entry = item.Entry; BagIndex.Add(new BagClass(Name, Slots, entry, s)); } } } } }
Droidz 2738 Posted November 17, 2022 Hello, wait next update for the fix. By default, the bot and users use "ItemsManager.HasItemById(1234)" to check if the character has item. TechMecca 1
Recommended Comments
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