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.

Delay login HELP

Featured Replies

public int onLoop() throws InterruptedException {
		NPC monster=npcs.closest("monster");
		if(monster.isVisible()){
			Time=System.currentTimeMillis();
			logoutTab.logOut;//logout game
		}
		return 0;
	}
public void onStart() {
		bot.getRandomExecutor().registerHook(new RandomBehaviourHook(
				RandomEvent.AUTO_LOGIN) {
                        public boolean shouldActivate() {
				if(this.client.getLoginStateValue()==10&&System.currentTimeMillis()-Time>20000){//Delay login
					return true;
				}
				return false;
			}
		});
	}
Before 2.4.96 is perfect.
 
2.4.99 Removed "RandomBehaviourHook".
 
What should I do?(please give the sample)
 

 

Edited by AngryKey

There currently is no way besides using the norandoms parameter and making your own login handler

  • Author

There currently is no way besides using the norandoms parameter and making your own login handler

how to using "norandoms"

how to using "norandoms"

 

java -jar osbot.jar -login angrykev:password -bot zezima@@hotmail.com:password:0000 -allow norandoms

idk why you pmed me for help lol I dont have scripter rank and not really a big coder lol

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.