Jump to content

Joseph

Trade With Caution
  • Posts

    4692
  • Joined

  • Last visited

  • Feedback

    91.3%

Everything posted by Joseph

  1. just a head sup we dont use client as offend for OSbot 2, as we use to do it for OSbot 1. um java is broad but you should learn the basics. Like if/ else if/ else statements, for loops, methods, return types, etc... They are a key fundamental of java. If you want to learn some java go online and start reading up. You could also download a java decompiler. and decompile script from the local script section to help you better understand how scripting works
  2. your welcome, since your trying to learn to script. i would suggest learning it from osbot 2. i never knew about this, thanks man love you
  3. you are correct if he was talking about osbot 2, but he isnt hes talking about osbot 1
  4. 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")) {
  5. noted thats easy to do
  6. should i make the bank one?
  7. 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
  8. oh well then that sound like you have the case of fuck ********a friends, been there done that.
  9. i like them, and they are legible, the current one are kinda a bit hard to read
  10. what if your frined is trying to fuck the other friend, and you could be the cock blocker. SHIT I HATE COCK BLOCK!
  11. wtf shouldnt it be the other way around, the os username should be deprecated, and we should be able to access the bots username
  12. @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
  13. 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
  14. Oh i am :p, it actually coming out pretty good. Im trying to implement some sort of dragging an item around your inventory.
  15. i still get the error, but when i open a tab, it load up
  16. 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; } } }
  17. time to play around with this, thanks. Also im going to have to wait until the bot is running again
  18. 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
  19. 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.
  20. Both would be nice. But I want to send the event through the client
  21. 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
  22. 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
  23. 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
×
×
  • Create New...