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

Resolved Will try and pick up items behind action bar

Discussion in 'Developer Support' started by smitty260, Apr 12, 2016.

  1. smitty260

    Joined:
    Feb 15, 2016
    Messages:
    64
    Likes Received:
    9
    If an item is behind the action bar (i.e. not accessible) it will recognise it as being visible and will attempt to pick up the said item. A video is attached to help explain the bug.

    Spectre Version: V1.1.5
    Bind Version: V1.1.0
    Affected Games: RS3
    Code Used:
    Code (Text):
    1.  
    2. // Picks up the item and if it is a cowhide, it will add a count to the total cowhides
    3. if (item != null) {
    4. if (item.interact("Take", itemName)) {
    5. Execution.delayUntil(()->!item.isValid(), 5000);
    6. if (item != null && !item.isValid() && itemName.matches("Cowhide")) {
    7. script.addCowhide();
    8. }
    9. }
    10. }
    11.  

    --- Double Post Merged, Apr 12, 2016, Original Post Date: Apr 12, 2016 ---
    Was told this probably isn't a bug, so just delete if so ples.

     
  2. Best Answer:
    Post #4 by Cloud, Apr 14, 2016
  3. Savior

    Savior Java Warlord

    Joined:
    Nov 17, 2014
    Messages:
    4,906
    Likes Received:
    2,748
    Thats because it theoretically is visible. It gets projected, but overlayed by an interface. You could potentially detect that, but it would be very heavy to check every interface if it overlays the model.
     
  4. smitty260

    Joined:
    Feb 15, 2016
    Messages:
    64
    Likes Received:
    9
    Yeah, thought about that after I posted it.
     
  5. Cloud

    Cloud Engineer

    Joined:
    Jul 28, 2013
    Messages:
    2,777
    Likes Received:
    1,124
    We used to do the calculations but they're too heavy, we're working on a better solution but it won't be ready for some time since we have other things on our plate.
     
  6. smitty260

    Joined:
    Feb 15, 2016
    Messages:
    64
    Likes Received:
    9
    That's all good.
     

Share This Page

Loading...