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.

Error in script onStart(): Freaky Fast Abyss

Featured Replies

[iNFO][bot #1][04/27 07:07:43 PM]: Error in script onStart(): Freaky Fast Abyss

[iNFO][bot #1][04/27 07:07:43 PM]: Started script : Freaky Fast Abyss

 



ActivityOutOfBank: http://pastebin.com/WaHyzwvy


Data.Constants:

 

package Data;

public class Constants {

    public int BANK_ID = 11744;

    public int UNNOTE_ESS = 7937;

    public int NOTE_ESS = 7936;

    public String BANK_OPTION = "Bank";

}

 

Example inbanksubactivity: http://pastebin.com/ez8d6UAZ (they all follow the same format)

 

 

anyone any have clue of what could be going on? extra pastes on request

Thanks!!

  • Author

I've narrowed the issue down to it trying to add the node, not even bothering starting to read the constructor, and just exiting script.

 

 

edit: further narrowed it down to it getting to "constructing inbank node" in:

package osbotOS;
 
import org.osbot.rs07.script.Script;
 
import Data.Constants;
 
public abstract class Node {
 
    public Script script;
    public Constants c = new Constants();
 
    public Node(Script script) {
 
        this.script = script;
        this.script.log("constructing inbank node");
    }
 
    public abstract void execute();
 
    public abstract boolean validate();
 
}
 
but then not getting to "got here" in
 
    public ActivityInBank(Script script, Constants c) {
 
        super(script);
        this.script.log("got here");
        this.c = c;
 
        this.needToWithdrawFood = this.validateFood();
        this.needToWithdrawGlory = this.validateGlory();
        this.needToWithdrawPrayer = this.validatePrayer();
        this.needToWithdrawRunes = this.validateRunes();
        this.needToWithdrawTabs = this.validateTabs();
        this.needToWithdrawStam = this.validateStam();
 
        // TODO Auto-generated constructor stub
    }
 

Edited by elliottdehn

  • Author

czar fixed it for me. I needed to move the Collection.addAll to the constructors of the objects.

A little off topic but just a tip: constants are static and final.

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.