Jump to content

Good4RsVid

Members
  • Posts

    56
  • Joined

  • Last visited

  • Feedback

    0%

Profile Information

  • Gender
    Male
  • Location:
    Hong Kong
  • Interests
    Game to change the world

Contact Methods

  • Skype
    good4rs

Good4RsVid's Achievements

Iron Poster

Iron Poster (3/10)

1

Reputation

  1. Who can tell me the reason to buy this account
  2. Could i beta this please.
  3. I do not know, I asked I want to click on continue , Using different methods
  4. I just will not be shipped, I need a specific expression, or examples to learn“getWidgets().get(int parent, int child);”
  5. ”You could always use the widget values e.g. getWidgets().get(int parent, int child);“ how use getWidgets().get(int parent, int child)
  6. localWalker.walkPath can not be used how fix
  7. I can write to you, know that the problem exists, but I can not own power or correction. I would like to write in a small area to move the script will not be attacked when there is no cow to walk around to find the target range set me please help me modify Thank you import org.osbot.rs07.api.map.Area; import org.osbot.rs07.api.model.Entity; import org.osbot.rs07.api.model.NPC; import org.osbot.rs07.script.Script; import org.osbot.rs07.script.ScriptManifest; import java.awt.*; @ScriptManifest(author = "You", info = "My first script", name = "Tea thiever", version = 0, logo = "") public class main extends Script { @Override public void onStart() { log("Welcome to Simple Tea Thiever by Apaec."); log("If you experience any issues while running this script please report them to me on the forums."); log("Enjoy the script, gain some thieving levels!."); } private enum State { WALK, WAIT }; private State getState() { Area COWPEN = new Area(422, 62,51, 332); NPC cow = npcs.closest("Cow"); if(cow.isUnderAttack() && cow.getHealth()<8 ) return State.WALK; return State.WAIT; } @Override public int onLoop() throws InterruptedException { switch (getState()) { case WALK: NPC cow = npcs.closest("Cow"); if(cow.isUnderAttack() ) { localWalker.walk(COWPEN.getRandomPosition(0));//will get a random area in the cow pen to run off to, then will kill cows that aren't under attack, or keep doing this until it finds one. //} } break; case WAIT: sleep(random(500, 700)); break; } return random(200, 300); } @Override public void onExit() { log("Thanks for running my Tea Thiever!"); } @Override public void onPaint(Graphics2D g) { } }
  8. See a lot of new questions and answers analysis code, I have also been able to write a simple script that just need to walk with the bank study using this code structure, but the code I clicked him, pages have been removed, impatient, you could get him that code issued to, or send a similar walk to the bank's case it Thank you
  9. There are two mistakes on webwalk, you can change the next, send a complete code can do
  10. Brothers, I copied your code, the results shown, how much of "x" and red wavy my scholarship did not get started, thank you guide my question
×
×
  • Create New...