December 17, 201510 yr If i use the walk method and pass it an area, will it randomize the path/clicks or do i have to do this on my own?
December 17, 201510 yr If i use the walk method and pass it an area, will it randomize the path/clicks or do i have to do this on my own? Area area = new Area(0, 0, 1, 1); getLocalWalker().walk(area.getRandomPosition());
December 17, 201510 yr Author Area area = new Area(0, 0, 1, 1); getLocalWalker().walk(area.getRandomPosition()); Exactly what I need! thank you! What about interacting with objects ect, is there a way to make sure i don't always click the same spot. RS2Object portal = objects.getClosest("portal"); portal.interact("Teleporte"); How can i make this click the portal at random locations?
December 17, 201510 yr Exactly what I need! thank you! What about interacting with objects ect, is there a way to make sure i don't always click the same spot. RS2Object portal = objects.getClosest("portal"); portal.interact("Teleporte"); How can i make this click the portal at random locations? It should be fairly random as it is?
December 17, 201510 yr Author It should be fairly random as it is? I don't know..Im trying to make this thing as random as possible. Im pretty new to the scripting so maybe im being a little too cautious.
December 17, 201510 yr I don't know..Im trying to make this thing as random as possible. Im pretty new to the scripting so maybe im being a little too cautious. i haven't added any randomizing to my wc bot, and it doesnt click the same spot all the time on the trees.
December 17, 201510 yr I don't know..Im trying to make this thing as random as possible. Im pretty new to the scripting so maybe im being a little too cautious. Well interactions are pretty random by themselves. Also going back to path walking, if you call walk() like this: Position[] path = { new Position(0, 1, 0), new Position(0, 2, 0), new Position(0, 3, 0) }; getLocalWalker().walkPath(path); It will walk to each position in the array, but randomise each position to a distance of 1 tile. So most things are already randomised for you.
December 17, 201510 yr if you're trying to reduce the ban rate, making it click different tiles on the way through a path won't do a thing!
December 17, 201510 yr Author if you're trying to reduce the ban rate, making it click different tiles on the way through a path won't do a thing! why not? and what would?
December 17, 201510 yr why not? and what would? Not much you can do to be honest. Best you can do is antiBan.rollAntiban().
December 17, 201510 yr Author Not much you can do to be honest. Best you can do is antiBan.rollAntiban(). I cant find that method in the api..
December 28, 201510 yr Author Area area = new Area(0, 0, 1, 1); getLocalWalker().walk(area.getRandomPosition()); So it turns out this doesn't work after all...I'm not certain but i think it will only work if every tile in that area is walkable... i.e there is not object on the floor that stop you from standing on 1 spot. For me this failed 1/2 times and walk() would return false. By simply using getLocalWalker().walk(area); the bot always walks to the correct area and walk never returns false... Also the position it clicks is randomized so no need to worry. It seems i was complicating thing by trying to randomize more... Live and learn people!
Create an account or sign in to comment