|
|
It is currently Fri Mar 12, 2010 4:04 pm
|
|
Page 1 of 1
|
[ 12 posts ] |
|
Pro ass auto fisher script
| Author |
Message |
|
camt
member
Joined: Thu Jan 29, 2009 3:52 am Posts: 153
|
 Pro ass auto fisher script
Code: ackage com.scripts;
import com.kbot2.handlers.eventSystem.eventListeners.Pain tListener; import com.kbot2.handlers.eventSystem.eventListeners.Serv erMessageListener; import com.kbot2.scriptable.Script; import com.kbot2.scriptable.methods.wrappers.*; import com.kbot2.scriptable.methods.data.Skills; import com.kbot2.scriptable.methods.data.GameScreen;
import java.awt.*; import java.awt.event.KeyEvent; import javax.swing.*; import java.text.DecimalFormat;
public class Delusionary extends Script implements PaintListener, ServerMessageListener {
/* Tiles / Locations */
Tile[] mytBank; Tile[] mytFish;
/* Variables / Objects */
NPC myiFish; NPC myiBank;
Obj myoBank; Obj myoFish;
int[] myBanks = {2213, 26972}; int[] myBankers = {494, 5912, 495}; int[] myFishs; int[] myTackle = {301, 303, 305, 307, 309, 311, 313, 314}; int myFishy; int myBanky; int myCatch;
String myTask;
boolean myStartSignal = false; boolean myPowerFishing = false; boolean myTackleFound = false;
/* GUI / Paint */
int myFishCaught = 0; int myStartLevel = 0; int myStartExp = 0; int myCurrentLevel = 0; int myCurrentExp = 0; int myLoadsBanked = 0;
long myStartTime = 0; long myTimer = -1;
String myStatus = "Delusionary Execution...";
InterfaceGUI myGui; String[] myFish = {"Sharks", "Swordfishs", "Mackerel", "Trout/Salmon", "Lobsters", "Shrimp/Anchovies", "Herring/Sardines"}; String[] myShark = {"Fishing Guild", "Catherby"}; String[] mySwordfish = {"Fishing Guild", "Catherby"}; String[] myMackerel = {"Fishing Guild"}; String[] myTrout = {"Barbarian Village"}; String[] myLobster = {"Fishing Guild", "Catherby"}; String[] myShrimp = {"Barbarian Village", "Draynor"}; String[] mySardine = {"Draynor"}; String[][] myLocations = {myShark, mySwordfish, myMackerel, myTrout, myLobster, myShrimp, mySardine};
public boolean active() { return true; }
public String getName() { return "Delusionary"; }
public String getAuthor() { return "LiQuid.Ace"; }
public double getVersion() { return 1.0; }
public String getDescription() { return "You're Delusionary for using this."; }
public String[] getTags() { return new String[]{"LiQuid.Ace", "fishing"}; }
public boolean onStart() { myGui = new InterfaceGUI(); myGui.j.setVisible(true);
for(int i = 0; i < myTackle.length; i++) { if(inventory.contains(myTackle[i])) {
myTackleFound = true;
log("Found Tackle: " + myTackle[i]);
if(!myPowerFishing) JOptionPane.showMessageDialog(myGui.j, "Tackle Found"); else JOptionPane.showMessageDialog(myGui.j, "Tackle Found - Please make sure Tackle is in 3rd / 4th column."); } }
camera.setAltitude(true); setMouseSpeed(1.0); return true; }
public void onStop() {
long runTime = System.currentTimeMillis() - myStartTime; int secs = ((int) ((runTime / 1000) % 60)); int mins = ((int) (((runTime / 1000) / 60) % 60)); int hours = ((int) ((((runTime / 1000) / 60) / 60) % 60));
DecimalFormat d = new DecimalFormat("#,#00"); d.setMaximumFractionDigits(0);
log("Run time: " + d.format(hours) + ":" + d.format(mins) + ":" + d.format(secs)); // Yes alo, I took this from you :) log("Fish Caught: " + myFishCaught); log("Experience gained: " + (skills.getExperience(Skills.SKILL_FISHING) - myStartExp)); log("Levels gained: " + (skills.getLevel(Skills.SKILL_FISHING)-myStartLevel));
}
public void onRepaint(Graphics g) { if(myStartSignal) {
long runTime = System.currentTimeMillis() - myStartTime; int secs = ((int) ((runTime / 1000) % 60)); int mins = ((int) (((runTime / 1000) / 60) % 60)); int hours = ((int) ((((runTime / 1000) / 60) / 60) % 60));
/* Credits to z.Darkness */ float xpsec = 0;
if ((mins > 0 || hours > 0 || secs > 0) && (skills.getExperience(Skills.SKILL_FISHING) - myStartExp) > 0) { xpsec = ((float) (skills.getExperience(Skills.SKILL_FISHING) - myStartExp)) / (float) (secs + (mins * 60) + (hours * 60 * 60)); }
float xpmin = xpsec * 60; float xphours = xpmin * 60;
int x = 30; int y = 30;
long RequiredTime = (long)(60*60*((skills.getExperienceToNextLevel(Ski lls.SKILL_FISHING))/(double)xphours));
String EstHours;
if((RequiredTime / 3600) < 10) EstHours = "0" + Long.toString(RequiredTime / 3600); else EstHours = Long.toString(RequiredTime / 3600);
DecimalFormat d = new DecimalFormat("#,#00"); d.setMaximumFractionDigits(0);
g.setColor(Color.RED); g.drawString(getName() + " " + getVersion() + " | Created By: " + getAuthor(), x, y);
g.setColor(Color.WHITE); y += 30; g.drawString("Run time: " + d.format(hours) + ":" + d.format(mins) + ":" + d.format(secs), x, y); // Yes alo, I took this from you :)
y += 30; g.drawString("Fish Caught: " + myFishCaught, x, y); y += 15; g.drawString("Levels gained: " + (skills.getLevel(Skills.SKILL_FISHING)-myStartLevel), x, y); y += 15; g.drawString("Experience gained: " + (skills.getExperience(Skills.SKILL_FISHING) - myStartExp), x, y);
y += 30; g.drawString("Current level: " + skills.getLevel(Skills.SKILL_FISHING), x, y); y += 15; g.drawString("Next level: " + (myFishCaught == 0 ? 0 : (skills.getExperienceToNextLevel(Skills.SKILL_FISH ING)/((skills.getExperience(Skills.SKILL_FISHING) - myStartExp)/myFishCaught))+1) + " " + myFish[myFishy], x, y);
y += 30; g.drawString("Exp Per Hour: " + (int)xphours, x, y); y += 15; g.drawString("Exp Required: " + (skills.getExperienceToNextLevel(Skills.SKILL_FISH ING)), x, y); y += 15; g.drawString("Time Needed: " + EstHours + ":" + ((RequiredTime / 60 % 60 < 10) ? "0" : "") + (RequiredTime / 60 % 60) + ":" + ((RequiredTime % 60 < 10) ? "0" : "")+ (RequiredTime % 60), x, y);
y += 30; g.setColor(Color.RED); g.drawString("Status: " + myStatus, x, y); } }
public void onServerMessage(String m) { if(m.contains("You catch")) myFishCaught++;
}
/* Credits To Toshi */
public boolean atFish() { myiFish = npcs.getClosest(20, myCatch);
return myiFish != null && distanceTo(myiFish.getLocation()) <= 10; } public boolean atBank() { myiBank = npcs.getClosest(20, myBankers);
return myiBank != null && distanceTo(myiBank.getLocation()) <= 6; }
void doActions() { int r = random(0, 8);
if(r == 0){ gameScreen.openTab(GameScreen.TAB_INVENTORY); sleep(800, 1500); } if(r == 1) { gameScreen.openTab(GameScreen.TAB_FRIENDS); sleep(800, 1500); } if(r == 2 && !getMyPlayer().isMoving()) { gameScreen.openTab(GameScreen.TAB_STATS); int xx = 690; int yy = 310; moveMouse(new Point(xx, yy), 43, 17); sleep(2000, 4000); } if(r == 3) { mouse.moveMouse(random(5, 420), random(5, 420)); sleep(300, 700); } if(r == 4 && random(1, 3) == 2 && !getMyPlayer().isMoving()) { if(players.getPlayers().length == 0) return; int randPlayer = random(0, players.getPlayers().length-1); Point onePoint = getCalculations().tileToScreen(players.getPlayers( )[randPlayer].getLocation()); clickMouse(onePoint, 1, 1, false); sleep(2000); atMenu("Cancel"); } if(r == 5 || r == 6) { char k = (random(0, 1) == 0 ? (char) KeyEvent.VK_DOWN : (char)KeyEvent.VK_UP); keyboard.pressKey(k); sleep(random(10, 400)); keyboard.releaseKey(k); } if(r == 7 || r == 8) camera.setAngle(camera.getAngle() + random(-90, 90));
gameScreen.openTab(GameScreen.TAB_INVENTORY); myTimer = System.currentTimeMillis() + random(15000, 40000);
}
public int loop() { if(myStartSignal){
if(getMyPlayer().getAnimation() != -1 || getMyPlayer().isMoving()) { if(System.currentTimeMillis() >= myTimer) doActions(); return random(500, 1000); }
if(inventory.isFull()) { if(myPowerFishing) { myStatus = "Droping The Fish..."; inventory.dropAllExcept(myTackle); } else { if(!atBank()) { myStatus = "Walking To Bank..."; walking.walkPath(mytBank); return random(250, 750); } else { if(!bank.isOpen()) { myStatus = "Opening Bank...";
if(myBanky == 0) { NPC myBanker = npcs.getClosest(6, myBankers);
if(myBanker == null) myBanker = npcs.getClosest(6, "Banker");
myBanker.doAction("Bank Banker"); return random(1000, 2000); } else { Obj myBank = getClosestObject(6, myBanks); if(myBank == null) { return random(500, 1000); } else { if(myBank.doAction("Use-quickly")) return random(1000, 2000); else return random(750, 1000); } } } else { if(inventory.getCount() > 1) { myStatus = "Depositing Fish..."; if(myTackleFound) bank.depositAllExcept(myTackle); else bank.depositInventory();
return random(250, 750); } else { bank.close(); myStatus = "Walking Back To Fish..."; walking.walkPath(mytFish); return random(250, 750); } } } } } else { if(myPowerFishing) { myiFish = npcs.getClosest(7, myFishs);
if(myiFish == null) return random(250, 750); else { myStatus = "Trying to catch " + myFish[myFishy] + "..."; myiFish.doAction(myTask); camera.setAltitude(true);
return random(500, 1000); } } else { if(!atFish()) { myStatus = "Walking To Fish...";
walking.walkPath(mytFish);
return random(800, 1500); } else { myiFish = npcs.getClosest(7, myFishs);
if(myiFish == null) return random(250, 750); else { myStatus = "Trying to catch " + myFish[myFishy] + "..."; myiFish.doAction(myTask); camera.setAltitude(true);
return random(500, 1000); } } } } } return random(250, 500); }
public class InterfaceGUI {
public JFrame j;
public InterfaceGUI() { initComponents(); }
@SuppressWarnings("unchecked") private void initComponents() {
j = new JFrame("" + getName() + " v" + getVersion() + " | Created by: " + getAuthor()); jScrollPane1 = new javax.swing.JScrollPane(); jEditorPane1 = new javax.swing.JEditorPane(); jPanel1 = new javax.swing.JPanel(); jCheckBox1 = new javax.swing.JCheckBox(); jLabel2 = new javax.swing.JLabel(); jLabel3 = new javax.swing.JLabel(); jPanel2 = new javax.swing.JPanel(); jLabel5 = new javax.swing.JLabel(); jComboBox1 = new javax.swing.JComboBox(); jLabel6 = new javax.swing.JLabel(); jComboBox2 = new javax.swing.JComboBox(); jLabel4 = new javax.swing.JLabel(); jButton1 = new javax.swing.JButton();
jScrollPane1.setViewportView(jEditorPane1);
j.setForeground(java.awt.Color.white); j.setResizable(false);
jLabel3.setText("To begin fishing, fill out the form below - If PowerFishing please be next to fishing spot!");
jPanel2.setBorder(javax.swing.BorderFactory.create TitledBorder("Main Options"));
jLabel5.setText("Type Of Fish");
jComboBox1.setModel(new javax.swing.DefaultComboBoxModel(myFish)); jComboBox1.setMinimumSize(new java.awt.Dimension(58, 20)); jComboBox1.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { jComboBox2ActionPerformed(evt); } });
jLabel6.setText("Location"); jComboBox2.setModel(new javax.swing.DefaultComboBoxModel(myLocations[0])); jComboBox2.addItem("Not Specified(Power Mode Only)"); jComboBox2.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { jComboBox1ActionPerformed(evt); } });
javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2); jPanel2.setLayout(jPanel2Layout); jPanel2Layout.setHorizontalGroup( jPanel2Layout.createParallelGroup(javax.swing.Grou pLayout.Alignment.LEADING) .addGroup(jPanel2Layout.createSequentialGroup() .addContainerGap() .addGroup(jPanel2Layout.createParallelGroup(javax. swing.GroupLayout.Alignment.LEADING) .addComponent(jLabel5) .addComponent(jComboBox1, javax.swing.GroupLayout.PREFERRED_SIZE, 163, javax.swing.GroupLayout.PREFERRED_SIZE)) .addGap(77, 77, 77) .addGroup(jPanel2Layout.createParallelGroup(javax. swing.GroupLayout.Alignment.LEADING) .addComponent(jLabel6) .addComponent(jComboBox2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addContainerGap(42, Short.MAX_VALUE)) ); jPanel2Layout.setVerticalGroup( jPanel2Layout.createParallelGroup(javax.swing.Grou pLayout.Alignment.LEADING) .addGroup(jPanel2Layout.createSequentialGroup() .addGroup(jPanel2Layout.createParallelGroup(javax. swing.GroupLayout.Alignment.BASELINE) .addComponent(jLabel5) .addComponent(jLabel6)) .addPreferredGap(javax.swing.LayoutStyle.Component Placement.UNRELATED) .addGroup(jPanel2Layout.createParallelGroup(javax. swing.GroupLayout.Alignment.BASELINE) .addComponent(jComboBox2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jComboBox1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addGap(17, 17, 17)) );
jPanel1.setBorder(javax.swing.BorderFactory.create TitledBorder("Other Options"));
jCheckBox1.setText("Enable PowerFishing"); jCheckBox1.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { jCheckBox1ActionPerformed(evt); } });
jLabel2.setText("Check if you wish to drop fish instead of banking.");
javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1); jPanel1.setLayout(jPanel1Layout); jPanel1Layout.setHorizontalGroup( jPanel1Layout.createParallelGroup(javax.swing.Grou pLayout.Alignment.LEADING) .addGroup(jPanel1Layout.createSequentialGroup() .addContainerGap() .addGroup(jPanel1Layout.createParallelGroup(javax. swing.GroupLayout.Alignment.LEADING) .addComponent(jCheckBox1)) .addPreferredGap(javax.swing.LayoutStyle.Component Placement.RELATED, 22, Short.MAX_VALUE) .addGroup(jPanel1Layout.createParallelGroup(javax. swing.GroupLayout.Alignment.LEADING, false) .addComponent(jLabel2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) .addContainerGap()) ); jPanel1Layout.setVerticalGroup( jPanel1Layout.createParallelGroup(javax.swing.Grou pLayout.Alignment.LEADING) .addGroup(jPanel1Layout.createSequentialGroup() .addContainerGap() .addGroup(jPanel1Layout.createParallelGroup(javax. swing.GroupLayout.Alignment.BASELINE) .addComponent(jCheckBox1) .addComponent(jLabel2)) .addPreferredGap(javax.swing.LayoutStyle.Component Placement.UNRELATED) .addContainerGap(17, Short.MAX_VALUE)) );
jLabel4.setText("Credits To ampzZ.");
jButton1.setText("Start Fishing"); jButton1.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { startScript(); } });
javax.swing.GroupLayout layout = new javax.swing.GroupLayout(j.getContentPane()); j.getContentPane().setLayout(layout); layout.setHorizontalGroup( layout.createParallelGroup(javax.swing.GroupLayout .Alignment.LEADING) .addGroup(layout.createSequentialGroup() .addContainerGap() .addGroup(layout.createParallelGroup(javax.swing.G roupLayout.Alignment.TRAILING) .addComponent(jLabel3, javax.swing.GroupLayout.Alignment.LEADING) .addGroup(layout.createSequentialGroup() .addComponent(jLabel4) .addPreferredGap(javax.swing.LayoutStyle.Component Placement.RELATED, 80, Short.MAX_VALUE) .addComponent(jButton1) .addGap(90, 90, 90)) .addGroup(javax.swing.GroupLayout.Alignment.LEADIN G, layout.createParallelGroup(javax.swing.GroupLayout .Alignment.TRAILING, false) .addComponent(jPanel2, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(jPanel1, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))) .addContainerGap()) ); layout.setVerticalGroup( layout.createParallelGroup(javax.swing.GroupLayout .Alignment.LEADING) .addGroup(layout.createSequentialGroup() .addGap(15, 15, 15) .addComponent(jLabel3) .addPreferredGap(javax.swing.LayoutStyle.Component Placement.RELATED) .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addPreferredGap(javax.swing.LayoutStyle.Component Placement.RELATED) .addComponent(jPanel2, javax.swing.GroupLayout.PREFERRED_SIZE, 96, javax.swing.GroupLayout.PREFERRED_SIZE) .addPreferredGap(javax.swing.LayoutStyle.Component Placement.RELATED) .addGroup(layout.createParallelGroup(javax.swing.G roupLayout.Alignment.BASELINE) .addComponent(jButton1, javax.swing.GroupLayout.PREFERRED_SIZE, 23, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jLabel4)) .addContainerGap()) );
j.pack(); }
public void startScript() { if(jCheckBox1.isSelected()) { myPowerFishing = true; log("PowerFishing"); }
myFishy = jComboBox1.getSelectedIndex(); if(!myPowerFishing) { // Shark if(myFishy == 0) { if(jComboBox2.getSelectedItem().toString().equals( "Fishing Guild")) { mytFish = new Tile[]{ new Tile(2599,3421) }; mytBank = new Tile[] { new Tile(2594,3414), new Tile(2587,3420) }; myBanky = 1; myCatch = 313; } else if(jComboBox2.getSelectedItem().toString().equals( "Catherby")) { mytFish = new Tile[]{ new Tile(2816,3437), new Tile(2827,3437), new Tile(2840,3434) }; mytBank = new Tile[] { new Tile(2809,3430), new Tile(2827,3437), new Tile(2816,3437)}; myBanky = 1; myCatch = 322; } myTask = "Harpoon"; myFishs = new int[] { 313, 322 }; } // Swordfish if(myFishy == 1) { if(jComboBox2.getSelectedItem().toString().equals( "Fishing Guild")) { mytFish = new Tile[]{ new Tile(2599,3421) }; mytBank = new Tile[] { new Tile(2594,3414), new Tile(2587,3420) }; myBanky = 1; myCatch = 312; } else if(jComboBox2.getSelectedItem().toString().equals( "Catherby")) { mytFish = new Tile[]{ new Tile(2816,3437), new Tile(2827,3437), new Tile(2840,3434) }; mytBank = new Tile[] { new Tile(2809,3430), new Tile(2827,3437), new Tile(2816,3437)}; myBanky = 1; myCatch = 321; } myTask = "Harpoon"; myFishs = new int[] { 321, 312 }; } // Mackerel if(myFishy == 2) { if(jComboBox2.getSelectedItem().toString().equals( "Fishing Guild")) { mytFish = new Tile[]{ new Tile(2599,3421) }; mytBank = new Tile[] { new Tile(2594,3414), new Tile(2587,3420) }; myBanky = 1; myCatch = 313; } myTask = "Net"; myFishs = new int[] { 313 }; } // Trout if(myFishy == 3) { if(jComboBox2.getSelectedItem().toString().equals( "Barbarian Village")) { mytFish = new Tile[]{new Tile(3094,3492), new Tile(3094,3485), new Tile(3099,3478), new Tile(3099,3470), new Tile(3098,3458), new Tile(3096,3448), new Tile(3099,3439), new Tile(3109,3432) }; mytBank = new Tile[] { new Tile(3109,3432), new Tile(3099,3439), new Tile(3096,3448), new Tile(3098,3458), new Tile(3099,3470), new Tile(3099,3478), new Tile(3094,3485), new Tile(3094,3492)}; myBanky = 1; myCatch = 328; } myTask = "Lure"; myFishs = new int[] { 328 }; } // Lobster if(myFishy == 4) { if(jComboBox2.getSelectedItem().toString().equals( "Fishing Guild")) { mytFish = new Tile[]{ new Tile(2599,3421) }; mytBank = new Tile[] { new Tile(2594,3414), new Tile(2587,3420) }; myBanky = 1; myCatch = 312; } else if(jComboBox2.getSelectedItem().toString().equals( "Catherby")) { mytFish = new Tile[]{ new Tile(2816,3437), new Tile(2827,3437), new Tile(2840,3434) }; mytBank = new Tile[] { new Tile(2809,3430), new Tile(2827,3437), new Tile(2816,3437)}; myBanky = 1; myCatch = 321; } myTask = "Cage"; myFishs = new int[] { 321, 312 }; } // Shrimp if(myFishy == 5) { if(jComboBox2.getSelectedItem().toString().equals( "Barbarian Village")) { mytFish = new Tile[]{ new Tile(3094,3492), new Tile(3094,3485), new Tile(3099,3478), new Tile(3099,3470), new Tile(3098,3458), new Tile(3096,3448), new Tile(3099,3439), new Tile(3109,3432) }; mytBank = new Tile[] { new Tile(3109,3432), new Tile(3099,3439), new Tile(3096,3448), new Tile(3098,3458), new Tile(3099,3470), new Tile(3099,3478), new Tile(3094,3485), new Tile(3094,3492)}; myBanky = 1; myCatch = 328; } else if(jComboBox2.getSelectedItem().toString().equals( "Draynor")) { mytFish = new Tile[]{ new Tile(3087,3230) }; mytBank = new Tile[]{ new Tile(3095,3244) }; myBanky = 1; myCatch = 327; } myTask = "Net"; myFishs = new int[] { 328, 327 }; } // Sardine if(myFishy == 6) { if(jComboBox2.getSelectedItem().toString().equals( "Draynor")) { mytFish = new Tile[]{ new Tile(3087,3230) }; mytBank = new Tile[]{ new Tile(3095,3244) }; myBanky = 1; myCatch = 327; } myTask = "Bait"; myFishs = new int[] { 327 }; }
myStartTime = System.currentTimeMillis(); myTimer = myStartTime + random(15000, 40000); myStartLevel = skills.getLevel(Skills.SKILL_FISHING); myStartExp = skills.getExperience(Skills.SKILL_FISHING); myCurrentExp = skills.getExperience(Skills.SKILL_FISHING);
} else {
myStartTime = System.currentTimeMillis(); myTimer = myStartTime + random(15000, 40000); myStartLevel = skills.getLevel(Skills.SKILL_FISHING); myStartExp = skills.getExperience(Skills.SKILL_FISHING); myCurrentExp = skills.getExperience(Skills.SKILL_FISHING);
if(myFishy == 0) { // Shark myTask = "Harpoon"; myFishs = new int[] { 313, 322 }; } if(myFishy == 1) { // Swordfish myTask = "Harpoon"; myFishs = new int[] { 321, 312 }; } if(myFishy == 2) { // Mackerel myTask = "Net"; myFishs = new int[] { 313 }; } if(myFishy == 3) { // Trout myFishs = new int[] { 328 }; myTask = "Lure"; } if(myFishy == 4) { // Lobster myFishs = new int[] { 321, 312 }; myTask = "Cage"; } if(myFishy == 5) { // Shrimp myTask = "Net"; myFishs = new int[] { 328, 327 }; } if(myFishy == 6) { // Sardine myFishs = new int[] { 327 }; myTask = "Bait"; } }
if(isLoggedIn()) { j.dispose(); j.setVisible(false); myStartSignal = !myStartSignal; log("Starting Delusionary Fishing for " + myFish[myFishy]); } }
private void jCheckBox1ActionPerformed(java.awt.event.ActionEve nt evt) { if(jCheckBox1.isSelected()) jComboBox2.setEnabled(false); else jComboBox2.setEnabled(true); } // 2nd box private void jComboBox1ActionPerformed(java.awt.event.ActionEve nt evt) { if(jComboBox2.getSelectedItem().toString().equals( "Not Specified(PowerFishing Only!)")) { if(!jCheckBox1.isSelected()) jCheckBox1.setSelected(true); jComboBox2.setEnabled(false); } } // 1st box private void jComboBox2ActionPerformed(java.awt.event.ActionEve nt evt) { int q = jComboBox1.getSelectedIndex(); jComboBox2.setModel(new javax.swing.DefaultComboBoxModel(myLocations[q])); jComboBox2.addItem("Not Specified(PowerFishing Only!)"); jComboBox2.setSelectedIndex(0); }
private javax.swing.JButton jButton1; private javax.swing.JCheckBox jCheckBox1; private javax.swing.JComboBox jComboBox1; private javax.swing.JComboBox jComboBox2; private javax.swing.JEditorPane jEditorPane1; private javax.swing.JLabel jLabel2; private javax.swing.JLabel jLabel3; private javax.swing.JLabel jLabel4; private javax.swing.JLabel jLabel5; private javax.swing.JLabel jLabel6; private javax.swing.JPanel jPanel1; private javax.swing.JPanel jPanel2; private javax.swing.JScrollPane jScrollPane1; } }
|
| Tue Oct 27, 2009 2:19 am |
|
 |
|
txoko
member
Joined: Thu Jan 29, 2009 3:52 am Posts: 62
|
 Re: Pro ass auto fisher script
Nice script
|
| Sun Nov 01, 2009 5:02 am |
|
 |
|
fuillproofx
beginner
Joined: Sun Nov 15, 2009 12:22 am Posts: 11
Mood: Cheerful
|
 Re: Pro ass auto fisher script
ty
|
| Sun Nov 15, 2009 7:59 pm |
|
 |
|
mantime7
beginner
Joined: Mon Nov 16, 2009 1:54 am Posts: 10
Mood: Cheerful
|
 Re: Pro ass auto fisher script
Dam dude nice! 
|
| Mon Nov 16, 2009 2:08 am |
|
 |
|
yuval121
beginner
Joined: Tue Nov 17, 2009 4:36 pm Posts: 10
Mood: Inspired
|
 Re: Pro ass auto fisher script
cool man
|
| Tue Nov 17, 2009 5:14 pm |
|
 |
|
rachet205
beginner
Joined: Thu Nov 19, 2009 1:13 am Posts: 9
Mood: Twisted
|
 Re: Pro ass auto fisher script
this acually works?
|
| Thu Nov 19, 2009 6:32 am |
|
 |
|
freako168
beginner
Joined: Sun Nov 22, 2009 8:48 pm Posts: 12
Mood: Cheerful
|
 Re: Pro ass auto fisher script
where do u input the script?
|
| Mon Nov 23, 2009 1:19 am |
|
 |
|
koolz77
beginner
Joined: Thu Nov 12, 2009 6:29 am Posts: 10
Mood: Alive
|
 Re: Pro ass auto fisher script
Cool script dude!
|
| Thu Nov 26, 2009 7:25 am |
|
 |
|
noobyer5
member
Joined: Fri Nov 27, 2009 2:33 am Posts: 103
Mood: Cheerful
|
 Re: Pro ass auto fisher script
how do u imput the script? i cant figure it out?
|
| Fri Nov 27, 2009 2:41 am |
|
 |
|
maxranger
beginner
Joined: Fri Nov 27, 2009 12:20 pm Posts: 10
Mood: Cheerful
|
 Re: Pro ass auto fisher script
thanks i hope it works
|
| Fri Nov 27, 2009 4:57 pm |
|
 |
|
yasuo00123
beginner
Joined: Sat Nov 28, 2009 6:50 pm Posts: 10
Mood: Cheerful
|
 Re: Pro ass auto fisher script good
uhull tnx dude
|
| Sat Nov 28, 2009 6:59 pm |
|
 |
|
(-• Ωмεgα •-)
Support
Joined: Tue Dec 22, 2009 4:54 am Posts: 192 Location: Melbourne, Australia
Mood: Chatty
|
 Re: Pro ass auto fisher script
Im going to try it out, is it an Rsbot script?
_________________ Goals: Super Smash Bros. Brawl: Learn how to play Snake [x] Become pro with Snake [ ]
Forum: 50 posts [x] 100 posts [x] 200 posts [ ]
Think your infected by Malware/Spyware or Viruses, drop me a PM for a full system cleaning guide. Also, download links for system protection software (Firewall, antiviruses etc.)
|
| Sun Jan 03, 2010 9:28 pm |
|
 |
|
|
Page 1 of 1
|
[ 12 posts ] |
|
Who is online |
Users browsing this forum: 5801, aznskills204, bongg, BreariarorS, bway,
Cachimbero, codywang, CydayCootly, Drizz13, emerica_casey, GlorGloria, junny, khmerstoryz,
Leyland_90, m1k4lm, Medved, megadash, mexikan561, mo139026, narutoawad, okayu442, ScorpionM16, ThiefCastle, Venom, vytuxas, xicycoldx, xngnx, xNickxD, Yawei, zichigo0 and 205 guests |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|