Jump to content

Khaleesi

Script Officer
  • Posts

    27680
  • Joined

  • Last visited

  • Days Won

    225
  • Feedback

    100%

Everything posted by Khaleesi

  1. Enjoy!
  2. Never seen that before myself and I'm running a few account there, but I'll take a closer look ^^
  3. Enjoy!
  4. Enjoy!
  5. Only from the GE at this point
  6. Working on it You could already use my utitlities script to do that if you want
  7. You already have an expired trial on this script
  8. Enjoy!
  9. Not in the script, you could use my utilities script if you want. But stop using Edgeville to start with and start using ferox as banking location, just buy 1000 ring of duelings and 50k essence or whatever, no need to restock then
  10. Enjoy!
  11. Enjoy!
  12. Have fun!
  13. Already supported, just have it in your inventory
  14. Enjoy!
  15. Have fun!
  16. No sorry, only high alch with teleports
  17. Enjoy!
  18. public class AnimationCheck extends Script { private final Timer animationTimer = new Timer(3_000); @Override public void onStart() { } @Override public int onLoop() { if(myPlayer().isAnimating()){ animationTimer.reset(); } if(animationTimer.isRunning()){ log("Animating"); }else{ //Start doing whatever you wanted to do } return 50; } } Basic Timer class public class Timer { private long period; private long startTime; public Timer(long period) { this.period = period; startTime = System.currentTimeMillis(); } public boolean isRunning() { return getElapsed() < period; } public long getElapsed() { return System.currentTimeMillis() - startTime; } public long getRemaining() { return period - getElapsed(); } public void reset() { startTime = System.currentTimeMillis(); } public void stop() { period = 0; } public static String formatTime(long ms) { long sec = ms / 1000L; return String.format("%02d:%02d:%02d", Long.valueOf(sec / 3600L), Long.valueOf((sec % 3600L) / 60L), Long.valueOf(sec % 60L)); } }
  19. Ya do not use a while loop. You can use a Timer and set it to 2-3 seconds and reset it every time u animating and only start interacting or crafting when the timer is not running
  20. I don't think you can retrieve those values tbh, the only method available is getBot().getTimeUntilNextBreak();
  21. Enjoy!
×
×
  • Create New...