Jump to content

Basic Mage Trainer


Recommended Posts

Posted (edited)

The bot will cast curse repeatedly on the zamarok mage under the stairs in the cell in varrock castle.

 

Start by the cell.

 

Have runes and staff equiped

 

The bot WILL NOT check to see if you have run out of runes, and the bot does occasionally screw up and open the door and walk outside accidentally.

 

THEREFOR

 

        THIS BOT HAS TO BE BABYSAT

 

It is a VERY simple script and I just made it in like 3 mins so I could get my magic up.

 

Virus Scans:

 

https://www.virustotal.com/en/file/62d550a540c0d679fd50ec5f4431763659ba609141082aab65897bfde5887b00/analysis/1407004928/

 

http://virusscan.jotti.org/en/scanresult/22d0ee239aa80999bebb75ecc2f72a97a4d8785b

 

Download: http://www.mediafire.com/download/co9gwv3ifx43osz/BasicMageTrainer.jar

 

Source Code:

import java.awt.Graphics2D;

import org.osbot.rs07.api.ui.Spell;
import org.osbot.rs07.script.Script;
import org.osbot.rs07.script.ScriptManifest;

@ScriptManifest(author = "Gilaga", info = "Basic wall mage trainer.", name = "Basic Mage Trainer", version = 0, logo = "")
public class MageTrainer extends Script{
	public int onLoop() throws InterruptedException{
		magic.castSpellOnEntity(Spell.CURSE, getNpcs().closest("Monk of Zamorak"));
		sleep(250);
		return random(200,300);
	}
	public void onPaint(Graphics2D g) {
		 
    }
}
Edited by gilaga
Posted (edited)

Script is safe and very basic, ban rate may be quite high but good luck none the less.

Thanks, my main script right now is my Master Farmer Pickpocketer, and have 3 more scripts planned in development atm, wall safes, because the one we have now on sdn is broken, iron falador miner, and a iron smelter with RoF support.

Edited by gilaga
  • 1 year later...
  • 2 months later...
Posted

not working 

 

[iNFO][bot #1][10/13 08:20:57 PM]: Started script : Basic Mage Trainer
[ERROR][bot #1][10/13 08:20:57 PM]: Error in bot executor!
java.lang.NoClassDefFoundError: org/osbot/rs07/api/ui/Spell
at MageTrainer.onLoop(MageTrainer.java:10)
at org.osbot.rs07.event.ScriptExecutor$InternalExecutor.run(em:113)
at java.lang.Thread.run(Unknown Source)
[iNFO][bot #1][10/13 08:21:03 PM]: Terminating script Basic Mage Trainer...
[WARN][bot #1][10/13 08:21:08 PM]: Event executor is taking too long to suspend; terminating now...
[iNFO][bot #1][10/13 08:21:08 PM]: Script Basic Mage Trainer has exited!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...