Jump to content

Khaleesi

Script Officer
  • Posts

    27645
  • Joined

  • Last visited

  • Days Won

    225
  • Feedback

    100%

Everything posted by Khaleesi

  1. 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
  2. Enjoy!
  3. Enjoy!
  4. Have fun!
  5. Already supported, just have it in your inventory
  6. Enjoy!
  7. Have fun!
  8. No sorry, only high alch with teleports
  9. Enjoy!
  10. 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)); } }
  11. 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
  12. I don't think you can retrieve those values tbh, the only method available is getBot().getTimeUntilNextBreak();
  13. Enjoy!
  14. Khal Snither (All in One) updated to V1.17: - Banking efficiency improved - Banks noted items on start Live soon! Enjoy
  15. Enjoy!
  16. Khal Crafter updated to V3.08: - Banking improved - Banks noted items on start Live soon! Enjoy
  17. Khal Magic updated to V1.38: - Banking fficiency improved - Banks noted items on start Live soon! Enjoy
  18. Enjoy the trial!
  19. return true => starts the breakhandler retrun false => stopts the breakhandler Every other logic is up to you how you want to implement it ^^ Have some kind of method in the breakmanager to set a variable which you can check in shouldActivate
  20. Hmm it should upgrade to it but only when it's going to bank in the chest, if you are using the depositbox it will never do it
  21. I was looking at my crafter It can just do withdraw all right?
  22. Sure you can! Enjoy
×
×
  • Create New...