Scorpius 144 Share Posted July 14, 2017 Has anyone noticed problems with interacting with ground items that are not showing on top of other items or is it just me? I'm simply using .interact("Take") and it keeps spinning around the camera Example: I cannot take the monk's robe using .interact("Take"), I must trigger a right click on the monk's robe tile (or a ground item that's being rendered on top of the monk's robe) in order to have the menu showing then I am able to interact with it using getClient().getMenu() NOTE: The list on the right is me (NOT THE SCRIPT) right clicking to show you that the item exists as detected by getGroundItems() Link to comment Share on other sites More sharing options...
Pyth 127 Share Posted July 14, 2017 You could try manually right clicking on tile then interacting with said item. Link to comment Share on other sites More sharing options...
Scorpius 144 Author Share Posted July 14, 2017 You could try manually right clicking on tile then interacting with said item. Working on that now, but this needs to be patched Link to comment Share on other sites More sharing options...
Polymorphism 48 Share Posted July 14, 2017 Could do a little math and based on the rectangle of the option, your script could opt to ignore if it can't find on menu. Otherwise, idk -- dont really play rs that much but thats my input Link to comment Share on other sites More sharing options...
Scorpius 144 Author Share Posted July 14, 2017 I moved the mouse over the tile then forced a right click, detecting the item from the menu works. The only problem now is misclicks Edit: It's not a reliable solution at all and this needs to be fixed by the devs Link to comment Share on other sites More sharing options...
Xephy 237 Share Posted July 14, 2017 I mean.. if you can't reach it by manually clicking in some way, shape or form, you can't expect the bot to be able to do it. I would like to see a canLootFromStack() boolean to make sure it's visible from a right click menu though. Link to comment Share on other sites More sharing options...
Scorpius 144 Author Share Posted July 14, 2017 I mean.. if you can't reach it by manually clicking in some way, shape or form, you can't expect the bot to be able to do it. I would like to see a canLootFromStack() boolean to make sure it's visible from a right click menu though. I will keep digging deeper to ensure that the mouse is hovering the item's tile before right clicking. The whole problem lies within the item not rendering on the screen due to the other top-list items being rendered instead, which in return bugs out the bot's interaction mechanism that relies solely on moving the mouse within the item's rendered boundaries. canLootFromStack() isn't really going to be useful in this problem simply because it is already grabbed through getGroundItems(). NOTE: The list on the right is me (NOT THE SCRIPT) right clicking to show you that the item exists as detected by getGroundItems() Link to comment Share on other sites More sharing options...
Nex 2542 Share Posted July 14, 2017 Make it walk ontop of the pile first before looting Link to comment Share on other sites More sharing options...
Pyth 127 Share Posted July 14, 2017 Make it walk ontop of the pile first before looting Can you elaborate your thought process on why you think this would change the outcome. Link to comment Share on other sites More sharing options...
Nex 2542 Share Posted July 14, 2017 Can you elaborate your thought process on why you think this would change the outcome. because that will fix the issue. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.