July 17, 20178 yr Trying to move 1 square south from current positon on a message, I thought this would work but it doens't seem to be It gets the correct positions in the log just wont walk { getX = myPlayer().getX(); getY = myPlayer().getY() - 1; log("X " + getX + " Y " + getY); newSpot = new Position (getX,getY,0); log (newSpot); getWalking().walk(newSpot); } Edited July 17, 20178 yr by GPSwap
July 17, 20178 yr Author 8 minutes ago, Eagle Scripts said: Use WalkingEvent instead and set the minDistanceThreshold to 0 TYVM
July 17, 20178 yr 1 hour ago, GPSwap said: Trying to move 1 square south from current positon on a message, I thought this would work but it doens't seem to be It gets the correct positions in the log just wont walk { getX = myPlayer().getX(); getY = myPlayer().getY() - 1; log("X " + getX + " Y " + getY); newSpot = new Position (getX,getY,0); log (newSpot); getWalking().walk(newSpot); } What he said is definitely a life saver, another thing I used to do before I had known that method (although I knew the tile deviation for walking 1 tile) I would check if my player was on that exact position, then if not I would just hover the tile and left click mouse. if(miningGuildIron[1] != null && miningGuildIron[1].isVisible() && myPosition() != miningGuildIron[1]) { miningGuildIron[1].hover(bot); sleep(random(411, 611)); mouse.click(false); sleep(random(1412, 2211)); }
July 17, 20178 yr 17 hours ago, GPSwap said: Trying to move 1 square south from current positon on a message, I thought this would work but it doens't seem to be It gets the correct positions in the log just wont walk use myPosition().translate(0, -1);
Create an account or sign in to comment