Skip 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.

lisabe96

Members
  • Joined

  • Last visited

Everything posted by lisabe96

  1. This is somewhat similar idea of what I'm doing I have an enum with a bunch of actions we do irl (toilet, smoking, grab drink, check website, get lost in a read, ...) They have an frequenty rate as well as a min-max duration. Also got this for pseudo's. Then based on that I pass the duration as return for the onloop.
  2. Looks awesome
  3. Right, I used this before Thanks
  4. And how would I disable input from the script?
  5. Bought a logo design. Nice work for a cheap price, I added extra cuz I thought it was too cheap :p Vouch
  6. Currently the best I could come up with to keep it user friendly :p :
  7. It makes sense but it's not as user friendly as I'd want it to be. In case knowing the purpose would help to find ideas: It's for a firemaking script where I'd like the user to be able to select the tiles to use. This way I can allow them to make fire wherever they are, not limited by locations, also avoid the same patterns for everybody to be used. Based on the selected tiles I internally build lines and patterns.
  8. Maybe a way to enable input then programatically so the user doesn't have to bother about it. Then maybe block mouse clicks from the game so the character doesn't move?
  9. While input is disabled on the client, I'd like camera movement to be enabled. The reason is that I want to reach more tiles by moving the camera, but I don't want my character start running around like a tard when clicking the tiles. Which happens with input is enabled. So I'd only want camera input enabled.
  10. Thanks, will use. Better avoid possible problems
  11. Exactly what I wanted! Thanks a bunch
  12. It's used on anything not just an xbox, it just originates from xbox360.
  13. Got it working It doesn't look good when the camera is tilted as it draws the screen and not the game world obviously. But it works. private List<Position> tiles = new ArrayList<>(); @Override public void mouseDragged(MouseEvent e) { handle(e); } @Override public void mouseClicked(MouseEvent e) { handle(e); } private void handle(MouseEvent e) { log(e.getX() + ", " + e.getY()); Position pos = getPosition(e.getPoint()); if (exists(pos)) { tiles.remove(pos); return; } tiles.add(pos); } @Override public void onPaint(Graphics2D graphics) { Graphics2D g = (Graphics2D) graphics; g.setRenderingHints(new RenderingHints(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_OFF)); g.setColor(Color.GREEN); if (!tiles.isEmpty()) { for (Position t : tiles) { if (t.isVisible(getBot())) { g.draw(t.getPolygon(getBot()).getBounds()); } } } } private Position getPosition(Point mousePosition) { for(int x = 0; x < 104; x++) { for(int y = 0; y < 104; y++) { Position pos = new Position(getMap().getBaseX()+x, getMap().getBaseY()+y, getMap().getPlane()); if(pos.isVisible(getBot()) && pos.getPolygon(getBot()).contains(mousePosition)) { return pos; } } } return null; } private boolean exists(Position pos) { if (!tiles.isEmpty()) { for (Position tile : tiles) { if (tile.equals(pos)) { return true; } } } return false; }
  14. Thanks! This should be enough information to get it working
  15. I hope to find something more efficient, but I'll give it a try if I can't figure out anything else This would return java.awt.geom.Area
  16. That's exactly what I need but I need it in code. Maybe this example will be more clear: void mouseMoved(MouseEvent e) { Tile tile = new Tile(mouseX, mouseY); log(tile.getPosition()); } This obvious doesn't work, I'm after how I would get this working within osbot
  17. I personally find the first example a lot cleaner and easier on the eyes.
  18. How can I with the API determine what Position I'm hovering at. The same as when you use the entity debug option that shows which tile coordinates your hovering on. It's probably something simple but I haven't found anything useful in the API.
  19. for (Item item : script.getInventory().getItems()) { if (item != null && item.getName().startsWith("Amulet of glory")) { return item; } } I win for readable oldschool code
  20. lisabe96 replied to Krys's topic in Resolved
    Same issue here

Account

Navigation

Search

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.