

anderiel
Members-
Posts
115 -
Joined
-
Last visited
-
Feedback
100%
Everything posted by anderiel
-
I dont get how so many people did not understand what you want to do. What you are looking for is the webwalking event. I'm not too familiar with their use, but i think you need to create your own, override the execute method (do your drinking there and then return super.execute()) and then use script.execute() to run it. Code could look like this (did not test it though): WebWalkEvent event = new WebWalkEvent(routeFinder, position){ @Override public int execute() { // do your drinking logic here return super.execute(); } }); script.execute(event);
-
Define proper debugging? Not sure what else can i tell you, or what would you need to know. I'm not using custom webwalk event, i am just using walking.webWalk, like this : if(walking.webWalk(targetArea)) { state = States.Fighting; } where targetArea is the area from previous post.
-
Whats up with webwalking? Just started up my script and it only stood there for 10 minutes trying to webwalk without any result and got disconected. (From catherby bank to new Area(new Position(2207,3057,0),new Position(2213,3056,0))). I guess usualy the first webwalk always takes more time, but this seems too much (although ill try to let it wait for a longer time now). Edit: tried second time for 16 minutes, and i dont want to go further, since it only logs out and in repeatedly after every dc.
-
It does work, thanks i do wonder if there is a cleaner solution though.
-
I want to drag around items in inventory, to arrange them for easier clicking. But i cant figure out how to actually drag them to change the place of one item. Inventory does not have any calls for that (or at least i did not find any) and i also tried this: execute(new ContinualClickMouseEvent(inventory.getMouseDestination(from),new Condition(){ @Override public boolean evaluate() { return InventorySlotDestination.getSlot(to).contains(mouse.getPosition()); } })); execute(new MoveMouseEvent(inventory.getMouseDestination(to),true)); but all that does is it clicks the item i want to drag and stays there until i force quit the script.
-
[ERROR][Bot #1][05/24 09:49:28 dop.]: Error on random solver : Auto Login java.lang.NoClassDefFoundError: org/osbot/core/security/BotSecurityManager at client.getUsername(client.java) at org.osbot.rs07.randoms.AutoLogin.onLoop(co:240) at org.osbot.rs07.event.RandomExecutor.run(rh:253) at java.lang.Thread.run(Unknown Source) autologin is broken
-
Would like price check for account with these stats: Attack : 80 Strength : 79 Defense : 77 Ranged : 79 Prayer : 45 Magic: 84 Slayer : 72 only other notable stats 60 smithing, 55 crafting and maybe 43 agility. Notable quests: Animal magnetism Ghosts ahoy Monkey madness Underground pass has unlocked slayer helmet and dragon defender
-
WebWalkingEvent; Terminated! Exceeded attempt threshold.
anderiel replied to anderiel's topic in Scripting Help
Position[] pos = new Position[]{positions[nextLocationIndex]}; if(walking.webWalk(pos)) { // if walking succeeds i change state, else i try walking again. } And im going from this area new Area(new Position(2811,3464,0),new Position(2812,3463,0)) to this area new Area(new Position(2668,3377,0),new Position(2673,3372,0)) this is the code i tried for using only position, previously i was using webWalk(area) in place of webwalk(position[]) and I dont know what customInteractingScripts are. -
WebWalkingEvent; Terminated! Exceeded attempt threshold.
anderiel replied to anderiel's topic in Scripting Help
webWalk(Position) gives an unknown metho error, and webWalk(Position[]) when i make and array of one position, gives the same log. Exceeded attempt treshold. Funny thing is, sometimes after i restart the client, it webwalks just fine. -
WebWalkingEvent; Terminated! Exceeded attempt threshold.
anderiel replied to anderiel's topic in Scripting Help
That is not the case, i am quite sure that the route exists. It actually did find it a few times, but most of the time i get this error. -
Hey guys, im getting this log from the client : WebWalkingEvent; Terminated! Exceeded attempt threshold. Could anyone tell me what it means? It does not happen every time, only for some routes, so maybe it is a bug (i already submitted a bug report thread, but these took way too long to approve and i would like some answers a little bit faster). im using the standard walking.webWalk(Area)
-
[Developing Flipping bot] - 99% Done - Testing!
anderiel replied to igotlagg's topic in Money Making
Made myself one of these before then put it away because i had no idea what to flip. -
Yeah you are right, it is . I just somehow expected teletabs to count as teleports my bad. But nice to know how to use the event anyway, if i will need it sometimes in the future.
-
Hey guys, i cant figure out how to make the inbuilt webwalking to use teleports. I guess it has something to do with WebWalkEvent, and its method setAllowTeleports, but i dont know how to use walking events. Could anyone point me in the right direction?
-
Hey guys, wanted to know how much would a wyvern ready account be?
-
Well thats what my different aproach will be about, but its less precise. Sometimes a monster will wander into the area and after being attacked it will retreat away.
-
I'm pretty sure that getIndex does not change after i kill the monster and it respawns. And as for the use name or character model suggestions, well thing is i need to pick like 3 out of 5 monsters of the same name and same model, because i know that these three can be safespotted. Well i guess i will have to take a different approach.
-
So i was using monster indexes for my ranger script to locate the monsters it could safespot, but today i found out that after game update the indexes are different. Do they change every update? Or less often?
-
How does it work with scripts that have monthly fee? well, you said unlimited posts
-
Did you even read my post man? Why would you tell me to write to the scriptwriter, when i stated that i am the one developing it. Problem is in the webwalking that they recently introduced. I wrote about it in the thread for 2.4.29 and i have a bug report thread pending... No one yet responded to them so i was thinking i could continue with older version.
-
So im developing a script that uses the new webwalking, but in 2.4.33 its not working where i need it to. So i was wondering if i can somehow get 2.4.29 to run? On that version it was working.
-
got an error while trying webWalking in kalphite cave in nieves dungeon. Started appearing on the 2.4.33 version (why does it not have its own thread? or if it does where do i find it?) on 2.4.29 it worked fine.
-
Hey, encoutered a bug today. And lost 500K due to it i guess . For some reason the bot couldnt pick ahrims skirt off the ground after finishing first chest of the trip. And it seems to have eaten all food in the process of trying to do so. Therefore the trip has been much shorter and i found the bot waiting for cd reset.
-
I would like to know what would the following stats cost me : 60 attack 60 strength 60 defense 60 range 75 mage And how would the cost differ if it had monkey madness completed?
-
Well, you need some way of accessing the barrows, so either one of those quests, or you would have to buy mortton tp scrolls which are rather costly. As for your stats, you should be able to run barrows, but you will consume more food due to 1 def in the tunnels, therefore you wont make so many chests per trip.