What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal
RebornBuddy Forums

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Question regarding retainer inventory.

Yasuko

Member
Joined
Oct 28, 2010
Messages
314
I see that there are enums for retainer pages in the InventoryBagId enum, but I am unable to figure out where the information is stored. When I check InventoryManager, I do not see any options for retainer inventory, and when cycling through FilledSlots and trying to sort via BagId as Retainer_Page1 (for example), nothing returns.

Is retainer inventory information not stored in inventory manager, or are the enums placeholders?
 
Are you running that while your retainer is open? I would imagine that the bot probably cannot access the data for the retainer's inventory unless the retainer's bag window is open.
 
Are you running that while your retainer is open? I would imagine that the bot probably cannot access the data for the retainer's inventory unless the retainer's bag window is open.

Yep, Retainer window was open at the time when running it in console.
 
I see that there are enums for retainer pages in the InventoryBagId enum, but I am unable to figure out where the information is stored. When I check InventoryManager, I do not see any options for retainer inventory, and when cycling through FilledSlots and trying to sort via BagId as Retainer_Page1 (for example), nothing returns.

Is retainer inventory information not stored in inventory manager, or are the enums placeholders?

Nope everything is working fine, you should really be using intellisense or the object browser.

Code:
InventoryManager.GetBagByInventoryBagId(InventoryBagId.Retainer_Page1)

I mean it has the name of the enum in the function name...
 
Nope everything is working fine, you should really be using intellisense or the object browser.

Code:
InventoryManager.GetBagByInventoryBagId(InventoryBagId.Retainer_Page1)

I mean it has the name of the enum in the function name...

I did see that, Although did not try that, I was thinking that if retainer inventory window was open, that FilledSlots in inventory manager would have picked it up any filled slot within the retainers inventory as well. Thank you for pointing that out though.
 
Code:
        /// <summary>
        /// Returns all currently filled item slots in the main inventory and equipped items
        /// </summary>
 
Back
Top