Sythe.Org Forums     Register     FAQ     Members List     Calendar     Mark Forums Read    
 
Sythe.Org Forums  
   Runescape Gold

Sythe.org — A Virtual Goods Trading Hub

Make real cash! buying and selling in-game items.

We have a no-scam policy.

You can make thousands playing your favourite games here at Sythe.org.

Just sign up an account and follow the rules!


Take me to

Runescape Markets

Other Game Markets

Support Center

Register an Account

Close
Rsbot Gold Powerminer
Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 02-26-2011, 09:10 PM
Active Member
 
Join Date: Jul 2010
Posts: 221
Default Rsbot Gold Powerminer

My friend wanted one so i made one let me know what it needs beside paint or anything thats obvious.
CODE:::::::::



import org.rsbot.script.ScriptManifest;
import org.rsbot.script.Script;
import org.rsbot.script.wrappers.RSObject;

@ScriptManifest(authors = { "Bkid45" }, keywords = { "GoldMiningBot" }, name = "GoldMiner", version = 1.0, description = "Simple bot that mines gold like a monster, then drops")
public class GoldMiner extends Script {

private int[] Rock = { 2099, 2098 } ;
private int Rune_Pickaxe = 1275;

public boolean onStart(){
return true;
}
public int loop(){
if(inventory.isFull()){
inventory.dropAllExcept(Rune_Pickaxe);
}else{
if(getMyPlayer().getAnimation() != 624){
RSObject rock = objects.getNearest(Rock);
if(rock != null){
rock.doAction("mine");
sleep(9500,800);

}
}
}
return random(100, 200);
}


public void onFinish(){
log("Stopping GoldMiner!=(");

}
}
Reply With Quote
  #2  
Old 02-26-2011, 09:18 PM
Reboman's Avatar
Active Member
 
Join Date: Feb 2011
Posts: 236
Default Re: Rsbot Gold Powerminer

...Ever try kMiner?
Reply With Quote
  #3  
Old 02-26-2011, 09:24 PM
Forum Addict
 
Join Date: Nov 2007
Posts: 457
Default Re: Rsbot Gold Powerminer

Um, this is SCAR section not RSBot.
__________________

Ultimate Auto Clicker


Taking script/bot requests! Simba used, 100% undetectable!
Reply With Quote
  #4  
Old 02-26-2011, 09:49 PM
Forum Addict
 
Join Date: May 2010
Posts: 438
Send a message via Skype™ to Chaos669
Default Re: Rsbot Gold Powerminer

Looks good but maybe add a way to customize pickaxes being used. So add more IDs for different pickaxes that are used by different people. Also, you can expand into a powerminer for every type of ore just by adding a few more IDs and code it looks like.
Reply With Quote
  #5  
Old 02-26-2011, 10:01 PM
Active Member
 
Join Date: Jul 2010
Posts: 221
Default Re: Rsbot Gold Powerminer

Thank you guys i just put a faster mouse speed and a paint for my friend lol. and ya i might make it for all other rocks and pick axes.
Reply With Quote
  #6  
Old 02-26-2011, 10:02 PM
Active Member
 
Join Date: Jul 2010
Posts: 221
Default Re: Rsbot Gold Powerminer

import org.rsbot.script.ScriptManifest;
import org.rsbot.script.Script;
import org.rsbot.script.wrappers.RSObject;
import java.awt.*;
import javax.imageio.ImageIO;
import java.io.IOException;
import java.net.URL;
import org.rsbot.event.listeners.PaintListener;

@ScriptManifest(authors = { "Bkid45" }, keywords = { "GoldMiningBot" }, name = "GoldMiner", version = 1.0, description = "Simple bot that mines gold like a monster, then drops")
public class GoldMiner extends Script {

private int[] Rock = { 2099, 2098 } ;
private int Rune_Pickaxe = 1275;

public boolean onStart(){
log(Color.RED, "Have Fun Botting!");
mouse.setSpeed(random(3,5));

return true;
}
public int loop(){
if(inventory.isFull()){
inventory.dropAllExcept(Rune_Pickaxe);
}else{
if(getMyPlayer().getAnimation() != 624){
RSObject rock = objects.getNearest(Rock);
if(rock != null){
rock.doAction("mine");
sleep(500,800);

}
}
}
return random(100, 200);
}


public void onFinish(){
log("Stopping GoldMiner!=(");
}
private Image getImage(String url) {
try {
return ImageIO.read(new URL(url));
} catch(IOException e) {
return null;
}
}

private final Color color1 = new Color(0, 0, 204, 69);
private final Color color2 = new Color(255, 255, 51);

private final Font font1 = new Font("Arial", 0, 18);
private final Font font2 = new Font("Arial", 0, 14);
private final Font font3 = new Font("Arial", 1, 14);

private final Image img1 = getImage("http://images.wikia.com/runescape/images/5/5e/Gold-rock.png");

public void onRepaint(Graphics g1) {
Graphics2D g = (Graphics2D)g1;
g.setColor(color1);
g.fillRoundRect(548, 204, 189, 263, 16, 16);
g.drawImage(img1, 575, 325, null);
g.setFont(font1);
g.setColor(color2);
g.drawString("GoldMiner", 606, 227);
g.setFont(font2);
g.drawString("By:Bkid45", 619, 243);
g.setFont(font3);
g.drawString("Jtfman1 FTW!", 604, 315);
g.drawString("Jtfman1 FTW!", 604, 266);
g.drawString("Jtfman1 FTW!", 604, 282);
g.drawString("Jtfman1 FTW!", 604, 299);
}

}
Reply With Quote
  #7  
Old 03-03-2011, 01:22 PM
Active Member
BANNED
 
Join Date: Feb 2011
Posts: 151
Default Re: Rsbot Gold Powerminer

Quote:
Originally Posted by bkid45 View Post
Thank you guys i just put a faster mouse speed and a paint for my friend lol. and ya i might make it for all other rocks and pick axes.
i agree with chaos
Reply With Quote
  #8  
Old 03-03-2011, 02:35 PM
Active Member
BANNED
 
Join Date: Feb 2011
Posts: 151
Default Re: Rsbot Gold Powerminer

but pritty good
Reply With Quote
  #9  
Old 03-04-2011, 01:31 AM
Active Member
 
Join Date: Jul 2010
Posts: 221
Default Re: Rsbot Gold Powerminer

Ya i know i do not know how to make an xp counter yet but wen i figure it out i will put it into the script. And i also want to incorporate all the pickaxes and rocks... but then again idk how to make a gui and put it in the script. this is my 2nd script.
Reply With Quote
  #10  
Old 03-05-2011, 03:49 AM
Active Member
 
Join Date: Jul 2010
Posts: 221
Default Re: Rsbot Gold Powerminer

Figured out the xp counter and runtime shit. so ya i will be making some sick new scripts soon so stay tuned. and let me know what u guys want and i will try to make them for u.
Reply With Quote
  #11  
Old 05-01-2011, 06:16 AM
epicdbower's Avatar
Active Member
 
Join Date: Apr 2011
Posts: 106
Default Re: Rsbot Gold Powerminer

i myself would love a nice barbarian Assault script
Reply With Quote
Reply



Cheap RS Gold Store  Runescape Gold

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

All times are GMT +1. The time now is 05:02 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.6.1