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.

Bot doesn't want to move 1/2 tiles

Featured Replies

Hey,

 

Anyone had the problem that map.walk(area) which is nearby (1/2 tiles away) doesnt walk to there?

Even localWalker.walk(position) doesnt work :( 

 

Hope someone can help me, thanks in regard.

 

Redeye

1/2 a tile away? Not quite sure what you mean could you provide a GIF? I know there is an issue with the interactions at a certain camera angle but other than that it's the first I hear of this.

It would seem impractical/bot-like to interact with the Minimap if the tile is 1/2 tiles away?

I guarantee whatever algorithm is analyzing whatever data is received about your character is not going to flag you as a bot because you clicked the minimap for that.

  • Author

In the sence of not a half but one or two tiles away from the character. 

 

f4NGjWs.png?1

 

The gege is where it should be going, and the walk is that its going to walk there

In the sence of not a half but one or two tiles away from the character. 

 

 

 

The gege is where it should be going, and the walk is that its going to walk there

 

I can't see any reason for it not to interact, it seems like its within the bounding region and it just needs to click. @Swizzbeat's suggestion will be the quickest fix as I'm sure it's client related.

probably related to this:

 

ddb6dc2b465d5c32b35d95452db62b3d.png

that is the reason why

	public boolean walk(boolean precise, Position pos) throws InterruptedException	{
		return precise ? this.clickMiniMapPosition(pos): s.localWalker.walk(pos);
	}

        private boolean clickMiniMapPosition(Position position) throws InterruptedException {
    	       return s.mouse.click(new MiniMapTileDestination(s.bot, position));
        }
    
  • Author

Thanks swizzbeat, solved it with:

 

Position p = new Position(x1WS,y1WS,0);
mouse.click(new MiniMapTileDestination(bot, p));

 

Thanks swizzbeat, solved it with:

 

Position p = new Position(x1WS,y1WS,0);
mouse.click(new MiniMapTileDestination(bot, p));

 

Make sure either you're ALWAYS calling that code when the tile is visible on the or you have a null check for the destination. If you try to call mouse.click with a null argument you will have a NPE thrown.

  • Author

i see.. how many tiles are visible from middle to say east on the minimap?

i see.. how many tiles are visible from middle to say east on the minimap?

I personally check for a distance of 14 just to be on the safe side, however I think it's like 16 or so.

I personally check for a distance of 14 just to be on the safe side, however I think it's like 16 or so.

public boolean isOnMinimap(Position position) {
	short[] coords = GraphicUtilities.getMinimapScreenCoordinate(bot, position.getX(), position.getY());
	return coords[0] != -1 && coords[1] != -1;
}

Edited by FrostBug

I personally check for a distance of 14 just to be on the safe side, however I think it's like 16 or so.

 

Yeah, because sometimes with 16 it will click on the toggle run orb.

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.