Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

Sign up now!
RuneMate will permanently shut down on August 7, 2026
due to events outside our control. You can continue using RuneMate until this date after which it will no longer be available. Thank you to everyone that contributed to RuneMate's success and to the community for the opportunity to serve you all these years.

  • Learn about RuneMate Vault and how its zero knowledge local encryption already protects your sensitive information.
  • Edit or delete your RuneMate account from your Account Settings.
  • All account upgrade subscriptions have been cancelled. No action required.

[OSRS] Drawing on inventory items

Joined
Jan 8, 2015
Messages
1,426
I did not get very much further than the following, any tips?

10515d5d11.png
 
Joined
Dec 10, 2014
Messages
3,377
I did not get very much further than the following, any tips?

10515d5d11.png
LegacyTab is RS3 only, it's for the Legacy mode.
Code:
g.setColor(Color.WHITE);
if(InterfaceWindows.getInventory().isOpen()){
    SpriteItemQueryResults results = Inventory.getItems(new Filter<SpriteItem>() {
        @Override
        public boolean accepts(SpriteItem spriteItem) {
            return spriteItem.getDefinition().getUnnotedId() == 199;
        }
    });
    for(SpriteItem item:results){
        Rectangle bounds = item.getBounds();
        g.drawString("Guam", bounds.x + (bounds.width/2), bounds.y + (bounds.height/2));
    }
}
 
Last edited:
Top