Everything posted by Joseph
-
animation timer
ok when you cook an inv of food in rs. You cook a fish (anim) stop for a sec (non-anim) and repeat. So that one sec of non-animating fucks you over with the method isAnimating(). what i do sometimes i use a boolean and a timer. Every time it animates it reset timer. And i do a simple if statement check saying if the timer > 3 then my player isnt doing anything. i use the boolean for something. Just be cleaver about it :p
-
Make .interact(string) right click?
there a method within the mouse class
-
Make .interact(string) right click?
dont use while loops please if (myPlayer().isAnimating()) { if (dialogues.clickContinue()) { sleep(random(600, 1000)); break; } } interact(string) is an instance of interactionEvent. depending on what the action is. It will right click if it needs to. So your request is already there
-
Tanner & Crafter
dude add the ability to tan cow hide but not to craft it
-
Working OCR - Thoughts?
but there's already a method that tells us if the player has been banned or if there's an updateand more. Not exactly sure what method it is. It's a method within either the bot or client class it returns an int and depending on the int is what is happening
-
Botre AIO Woodcutting devlog
How to draw the model of the trees? Good luck on release, I'm coming here everyday checking out your progress
-
Move mouse one or two blocks then click?
Can I ask what you are trying to do here?
-
@Anne & Botre
oh nice im on the first page of pose count above botre woot woot
-
Wont stop looping!
it so hard code because of after interacting with the chest. Most likely you should be checking into interfaces. If not check out mouse Destination class Also im not sure why it keeps looping try debugging it
-
how to check for closest two objects?
it will ignore the ready enitty and look for whatever fits the best filter.
-
OLDSCHOOL RUNESCAPE BLAST FURNACE
I'll consider it
-
The OSBot quiz app!
Add in: Who the creative person in OSB? me
-
Activating Run?
ya using settings#setRunning(boolean run);
-
Activating Run?
you can use this for a position or this for a path public boolean walk(Position[] path, int energyThreshold) { WalkingEvent event = new WalkingEvent(path); //can add .setOperateCamera(boolean) event.setEnergyThreshold(energyThreshold); return execute(event).hasFinished(); }
-
How to interact with interfaces?
i guess know let us know how it works.
-
Entities
i know thats what ive been saying
-
How to interact with interfaces?
check at the dialogues class they have great methods. http://prntscr.com/69ihtk
-
OSBot 2.3.33 - GroundItem patch
nice thanks for the update
-
Entities
you see all that code you have to type up. I got tried of doing that. When now we can simply do getObjects().closest(new PositionFilter(position)); edit: i know its easy to create a simple method like that. I simply request for the filter because we have many different filters available. It wasnt there when i look at it. It will be handy to others especially the nubs (like me ) and i mean there is a PolygonArea filter (which the PolygonArea class was just recently released) and not a position filter. Which btw in OSB1 there use to be like a method to get an entity using a position.
-
Entities
i know i love it, but just know we never had the position filter until now http://osbot.org/forum/topic/65624-suggesting-another-filter/
-
Entities
make us. I requested alek for a position filter class so check that out op.
-
ExperienceTable Class / snippet
it was pretty late when I replied and I had it mixed up lol.
-
ExperienceTable Class / snippet
what swiz said. How you going to use an instances when is final.
-
Check if the menu is of item...
Ok let me help you out there buddy. Like they said thats a bit hard core. I'm not really sure what you trying to do here. To get the rec of the item use abstract mouse destination class. For bank use BankSlotDestination and for inventory use inventoryslotdestination. Osb already did all the hard coding for us. To get slot of item in bank or inventory use the itemcontainer abstract class Use the menu class, it has great methods like select action.
-
First
wooot good shit divinity, cant wait for you to server us up, and hopefully better than alek did