Skip to content
View in the app

A better way to browse. Learn more.

WRobot

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Bag.GetBagItem() | InBag

  • Version: All
  • Product: WRobot General
  • Type: Bug
  • Status: Fixed

Hey for some reason the boolean InBag is returning false if its in bag. (Not equipped.) Bug ?

User Feedback

Recommended Comments

nax

WRobot user
6 hours ago, Droidz said:

Hello, in what version?

3.3.5a

nax

WRobot user

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));
                        }
                    }
                }
            }
        }

 

Hello, wait next update for the fix.

By default, the bot and users use "ItemsManager.HasItemById(1234)" to check if the character has item.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.