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.

NMZ Flicker script

Featured Replies

Flicks prayer to stay at one, doesn't use pots or special attack. Useful for afking for 40-90 minutes at a time depending on what you're wearing. Also has a slight anti-ban, I wasn't banned and I used this for approx 60 hours 14hr/s a day. I suggest changing the Sleep() timers to be more unique for yourself.

import org.osbot.rs07.script.Script;
import org.osbot.rs07.script.ScriptManifest;
import org.osbot.rs07.api.ui.Message;
import org.osbot.rs07.api.ui.RS2InterfaceChild;
import org.osbot.rs07.api.ui.Tab;
import org.osbot.rs07.api.ui.Message.MessageType;

import java.awt.*;
import java.util.List;

@ScriptManifest(
		author = "7331337", 
		info = "Assist NMZ training, automatic hp flicker.", 
		name = "EzEMZAssister", 
		version = 0.2, 
		logo = "")

public class main extends Script{
	int[] hardFlick = {707,260,723,275};
	int totalFlicks = 0;
	
    @Override
    public void onStart() {
    	log("Started");
    }
	
    @Override
    public void onExit() {
        //Code here will execute after the script ends
    }
    
    @Override
    public int onLoop() throws InterruptedException {
    	int prayX = random(hardFlick[0], hardFlick[2]);
    	int prayY = random(hardFlick[1], hardFlick[3]);
    	int [] slightFlick = {(prayX + random (0, 4) - 2), (prayY + random (0, 4) - 2)};
    	int flickChance = random(0,100);
    	inventory.interact("Absorption", "Drink");
    	
    	if (getTabs().getOpen() == Tab.PRAYER){
    		totalFlicks++;
    		getMouse().click(prayX,prayY, false);
    		sleep(random(79,438));
    		if (flickChance > 85){
    			getMouse().click(slightFlick[0], slightFlick[1], false);
    			return random(14721,37197);
    		}
    		if (flickChance < 2){
    	    	prayX = random(hardFlick[0], hardFlick[2]);
    	    	prayY = random(hardFlick[1], hardFlick[3]);
    	    	getMouse().click(prayX,prayY, false);
    	    	log ("Yolo flick occured");
    			return random(13147,37971);
    		}
    		
    		getMouse().click(prayX,prayY, false);
    		log("Times flicked; " + totalFlicks);
    		return random(12475,37741);
    	} else {
    		getTabs().open(Tab.PRAYER);
    		log("Prayer is closed opening tab...");
    	}
    	
        return random(121,1047); //The amount of time in milliseconds before the loop starts over
    }


    @Override
    public void onPaint(Graphics2D g) {
        //This is where you will put your code for paint(s)
    }
    
    
}

Download; http://multiupload.biz/ls75gecueu9r/nmzFlicker_MultiUpload.biz.jar.html

Flicks prayer to stay at one, doesn't use pots or special attack. Useful for afking for 40-90 minutes at a time depending on what you're wearing. Also has a slight anti-ban, I wasn't banned and I used this for approx 60 hours 14hr/s a day. I suggest changing the Sleep() timers to be more unique for yourself.

import org.osbot.rs07.script.Script;
import org.osbot.rs07.script.ScriptManifest;
import org.osbot.rs07.api.ui.Message;
import org.osbot.rs07.api.ui.RS2InterfaceChild;
import org.osbot.rs07.api.ui.Tab;
import org.osbot.rs07.api.ui.Message.MessageType;

import java.awt.*;
import java.util.List;

@ScriptManifest(
		author = "7331337", 
		info = "Assist NMZ training, automatic hp flicker.", 
		name = "EzEMZAssister", 
		version = 0.2, 
		logo = "")

public class main extends Script{
	int[] hardFlick = {707,260,723,275};
	int totalFlicks = 0;
	
    @Override
    public void onStart() {
    	log("Started");
    }
	
    @Override
    public void onExit() {
        //Code here will execute after the script ends
    }
    
    @Override
    public int onLoop() throws InterruptedException {
    	int prayX = random(hardFlick[0], hardFlick[2]);
    	int prayY = random(hardFlick[1], hardFlick[3]);
    	int [] slightFlick = {(prayX + random (0, 4) - 2), (prayY + random (0, 4) - 2)};
    	int flickChance = random(0,100);
    	inventory.interact("Absorption", "Drink");
    	
    	if (getTabs().getOpen() == Tab.PRAYER){
    		totalFlicks++;
    		getMouse().click(prayX,prayY, false);
    		sleep(random(79,438));
    		if (flickChance > 85){
    			getMouse().click(slightFlick[0], slightFlick[1], false);
    			return random(14721,37197);
    		}
    		if (flickChance < 2){
    	    	prayX = random(hardFlick[0], hardFlick[2]);
    	    	prayY = random(hardFlick[1], hardFlick[3]);
    	    	getMouse().click(prayX,prayY, false);
    	    	log ("Yolo flick occured");
    			return random(13147,37971);
    		}
    		
    		getMouse().click(prayX,prayY, false);
    		log("Times flicked; " + totalFlicks);
    		return random(12475,37741);
    	} else {
    		getTabs().open(Tab.PRAYER);
    		log("Prayer is closed opening tab...");
    	}
    	
        return random(121,1047); //The amount of time in milliseconds before the loop starts over
    }


    @Override
    public void onPaint(Graphics2D g) {
        //This is where you will put your code for paint(s)
    }
    
    
}

Download; http://multiupload.biz/ls75gecueu9r/nmzFlicker_MultiUpload.biz.jar.html

 

Good Job! ^_^ might want to consider widgets for selecting prayer? 

  • Author

@Precise

I don't know how random widgets are I just hard coded it instead.

Guest
This topic is now closed to further replies.

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.