Jump to content
View in the app

A better way to browse. Learn more.

OSBot :: 2007 OSRS Botting

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Colorize tiles inside area.

Featured Replies

This will draw your current position:

Polygon p = this.myPosition().getPolygon(bot);
		g.drawPolygon(p);
Polygon poly = tile.getBounds(bot);
g.setColor(Color.RED);
g.fillPolygon(poly);

This will colour a tile red.

  • Author

I already knew how to colorize a single tile, and I could just colorize the area by colorizing each position from that area  but I was looking for something more direct if you know what I mean ^^

I already knew how to colorize a single tile, and I could just colorize the area by colorizing each position from that area  but I was looking for something more direct if you know what I mean ^^

if you get could get the an array of tiles in an area. You could use a enhance for loop, and literally do the same process above to color all the tiles in an area.

Edited by josedpay

  • Author

if you get could get the an array of tiles in an area. You could use a enhance for loop, and literally do the same process above to color all the tiles in an area.

 

I was looking for a method that doesn't rely on the use of an array.

I was looking for a method that doesn't rely on the use of an array.

so what exactly are you looking for. To color a whole area? Tiles in an area? or what?

  • Author

so what exactly are you looking for. To color a whole area? Tiles in an area? or what?

 

I'm looking for... 

 

Area(nameofarea).color() ;D

 

Basicly color all the tiles/positions inside an area without the use of an array.

 

I'm working on a little tool:

Stand anywhere in runescape, press  x + or -  and/or y + or - on the GUI, this would build/draw an area (using your player's coordinates for the bottom left  corner coordinate) which is printed when you stop the script (will implement a print button later), but atm it's pretty much worthless considering it lacks proper visualization (I currently have a prototype that draws 4 corner, this works for smaller areas but becomes inefficient for larger ones). The output is in Osbot area format.

I'm looking for... 

 

Area(nameofarea).color() ;D

 

Basicly color all the tiles/positions inside an area without the use of an array.

 

I'm working on a little tool:

Stand anywhere in runescape, press  x + or -  and/or y + or - on the GUI, this would build/draw an area (using your player's coordinates for the bottom left  corner coordinate) which is printed when you stop the script (will implement a print button later), but atm it's pretty much worthless considering it lacks proper visualization (I currently have a prototype that draws 4 corner, this works for smaller areas but becomes inefficient for larger ones). The output is in Osbot area format.

We'll I'm tell you straight up that you should really use an array of tiles for that. Because it would be easier to implement.

I'm looking for... 

 

Area(nameofarea).color() ;D

 

Basicly color all the tiles/positions inside an area without the use of an array.

 

I'm working on a little tool:

Stand anywhere in runescape, press  x + or -  and/or y + or - on the GUI, this would build/draw an area (using your player's coordinates for the bottom left  corner coordinate) which is printed when you stop the script (will implement a print button later), but atm it's pretty much worthless considering it lacks proper visualization (I currently have a prototype that draws 4 corner, this works for smaller areas but becomes inefficient for larger ones). The output is in Osbot area format.

There is no getAllTiles method inside the Area class. You could write that yourself, though.

Guest
This topic is now closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.