Luxe 14 Share Posted March 30 How do i get the location, height and width of the box marked in green? I want to paint an overlay there. Link to comment Share on other sites More sharing options...
xyz111 83 Share Posted March 30 Enable Developer Mode in Dreambot settings, then access the drop-down menu at the top of the client. Navigate to Tools > Game Explorer and click on the Widgets tab. This will provide the necessary information. You'll notice clicking on different widgets will highlight the corresponding widgets in your client Luxe 1 Link to comment Share on other sites More sharing options...
Luxe 14 Author Share Posted March 30 2 minutes ago, xyz111 said: Enable Developer Mode in Dreambot settings, then access the drop-down menu at the top of the client. Navigate to Tools > Game Explorer and click on the Widgets tab. This will provide the necessary information. You'll notice clicking on different widgets will highlight the corresponding widgets in your client Thanks! I was hoping there was an API to retrieve the size without the use of widgets. Not really a fan of using widgets... But thank you Link to comment Share on other sites More sharing options...
Luxe 14 Author Share Posted March 30 For any future readers @Override public void onPaint(Graphics g) { Widget dialogueBox = Widgets.getWidget(162); WidgetChild chatBox = dialogueBox.getChild(558); g.setColor(Color.red); g.fill3DRect(chatBox.getX(), chatBox.getY(), chatBox.getWidth(), chatBox.getHeight(),false); } Thanks to: @xyz111 mrpeepoo 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now