Adept Posted March 7, 2017 Posted March 7, 2017 (edited) The constructor for BankSlotDestination requires a an integer named "widgetSlotId" as its second parameter.https://osbot.org/api/org/osbot/rs07/input/mouse/BankSlotDestination.html The documentation provides no definition for the value. What is it? Edited March 7, 2017 by Adept
Omnique Posted March 7, 2017 Posted March 7, 2017 This is just a guess, but every slot on the inventory corresponds to a child widget (0-27). Try using the widget debugger and see if you can figure it out.
Abuse Posted March 7, 2017 Posted March 7, 2017 getBank().getSlot("My item"); Is what you're looking for 2
Adept Posted March 7, 2017 Author Posted March 7, 2017 54 minutes ago, Abuse said: getBank().getSlot("My item"); Is what you're looking for Thank you so much for your help! Wishing you continued success with your gold farm!
Abuse Posted March 7, 2017 Posted March 7, 2017 (edited) 1 hour ago, Adept said: Thank you so much for your help! Wishing you continued success with your gold farm! Much appreciated Best of luck to you too! Edited March 7, 2017 by Abuse