Guest User

Untitled

a guest
Dec 14th, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 1.81 KB | None | 0 0
  1. //it's not actually called process(), it's called cluster fuck
  2.  
  3. public boolean process() {
  4.  
  5. //lets just dump updating in here, because we don't know where else to put it
  6.  
  7. update();
  8.  
  9. //random, just add in process() because i think i can get away with it, even though i dont have a fucking clue what it does
  10.  
  11. handlePackets(dumpPackets);
  12.  
  13.  
  14. //lets add fuck loads of timers, because we can
  15.  
  16.                 if (timer> 0 && woodcut[0] > 0) {
  17.                         wcTimer--;
  18.                 } else if (wcTimer == 0 && woodcut[0] > 0) {
  19.                         getWoodcutting().cuttimer();
  20.                 } else if (miningTimer > 0 && mining[0] > 0) {
  21.                         miningTimer--;
  22.                 } else if (miningTimer == 0 && mining[0] > 0) {
  23.                         getMining().minetimer();
  24.                 } else  if (smeltTimer > 0 && smeltType > 0) {
  25.                         smeltTimer--;
  26.                 } else if (smeltTimer == 0 && smeltType > 0) {
  27.                         getSmithing().smelttimer(smeltType);
  28.                 } else if (fishtimer  && fishTimer > 0) {
  29.                         fishTimer--;
  30.                 } else if (fishtimer && fishTimer == 0) {
  31.                         getFishing().fishtimeryeh();
  32.  
  33. //lets then add unnecessary if statements, cause we dont know where else to handle
  34.  
  35. if (System.currentTimeMillis() - lastPoison > 20000 && poisonDamage > 0) {
  36.  
  37. //dump random interface shit for minigames in here
  38.  
  39.                 } else if (!interface4lulz) {
  40.                         getPA().sendFrame99(0);
  41.                         getPA().walkableInterface(-1);
  42.                         getPA().showOption(3, 0, "Null", 1);
  43.  
  44. //while were at it, let's dump a fuck load of attack timers!
  45.  
  46.                 if(attackTimer > 0) {
  47.                         attackTimer--;
  48.                 }
Add Comment
Please, Sign In to add comment