Everything posted by Apaec
-
APA AIO Cooker
Thanks for your custom! (: Hopefully it lives up to your expectations - let me know how it goes! ~Apa
-
APA AIO Cooker
Sure thing; done! (:
-
APA Sand Crabs
It starts as soon as I see your request and activate it, and lasts for 24 hours from that time (:
-
APA Rooftop Agility
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 (:
- APA Sand Crabs
-
Best scripts?
- APA Script Trials
Yeah, sure thing; done! (: -Apa- APA Rooftop Agility
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- Interface help
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- Interface help
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- APA Rooftop Agility
- APA Rooftop Agility
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...- Cannot instantiate type Character
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- APA Sand Crabs
Probably; but it's mostly down to how you use the script than the script itself. I'd recommend giving this topic a read: So long as you use generous breaks and keep sessions short, you should be fine. Apa- Cannot instantiate type Character
As you said it is an abstract class; thus you can't instantiate it. You will need to extend it and provide a body to the abstract methods if you wish to use it. That being said, I can't see why you would need to do this, especially since you're new to scripting! If you're looking to check if your player is animating, perhaps try something along these lines in your class which extends Script: boolean animating = myPlayer().isAnimating(); .. or if you want the animation id: int animationId = myPlayer().getAnimation(); Note that an id of (-1) is no animation. GL! Apa Edit: Spelling- APA Rooftop Agility
Updated OP to reflect latest UI that I was working on today:- APA Sand Crabs
'little'... Woo! 1 day and 17 hours, that's pretty mental! (: Congratulations on the 2.3M exp gained... that's pretty awesome. Thanks for sharing! -Apa- APA Rooftop Agility
It's ready to go; however recently the developer managing SDN uploads has resigned, so staff have put SDN uploads on hold until someone is found to replace the role. Hopefully soon but I cannot give an exact date as it is now out of my control! (: Apa- APA Rooftop Agility
Cheers for this suggestion! Today I have been working on adding this; it's awesome exp! The script can now high alch / low alch / cast magic imbue as it traverses the course. I will also attempt to do it at strategic times to optimise exp gains. Apa- APA Sand Crabs
Sure thing Saren, done! (:- APA Rooftop Agility
I wanted to add teleporting at seers but I don't have an account with the requirements so I cannot add/test that at the moment. As for alching/magic imbue, this is certainly something I could add, didn't realise it was a common thing to do! I will perhaps run some tests and see how much it impacts exp rates. Apa- APA Chest Thiever
Yeah, on normal worlds this method isn't very good for exp. This script was initially written for Deadman mode where the xp rates are multiplied and nature prices were through the roof! Edit: Most/all screenshots are from deadman mode Apa- Best scripts?
https://osbot.org/forum/topic/98799-apa-sand-crabs/ at the moment! (: I would suggest asking for a trial from each of them and comparing them that way. Most people here would have used one and only one, and as such their recommendation would not really be fair! (:- APA AIO Miner
Perhaps this is a mirror only issue? Does it do this on Stealth injection?- APA Sand Crabs
So... We just passed 10B total exp gained with the script, and almost 20 years of cumulative run-time: Awesome stuff guys!!! (: ~Apa - APA Script Trials