OSBotMerccy

Untitled

Jul 6th, 2013
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 2.06 KB | None | 0 0
  1. private int general() throws InterruptedException {
  2.     int rnd = this.plugin.random(15);
  3.     Tab current = this.plugin.currentTab();
  4.     switch (rnd) {
  5.     case 0:
  6.         this.plugin.client.setMouseSpeed(this.plugin.random(3, 7));
  7.         break;
  8.     case 1:
  9.         this.plugin.client.rotateCameraPitch(this.plugin.random(30, 360));
  10.         break;
  11.     case 2:
  12.         if (current != Tab.ATTACK) {
  13.         this.plugin.openTab(Tab.ATTACK);
  14.         }
  15.         this.plugin.sleep(500 + this.plugin.random(1000));
  16.         this.plugin.openTab(Tab.INVENTORY);
  17.         break;
  18.     case 3:
  19.         if (current != Tab.SKILLS) {
  20.         this.plugin.openTab(Tab.SKILLS);
  21.         }
  22.         this.plugin.sleep(500 + this.plugin.random(1000));
  23.         this.plugin.openTab(Tab.INVENTORY);
  24.         break;
  25.     case 4:
  26.         if (current != Tab.EQUIPMENT) {
  27.         this.plugin.openTab(Tab.EQUIPMENT);
  28.         }
  29.         this.plugin.sleep(500 + this.plugin.random(1000));
  30.         this.plugin.openTab(Tab.INVENTORY);
  31.         break;
  32.     case 5:
  33.         if (current != Tab.FRIENDS) {
  34.         this.plugin.openTab(Tab.FRIENDS);
  35.         }
  36.         this.plugin.sleep(500 + this.plugin.random(1000));
  37.         this.plugin.openTab(Tab.INVENTORY);
  38.         break;
  39.     case 6:
  40.         this.plugin.client.getInterface(548).getChild(89).hover();
  41.         break;
  42.     case 7:
  43.         this.plugin.client.getInterface(548).getChild(85).hover();
  44.         break;
  45.     case 8:
  46.         this.plugin.client.getInterface(548).getChild(109).hover();
  47.         break;
  48.     case 9:
  49.         this.plugin.client.getInterface(548).getChild(84).hover();
  50.         break;
  51.     case 10:
  52.         if (this.plugin.client.getInterface(320).getChild(144).isVisible()) {
  53.         this.plugin.client.getInterface(548).getChild(50).interact();
  54.         this.plugin.sleep(this.plugin.random(0, 600));
  55.         }
  56.         this.plugin.client.rotateCameraToAngle(this.plugin.random(60, 160));
  57.         break;
  58.     case 11:
  59.         this.plugin.client.getInterface(548).getChild(75).hover();
  60.         break;
  61.     case 12:
  62.         this.plugin.client.getInterface(548).getChild(100).hover();
  63.         break;
  64.     case 13:
  65.         this.plugin.client.getInterface(548).getChild(44).hover();
  66.         break;
  67.     }
  68.     return this.plugin.random(1000, 2500);
  69.     }
Advertisement
Add Comment
Please, Sign In to add comment