Neon Bot
Welcome to NBot! NBot says to Login or Register!
iFishPro - Cathy Fisher Rawrbotad

Join the forum, it's quick and easy

Neon Bot
Welcome to NBot! NBot says to Login or Register!
iFishPro - Cathy Fisher Rawrbotad
Neon Bot
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Neon Bot
NBot build 11.2a launched! Click Here!
Bad Ideas make for great stories
We need more site Activity! Don't let us lose hope in everyone!

You are not connected. Please login or register

iFishPro - Cathy Fisher

3 posters

Go down  Message [Page 1 of 1]

1iFishPro - Cathy Fisher Empty iFishPro - Cathy Fisher Mon Dec 06, 2010 3:06 am

Sikuma



Features:
-Fishes all 3 spots, Shrimps, Tuna/Swords, and Sharks.I did not add in lobs.
-Auto-banks, grabbing what you need and depositing what you dont.
-Updates you every time you bank with a load amount and approx fish amount.
-Quick, Easy, Simple!

Info:
Script will determine what to fish. Start it in cathy near the fishing spots.

Source:
Code:

import bot.*;
import java.awt.*;

public class iFishPro extends Methods {
   int[] toFish;
   int[] toFish2;
   int[] toFish3;
   int loads = 0;
   int players = playerCount();
   
   public iFishPro(Client mc) {
      super(mc);
   }
   
   public boolean draw = true;
   public void main(String args[]) {
      
      while(running()) {
         try{
            printMessage("@whi@[@lre@AntiBan@whi@]@gre@ Started");
            printMessage("@gre@Currently Banked "+loads+" loads.");
            printMessage("@gre@Approx Fish Caught "+loads * 28);
            toFish = getObjectIndex(193);
            toFish2 = getObjectIndex(194);
            toFish3 = getObjectIndex(261);
            if(toFish[0] != -1 && !sleeping() && fatigue() != 97) {
               while(inventoryCount() < 30) {
                  if(getStatCurrent(10) < 35) {
                     if(itemCount(376) >= 1) {
      
                        useObject(toFish[1],toFish[2]);
                        wait(random(1500,3700));
                     } else {
                        printMessage("You need a small net!");
                        doBank();
                     }
                  }
                  if(getStatCurrent(10) > 34 && getStatCurrent(10) < 76) {
                     if(itemCount(379) >= 1) {

                        useObject(toFish2[1],toFish2[2]);
                        wait(random(1500,3700));
                     } else {
                        printMessage("You need a harpoon!");
                        doBank();
                     }
                  }
                  if(getStatCurrent(10) > 75) {
                     if(itemCount(379) >= 1) {

                        useObject2(toFish3[1],toFish3[2]);
                        wait(random(1500,3700));
                     } else {
                        printMessage("You need a harpoon!");
                        doBank();
                     }
                  }
               }

            }
            while(inventoryCount() >= 29) {

               doBank();
            }
            
         } catch(Exception e) {
            printMessage(e);
         }
      }
   }
   
   public void doBank() {
      loads++;
      if(!imAt(430,498)) {
         walkToWait(430,498);
      }
      if(!imAt(440,498) && imAt(430,498)) {
            walkToWait(440,498);
      }
      if(!imAt(441,494) && imAt(440,498)) {
         walkToWait(441,494);
      }
      useItem(getItemSlot(1263));
      wait(1000);
      while(!inBank()) {
         talkToNPC(getNPCIndex(95)[0]);
         wait(random(3000, 4000));
         answerQuestion(0);
      }   
      while(inBank()) {
         
         wait(700);
         if(itemCount(366) > 0) {
            depositAll(366);
            wait(500);
         }
         if(itemCount(349) > 0) {
            depositAll(349);
            wait(500);
         }
         if(itemCount(369) > 0) {
            depositAll(369);
            wait(500);
         }
         if(itemCount(351) > 0) {
            depositAll(351);
            wait(500);
         }
         if(getStatCurrent(10) > 34) {
            depositAll(376);
            wait(500);
         }
         if(itemCount(545) > 1) {
            depositAll(545);
            wait(500);
         }
         if(itemCount(379) < 1) {
            withdraw(379,1);
            wait(500);
         }
         if(getStatCurrent(10) < 34 && itemCount(376) < 1) {
            withdraw(376,1);
            wait(500);
         }
         closeBank();   
      }
      if(!imAt(441,494)) {
         walkToWait(441,494);
      }
      if(!imAt(440,498) && imAt(441,494)) {
         walkToWait(440,498);
      }
      if(!imAt(430,498) && imAt(440,498)) {
         walkToWait(430,498);
      }
      if(!imAt(421,498) && imAt(430,498)) {
         walkToWait(421,498);
      }
      if(!imAt(409,501) && imAt(421,498)) {
         walkToWait(409,501);
      }
      
   }
   //////////////////////////////////////////////////
   /*Credits to the person that wrote this anti-mod*/
   /////////////////////////////////////////////////
   public void onChatMessage(int modstatus, String name, String message) {
      String s = name.toLowerCase();
      if (modstatus != 4 && modstatus != 7) {
         printMessage("@red@Warning: @whi@Mod detected");
         String m = message.toLowerCase();
         if (m.contains("arrav")) {
            printMessage("@ran@Mod is talking to you! Respond we are stopping.");
            stop();
         }
         if(s.startsWith("Mod") || s.contains("mod") || s.contains("bot") || s.contains("Bot") || s.contains("Pyru") || s.contains("Lister")){
            speak("Hey");   
            stop();
                printMessage("Mod detected, script and ocr stopped");
         }
      }
    }
   
   public void onStop() {
      printMessage("Done");
   }
 
   public boolean onServerMessage(String s) {
      s = s.toLowerCase();
      return false;
   }
 
   public void handleCommand(String s) {
      int index = s.indexOf(" ");
      String cmd = s;
      String args[] = new String[0];
      if(index != -1) {
        cmd = s.substring(0, index).trim();
        args = s.substring(index + 1).trim().split(" ");
      }
   }
}
Someone try it out and post some feedback.
95% Credit to me.
5% Credit to whoever wrote the original messagehandler.



Last edited by Sikuma on Wed Dec 08, 2010 2:11 pm; edited 3 times in total

2iFishPro - Cathy Fisher Empty Re: iFishPro - Cathy Fisher Tue Dec 07, 2010 12:35 am

Lowrider

Lowrider

Nice script man looks really good Smile

3iFishPro - Cathy Fisher Empty Re: iFishPro - Cathy Fisher Tue Dec 07, 2010 2:14 am

Sikuma



Lowrider wrote:Nice script man looks really good Smile
thanks, looking for more feedback or ill remove the script

4iFishPro - Cathy Fisher Empty Re: iFishPro - Cathy Fisher Thu Dec 09, 2010 5:15 am

Joel_T



hmmmm, i tested it after using cathfish...im 80+ fishing and it keeps walking between the swordie\tuna spot, and the shark spot...and it just keeps walking back n forth

5iFishPro - Cathy Fisher Empty Re: iFishPro - Cathy Fisher Thu Dec 09, 2010 5:17 am

Sikuma



then you havent updated it.

6iFishPro - Cathy Fisher Empty Re: iFishPro - Cathy Fisher Thu Dec 09, 2010 6:23 am

Joel_T



can someone post the .class? my mac doesnt agree with the whole .java shit

7iFishPro - Cathy Fisher Empty Re: iFishPro - Cathy Fisher Thu Dec 09, 2010 6:24 am

Sikuma



Sure thing
http://uppit.com/9296wl0xdi2o/iFishPro.class

8iFishPro - Cathy Fisher Empty Re: iFishPro - Cathy Fisher Thu Dec 09, 2010 6:33 am

Joel_T



think im hopeless lol
iFishPro - Cathy Fisher Fffffs

9iFishPro - Cathy Fisher Empty Re: iFishPro - Cathy Fisher Thu Dec 09, 2010 6:35 am

Sikuma



ill get ya goin dog, its my fault, my NBot has updates yours doesnt
http://uppit.com/xsnqlposu4wg/iFishPro.class

10iFishPro - Cathy Fisher Empty Re: iFishPro - Cathy Fisher Thu Dec 09, 2010 6:40 am

Joel_T



Sikuma wrote:ill get ya goin dog, its my fault, my NBot has updates yours doesnt
http://uppit.com/xsnqlposu4wg/iFishPro.class
working Smile thanks yo, working smoothhhhh

11iFishPro - Cathy Fisher Empty Re: iFishPro - Cathy Fisher Thu Dec 09, 2010 7:36 am

Sikuma



Joel_T wrote:
Sikuma wrote:ill get ya goin dog, its my fault, my NBot has updates yours doesnt
http://uppit.com/xsnqlposu4wg/iFishPro.class
working Smile thanks yo, working smoothhhhh
Not a problem. Im also going to be adding the fix to icookpro

Sponsored content



Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum