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.

Clan wars bot?

Featured Replies

is that possible?

i mean: in clan wars fight i have my main +5 bots

and bots will attack same person as me

Absolutely. Is Clan Wars a dangerous minigame? I haven't played it myself. Do you lose items if you die?

Absolutely. Is Clan Wars a dangerous minigame? I haven't played it myself. Do you lose items if you die?

 

No, it's safe.

 

But @op, what's the point?

  • Author

No, it's safe.

 

But @op, what's the point?

oh i just wrote cw for example but imo its very good idea to use it at wilderness if you can run 10+ accounts you can ko many ppl

is possible to create this script?

Why? Just get a clan of pkers. Also a bot wouldnt be that fast to pk, or yes..(Scripters on osbot are so good that they could do anything)...?

  • Author

Why? Just get a clan of pkers. Also a bot wouldnt be that fast to pk, or yes..(Scripters on osbot are so good that they could do anything)...?

you can make some 70-80 cmb and go at 40+ wild lvl f2p and make 800k+/h

i think that f2p pvp clans can use it

You can get some 70-80 cmb and get +500k per account in p2p :v i think ur idea has no sense but if some1 makes a script for it gl

i think it would be a good idea, just like have the bot mirror your mouse movements and key strokes? like a dual D bow rusher, have a bot Rush the same person as you

This may work (wrote in 10 minutes):

import java.awt.Color;
import java.awt.Graphics2D;

import javax.swing.JOptionPane;

import org.osbot.rs07.api.model.Character;
import org.osbot.rs07.api.model.Player;
import org.osbot.rs07.script.Script;
import org.osbot.rs07.script.ScriptManifest;

@ScriptManifest(author = "LiveRare", info = "", logo = "", name = "Beast of Burden (attack)", version = 0)
public class MasterSlaveAttack extends Script {

	private String status;
	private String mastersName;
	Player me = null;
	Character<?> myInteractor = null;
	Player master = null;
	Character<?> masterInteractor = null;
	
	@Override
	public void onStart() throws InterruptedException {
		
		mastersName = JOptionPane.showInputDialog("Who's your daddy?");
	}

	@Override
	public int onLoop() throws InterruptedException {

		if (master != null && master.exists()) {

			assert(master.getName().equalsIgnoreCase(mastersName));

			me = myPlayer();
			myInteractor = me.getInteracting();
			masterInteractor = master.getInteracting();
			
			if (isMasterInteractingWithAnyone()) {
				
				if (isInteractingWithMastersTarget()) {
					
					status = "Waiting.";
					
				} else {
					
					status = "Attacking.";
					
					if (masterInteractor.interact("Attack")) {
						
						sleep(random(500, 1000));
					}
					
				}
				
			} else if (isInteractingWithMaster()) {
				
				status = "Waiting (following).";
				
			} else if (master != null && master.exists()) {
				
				status = "Following.";

				if (map.distance(master) >= 7) {

					status = "Walking to master.";

					if (getLocalWalker().walk(master)) {

						sleep(random(250, 500));
					}

				} else {

					status = "Following master.";

					if (master.interact("Follow")) {

						sleep(random(500, 1000));
					}
				}
			}
			
		} else if (mastersName != null && !mastersName.isEmpty()) {
			
			status = "Finding master...";

			master = getPlayers().closest(mastersName);
			
			if (master != null) {

				log("Found masa!");

			} else {

				log("Master went and fucked off");

				stop(true);
			}

		} else {

			log("...Are you even trying?");

			stop(false);
		}

		return random(250, 500);
	}
	
	@Override
	public void onPaint(Graphics2D g) {
		
		g.setColor(Color.BLACK);
		g.drawString(status, 26, 26);
		g.setColor(Color.YELLOW);
		g.drawString(status, 25, 25);
		
	}

	public boolean isMasterInteractingWithAnyone() {
		return masterInteractor != null && masterInteractor.exists() && !masterInteractor.equals(me);
	}

	public boolean isInteractingWithMastersTarget() {
		return myInteractor != null && myInteractor.exists() && masterInteractor != null && masterInteractor.exists()
				&& myInteractor.equals(masterInteractor);
	}

	public boolean isInteractingWithMaster() {
		return myInteractor != null && myInteractor.exists() && master != null && master.exists()
				&& myInteractor.equals(master);
	}

}
  1. Run this script on the 'slaves'. The slave cannot overcome obstacles like the Clan Wars portal/Wilderness ditch, so do it yourself.
  2. If you're the master account -- DON'T INTERACT WITH SLAVES.
  3. Special attack's not supported.
  4. As master, attack players/NPCs. For other players, merely follow them and your minions will attack (this is literally that primitive).

 

Give it a go and tell me if you get the desired outcome. I'll re-read it later tonight and I may stumble upon fuck-ups that I've missed.

 

Download the compiled class file and place it in your OSBot/Scripts folder. You can ask someone do decompile and to check it; the file contains only code shown in this post.

Edited by liverare

  • Author

thank you! :D working :D

but i see that script can find master only if master is attacking target and action attack -->follow --> attack.... not always working because slave following master before attack target so it looks like follow --> going to target --> follow

if it will follow master when target is dead then will be awesome <3

thank you! biggrin.png working biggrin.png

but i see that script can find master only if master is attacking target and action attack -->follow --> attack.... not always working because slave following master before attack target so it looks like follow --> going to target --> follow

if it will follow master when target is dead then will be awesome QwPha8E.png

I'm a little confused. Perhaps show me via TeamViewer?

 

I edited my earlier post and I think I may have solved the problem. (The logic can get rather confusing...) :)

Edited by liverare

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.