Everything posted by Joseph
-
Teleporting with equipped jewelry
when the equipment method arugment ask for a slot depends if its an int then its EquipmentSlot.TYPE.slot, else if its a EquipmentSlot then its EquipmentSlot.TYPE i guess the methods is broken. i tryed out the method and it was return false so.. it isnt you Also its better if you do if(item.equalsIgnoreCase("whatever")) {
- Ds Alcher
-
Car accident
ive never driven drunk or high, might in the future not sure. But driving aint no joke. At least hes waking up from the coma soon, thats good. But now he learned a lesson. Its like doing drug. Once you have a bad trip, you never want to do the drug again. But thank god he's still alive.
-
Precise Inventory Price Checker
should i make the bank one?
-
Getting nearby objects
Because your only using one class, you can extend the script class. Rather than initialing it in you constructor. Since your extending script, you inherit all there sub class and methods. Good luck on your script
-
My friends didn't invite me to the movies...
oh well then that sound like you have the case of fuck ********a friends, been there done that.
-
PiP Set - The One I entered
i like them, and they are legible, the current one are kinda a bit hard to read
-
My friends didn't invite me to the movies...
what if your frined is trying to fuck the other friend, and you could be the cock blocker. SHIT I HATE COCK BLOCK!
-
Getting bot username?
wtf shouldnt it be the other way around, the os username should be deprecated, and we should be able to access the bots username
-
Someone post some good Trap music.
@NotoriousPP try these out for size https://soundcloud.com/dubstep/eptic-like-a-boss-barely-alive-remix-edmcom-premiere https://soundcloud.com/terravita/terravita-and-obsidian-pirate?in=dpay-6/sets/dubstep https://soundcloud.com/terravita/terravita-we-are-alive-free?in=dpay-6/sets/dubstep Warning Dubstep above
-
Someone post some good Trap music.
im more of a dubstep person
-
Animation resets
do what i had suggested, then add an extra check. If the model id match mine, else break the while loop and it will mine another ore
-
Ds Alcher
Oh i am :p, it actually coming out pretty good. Im trying to implement some sort of dragging an item around your inventory.
-
OSBot 2.1.16 - RS Updates + Fixes
i still get the error, but when i open a tab, it load up
-
For loop freaking out?
Entity oreVein = objects.closest(DIRT_NAME); should be RS2Object oreVein = objects.closest(DIRT_NAME); Also, dont put that inside the while loop, put it inside a method. within the method create a while loop. Inside of your while loop add a condition. And use a break statement to end the while loop is the condition isnt what you want example: public void method() { RS2Object oreVein = objects.closest(DIRT_NAME); while (condition) { if (orevein is still mine-able) { sleep; }else{ break; } } }
-
Mouse click
time to play around with this, thanks. Also im going to have to wait until the bot is running again
-
For loop freaking out?
Who says you can use while loos in a script, you just need to learn how to use it. You need to use the "break;" which helps exit a loop
-
Animation resets
use a timer class determine how long the sleep is between the two animation. create two if statements. If your not animating, then mine. if your animating. create a new methods within the methos, create a while loop, check the timer, and see if it has passed the time between animation. within the while loop, add a if statement, is animating if its true just reset the timer.
-
Teleporting with equipped jewelry
Osbot 2
-
Mouse click
Both would be nice. But I want to send the event through the client
-
Mouse click
i saw it, im going to try it out later, but it say continual click, so im guessing it keep on click rather then click once and hold the click
-
Checking equipment
is really isnt that confusing as long as you use the api. Go in to the MouseDestination class, and look at there sub-classes. Mouse Destination is a super class of those above. You can see RectangleDestination click on it the constructor support using (x,y,w,h), or a rectangle So you could easy do mouse.click(new RectangleDestination(bot, x, y, width, height), true); Or if the destination of an item keeps changing. You can do int slot = inventory.getSlot("coins"); mouse.click(inventory.getMouseDestination(slot), true); Its all about polymorphism, learn it
-
Mouse click
that would be nice, but no i want a method that actually send a mouse pressed (click and hold) event, and be able to release it too. So i can drag items around in my inventory
-
Hai
hi, i think we already meant before
-
Checking equipment
i think they have methods that you need, your just not finding them like for example the right click on a certain place. Under the mouse class (i read your other thread this might help) also i hope they fix the equipment tab