Jump to content

Idle avoider


Loo Looon

Recommended Posts

7 hours ago, Juggles said:

Jagex has a 6 hour limit put into place. Why not just have a script idle AFK with minimal movements and then every 6 hours after kicked it will relog? No need to be on 24 hours straight 

very true cuz it realy isnt suspicious to be logged in 24hours str8. ?

Link to comment
Share on other sites

I have something just move the mouse on or off the screen every 0-3 minutes. 

import org.osbot.rs07.script.Script;
import org.osbot.rs07.script.ScriptManifest;

@ScriptManifest(author = "apa", info = "Afks", logo = "", name = "AFK", version = 1.0)
public class Main extends Script {
	
	public void onStart(){
	}
	
	public int waitTime(int min, int max) {
		return (int)(Math.random() * (max - min)) + min;
	}
	
	public int onLoop() throws InterruptedException {
		if (mouse.isOnScreen()) {
			mouse.moveOutsideScreen();
		} else {
			mouse.move((int)(100 + (Math.random() * 660)), (int)(100 + (Math.random() * 400)));
		}
		
		return waitTime(1000, 240000); //1 sec to 4 mins.
	}

}

 

Edited by apa
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.

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