Skip 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.

Does Not Go Past On Start

Featured Replies

I have no idea why this is happening, everything was working half an hour ago, but with my scripts all it will do is execute the code in the onstart method, and then nothing else. 

 

import org.osbot.script.Script;import org.osbot.script.ScriptManifest;import org.osbot.script.rs2.model.NPC;import org.osbot.script.rs2.model.Player;import org.osbot.script.rs2.model.RS2Object;/** * Created with IntelliJ IDEA. User: Lazaro Date: 4/10/13 Time: 11:51 PM To * change this template use File | Settings | File Templates. */@ScriptManifest(name = "Test", author = "Lazaro", version = 1.0, info = "")public class TestScript extends Script {	enum State {		INPUT, IDLE, SKILLING, FAIL, WAITING	}	State state = State.WAITING;	public NPC npc;	RS2Object CAVE_ENTRANCE_OBJ;	@Override	public void onStart() {		log("Author: Scape");	}	@Override	public int onLoop() {		/*getState();		switch (state) {		case IDLE:			//return		}*/		 log("Test Loojjujp lol");		return 1000;	}	public State getState() {		Player player = client.getMyPlayer();		//stuff		return State.FAIL;			}}

 

The log in the loop is not executing at all.



Just figured it out, I had a .project in my scripts folder for osbot and for some reason this stopped it from working.

Guest
This topic is now closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

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.