Jump to content

Basic Mage Trainer


gilaga

Recommended Posts

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
Link to comment
Share on other sites

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
Link to comment
Share on other sites

  • 1 year later...
  • 2 months later...

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