Jump to content
View in the app

A better way to browse. Learn more.

OSBot :: 2007 OSRS Botting

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Dat RangeGuild | 25k+ Ranged Exp/Hour

Featured Replies

  • Author

Pretty sure thats what he is saying.

You guys hurt my friend Link's feelings, go make your own script. :(

 

Btw, I'm releasing it...without paint.

First post updated, release in 10 minutes! :o

You guys hurt my friend Link's feelings, go make your own script. sad.png

 

Btw, I'm releasing it...without paint.

First post updated, release in 10 minutes! ohmy.png

 

good to hear may try it when im 90 fishing :)

When I download and put in script folder, it doesnt show up in 1.4.1 - in fact no scripts show up. Then when I remove it from the script folder and run the client, the scripts return

  • Author

When I download and put in script folder, it doesnt show up in 1.4.1 - in fact no scripts show up. Then when I remove it from the script folder and run the client, the scripts return

Just as I feared, make a folder called datRangeGuild and put it in there, and then tell me.

I'm having problems with this script if anyone could look over it and tell me wth is wrong with it and could fix its id be soo happy..
 
---------------------------------------------------------------------------------------------------------------------------------------------------------------
import org.osbot.script.Script;
import org.osbot.script.ScriptManifest;
import org.osbot.script.rs2.map.Position;
import org.osbot.script.rs2.model.NPC;
import org.osbot.script.rs2.model.RS2Object;
 
@ScriptManifest(name = "Dat RangeGuild V0.1 BETA", author = "GoldenGates", version = 0.1, info = "Gets Range Exp at the Range Guild.")
public class datRangeGuild extends Script {
 
        int moneyID = 996;
        int ticketID = 1465;
        int bronzeArrowID = 882;
        int judgeID = 693;
        int targetID = 2513;
        boolean readyToShoot = false;
        boolean rightArea = true;
 
        public void onStart() {
                log("Starting Dat RangeGuild by GoldenGates!");
                log("Please be sure that you are not currently competing in the minigame.");
                log("Also make sure your camera IS AS LOW AS IT CAN GO!!!");
        }
 
        public void onStop() {
                log("Thank you for using Dat RangeGuild by GoldenGates!");
        }
 
        public int onLoop() throws InterruptedException {
                NPC judge = closestNPC(judgeID);
                RS2Object target = closestObject(targetID);
if (client.getMyPlayer().getY() > 3421 || client.getMyPlayer().getX() > 2671)
                {
                        log("Some how you got too far north, walking back");
                        walkExact(new Position(2670, 3418, 0));
                }
                if (client.getMyPlayer().isUnderAttack())
                {
                        log("Oh no, someone attacked you.");
                        walkExact(new Position(2658, 3428, 0));
                        sleep(random(5000, 9000));
                }
                if (rightArea == true) {
 
                        if (judge != null && !client.getInterface(242).isValid()
                                        && !client.getInterface(230).isValid()
                                        && !client.getInterface(64).isValid()
                                        && !client.getInterface(241).isValid()
                                        && !client.getInterface(325).isValid()
                                        && !client.getInventory().contains(bronzeArrowID)
                                        && readyToShoot == false) {
                                selectEntityOption(judge, "Talk-to");
                                log("Talking to Judge");
                                sleep(random(500, 750));
                        }
 
                        if (client.getInterface(242).isValid() && readyToShoot == false) {
                                selectInterfaceOption(242, 4, "Continue", true);
                                log("Talking to Judge");
                                sleep(random(500, 750));
                        }
                        if (client.getInterface(242).isValid()) {
                                log("We see interface1");
                                selectInterfaceOption(242, 4, "Continue", true);
                                log("Interface1 clicked");
                                sleep(random(500, 750));
                        }
 
                        if (client.getInterface(230).isValid()) {
                                log("We see interface2");
                                selectInterfaceOption(230, 1, "Continue", true);
                                log("Interface2 clicked");
                                sleep(random(500, 750));
                        }
 
                        if (client.getInterface(64).isValid()) {
                                log("We see interface3");
                                selectInterfaceOption(64, 3, "Continue", true);
                                log("Interface3 clicked");
                                sleep(random(500, 750));
                        }
 
                        if (client.getInterface(241).isValid()) {
                                log("We see interface4");
                                selectInterfaceOption(241, 3, "Continue", true);
                                log("Interface4 clicked");
                                readyToShoot = true;
                                sleep(random(500, 750));
                        }
 
                        if (client.getInventory().contains(bronzeArrowID)) {
                                selectInventoryOption(
                                                client.getInventory().getSlotForId(bronzeArrowID),
                                                "Wield");
                                log("Equipping Arrows");
                                readyToShoot = true;
                                sleep(random(500, 750));
                        }
 
                        if (target != null && !client.getInterface(242).isValid()
                                        && !client.getInterface(230).isValidimport org.osbot.script.Script;
import org.osbot.script.ScriptManifest;
import org.osbot.script.rs2.map.Position;
import org.osbot.script.rs2.model.NPC;
import org.osbot.script.rs2.model.RS2Object;
 
@ScriptManifest(name = "Dat RangeGuild V0.1 BETA", author = "GoldenGates", version = 0.1, info = "Gets Range Exp at the Range Guild.")
public class datRangeGuild extends Script {
 
    int moneyID = 996;
    int ticketID = 1465;
    int bronzeArrowID = 882;
    int judgeID = 693;
    int targetID = 2513;
    boolean readyToShoot = false;
    boolean rightArea = true;
 
    public void onStart() {
        log("Starting Dat RangeGuild by GoldenGates!");
        log("Please be sure that you are not currently competing in the minigame.");
        log("Also make sure your camera IS AS LOW AS IT CAN GO!!!");
    }
 
    public void onStop() {
        log("Thank you for using Dat RangeGuild by GoldenGates!");
    }
 
    public int onLoop() throws InterruptedException {
        NPC judge = closestNPC(judgeID);
        RS2Object target = closestObject(targetID);
if (client.getMyPlayer().getY() > 3421 || client.getMyPlayer().getX() > 2671)
                {
                    log("Some how you got too far north, walking back");
                    walkExact(new Position(2670, 3418, 0));
                }
                if (client.getMyPlayer().isUnderAttack())
                {
                    log("Oh no, someone attacked you.");
                    walkExact(new Position(2658, 3428, 0));
                    sleep(random(5000, 9000));
                }
        if (rightArea == true) {
 
            if (judge != null && !client.getInterface(242).isValid()
                    && !client.getInterface(230).isValid()
                    && !client.getInterface(64).isValid()
                    && !client.getInterface(241).isValid()
                    && !client.getInterface(325).isValid()
                    && !client.getInventory().contains(bronzeArrowID)
                    && readyToShoot == false) {
                selectEntityOption(judge, "Talk-to");
                log("Talking to Judge");
                sleep(random(500, 750));
            }
 
            if (client.getInterface(242).isValid() && readyToShoot == false) {
                selectInterfaceOption(242, 4, "Continue", true);
                log("Talking to Judge");
                sleep(random(500, 750));
            }
            if (client.getInterface(242).isValid()) {
                log("We see interface1");
                selectInterfaceOption(242, 4, "Continue", true);
                log("Interface1 clicked");
                sleep(random(500, 750));
            }
 
            if (client.getInterface(230).isValid()) {
                log("We see interface2");
                selectInterfaceOption(230, 1, "Continue", true);
                log("Interface2 clicked");
                sleep(random(500, 750));
            }
 
            if (client.getInterface(64).isValid()) {
                log("We see interface3");
                selectInterfaceOption(64, 3, "Continue", true);
                log("Interface3 clicked");
                sleep(random(500, 750));
            }
 
            if (client.getInterface(241).isValid()) {
                log("We see interface4");
                selectInterfaceOption(241, 3, "Continue", true);
                log("Interface4 clicked");
                readyToShoot = true;
                sleep(random(500, 750));
            }
 
            if (client.getInventory().contains(bronzeArrowID)) {
                selectInventoryOption(
                        client.getInventory().getSlotForId(bronzeArrowID),
                        "Wield");
                log("Equipping Arrows");
                readyToShoot = true;
                sleep(random(500, 750));
            }
 
            if (target != null && !client.getInterface(242).isValid()
                    && !client.getInterface(230).isValid()
                    && !client.getInterface(64).isValid()
                    && !client.getInterface(241).isValid()
                    && !client.getInterface(325).isValid()
                    && !client.getInventory().contains(bronzeArrowID)
                    && readyToShoot == true) {
                target.interact(false, "Fire-at");
                sleep(random(500, 750));
            }
 
            if (judge != null && client.getInterface(242).isValid()
                    && readyToShoot == true) {
                selectInterfaceOption(242, 4, "Continue", true);
                log("Getting Tickets");
                readyToShoot = false;
                sleep(random(500, 750));
            }
 
            if (client.getInterface(325).isValid()) {
                selectInterfaceOption(325, 88, "Close", true);
            }
        } else {
            walk(new Position(2671, 3418, 0));
            sleep(random(1500, 2000));
        }}
        return 500 + random(500, 750);
    }
 
    public void onMessage(String message) {
        if (message == "You should probably be behind the hay bales.") {
            rightArea = false;
        }
    }

Just as I feared, make a folder called datRangeGuild and put it in there, and then tell me.

 

That worked, thanks.

Has this been updated to 1.4.2 yet or is it still recommended to use 1.4.1?

  • Author

Has this been updated to 1.4.2 yet or is it still recommended to use 1.4.1?

1.4.2 has bugs in it, use 1.4.1, it's a lot better, the mouse will move slow at times, but ignore that, it'll give you around 15k/hour with decent range and bonus. I tested with 45 range.

Some-what works in v1.4.3... Will buy arrows & equip but won't shoot targets, but If I shoot targets manually, the bot closes the target screen and repeat that x10 then the bot will restart the minigame and sit until you manually shoot..

 

 

  • Author

Some-what works in v1.4.3... Will buy arrows & equip but won't shoot targets, but If I shoot targets manually, the bot closes the target screen and repeat that x10 then the bot will restart the minigame and sit until you manually shoot..

Wasn't made for 1.4.3, I'll test it with that.

Will it work on 1.4.4? Have never used this script before

At 62 range, full red dhide what would you expect the average xp/hr to be? May use this once randoms are implemented.

Guest
This topic is now closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.