Guest User

Untitled

a guest
Jun 23rd, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.48 KB | None | 0 0
  1. Index: Play.bat
  2. ===================================================================
  3. --- Play.bat (revision 368)
  4. +++ Play.bat (working copy)
  5. @@ -3,4 +3,4 @@
  6. SET mode=member
  7. IF "%1"=="/F" SET mode=non%mode%
  8. IF "%1"=="/N" SET mode=
  9. -START /LOW javaw -Djava.util.logging.config.file=Bot/logging.properties -cp out;rs.jar -Xmx256m com.speljohan.rsbot.Application %mode%
  10. \ No newline at end of file
  11. +START /BELOWNORMAL javaw -Djava.util.logging.config.file=Bot/logging.properties -cp out;rs.jar -Xmx512m com.speljohan.rsbot.Application %mode%
  12. \ No newline at end of file
  13. Index: Randoms/WelcomeScreen.java
  14. ===================================================================
  15. --- Randoms/WelcomeScreen.java (revision 368)
  16. +++ Randoms/WelcomeScreen.java (working copy)
  17. @@ -15,19 +15,20 @@
  18. return "Qauters";
  19. }
  20.  
  21. - @Override
  22. + @Override
  23. public double getVersion() {
  24. - return 1.0;
  25. + return 1.1;
  26. }
  27.  
  28. @Override
  29. public int loop() {
  30. atInterface(RSInterface.getInterface(WELCOME_SCREEN_ID).getChild(WELCOME_SCREEN_BUTTON_PLAY));
  31. + wait(random(500,1000));
  32. return -1;
  33. }
  34.  
  35. @Override
  36. public boolean activateCondition() {
  37. - return RSInterface.getInterface(WELCOME_SCREEN_ID).isValid() && RSInterface.getInterface(WELCOME_SCREEN_ID).getChild(WELCOME_SCREEN_BUTTON_PLAY).getAbsoluteX() > 30;
  38. + return RSInterface.getInterface(WELCOME_SCREEN_ID).isValid() && !RSInterface.getInterface(WELCOME_SCREEN_ID).getChild(89).getText().contains("10.1120.190");
  39. }
  40. }
Add Comment
Please, Sign In to add comment