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.

Script Outlining

Featured Replies

Hi everyone! I have a lot less time now that school has started and a lot of my free time is used playing sports and coding for a game I'm making in comp sci class. So here is what I'll be doing...

 

Script Outlining

  1. You give me your script idea, and we agree on a price
  2. I write the script outline with everything BUT the the code inside the methods
  3. You pay me and I give you the text file that contains the outline

Example:

import java.awt.Graphics;
import org.osbot.script.Script;
import org.osbot.script.ScriptManifest;
import org.osbot.script.rs2.model.GroundItem;
import org.osbot.script.rs2.model.NPC;
import org.osbot.script.rs2.utility.Area;

@ScriptManifest(author = "", name = "Chicken Killer", version = 1.0, info = "")
public class ChickenKiller extends Script {
    
	private final Area PEN = new Area(0,0,0,0);//TODO get pen area
	
	public int onLoop() throws InterruptedException 
	{
        try
        {
        	if(!myPlayer().isInArea(PEN))
    		{
    			walk(PEN);
    		}
        	else
        	{
        	//TODO checkForDrop(); then attack the nearest chicken

        	}
        }
        catch (InterruptedException e) {throw e;} catch (Exception e) {e.printStackTrace();}
        return random(500, 650);
    }
	public void checkForDrop() throws InterruptedException
	{
		
		try
		{
			//create GroundItem feather and if it exists, pick it up
		}
		catch (InterruptedException e) {throw e;} catch (Exception e) {e.printStackTrace();}
	}  
}

 

This is a very basic example, but if you were just starting scripting, this would be a big help. I add comments where you need to add the code. This saves me the time of getting all the position values, and helps teach people more about scripting. 

 

How is this not breaking the rules of selling scripts? 

I am not actually selling the script. I'm merely selling tools to make the script. The person I sell to can still sell the completed product, and osbot will still get a cut of the sales.

 

I usually use bot states when writing complex scripts. Bot states is a valuable tool for new scripters to learn.

I can also make GUIs for people that don't understand how to make them work.

 

If you are interested: pm me, post below, or add me on skype at 'jackisnotpro'.

Goddamn this is a good idea. And its allowed because you aren't actually selling a script, so Madlesto and Gh0st gtfo. I might want one some day :P

  • 1 month later...

its selling a skeleton which is nothign without the code to go with it

 

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.