Everything posted by Apaec
- This guy is a genius
- HEY!
- Gold Teeth
-
APA AIO Cooker
UPDATE! Version 1.4 Incorporated the new widgets system into the script. Let me know if anything doesn't work! Apaec
-
OSBot 2.3.37 - Further migrations to the widget system
Appreciate it! What do we need to update. Is it only the interfaces system which has changed? Apaec
-
APA Rock Crabs
Not sure. Just be careful, I suppose bans are just unpredictable apa
-
APA Rock Crabs
Have you updated your client? Maxi said he fixed the issue (it was a client issue btw) in the previous update. Just make sure you're up to date, and if it still doesn't work, drop a quick post in the client bug report section Apaec
-
OSBot 2.3.36 - Widget optimisations
Thanks again!
-
APA Rock Crabs
Hi, try downloading the latest? 2.3.35? does it work on there? apa
-
Well, my name is Rutsy.
Heyo, looking forward to seeing you with scripts on the market Apa your friend
-
Goal to 60 att/99 str pure!
Good luck! Where are you botting? Apaec
-
APA Script Trials
Sure, have enabled a 24h trial on your account apaec
-
APA Rock Crabs
Ew sounds like a ban wave of some sort. Unlucky guys Apa
-
Range training.
iron knives, best for sure!
-
Streaming High Elo LoL Ranked! Facecam included!
for those of you who cba to click the link *flies away*
-
if you could UNban anyone on OSB....
@Designer - I really liked him up until his scammed me, was a shame he had to be banned
-
APA Rock Crabs
Hey! this is an issue with the API caused by a recent runescape update. The Devs are working on a fix as you can see in this thread: http://osbot.org/forum/topic/66667-banking-issues-2/#entry732573 - i'm sorry for any inconviniences caused however I cannot do anything about it until the fixed client is pushed (hopefully tomorrow) Woah! thanks for the proggie mate! Glad to hear you like the script too. Feel free to leave a review if you have a spare second here: http://osbot.org/forum/store/product/373-apa-rock-crabs/ Appreciate the kind words! Apa PS: That's alot of caskets xDD
-
Is there Jad helper script?
Just play with headphones and turn the sound up
-
A Beginners Guide to Writing OSBot Scripts (where to get started!) by Apaec
You can use a filter: public static NPC getClosestAliveNotUnderAttackForNameAndActionInArea( Script script, String name, String action, Area area) { NPC closest = null; double lowest = Double.MAX_VALUE; for (NPC npc : script.getNpcs().getAll()) { if (npc != null && npc.exists() && npc.getHealth() > 0 && !npc.isUnderAttack()) { final String npcName = npc.getName(); final List<String> actions = Arrays.asList(npc.getDefinition() .getActions()); final double d = npc.getPosition() .distance(script.myPosition()); if (npcName.equalsIgnoreCase(name) && actions.contains(action) && d < lowest && area.contains(npc)) { closest = npc; lowest = d; } } } return closest; } Stick that method in your code, then define your cow as: NPC cow = this.getClosestAliveNotUnderAttackForNameAndActionInArea(this, "Cow", "Attack", COW_AREA); //where cow area is defined as eviltwin mentioned Otherwise what twin said works, although the messagelistener isn't 100% reliable/clean it works too. Apaec
- Designed some new pips
-
Anybody collect shoes?
I have some converse shoes, a pair of trainers, climbing shoes and smart shoes
-
PickBury - Pick up bones and bury them at any location
Nice release mate! Should work great at chaos temple on an f2p world too, I used to have a chaos temple burier and its was okay exp (3k/h) apa
-
APA Script Trials
Heya, which script would you like a trial of? Apaec [MESSAGE TO ALL] APA myre fungi has been discontinued as the price of fungi was dropping too low. I will no longer be offering trials of it. Apaec
-
Prepare yourself...
I'm excited
-
MGFighter: Melee [Combat] [Simple]
Yay! Congratulations on your first script! If you are interested, I can teach you how to implement a GUI to your script (GUI = Graphic User Interface (i.e menu basically, not paint!)). I'm glad you found my tutorial helpful, all you have to do now is stay interested, and the more you code, the more familiar you get with the API and general java concepts. Ofcouse, if you have any questions, please don't hesitate to ask me them via PM, i'd be willing to help. Apa