Search for...

Monday, October 17, 2011

My RSbuddy Pray Script

/**
* @name - Holy Praying
* @author - Emulator
* @version - 1.0
* I give no permission to anyone to update or modify more work, unless you ask ;)
*/

//Used to activate the script
import com.rsbuddy.script.ActiveScript;

//Used for paint changes & graphics
import java.awt.Font;
import java.awt.Color;
import java.awt.Graphics;
import com.rsbuddy.event.listeners.PaintListener;

//Used to capture a screenshot
import com.rsbuddy.script.methods.Environment;

//Script Info
@Manifest(authors = {"Emulator"}, name = "Holy Praying", keywords = {"money, making, big, bones, prayer"}, version = 1.0, description = "F2P, auto-er for 99 Prayer")

//Actual Start of the script
public class holyPraying extends ActiveScript{

public static void main(String[] args) {
@Override

//Defined a string named status, and it is nothing right now
private String status = null;

//Paint Variables
Font comicPlain10 = new Font("Comic Sans MS", Font.PLAIN, 10);
Color black = new Color(0, 0, 0);


//Variables, self-explainatory
int toggleScreenShot = 0; //0 = No screenshot, 1 = screenshot

//The actual botting/auto-ing
public int loop() {
return 0;
}

public boolean onStart() {
status = "Initializing...";

log("More, updates to come! MEMBER support will be added in once I get donated to at least buy mem >:(. If any problems post in thread or pm me");
return true;
}
Proxy-Connection: keep-alive
Cache-Control: max-age=0

0
public void onFinish() {
status = "Shuting Down...";

log("Did you like? If so please donate!");
if (toggleScreenShot) {
Environment.saveScreenshot(true);
}
}

//Paint the new graphics to the screen
@Override
public void onRepaint(Graphics g) {
g.setFont(comicPlain10);
g.setColor(black);

g.drawString("Status: " + status, 20, 400);
}

}
}

No comments:

Post a Comment