Hey for some reason the boolean InBag is returning false if its in bag. (Not equipped.) Bug ?
Droidz 2722 Posted November 16, 2022 Share this comment Hello, in what version? Link to comment Share on other sites More sharing options...
Nax 7 Posted November 16, 2022 Share this comment 6 hours ago, Droidz said: Hello, in what version? 3.3.5a Link to comment Share on other sites More sharing options...
Nax 7 Posted November 16, 2022 Share this comment 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)); } } } } } Link to comment Share on other sites More sharing options...
Droidz 2722 Posted November 17, 2022 Share this comment Hello, wait next update for the fix. By default, the bot and users use "ItemsManager.HasItemById(1234)" to check if the character has item. Nax 1 Link to comment Share on other sites More sharing options...
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