1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Resolved BeastOfBurden#getItems() is broken

Discussion in 'Client & Site Support' started by Infinite Inferno, Apr 19, 2015.

  1. Infinite Inferno

    Infinite Inferno The Pip Collector

    Joined:
    Sep 14, 2014
    Messages:
    445
    Likes Received:
    122
    Literally banged my head against the wall for 2 hours, but i am convinced its broken.

    BeastOfBurden#getItems(filter)#size always returns 0 even if the item is within the BoB's inventory;

    Edit: Deepak confirmed that it only works when the interface is open. So i guess it isn't really broken, but

    could you please find the setting/hook that lets you know the item stored in the BoB without opening the

    Bob's Inventory?

    @Cloud

     
    #1 Infinite Inferno, Apr 19, 2015
    Last edited: Apr 19, 2015
  2. Best Answer:
    Post #4 by Cloud, Apr 20, 2015
  3. Arbiter

    Arbiter Mod Automation

    Joined:
    Jul 26, 2013
    Messages:
    2,937
    Likes Received:
    1,266
    Have you checked varps?
     
  4. Infinite Inferno

    Infinite Inferno The Pip Collector

    Joined:
    Sep 14, 2014
    Messages:
    445
    Likes Received:
    122
    Yup. it's not there unfortunately. Me and @Defeat3d both looked for them :(
     
  5. Cloud

    Cloud Engineer

    Joined:
    Jul 28, 2013
    Messages:
    2,777
    Likes Received:
    1,124
    Unfortunately the game doesn't store it in memory for a long period of time after it closes (unlike equipment and inventory), and since they use the same system there isn't much I can do about it.
     
  6. Infinite Inferno

    Infinite Inferno The Pip Collector

    Joined:
    Sep 14, 2014
    Messages:
    445
    Likes Received:
    122
    Darn. So there isn't a hook that let's us know what the current items in the BoB inventory are? How do you think I should proceed with checking whether the BoB inventory has the item or not?
     
  7. Arbiter

    Arbiter Mod Automation

    Joined:
    Jul 26, 2013
    Messages:
    2,937
    Likes Received:
    1,266
    In other words, the desired data is stored server-side and is pulled client-side only when the window is open and is unloaded soon after it is closed.
    --- Double Post Merged, Apr 20, 2015, Original Post Date: Apr 20, 2015 ---
    Much like a human would: using memory. ;)
     
  8. Defeat3d

    Defeat3d Primate

    Joined:
    Oct 30, 2014
    Messages:
    3,017
    Likes Received:
    1,890
    I'll write us some sort of monitor for it then. :p Bored atm anyway.
     
  9. Infinite Inferno

    Infinite Inferno The Pip Collector

    Joined:
    Sep 14, 2014
    Messages:
    445
    Likes Received:
    122
    Oh ok. Thanks for the explanation arbiter :)
    --- Double Post Merged, Apr 20, 2015 ---
    I have found a solution for this. The topic may be closed @Arbiter @Cloud
     

Share This Page

Loading...