Jump to content

Khaleesi

$250.00 Donor
  • Posts

    26691
  • Joined

  • Last visited

  • Days Won

    209
  • Feedback

    100%

Everything posted by Khaleesi

  1. Working on it You could already use my utitlities script to do that if you want
  2. You already have an expired trial on this script
  3. 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
  4. Already supported, just have it in your inventory
  5. No sorry, only high alch with teleports
  6. 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)); } }
  7. 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
  8. I don't think you can retrieve those values tbh, the only method available is getBot().getTimeUntilNextBreak();
  9. Khal Snither (All in One) updated to V1.17: - Banking efficiency improved - Banks noted items on start Live soon! Enjoy
  10. Khal Crafter updated to V3.08: - Banking improved - Banks noted items on start Live soon! Enjoy
  11. Khal Magic updated to V1.38: - Banking fficiency improved - Banks noted items on start Live soon! Enjoy
  12. 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
×
×
  • Create New...