redeye Posted September 14, 2014 Share Posted September 14, 2014 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 Link to comment Share on other sites More sharing options...
Extreme Scripts Posted September 14, 2014 Share Posted September 14, 2014 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. Link to comment Share on other sites More sharing options...
Swizzbeat Posted September 14, 2014 Share Posted September 14, 2014 Create a MiniMapTileDestination and click it. Link to comment Share on other sites More sharing options...
Extreme Scripts Posted September 14, 2014 Share Posted September 14, 2014 Create a MiniMapTileDestination and click it. It would seem impractical/bot-like to interact with the Minimap if the tile is 1/2 tiles away? Link to comment Share on other sites More sharing options...
Swizzbeat Posted September 14, 2014 Share Posted September 14, 2014 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. 1 Link to comment Share on other sites More sharing options...
redeye Posted September 14, 2014 Author Share Posted September 14, 2014 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 Link to comment Share on other sites More sharing options...
Extreme Scripts Posted September 14, 2014 Share Posted September 14, 2014 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. Link to comment Share on other sites More sharing options...
Botre Posted September 14, 2014 Share Posted September 14, 2014 probably related to this: Link to comment Share on other sites More sharing options...
Joseph Posted September 14, 2014 Share Posted September 14, 2014 probably related to this: 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)); } Link to comment Share on other sites More sharing options...
redeye Posted September 14, 2014 Author Share Posted September 14, 2014 Thanks swizzbeat, solved it with: Position p = new Position(x1WS,y1WS,0); mouse.click(new MiniMapTileDestination(bot, p)); Link to comment Share on other sites More sharing options...
Swizzbeat Posted September 14, 2014 Share Posted September 14, 2014 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. Link to comment Share on other sites More sharing options...
redeye Posted September 14, 2014 Author Share Posted September 14, 2014 i see.. how many tiles are visible from middle to say east on the minimap? Link to comment Share on other sites More sharing options...
Swizzbeat Posted September 14, 2014 Share Posted September 14, 2014 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. Link to comment Share on other sites More sharing options...
FrostBug Posted September 15, 2014 Share Posted September 15, 2014 (edited) 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 September 15, 2014 by FrostBug 1 Link to comment Share on other sites More sharing options...
Soldtodie Posted September 15, 2014 Share Posted September 15, 2014 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. 1 Link to comment Share on other sites More sharing options...