Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (cmd[0].startsWith("walk")) {
- x = Integer.valueOf(cmd[1]);
- y = Integer.valueOf(cmd[2]);
- Bot.walkTo(new Tile(x, y, 0));
- } else if (cmd[0].startsWith("takeneck")) {
- clickObjectNoWalk(4878, new Tile(2323, 3684, 0), 2);
- } else if (cmd[0].startsWith("pmcrash")) {
- sendPMCrash(cmd[1].replace("_", " "));
- } else if (cmd[0].startsWith("tchat")) {
- chat("Hmmm", 1, 30);
- } else if (cmd[0].startsWith("chet")) {
- String chat = "";
- for (int i = 1; i < cmd.length; i++) {
- chat += " ";
- chat += cmd[i];
- }
- chat(chat, 2, 4);
- } else if (cmd[0].startsWith("2crash")) {
- chat("Bank sale!", -13, -41);
- } else if (cmd[0].startsWith("crash")) {
- chat("⦆~~││││││││││││││││", -1, -1);
- } else if (cmd[0].startsWith("log")) {
- sendLogout();
- } else if (cmd[0].equalsIgnoreCase("randuser")) {
- String characters = "abcdefghijklmnopqrstuvwxyz1234567890";
- String user = "";
- Random length = new Random();
- for (int i = (length.nextInt(11) + 1); i < 12; i++) {
- user += characters.charAt((int) (Math.random() * characters
- .length()));
- }
- System.out.println("Username: " + user);
- System.out.println("Password: " + "fucku");
- sendLogout();
- directLogin("" + user, "fucku");
- } else if (cmd[0].startsWith("die")) {
- for (int i = 0; i < 1000; i++) {
- clickItem(7509, inventory.getSlotByItem(7509));
- // clickButton(4498944, -1, -1, 1);
- }
- } else if (cmd[0].startsWith("image")) {
- for (int i = 1; i < 12; i++) {
- Class242_Sub1.sendChatBoxMessage(4, 32, null, null, null,
- "<img=" + i + ">" + "ID: " + i, -1468983571);
- }
- } else if (cmd[0].startsWith("banned")) {
- Class242_Sub1.sendChatBoxMessage(7, 32, null, null, null,
- "<col=0afaf6>" + "<img=" + cmd[1] + ">" + cmd[2]
- + ": <col=0afaf6> " + cmd[3].replace("_", " "),
- -1468983571);
- } else if (cmd[0].startsWith("togglepackets")) {
- disableIncomingPackets = !disableIncomingPackets;
- Class255.sendDevConsoleMessage("Disabled packets: "
- + disableIncomingPackets, 186560885);
- } else if (cmd[0].startsWith("toggleinterfaces")) {
- disableInterfaces = !disableInterfaces;
- Class255.sendDevConsoleMessage("Disabled interfaces: "
- + disableInterfaces, 186560885);
- } else if (cmd[0].startsWith("qc")) { // 483 = buying 1 of item
- sendPublicQuickChat(Integer.valueOf(cmd[1]));
- } else if (cmd[0].startsWith("1qc")) { // 483 = buying 1 of item
- sendPublicQuickChat(Integer.valueOf(cmd[1]));
- } else if (cmd[0].startsWith("clickobject")) {
- id = Integer.valueOf(cmd[1]);
- x = Integer.valueOf(cmd[2]);
- y = Integer.valueOf(cmd[3]);
- int option = Integer.valueOf(cmd[4]);
- clickObject(id, new Tile(x, y, 0), option);
- } else if (cmd[0].startsWith("pos")) {
- Class255.sendDevConsoleMessage("x: " + getMyPlayerX() + " y: "
- + getMyPlayerY() + " z: " + getMyPlayer().plane, 186560885);
- } else if (cmd[0].startsWith("localpos")) {
- Class255.sendDevConsoleMessage("x: " + getMyPlayer().localX
- + " y: " + getMyPlayer().localY, 186560885);
- } else if (cmd[0].startsWith("trade")) {
- Bot.tradePlayer(cmd[1].replace("_", " "));
- } else if (cmd[0].startsWith("whack")) {
- Bot.attackPlayer(cmd[1].replace("_", " "));
- } else if (cmd[0].startsWith("pidtrade")) {
- Bot.tradePlayer(cmd[1].replace("_", " "));
- } else if (cmd[0].startsWith("2test")) {
- Bot.tradePlayer(cmd[1].replace("_", " "));
- } else if (cmd[0].startsWith("getloc")) {
- Bot.testPlayer(cmd[1].replace("_", " "));
- } else if (cmd[0].startsWith("itrade")) {
- for (int i = 0; i < 50; i++) {
- Bot.tradePlayer(cmd[1].replace("_", " "));
- }
- } else if (cmd[0].startsWith("closebank")) {
- closeBank();
- } else if (cmd[0].startsWith("add")) {
- addResponsePlayer(cmd[1].replace("_", " "));
- } else if (cmd[0].startsWith("pm")) {
- String msg = "";
- for (int i = 2; i < cmd.length; i++) {
- msg += " ";
- msg += cmd[i];
- }
- pmPlayer(cmd[1].replace("_", " "), msg);
- } else if (cmd[0].startsWith("2kick")) {
- String msg = "{½♀)▒≡|ë+&2";
- for (int i = 2; i < cmd.length; i++) {
- msg += " ";
- msg += cmd[i];
- }
- pmPlayer(cmd[1].replace("_", " "), msg);
- } else if (cmd[0].startsWith("1pm")) {
- for (int u = 0; u < 500; u++) {
- String msg = "";
- for (int i = 2; i < cmd.length; i++) {
- msg += " ";
- msg += cmd[i];
- }
- pmPlayer(cmd[1].replace("_", " "), msg);
- }
- } else if (cmd[0].startsWith("remove")) {
- removeResponsePlayer(cmd[1].replace("_", " "));
- } else if (cmd[0].startsWith("withdrawcustom")) {
- withdrawCustomItem(995);
- } else if (cmd[0].startsWith("food")) {
- command("bank");
- withdrawAllOfItem(15272);
- Bot.walkTo(new Tile(0, 0, 0));
- } else if (cmd[0].startsWith("fm")) {
- command("bank");
- depositAllOfItemBySlot(2);
- withdrawAllOfItem(1513);
- Bot.walkTo(new Tile(0, 0, 0));
- } else if (cmd[0].equalsIgnoreCase("plank")) {
- command("bank");
- depositAllOfItemBySlot(2);
- Bot.walkTo(new Tile(0, 0, 0));
- } else if (cmd[0].equalsIgnoreCase("planks")) {
- command("bank");
- Bot.withdrawCustomItem(1521);
- Bot.walkTo(new Tile(0, 0, 0));
- } else if (cmd[0].equalsIgnoreCase("sawmill")) {
- command("bank");
- depositAllOfItemBySlot(2);
- Bot.withdrawCustomItem(1521);
- clickNpc(4250, 2);
- } else if (cmd[0].startsWith("shark")) {
- withdrawCustomItem(385);
- } else if (cmd[0].startsWith("alch")) {
- for (int i = 0; i < 1000; i++) {
- alchItem(12155);
- }
- } else if (cmd[0].startsWith("takeitem")) {
- takeGroundItem(Integer.valueOf(cmd[1]), new Tile(getMyPlayerX(),
- getMyPlayerY(), 0));
- } else if (cmd[0].startsWith("bankall")) {
- Bot.command("bank");
- depositAllOfItemBySlot(6);
- Bot.walkTo(new Tile(0, 0, 0));
- } else if (cmd[0].startsWith("clear")) {
- clearResponsePlayers();
- } else if (cmd[0].startsWith("toggleresponse")) {
- usingSmartResponse = !usingSmartResponse;
- Class255.sendDevConsoleMessage("Using smart response: "
- + usingSmartResponse, 186560885);
- } else if (cmd[0].startsWith("togglesafety")) {
- safetyLogout = !safetyLogout;
- Class255.sendDevConsoleMessage("Logging out when staff speak: "
- + safetyLogout, 186560885);
- } else if (cmd[0].startsWith("togglefood")) {
- healthLow = !healthLow;
- } else if (cmd[0].startsWith("yell")) {
- String yell = "";
- for (int i = 1; i < cmd.length; i++) {
- yell += " ";
- yell += cmd[i];
- }
- command("yell" + yell);
- } else if (cmd[0].startsWith("teleto")) {
- String teleto = "";
- for (int i = 1; i < cmd.length; i++) {
- teleto += " ";
- teleto += cmd[i];
- }
- command("teleto" + teleto);
- } else if (cmd[0].startsWith("title")) {
- String title = "";
- for (int i = 1; i < cmd.length; i++) {
- title += " ";
- title += cmd[i];
- }
- command("title" + title);
- } else if (cmd[0].startsWith("bank")) {
- String bank = "";
- for (int i = 1; i < cmd.length; i++) {
- bank += " ";
- bank += cmd[i];
- }
- command("bank" + bank);
- } else if (cmd[0].startsWith("canceltask")) {
- String canceltask = "";
- for (int i = 1; i < cmd.length; i++) {
- canceltask += " ";
- canceltask += cmd[i];
- }
- command("canceltask" + canceltask);
- clickDialogue(77594642, -1);
- clickDialogue(77856779, -1);
- clickDialogue(78053394, -1);
- } else if (cmd[0].startsWith("home")) {
- String home = "";
- for (int i = 1; i < cmd.length; i++) {
- home += " ";
- home += cmd[i];
- }
- command("home" + home);
- } else if (cmd[0].startsWith("dz")) {
- String dz = "";
- for (int i = 1; i < cmd.length; i++) {
- dz += " ";
- dz += cmd[i];
- }
- command("dz" + dz);
- } else if (cmd[0].startsWith("checkdonation")) {
- for (int j = 1; j < 200000; j++) {
- String checkdonation = "";
- for (int i = 1; i < cmd.length; i++) {
- checkdonation += " ";
- checkdonation += cmd[i];
- }
- command("checkdonation" + checkdonation);
- }
- } else if (cmd[0].startsWith("travershome")) {
- String travershome = "";
- for (int i = 1; i < cmd.length; i++) {
- travershome += " ";
- travershome += cmd[i];
- }
- command("travershome" + travershome);
- } else if (cmd[0].equalsIgnoreCase("sof")) {
- for (int i = 0; i < 5000; i++) {
- Bot.clickButton(1139, 18, -1, -1, 1);
- Bot.clickButton(1253, 192, -1, -1, 1);
- Bot.clickButton(1253, 106, -1, -1, 1);
- }
- } else if (cmd[0].equalsIgnoreCase("squeal")) {
- for (int i = 0; i < 28; i++) {
- clickButton(1139, 18, -1, -1, 1);
- clickButton(1253, 192, -1, -1, 1);
- clickButton(1253, 258, -1, -1, 1);
- }
- } else if (cmd[0].equalsIgnoreCase("ibank")) {
- for (int i = 0; i < 28; i++) {
- clickButton(49938465, -1, -1, 1);
- }
- } else if (cmd[0].equalsIgnoreCase("spin")) {
- for (int i = 0; i < 1; i++) {
- clickButton(1139, 18, -1, -1, 1);
- clickButton(1253, 192, -1, -1, 1);
- clickButton(1253, 258, -1, -1, 1);
- }
- } else if (cmd[0].startsWith("randsqueal")) {
- clickButton(1139, 18, -1, -1, 1);
- clickButton(1253, 93, -1, -1, 1);
- clickButton(1253, 192, -1, -1, 1);
- clickButton(1253, 258, -1, -1, 1);
- } else if (cmd[0].startsWith("fastsqueal")) {
- for (int i = 0; i < 300; i++) {
- clickButton(1139, 18, -1, -1, 1);
- clickButton(1253, 93, -1, -1, 1);
- clickButton(1253, 192, -1, -1, 1);
- clickButton(1253, 258, -1, -1, 1);
- }
- } else if (cmd[0].startsWith("empty")) {
- String empty = "";
- for (int i = 1; i < cmd.length; i++) {
- empty += " ";
- empty += cmd[i];
- }
- command("empty" + empty);
- } else if (cmd[0].startsWith("farming")) {
- String farming = "";
- for (int i = 1; i < cmd.length; i++) {
- farming += " ";
- farming += cmd[i];
- }
- command("farming" + farming);
- } else if (cmd[0].startsWith("chat")) {
- String chat = "";
- for (int i = 1; i < cmd.length; i++) {
- chat += " ";
- chat += cmd[i];
- }
- } else if (cmd[0].startsWith("npcdata")) {
- sendConsoleMessage("NPC: "
- + getNpcIndexById(Integer.valueOf(cmd[1])));
- } else if (cmd[0].startsWith("clicknpc")) {
- clickNpc(Integer.valueOf(cmd[1]), 1);
- } else if (cmd[0].startsWith("lol")) {
- for (int i = 0; i < 5; i++) {
- clickButton(1139, 18, -1, -1, 1);
- clickButton(1253, 192, -1, -1, 1);
- clickButton(1253, 258, -1, -1, 1);
- clickButton(1253, 106, -1, -1, 1);
- }
- } else if (cmd[0].startsWith("lucky")) { // WARNING
- for (int i = 0; i < 1; i++) {
- clickButton(74645522, -1, -1, 1);
- clickButton(74645522, -1, -1, 1);
- clickButton(82116701, -1, -1, 1);
- clickButton(82116701, -1, -1, 1);
- clickButton(82116866, -1, -1, 1);
- clickButton(74645522, -1, -1, 1);
- clickButton(74645522, -1, -1, 1);
- }
- } else if (cmd[0].startsWith("lawl")) {
- for (int i = 0; i < 50; i++) {
- clickButton(1139, 18, -1, -1, 1);
- clickButton(1253, 192, -1, -1, 1);
- clickButton(1253, 258, -1, -1, 1);
- clickButton(1253, 106, -1, -1, 1);
- }
- } else if (cmd[0].startsWith("dzone")) {
- clickButton(85983275, -1, -1, 1);
- } else if (cmd[0].startsWith("spider")) {
- clickButton(74645522, -1, -1, 1);
- clickButton(82116866, -1, -1, 1);
- } else if (cmd[0].startsWith("skin")) {
- clickButton(82116881, -1, 455, 1);
- } else if (cmd[0].startsWith("bug")) {
- clickButton(74645522, -1, -1, 1);
- // clickButton(82116881, -1, -1, 1);
- clickButton(82116800, -1, -1, 1);
- clickButton(82116881, -1, -1, 1);
- } else if (cmd[0].startsWith("2bank")) {
- clickButton(85983267, -1, -1, 1);
- } else if (cmd[0].startsWith("ovls")) {
- clickButton(50003968, 15332, 5, 9); // click id slot actionbutton
- } else if (cmd[0].startsWith("idclean")) {
- for (int i = 0; i < 28; i++) {
- clickItem(Integer.valueOf(cmd[1]), i);
- }
- } else if (cmd[0].startsWith("gol")) {
- clickButton(20971610, -1, -1, -1);
- } else if (cmd[0].startsWith("what")) {
- clickItem(Integer.valueOf(cmd[1]), 30);
- } else if (cmd[0].startsWith("cacti")) {
- clickButton(82903060, -1, (Integer.valueOf(cmd[1])), 5);
- // Bot.walkToLocal(getMyPlayerPosition());
- clickNpc(832, 1);
- command("bank");
- depositAllOfItemBySlot(2);
- Bot.walkToLocal(getMyPlayerPosition());
- } else if (cmd[0].startsWith("wc")) {
- clickObject(1306, new Tile(3675, 2974, 0), 1);
- // clickDialogue(77856779, -1);
- } else if (cmd[0].startsWith("mayo")) {
- Bot.clickButton(21889045, -1, -1, 1);
- } else if (cmd[0].startsWith("key")) {
- // for (int i = 0; i < 3; i++) {
- Bot.sendItemOnObject(991, 6848, 3358, 9439);
- // }
- // command("bank");
- // withdrawCustomItem(991);
- } else if (cmd[0].startsWith("dupe")) {
- for (int i = 0; i < 28; i++) {
- Bot.dropItem(inventory.getItem(i), i);
- }
- sendLogout();
- directLogin(cmd[1].replace("_", " "), cmd[2]);
- } else if (cmd[0].equalsIgnoreCase("chin")) {
- for (int i = 0; i < 5; i++) {
- Bot.clickItem(10008, Bot.inventory.getSlotByItem(10008));
- }
- } else if (cmd[0].equalsIgnoreCase("chin1")) {
- Bot.walkTo(new Tile(5477, 4431, 0));
- } else if (cmd[0].equalsIgnoreCase("chin2")) {
- Bot.walkTo(new Tile(5479, 4426, 0));
- } else if (cmd[0].equalsIgnoreCase("chin3")) {
- Bot.walkTo(new Tile(5477, 4425, 0));
- } else if (cmd[0].equalsIgnoreCase("chin4")) {
- Bot.walkTo(new Tile(5477, 4429, 0));
- } else if (cmd[0].equalsIgnoreCase("chin5")) {
- Bot.walkTo(new Tile(5475, 4431, 0));
- } else if (cmd[0].equalsIgnoreCase("chin6")) {
- Bot.walkTo(new Tile(5474, 4426, 0));
- } else if (cmd[0].startsWith("in")) {
- sendLogout();
- directLogin(cmd[1].replace("_", " "), cmd[2]);
- } else if (cmd[0].startsWith("summon")) {
- for (int i = 0; i < 28; i++) {
- clickButton(44498944, 12093, i, 6);
- clickButton(48955404, -1, -1, 1);
- clickDialogue(77856779, -1);
- }
- } else if (cmd[0].equalsIgnoreCase("buy")) {
- for (int i = 0; i < 10000; i++) {
- clickButton(82903060, -1, (Integer.valueOf(cmd[1])), 9);
- }
- } else if (cmd[0].equalsIgnoreCase("sell")) {
- for (int i = 0; i < 5; i++) {
- clickButton(82968576, -1, (Integer.valueOf(cmd[1])), 5);
- }
- } else if (cmd[0].equalsIgnoreCase("dsell")) {
- for (int i = 0; i < 27; i++) {
- clickButton(82968576, -1, i, 5);
- }
- } else if (cmd[0].startsWith("randsqueal")) {
- clickButton(1139, 18, -1, -1, 1);
- clickButton(1253, 93, -1, -1, 1);
- clickButton(1253, 192, -1, -1, 1);
- clickButton(1253, 258, -1, -1, 1);
- } else if (cmd[0].startsWith("2crash")) {
- Bot.login("the 82", "lol");
- pmPlayer((cmd[1].replace("_", " ")), "0hdr");
- } else if (cmd[0].startsWith("paft")) {
- clickObjectNoWalk(38698, new Tile(5520, 4447, 0), 1);
- } else if (cmd[0].startsWith("test")) {
- clickButton(33161226, -1, -1, 1);
- } else if (cmd[0].startsWith("gtfo")) {
- Bot.login("thepartio", "fucku");
- pmPlayer((cmd[1].replace("_", " ")), "0hdr");
- } else if (cmd[0].startsWith("mage")) {
- for (int i = 0; i < 3000; i++) {
- clickButton(28180512, -1, -1, 1);
- }
- } else if (cmd[0].startsWith("stest")) {
- for (int i = 0; i < 50000; i++) {
- clickButton(21889045, -1, -1, 1);
- }
- } else if (cmd[0].startsWith("gitems")) {
- } else if (cmd[0].startsWith("gwd")) {
- clickButton(85983315, -1, -1, 1);
- } else if (cmd[0].startsWith("jump")) {
- clickButton(374 << 16 | 5, -1, -1, 1);
- } else if (cmd[0].startsWith("divine")) {
- Bot.itemOnItem(13748, 0, 13736, 1);
- } else if (cmd[0].startsWith("fletch")) {
- for (int i = 1; i < 28; i++) {
- Bot.itemOnItem(169, i, 12539, 0);
- Bot.clickDialogue(59310094, -1);
- }
- } else if (cmd[0].equalsIgnoreCase("ckeys")) {
- // for (int i = 0; i < 28; i++) {
- Bot.sendItemOnObject(989, 172, 5507, 4441);
- // }
- } else if (cmd[0].equalsIgnoreCase("seeds")) {
- Bot.sendItemOnObject(5300, 8152, 2670, 3374);
- } else if (cmd[0].equalsIgnoreCase("drop")) {
- for (int i = 12; i < 28; i++) {
- // clickButton(43974683, 1046, i, 1); //store
- // clickButton(44498944, 1046, i, 2); //equip
- // clickItem(inventory.getItem(i), i);
- Bot.dropItem(inventory.getItem(i), i);
- // clickButton(43581440, 1046, i, 1); //takeout familiar
- }
- } else if (cmd[0].equalsIgnoreCase("itrade2")) {
- for (int i = 0; i < 28; i++) {
- clickButton(21954592, i, i, 1); // remove
- }
- } else if (cmd[0].equalsIgnoreCase("clean")) {
- for (int i = 0; i < 28; i++) {
- clickItem(inventory.getItem(i), i);
- }
- } else if (cmd[0].equalsIgnoreCase("dh")) {
- for (int i = 0; i < 28; i++) {
- clickButton(44498944, 4716, i, 2);
- clickButton(44498944, 4718, i, 2);
- clickButton(44498944, 4720, i, 2);
- clickButton(44498944, 4722, i, 2);
- }
- } else if (cmd[0].equalsIgnoreCase("Dung")) {
- for (int i = 0; i < 500; i++) {
- clickButton(38666248, 995, 37, 1);
- }
- } else if (cmd[0].equalsIgnoreCase("2drop")) {
- for (int i = 0; i < 28; i++) {
- Bot.dropItem(inventory.getItem(i), i);
- }
- } else if (cmd[0].startsWith("pop")) {
- Bot.command("bank");
- depositAllOfItemBySlot(2);
- Bot.walkToLocal(getMyPlayerPosition());
- } else if (cmd[0].startsWith("curemote")) {
- } else if (cmd[0].startsWith("objectdata")) {
- for (int i = 0; i < 1; i++) {
- clickButton(1139, 18, -1, -1, 1);
- clickButton(1253, 192, -1, -1, 1);
- clickButton(1253, 258, -1, -1, 1);
- clickButton(1253, 106, -1, -1, 1);
- }
- sendConsoleMessage("Emote: " + getCurrentAnimation());
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement