May 14, 20169 yr last qustion for today , what methoed used to place a counter on client screen ?lets say counter for how many bones the script already collected or feathers or what ever i want ?
May 14, 20169 yr Once you figure out the paint this is a good tool that keeps track of inventory updates and is more accurate than some other ways. http://osbot.org/forum/topic/51856-inventory-monitor-keep-live-track-of-your-items/
May 14, 20169 yr Use the onPaint() method in the script class e.g public void onPaint(Graphics2D g) { if(image != null){ g.drawImage(image, 545, 139, null); } g.drawString(formatTime(timer.getElapsed()), 388, 277); //395 g.drawString("Hides: " + hides, 388, 289); if(buryBones || keepBones)g.drawString("Bones: " + bones, 388, 301); } Graphis2D api https://docs.oracle.com/javase/8/docs/api/java/awt/Graphics2D.html Edited May 14, 20169 yr by Qubit
May 15, 20169 yr last qustion for today , what methoed used to place a counter on client screen ? lets say counter for how many bones the script already collected or feathers or what ever i want ? int bones; if condition bones++; //onPaint g2d.drawString("Bones: " + bones, x position, y position);
Create an account or sign in to comment