Jump to content

I need help


kjloveday

Recommended Posts

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
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

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