Neon Bot
Welcome to NBot! NBot says to Login or Register!
TimeFighter V2 Rawrbotad

Join the forum, it's quick and easy

Neon Bot
Welcome to NBot! NBot says to Login or Register!
TimeFighter V2 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

TimeFighter V2

3 posters

Go down  Message [Page 1 of 1]

1TimeFighter V2 Empty TimeFighter V2 Tue Dec 07, 2010 1:29 am

TimeDead

TimeDead
Admin

Version 2 of timefighter. It will eat lobs. (not tested as I do not have an acc that can test)

To change the food go into the script and search for: if(itemCount(373) >= 1) { change the number 373 to the id of the food you want the script to eat.


Script:
Code:

import bot.*;

public class TimeFighter extends Methods {

  public TimeFighter(Client mc) {
        super(mc);
    }
 
  int modstatus;
 
    public void main(String args[]) {
      try {
          int npcID = Integer.parseInt(args[1]);
                printMessage("TimeFighter Started...");
              printMessage("@gre@Fighter by TimeDead");
                         
              while(running()) {             
                int[] Npc = getNPCIndex(npcID);
                    if(fatigue() == 100L && !sleeping()) {
              useItem(getItemSlot(1263)); 
              wait(1000);
              while(sleeping())
              wait(1000);
                }
               if(getStatCurrent(3) <= 30) {
                  if(itemCount(373) >= 1) {
                     useItem(getItemSlot(376));
                     wait(1000);
                  }
            }
               
                if (Npc[0] != -1 && !inCombat(ourPlayer()));
                {
                    attackNPC(Npc[0]);
                    wait(random(500, 1000));       
                }
                    wait(random(500, 1000));                                 
            }   
             
                                                       
      } catch (Exception e) {
        printMessage("@dre@Error, wrong arguments. use ::on TimeFighter npcID" );
      }
      

     
     
     
  }
   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(" ");
      }
      
}
   
   public void onStop() {
      handleCommand("status");
      printMessage("@or2@Fighter: @yel@stopped");
   }
   
    public void onChatMessage(int modstatus, String name, String message) { //onchat
        String s = name.toLowerCase();
        if (modstatus != 4 && modstatus != 7) { //if loop
            printMessage("@red@Warning: @whi@Mod detected");
            String m = message.toLowerCase();
            if (m.contains("YOUR NAME HERE")) { //if loop
              printMessage("@ran@Mod is talking! Abandoning script! Respond if you can!");
              stop();
           
             
             
            } //end if
      if(s.startsWith("Mod") || s.contains("mod") || s.contains("bot") || s.contains("Bot") || s.contains("Pyru") || s.contains("Lister")){ //if loop
         speak("Hey");   
         stop();
               
                                  printMessage("Mod detected, script and ocr stopped");
      }
      }
        }//end if
}

-TimeDead



Last edited by TimeDead on Wed Dec 08, 2010 6:52 pm; edited 1 time in total

https://nbot.iftopic.com

2TimeFighter V2 Empty Re: TimeFighter V2 Wed Dec 08, 2010 1:59 pm

Lowrider

Lowrider

Tested for you and the eat feature does not work. But the attacking works great had no prop getting 99 stats with it, Thanks.

3TimeFighter V2 Empty Re: TimeFighter V2 Wed Dec 08, 2010 2:16 pm

TimeDead

TimeDead
Admin

It didnt eat?

https://nbot.iftopic.com

4TimeFighter V2 Empty Re: TimeFighter V2 Wed Dec 08, 2010 2:17 pm

Lowrider

Lowrider

no it doesn't eat

5TimeFighter V2 Empty Re: TimeFighter V2 Wed Dec 08, 2010 2:20 pm

TimeDead

TimeDead
Admin

the fuck u using the food with the id?

https://nbot.iftopic.com

6TimeFighter V2 Empty Re: TimeFighter V2 Wed Dec 08, 2010 2:22 pm

Lowrider

Lowrider

TimeDead wrote:the fuck u using the food with the id?
Honestly i hope your joking. I used the correct id for the food in my inventory.

7TimeFighter V2 Empty Re: TimeFighter V2 Wed Dec 08, 2010 2:30 pm

TimeDead

TimeDead
Admin

No no lol the fuck is just me confused so that should eat lobs are u using lobbies?

https://nbot.iftopic.com

8TimeFighter V2 Empty Re: TimeFighter V2 Wed Dec 08, 2010 4:52 pm

Lowrider

Lowrider

Code:

                  if(itemCount(546) >= 1) {
                    useItem(getItemSlot(546));
                    wait(1000);
                  }
                  if(itemCount(373) >= 1) {
                    useItem(getItemSlot(376));
                    wait(1000);
                  }
you have 2 food id possibilities here one set for shark and on half set for lobs. I changed the id to 370 for swordfish. and it will not eat.

9TimeFighter V2 Empty Re: TimeFighter V2 Wed Dec 08, 2010 6:53 pm

TimeDead

TimeDead
Admin

I didn't even see the 2nd one.

https://nbot.iftopic.com

10TimeFighter V2 Empty Re: TimeFighter V2 Sun Dec 12, 2010 4:54 am

zain



no it works fine for me i was using bass and their was no problem santa

11TimeFighter V2 Empty Re: TimeFighter V2 Sun Dec 12, 2010 5:32 am

TimeDead

TimeDead
Admin

zain wrote:no it works fine for me i was using bass and their was no problem santa

Their might be an ID malfunction between RSCEmulation and RSC item IDs? I am unclear of this... I need a RSCE ID list.

https://nbot.iftopic.com

Sponsored content



Back to top  Message [Page 1 of 1]

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