Jump to content

Delay login HELP


Recommended Posts

public int onLoop() throws InterruptedException {
		NPC monster=npcs.closest("monster");
			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
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.

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