Jump to content

I need help


Recommended Posts

Posted (edited)

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...