Jump to content

Rhetoric

Members
  • Posts

    16
  • Joined

  • Last visited

  • Feedback

    0%

Profile Information

  • Gender
    Male

Recent Profile Visitors

820 profile views

Rhetoric's Achievements

Newbie

Newbie (1/10)

2

Reputation

  1. Thanks for the help guys, I think I got it.
  2. I have something very similar to this. Instead of making multiple Chop cases, I wanted to make one that changes a variable that represents the type of tree. The only thing I need to figure out is how to force my case DetermineTree to run when the script starts and again as the script runs.
  3. Hey guys, What's the best way to have my script check if my my wc level is able to cut better trees while already chopping an inferior tree? So if I'm cutting trees and I level up to 15, have it move onto Oaks automatically.
  4. Version 2.4.48 Upon launching OSBot I immediately and promted with OSBot Script Analyzer saying, "-main is using a deprecated methods from: org/osbot/rs07/api/Camera" I didn't launch any scripts and my scripts run fine. I am just curious as to why I am getting this and if I can fix it.
  5. I used tutorials from this website but I suppose they are outdated.. Tutorial I was using: http://osbot.org/forum/topic/47926-adding-a-custom-cursor-to-your-script/
  6. I'm trying to make a cursor and I looked up the tutorial. Everything is fine except for the command, useDefaultPaint(false); I get the error, The method useDefaultPaint(boolean) is undefined for the type main. Halp pls, thnx.
  7. It likes to obnoxiously rotate the camera and take a very odd path when banking/returning from G.E. to Varrock Palace. It looks a lot like this.. Red: Using walking.webWalk Blue: Using walking.walk I'm currently using walking.walk(Position position); as I find it much neater (uses less spam clicking + more accurate clicks) and faster.
  8. Would making the character run to first cut tree when all are null be just as complicated?
  9. Area X: 2 Trees Area Y: 1 Tree How can I make is so that if my player is in Area Y and when that tree only is null, not the ones in Area X, my player runs to stand in Area X to wait for those trees to spawn or vice versa. I'm hoping there is a way to check for entities in a specific area and if they are null so that I can perform an action based off that info.
  10. I got it working but the only thing I dislike now is the pathing when banking and returning. :c
  11. You guys are really helpful, thanks! My script doesn't seem to function very well at all, it doesn't seem to switch states properly and just breaks down and afks... I guess I might as well post all of the code and see if anyone can help point out my flaws. It was made to chop yews at Varrock Palace and bank at G.E.
  12. 3. My code is sluggish when having to transfer to the next yew tree. 4. Where can I learn to write my own mouse movements?
  13. I have been reading some of your guides on creating scripts but I'm struggling with my first script and I am wondering if you would take some time to help me out. Question 1: I'm currently attempting to add anti-ban to my script and I'm getting the follow errors when adding the following: this.client.rotateCameraPitch(50); Error Message: The method this.client.rotateCameraPitch(int) is undefined for the type Client I highlighted the text to indicate the red underline in Eclipse. I get this message for rotateCameraPitch, rotateCameraAngle, and moveMouseOutsideScreen() (...for the type Main). I'm assuming I need to import something but I can't find what (library?). Question 2: The only current banking method I know of is bank.depositAll(); but I want to keep my rune axe in my inventory. How can I only deposit specific items (in this case yew logs)? Question 3: My bot spam clicks on Yew trees in the highlighted time frame and making a longer random time only delays the reaction time for the bot to move on to the next tree as well as spam clicks. case CHOP: if (!myPlayer().isAnimating()) { Entity yewTree = objects.closest(YEW_ID); if (yewTree != null) { if (yewTree.interact("Chop down")) { sleep(random(2500, 3500)); } } } Question 4: Is there anyway to slow down mouse movements to make them look more human-like and a way to make them more curved rather than a straight line? Thanks for any and all help!
×
×
  • Create New...