October 4, 20169 yr To start I'm new to java but I"m trying my best to learn as best I can. I'm currently working on a script that when you spawn in the instance you have a different location every time. ( some of you might know what I'm doing ahah ) I haven't been able to find any really suitable walking guides/snippets that fit into the specific needs I have. I need to be able to put in in : 1) Start X 2) Start Y 3) Choose 4 position the map to get me around -35 Y, X doesn't really matter. Current bit of code I was using to get the job done. as I said its crude as I just haven't been able to get anything else to work as I need it to. Any suggestions / code snippets I could use to improve on my talking method Any help/tips/pointers would be appreciated. dialogues.clickContinue(); sleep(1000); while (count < 4){ count++; startY-= 9; log(startY); Area MONSTERS = new Area(startX, startY, startX, startY); getWalking().walk(MONSTERS); sleep(750);
October 4, 20169 yr getWalking().webWalk(new Position(myPosition().getY() - 35), myPosition().getX(), myPosition().getZ())); is that what you're looking for? this would move you 35 tiles south Edited October 4, 20169 yr by Imateamcape
October 4, 20169 yr Sounds like you are doing MTA mazes. Did I guess right? When I was doing work in instanced areas, you can use the location of fixed objects as anchors. You can also use them to identify which instance you are in. I would use minimap tiles for all navigation, since the webwalker sometimes does strange things in instances. Edited October 4, 20169 yr by Solzhenitsyn
October 4, 20169 yr If we're talking about pest control, find a known object and get its position. Then calculate everything relative to it
Create an account or sign in to comment