free newt eyes buyer!!

Discussion in 'RuneScape 3 Cheating' started by smallsniper, Nov 24, 2008.

free newt eyes buyer!!
  1. Unread #1 - Nov 24, 2008 at 11:48 AM
  2. smallsniper
    Joined:
    Nov 6, 2008
    Posts:
    83
    Referrals:
    0
    Sythe Gold:
    0

    smallsniper Member
    Banned

    free newt eyes buyer!!

    I bought from dp cracked and edited it and here it is for free:


    import com.speljohan.rsbot.accessors.Client;
    import com.speljohan.rsbot.bot.Bot;
    import com.speljohan.rsbot.event.EventManager;
    import com.speljohan.rsbot.event.listeners.PaintListener;
    import com.speljohan.rsbot.script.Bank;
    import com.speljohan.rsbot.script.InputManager;
    import com.speljohan.rsbot.script.Script;
    import com.speljohan.rsbot.script.wrappers.RSInterface;
    import com.speljohan.rsbot.script.wrappers.RSObject;
    import com.speljohan.rsbot.script.wrappers.RSPlayer;
    import com.speljohan.rsbot.script.wrappers.RSTile;
    import java.awt.Color;
    import java.awt.Graphics;
    import java.util.Map;

    public class DPNewtEyesPro extends Script implements PaintListener {
    int waitAfterMoving;
    int failCount;
    boolean cameraMoving;
    int loads;
    boolean spinningView;
    public RSTile bankTile;
    public RSTile shopTile;
    public int coinID;
    public static int bankBoothID = 2213;
    public RSTile[] bankToShopPath;
    public RSTile[] shopToBankPath;
    public RSTile[] walkBackPath;
    int i;

    public DPNewtEyesPro() {
    this.waitAfterMoving = -1;
    this.failCount = 0;
    this.cameraMoving = false;
    this.loads = 0;
    this.spinningView = false;
    this.bankTile = new RSTile(3092, 3245);
    this.shopTile = new RSTile(3015, 3259);
    this.coinID = 995;

    //this.bankToShopPath = new RSTile[] { new RSTile(3092, 3245) new RSTile(3087, 3249), new RSTile(3083, 3254), new RSTile(3082, 3260), new RSTile(3078, 3266), new RSTile(3075, 3272), new RSTile(3070, 3276), new RSTile(3064, 3276), new RSTile(3058, 3276), new RSTile(3052, 3276), new RSTile(3046, 3276), new RSTile(3040, 3276), new RSTile(3034, 3276), new RSTile(3030, 3271), new RSTile(3025, 3267), new RSTile(3021, 3262), new RSTile(3017, 3259) };
    //this.shopToBankPath = new RSTile[] { new RSTile(3017, 3259), new RSTile(3021, 3265), new RSTile(3027, 3267), new RSTile(3032, 3272), new RSTile(3037, 3276), new RSTile(3043, 3276), new RSTile(3049, 3276), new RSTile(3055, 3276), new RSTile(3061, 3276), new RSTile(3067, 3276), new RSTile(3072, 3271), new RSTile(3077, 3267), new RSTile(3080, 3261), new RSTile(3081, 3255), new RSTile(3086, 3250), new RSTile(3092, 3247), new RSTile(3092, 3245) };
    //this.bankToShopPath = new RSTile[] { new RSTile(3092, 3245) new RSTile(3087, 3249), new RSTile(3083, 3254), new RSTile(3082, 3260), new RSTile(3078, 3266), new RSTile(3075, 3272), new RSTile(3070, 3276), new RSTile(3064, 3276), new RSTile(3058, 3276), new RSTile(3052, 3276), new RSTile(3046, 3276), new RSTile(3040, 3276), new RSTile(3034, 3276), new RSTile(3030, 3271), new RSTile(3025, 3267), new RSTile(3021, 3262), new RSTile(3017, 3259) };
    this.shopToBankPath = new RSTile[] { new RSTile(3017, 3259), new RSTile(3021, 3265), new RSTile(3027, 3267), new RSTile(3032, 3272), new RSTile(3037, 3276), new RSTile(3043, 3276), new RSTile(3049, 3276), new RSTile(3055, 3276), new RSTile(3061, 3276), new RSTile(3067, 3276), new RSTile(3072, 3271), new RSTile(3077, 3267), new RSTile(3080, 3261), new RSTile(3081, 3255), new RSTile(3086, 3250), new RSTile(3092, 3247), new RSTile(3092, 3245) };
    this.bankToShopPath = reversePath(shopToBankPath);
    this.walkBackPath = new RSTile[] { new RSTile(3222, 3219), new RSTile(3232, 3224), new RSTile(3227, 3234), new RSTile(3222, 3244), new RSTile(3211, 3246), new RSTile(3200, 3247), new RSTile(3189, 3246), new RSTile(3178, 3243), new RSTile(3168, 3238), new RSTile(3157, 3236), new RSTile(3146, 3232), new RSTile(3136, 3227), new RSTile(3125, 3227), new RSTile(3114, 3228), new RSTile(3108, 3238), new RSTile(3103, 3248), new RSTile(3092, 3245) };
    }

    public double getVersion() {
    return 2.2;
    }

    public String getName() {
    return "Dontpanic's Newt Eye Buyer - Pro Version";
    }

    public String getAuthor() {
    return "Dontpanic - [email protected]";
    }

    public String getScriptCategory() {
    return "Dontpanic Scripts";
    }

    public String getScriptDescription() {
    String str = "";

    str = str + "<html>\n";
    str = str + "<body>\n";
    str = str + "<h2>" + getName() + " v" + getVersion() + "</h2><br>\n";
    str = str + "Author: " + getAuthor() + "<br><br>\n";
    str = str + "Start anywhere with money in your inventory. (Notice: If you are lower than 30hp, you should start at the draynor bank to avoid being killed by jail guards)<BR><BR>Script sold by [email protected]";

    str = str + "</body>\n";
    str = str + "</html\n";

    return str;
    }

    //public boolean onStart(String[] paramArrayOfString) {
    public boolean onStart (Map<String, String> args) {
    /*URL localURL;
    try {
    localURL = new URL("http://jagex.ws/auth.php");
    BufferedReader localBufferedReader = new BufferedReader(new InputStreamReader(localURL.openStream()));

    String str = localBufferedReader.readLine();
    localBufferedReader.close();
    if (!(str.equals("1"))) {
    log("You are not authenticated to run this script.");
    return false;
    }
    } catch (Exception localException) {
    return false;
    }*/

    Bot.getEventManager().addListener(PaintListener.class, this);

    return true;
    }

    public void onFinish() {
    Bot.getEventManager().removeListener(PaintListener.class, this);
    }

    public int loop()
    {
    if (!(isLoggedIn()))
    return random(100, 200);

    if (checkSpinningView())
    return random(200, 300);

    if (checkCamera())
    return random(500, 800);

    if (getMyPlayer().isMoving())
    return random(50, 100);

    if (this.waitAfterMoving != -1) {
    i = this.waitAfterMoving;
    this.waitAfterMoving = -1;
    return i;
    }
    if (checkAttack())
    return random(800, 1000);

    int i = work();
    if (i != -1) {
    this.failCount = 0;
    return i;
    }
    if (walkBack()) {
    this.failCount = 0;
    return random(500, 800);
    }
    this.failCount += 1;
    if (this.failCount >= 10) {
    this.failCount = 0;
    homeTele();
    return random(2000, 3000);
    }
    return random(1000, 2000);
    }

    public boolean checkCamera()
    {
    if (this.cameraMoving) {
    if (Bot.getClient().getCameraCurveY() >= 380) {
    Bot.getInputManager().releaseKey('&');
    this.cameraMoving = false;
    }
    return true; }
    if (Bot.getClient().getCameraCurveY() < 380) {
    Bot.getInputManager().pressKey('&');
    this.cameraMoving = true;
    return true;
    }
    return false;
    }

    public boolean checkAttack() {
    if (getMyPlayer().isInCombat())
    return runFromCombat();

    return false;
    }

    public boolean runFromCombat()
    {
    return false;
    }

    public void onRepaint(Graphics paramGraphics)
    {
    paramGraphics.setColor(Color.YELLOW);
    paramGraphics.drawString("Dontpanic's Newt Eye Buyer", 260, 20);
    paramGraphics.drawString("Loads: " + this.loads, 260, 38);
    }

    public int work() {
    if (getInventoryCount() != 28)
    return buy();

    return bank();
    }

    public void runOn()
    {
    setRun(true);
    }

    public int buy() {
    if (atShop()) {
    if (shopOpen()) {
    buyFromShop();
    return random(800, 1000);
    }
    runOn();
    if (openDoor())
    return random(500, 800);

    if (openShop()) {
    this.waitAfterMoving = random(200, 300);
    return random(500, 800);
    }
    dpWalkTile(this.shopTile);
    this.waitAfterMoving = random(300, 400);
    return random(500, 800);
    }

    if (bankToShop())
    return random(500, 800);

    return -1;
    }

    public int bank()
    {
    if (atBank()) {
    if (RSInterface.getInterface(762).isValid()) {
    this.bank.depositAllExcept(new int[] { this.coinID });
    this.loads += 1;
    return random(500, 800);
    }
    if (distanceTo(this.bankTile) > 1) {
    if (dpWalkTile(this.bankTile)) {
    this.waitAfterMoving = random(200, 300);
    return random(500, 800);
    }
    return -1;
    }

    RSObject localRSObject = findObject(new int[] { bankBoothID });
    if (atObject(localRSObject, "uickly"))
    return random(500, 800);

    return -1;
    }

    if (openDoor())
    return random(500, 800);

    if (shopToBank())
    return random(500, 800);

    return -1;
    }

    public boolean dpWalkPath(RSTile[] paramArrayOfRSTile)
    {
    for (int i = paramArrayOfRSTile.length - 1; i >= 0; --i)
    if (dpWalkTile(randomizeTile(paramArrayOfRSTile, 1, 1)))
    return true;


    return false;
    }

    public boolean dpWalkTile(RSTile paramRSTile) {
    if (distanceTo(paramRSTile) <= 16) {
    walkTileMM(paramRSTile);
    return true;
    }
    return false;
    }

    public void homeTele()
    {
    openTab(6);
    castSpell(1);
    }

    public boolean walkBack() {
    return dpWalkPath(this.walkBackPath);
    }

    public boolean shopToBank() {
    return dpWalkPath(this.shopToBankPath);
    }

    public boolean bankToShop() {
    return dpWalkPath(this.bankToShopPath);
    }

    public boolean shopOpen() {
    return RSInterface.getInterface(620).isValid();
    }

    public boolean openShop() {
    return atNPC(getNearestNPCByID(new int[] { 583 }), "Trade");
    }

    public boolean openDoor() {
    RSObject localRSObject = findObject(new int[] { 40108 });
    if ((localRSObject != null) &&
    (distanceTo(localRSObject) <= 5)) {
    if (shopOpen()) {
    dpWalkTile(this.shopTile);
    return true;
    }
    if (!(atDoor(localRSObject, "West", "Open")))
    spinView();

    return true;
    }

    return false;
    }

    public void spinView() {
    Bot.getInputManager().pressKey('\'');
    this.spinningView = true;
    }

    public boolean checkSpinningView()
    {
    if (this.spinningView) {
    Bot.getInputManager().releaseKey('\'');
    this.spinningView = false;
    return true;
    }
    return false;
    }

    public void openStock()
    {
    int i = 61 + random(0, 3);
    int j = 72 + random(0, 3);
    moveMouse(i, j);
    clickMouse(i, j, true);
    wait(random(800, 1000));
    }

    public void buyFromShop() {
    int i = 384 + random(0, 3);
    int j = 105 + random(0, 3);
    moveMouse(i, j);
    clickMouse(i, j, false);
    wait(random(150, 200));
    if (atMenu("Buy X")) {
    wait(random(1400, 1500));
    sendText(Integer.toString(random(27, 99)), true);
    } else {
    openStock();
    }
    }

    public boolean atShop() {
    return (distanceTo(this.shopTile) < 6);
    }

    public boolean atBank() {
    return (distanceTo(this.bankTile) < 5);
    }
    }
     
  3. Unread #2 - Nov 24, 2008 at 11:51 AM
  4. Ardy
    Joined:
    Jul 9, 2007
    Posts:
    5,828
    Referrals:
    1
    Sythe Gold:
    122
    Discord Unique ID:
    178668500468891648
    Discord Username:
    Ardy#1492

    Ardy dOnT bE sIlLy Im StIlL gOnNa SeNd It
    $200 USD Donor New Retired Global Moderator

    free newt eyes buyer!!

    This script is already given out free in packs all across the internet. Thanks anyhow.
     
  5. Unread #3 - Nov 24, 2008 at 11:53 AM
  6. qpwoeiruty
    Joined:
    Jul 22, 2008
    Posts:
    1,839
    Referrals:
    1
    Sythe Gold:
    0

    qpwoeiruty Guru

    free newt eyes buyer!!

    this is one of those free scripts tnx anyway :)
     
  7. Unread #4 - Nov 24, 2008 at 11:57 AM
  8. IcyDude
    Joined:
    Oct 7, 2008
    Posts:
    339
    Referrals:
    0
    Sythe Gold:
    0

    IcyDude Forum Addict
    Banned

    free newt eyes buyer!!

    hmmm....does it select random paths and automatically open doors? 'cause the one i have on my Rsbot doesnt, and it only uses 1 path (so i odnt use it)

    also, can you make a downloadable version with a java and a class file? cuz i dunno how to do that stuff
     
  9. Unread #5 - Nov 24, 2008 at 12:19 PM
  10. Nis
    Joined:
    Nov 15, 2008
    Posts:
    270
    Referrals:
    0
    Sythe Gold:
    0

    Nis Forum Addict
    $5 USD Donor New

    free newt eyes buyer!!

    he quit selling it and quit releasing it os people wouldnt use it, pretty soon newts r gonna b worthless. so if ur gonna give this script out please put above it in big red letters: Please sell eye of newts for max price, otherwise the price will fall and this script will be worthless!
     
  11. Unread #6 - Nov 24, 2008 at 12:58 PM
  12. smallsniper
    Joined:
    Nov 6, 2008
    Posts:
    83
    Referrals:
    0
    Sythe Gold:
    0

    smallsniper Member
    Banned

    free newt eyes buyer!!

    yes it opens doors and you start in draynor bank, I will attatch a java file if you like
     
  13. Unread #7 - Nov 24, 2008 at 1:43 PM
  14. rivgen
    Joined:
    Jul 22, 2008
    Posts:
    536
    Referrals:
    0
    Sythe Gold:
    0

    rivgen Forum Addict

    free newt eyes buyer!!

    smallsniper, I suggest you to put it in code tags. And this script has already got leaked on RSbot forums.
     
< Need a autofighter scripts for rsbot | *[Assloads Of Money]* >

Users viewing this thread
1 guest


 
 
Adblock breaks this site