Jump to content

Apaec

Scripter III
  • Posts

    11134
  • Joined

  • Last visited

  • Days Won

    88
  • Feedback

    100%

Everything posted by Apaec

  1. Sure- trials started Apa
  2. As you correctly say, the `super` keyword is a means to access the parent class. Roughly speaking, to construct an instance of a child object (e.g. Sleep in this case), an instance of the parent class also must be constructed (ConditionalSleep). If it did not do this, then how would you access the `sleep` method of ConditionalSleep? The `super` keyword when used in the constructor enables this: in this particular case, it will create an instance of the parent class with the `ConditionalSleep(int timeout)` constructor. It is clear that this is necessary as the ConditionalSleep class needs to know the duration of the sleep. The `condition` method is actually used by the ConditionalSleep class. As you again rightly say, it is abstract, so though ConditionalSleep refers to it, it does not provide a concrete implementation. It is for this reason that ConditionalSleeps are commonly defined anonymously, e.g.: new ConditionalSleep(3000) { @Override public boolean condition() { return getCombat().isSpecialActivated(); } }.sleep(); This class which you show simply provides a concrete implementation for the condition method, where a BooleanSupplier (supplied during construction) provides the return value. It looks like this class is essentially pointless, other than perhaps to enable succinct code by working with BooleanSuppliers rather than anonymous instantiations. If it's easier to understand for you, i'd stick with anonymous instances, or you could create your own concrete sleep classes, e.g.: public class RunSleep extends ConditionalSleep { private final MethodProvider mp; public RunSleep(MethodProvider mp, int timeout) { super(timeout); this.mp = mp; } @Override public boolean condition() throws InterruptedException { return mp.getSettings().isRunning(); } } Hopefully this is helpful, let me know if you're still stick or have any further questions, i'm always happy to help. Good luck! -Apa
  3. Done! Sure, trial activated. Have you considered Sand Crabs instead? They're much better exp/h! -Apa
  4. Sure- trial started. Hey - it looks like the latest client build is having some problems (this should be the case for most/all scripts, see https://osbot.org/forum/topic/160945-stable-osbot-2583/). Please be patient while the developers work on a fix, and in the mean time use stealth injection -Apa
  5. Sure - trial started -Apa
  6. Hey, This script only works at Rogues den - I presume the script is failing to find a path to Rogues Den which is what is causing this issue. If you start the script at Rogues den, do you still have this issue? -Apa
  7. Hey, please could you elaborate on the problem a little? I'm not sure what you mean exactly. Are you starting at Rogues den? Apa
  8. Sure - trial started. Enjoy! Apa
  9. Both trials activated -Apa
  10. Apaec

    APA AIO Miner

    Hi all, apologies for no replies. For some reason I was unfollowed from this thread, and therefore didn't get a notification when you all posted. I'm not sure why people are experiencing slow mining, perhaps try in stealth injection? I will investigate this further nevertheless. If there is anything I can still help with, please quote this reply. -Apa
  11. Hi all, apologies for no replies. For some reason I was unfollowed from this thread, and therefore didn't get a notification when you all posted. This script is certainly in clear need of a re-write, I was working on one not long ago, although it seems the game has changed significantly since then so I may need to start from scratch. While I find the time for this rewrite, I will leave the script available on the SDN in case the Yanille portal is still useful to people. I'm not sure what an ETA on this rewrite will be, but I will post updates once I start. Cheers -Apa
  12. Hi all, apologies for no replies. For some reason I was unfollowed from this thread, and therefore didn't get a notification when you all posted. Please let me know if there is anything I can help with by quoting this reply -Apa
  13. Apaec

    APA Rune Sudoku

    Hi all, apologies for no replies. For some reason I was unfollowed from this thread, and therefore didn't get a notification when you all posted. Please let me know if you're still interested in a trial by quoting this reply -Apa
  14. Sure - trial started Apa
  15. Sure - trial started -Apa
  16. Hey, Previously the script had this check, however occasionally the quest data would not be cached upon login from a break, and the script would think that the priest in peril quest wasn't complete even if it was. To prevent this from stopping the script for users, I removed the check altogether. I'll have to do some test runs to see whether this is still and issue and whether I can add the check back in, but for now i'd just recommend to manually configure the script without progressive mode when approaching the canifis course level. Best Apa
  17. The den cooker script is free - i've assumed that you meant the AIO cooker version. Please let me know if this is not what you meant! Both trials activated Apa
  18. Sure - trial started Apa
  19. Sure - trial started. Have you considered training at Sand crabs instead? They're much better exp! -Apa
  20. Both trials activated Thanks for stopping by Apa
  21. Sure- trial started Apa
  22. Both trials activated -Apa
  23. Sure - trial started -Apa
  24. Hey, Thanks for your custom, apologies I didn't manage to set you up with a trial in time. You can download the OSBot client here: http://osbot.org/mvc/get, where the script should automatically be in your collection.
  25. All trials started! BNJ and jonathan, have you considered training at sand crabs instead? They're much better exp/h Apa
×
×
  • Create New...