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.

I need help

Featured Replies

Well today i want to try to script a bot but im not sure how to make it actually fish and drop the fish is there a list of codes? i can get for this type of scripting? 

 

for example i tryed the tutorial but its a bit confusing, i know all the actions belong with onloop but ermm idk how to set it up can some1 help me so i can try to make my first script smile.png i just want to try to make a simple power fisher.

import org.osbot.rs07.script.Script;
import org.osbot.rs07.script.ScriptManifest;
 
import java.awt.*;
 
@ScriptManifest(author = "Fez", info = "FirstTime", name = "TestPowerFish", version = 0, logo = "")
public class main extends Script {
 
    @Override
    public void onStart() {
        log("Test, get 99 fishing ~ Powerfishing!");
        log("If you find any bugs please report to me, I will fix!");
    }
 
    @Override
    public int onLoop() throws InterruptedException {
        return random(200, 300);
    }
 
    @Override
    public void onExit() {
        log("Thanks for using Test1 PowerFisher!");
    }
 
    @Override
    public void onPaint(Graphics2D g) {
 
    }
 
}

I'm looking to powerfish lobsters and karamja any help is appreciated smile.png

 

Like this is the first time even attempting to look on the coding side of a bot other then just pressing start lol

Edited by kjloveday

check out the API docs

specifically for this task you should look at the classes Npcs and Inventory (accessible from the script class by getNpcs() and getInventory())

Create an account or sign in to comment

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.