Jump to content

Apaec

Scripter III
  • Posts

    11160
  • Joined

  • Last visited

  • Days Won

    91
  • Feedback

    100%

Everything posted by Apaec

  1. Not quite released yet; but when it is I will be able to distribute trials! Sorry about that Apa
  2. glad it is living up to expectations! (: Have you tried Crab claw isle? During off-peak times, it can be pretty baron there - people don't tend to intentionally crash unless it is completely packed and/or they are a bot with a... less advanced script! Cheers ~Apa
  3. Will factor this in to the rewrite; thanks! (:
  4. OSBot does not have time limits on scripts (Some scripters add this to their free scripts, but I don't do that and am not a big fan of that system)! This script will run until you stop the script; or you run out of resources e.g food. -Apa
  5. I seem to remember it was deprecated because it wasn't functioning correctly; the API now only supports linear random. That being said, it's not too hard to come up with your own equivalent using https://docs.oracle.com/javase/7/docs/api/java/util/Random.html#nextGaussian() Make sure to take into account far-edge generations though! Apa
  6. As someone already mentioned; you'll have to uncheck both checkboxes on the login page, remember username and hide username. This is a limitation of the bot, not the script! If you run into any further issues, don't hesitate to let me know. I have written a custom break handler which will take you to a safe position ~2 minutes before a scheduled break starts. This ensures that you're safely out of combat before trying to log out. When you log back in, the script will resume as normal until your next break occurs. It is worth noting that, if you use the 'force attack if crashed' mode, you may end up crashing someone else when you log back in from a break. Let me know if you have any further queries! -Apa
  7. Yeah; I think when I wrote the script it was the case that you couldn't type spaces into the 'enter name' field when entering a house. Not sure whether this is still true? Either way, if it gets to the right house then there's no problem!
  8. Unfortunately not; although I think there's a couple of blast furnace scripts in the minigames section: https://osbot.org/mvc/sdn2/scripts/13 The script will smelt rune / gold bars in a furnace though, and can smith them on an anvil. Apa
  9. Just run the script as you would any other! Open the script selector and it should be there for the next 24h (:
  10. I've just started your 24h trial; enjoy! (: Apa
  11. Sure, done. And yes, it's a one-time fee! (: Apa
  12. Thanks for your custom! (: Hopefully it lives up to your expectations - let me know how it goes! ~Apa
  13. It starts as soon as I see your request and activate it, and lasts for 24 hours from that time (:
  14. Courtesy of IceB4rrage I have been able to add both Rellekka and Ardougne courses; The script now supports all rooftop courses! Hopefully release will come soon (:
  15. Yeah, sure thing; done! (: -Apa
  16. Woah, that would be awesome! My account currently only has 70 so I can't access ardougne (req.90) or rellekka (req.80). It would be really sweet if I could hop on for no more than 20 mins and gather the rooftop data for Rellekka on your account though (: - I'll drop you a PM now Apa
  17. No problem. Sounds like a good plan - Polymorphism is an important concept! Let me know if you run into any further problems; i'm always happy to help! (: Apa
  18. I understand what is confusing you. As you have said, RS2Object is an interface, and as such we cannot instantiate it. For example, we cannot do RS2Object anObject = new RS2Object(); However, we can refer to an RS2Object implementing class, e.g InteractableObject, as an RS2Object. While Objects#closest returns an RS2Object, in reality it is returning an instance of a concrete class which implements RS2Object. Take this example. Consider some interface: public interface SomeInterface { public String someMethod(); } We can then have some classes implementing this interface. For example: public class SomeClass implements SomeInterface { public SomeClass() { ... } // Constructor @Override public String someMethod() { return "Hello from SomeClass"; } } ... and we can have another class also implementing this interface: public class SomeOtherClass implements SomeInterface { public SomeOtherClass() { ... } // Constructor @Override public String someMethod() { return "Hello from SomeOtherClass!"; } public String someOtherMethod() { return "ABC"; } } We can then refer to both of these classes as their parent interface. For example: List<SomeInterface> list = new ArrayList<SomeInterface>(); list.add(new SomeClass()); list.add(new SomeOtherClass()); for (SomeInterface item : list) { System.out.println(list.someMethod()); } // -- Output -- // > "Hello from SomeClass!" > "Hello from SomeOtherClass!" HOWEVER, note that this would not compile: SomeInterface example = new SomeOtherClass(); System.out.println(someMethod()); // This works! System.out.println(someOtherMethod()); // Uh-oh! This does not work as SomeInterface does not have a 'someOtherMethod' method, despite SomeOtherClass having it. Hopefully that cleared things up. I didn't write the code in an IDE so hopefully I didn't make any silly typos/mistakes... Let me know if you're still confused Apa
  19. That's great to hear! (: It really is great exp and paired with the reliability, the script is starting to look pretty awesome! Now all I need to do is try and get my hands on an account with seers diary completed, and/or 80/90+ agility so that I can add & test the final two courses...
  20. I mean it really depends on what you're looking for! Navigating javadocs takes a bit of practice - if you're looking for a specific method, you can have a look in index view, but mostly class tree view is the easiest to digest. If you're unsure about anything, don't hesitate to let me know! The more scripts you write, the more fluent you will become with both Java and the API. Apa
×
×
  • Create New...