Advertisement
Guest User

Antiban

a guest
Oct 3rd, 2015
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.76 KB | None | 0 0
  1. package scripts.Decanter;
  2.  
  3. import org.tribot.api.General;
  4. import org.tribot.api.util.ABCUtil;
  5.  
  6. public class Antiban {
  7.  
  8. ABCUtil abc = new ABCUtil();
  9.  
  10. public void antiBan(){
  11. if(System.currentTimeMillis() >= abc.TIME_TRACKER.LEAVE_GAME.next()){
  12. abc.performLeaveGame();
  13. General.println("Performing antiban...");
  14. abc.TIME_TRACKER.LEAVE_GAME.reset();
  15. }
  16. if(System.currentTimeMillis() >= abc.TIME_TRACKER.RANDOM_MOUSE_MOVEMENT.next()){
  17. abc.performRandomMouseMovement();
  18. General.println("Performing antiban...");
  19. abc.TIME_TRACKER.RANDOM_MOUSE_MOVEMENT.reset();
  20. }
  21. }
  22.  
  23. public static void AFK(){
  24. int AFK = General.random(1,20);
  25. if(AFK == 1){
  26. General.println("Performing antiban...");
  27. General.sleep(10000,30000);
  28. }
  29. }
  30.  
  31. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement