Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //it's not actually called process(), it's called cluster fuck
- public boolean process() {
- //lets just dump updating in here, because we don't know where else to put it
- update();
- //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
- handlePackets(dumpPackets);
- //lets add fuck loads of timers, because we can
- if (timer> 0 && woodcut[0] > 0) {
- wcTimer--;
- } else if (wcTimer == 0 && woodcut[0] > 0) {
- getWoodcutting().cuttimer();
- } else if (miningTimer > 0 && mining[0] > 0) {
- miningTimer--;
- } else if (miningTimer == 0 && mining[0] > 0) {
- getMining().minetimer();
- } else if (smeltTimer > 0 && smeltType > 0) {
- smeltTimer--;
- } else if (smeltTimer == 0 && smeltType > 0) {
- getSmithing().smelttimer(smeltType);
- } else if (fishtimer && fishTimer > 0) {
- fishTimer--;
- } else if (fishtimer && fishTimer == 0) {
- getFishing().fishtimeryeh();
- //lets then add unnecessary if statements, cause we dont know where else to handle
- if (System.currentTimeMillis() - lastPoison > 20000 && poisonDamage > 0) {
- //dump random interface shit for minigames in here
- } else if (!interface4lulz) {
- getPA().sendFrame99(0);
- getPA().walkableInterface(-1);
- getPA().showOption(3, 0, "Null", 1);
- //while were at it, let's dump a fuck load of attack timers!
- if(attackTimer > 0) {
- attackTimer--;
- }
Add Comment
Please, Sign In to add comment