Jump to content

scriptss

Script writer
  • Content count

    1,600
  • Joined

  • Last visited

  • Days Won

    36
  • Feedback

    100%

scriptss last won the day on July 10 2017

scriptss had the most liked content!

About scriptss

  • Rank
    Scriptss be scriptin'
  • Birthday 03/26/2016

Profile Information

  • Gender
    Not Telling

Recent Profile Visitors

4,629 profile views
  1. scriptss

    Dreamscape Updated!

    "post a guide on how to do it" 🙄 1) update the hooks for the server you wanna bot (osrs clients not supported) 2) bot
  2. scriptss

    Dreamscape RSPS Bot

    as if people still use autoit ?
  3. scriptss

    Creating Classes

    People have done tutorials on creating scripts, settings up IDE's, etc but no-ones done one on how a class should be structured so here goes... A basic class will look like this //the imports for your class import org.parabot.environment.scripts.framework.Strategy; //imported because myClass implements Strategy public class myClass implements Strategy { public boolean activate() { //this determines when to execute the execute void within this class return true; } @Override //this is executed when the activate condition is met public void execute() { try { //try/catches aren't mandatory but it's good practise to use them so it's easier to debug if you get an errors } catch (Exception ex) { System.out.println(ex.getMessage()); } } } so that's the basic structure for a script, for this example i'l make something simple that mines iron ore //the imports for your class import org.parabot.environment.scripts.framework.Strategy; //imported because myClass implements Strategy public class myClass implements Strategy { public boolean activate() { //this determines when to execute the execute void within this class return !Inventory.isFull(); //i've added !Inventory.isFull() because i want my execute to run if my inventory isn't full } @Override //this is executed when the activate condition is met public void execute() { //the inventory isn't full so the code below is going to be ran try { //try/catches aren't mandatory but it's good practise to use them so it's easier to debug if you get an errors if (SceneObjects.getNearest(rock_id).length > 0) { //check there are some rocks about for (SceneObject s : SceneObjects.getNearest(rock_id)) { //get all the nearest rocks if (g != null) { //check that the rock isn't null, it might of just been mined ? System.out.println("Mining rock"); //little debug to make life easier g.interact(SceneObject.Option.MINE); //not a fan of Option. but its easier than getting the interact ID Time.sleep(1000); //static sleep to piss @JKetelaar off } } } } catch (Exception ex) { System.out.println(ex.getMessage()); } } } okay so that will now mine rocks with the ID of rock_id but we've not declared rock_id so that needs to be done... //the imports for your class import org.parabot.environment.scripts.framework.Strategy; //imported because myClass implements Strategy public class myClass implements Strategy { //there are 3 ways you can declare rock_id, you can do: public int rock_id = 000; //this makes rock_id accessible to all of the classes within your project private int rock_id = 000; //this makes rock_id accessible just within this class public boolean activate() { return !Inventory.isFull(); } @Override public void execute() { try { int rock_id = 000; //this makes rock_id accessible from just within this try/catch if (SceneObjects.getNearest(rock_id).length > 0) { for (SceneObject s : SceneObjects.getNearest(rock_id)) { if (g != null) { System.out.println("Mining rock"); g.interact(SceneObject.Option.MINE); Time.sleep(1000); } } } } catch (Exception ex) { System.out.println(ex.getMessage()); } } } im going to to with just making rock_id accessible within the entire class, but at the moment there's nothing to determine when your already mining so... //the imports for your class import org.parabot.environment.scripts.framework.Strategy; //imported because myClass implements Strategy public class myClass implements Strategy { public boolean activate() { return !Inventory.isFull(); } @Override public void execute() { try { if (Players.getMyPlayer.getAnimation == -1) { //-1 is the standard animation number for when your standing around doing nothing int rock_id = 000; if (SceneObjects.getNearest(rock_id).length > 0) { for (SceneObject s : SceneObjects.getNearest(rock_id)) { if (g != null) { System.out.println("Mining rock"); g.interact(SceneObject.Option.MINE); Time.sleep(1000); //wee'l also remove this and add a sleep condition so we know were actually mining before we go back to the top Time.sleep(new SleepCondition() { @Override public boolean isValid() { return Players.getMyPlayer().getAnimation() > -1; //we want the sleep to end when our animation is above -1 } }, 5000); //the amount of time to sleep for in milliseconds } } } } } catch (Exception ex) { System.out.println(ex.getMessage()); } } }
  4. scriptss

    Dreamscape "client needs update"

    its been updated, should be working in the next few days
  5. scriptss

    Pkhonor Accounts.

    worthless really, all of the skills can be botted to 99, Death accounts are worth allot more
  6. few things to try: duel arena dying in wildy use a couple of mules etc
  7. scriptss

    Pkhonor

    soon'ish
  8. scriptss

    hi again

    send me $1000 per server and i do update
  9. scriptss

    SoulPlay

    some of the servers will be updated soon, were all really busy at the moment with school,exams,work,etc
  10. scriptss

    SoulPlay

    this guy knows his stuff... we need to go back to supporting rs3!
  11. scriptss

    wondering

    parabot has been sold to jagex for $1,000,000 so unfortunately there will be no more updates
  12. scriptss

    PKH gold for btc

    pm me if you need a middleman
  13. scriptss

    [Trusted] Selling os-unity gold

    ty <3
  14. scriptss

    [Trusted] Selling os-unity gold

    Selling os-unity gold, Currently have 20B in stock. Pm me or message me on slack
×