Jump to content

Apaec

Scripter III
  • Posts

    11151
  • Joined

  • Last visited

  • Days Won

    91
  • Feedback

    100%

Everything posted by Apaec

  1. 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
  2. I have some converse shoes, a pair of trainers, climbing shoes and smart shoes
  3. 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
  4. 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
  5. Thanks, glad we got it sorted. Be careful! apa
  6. Occasionally the script transactions take a little while to be processed. If you don't own the script within the next 30 minutes, send a quick PM to @Maldesto explaining the situation and he'll sort it out I'm afraid I cannot help any further as I don't handle the payments - they are handled by OSBot. Apaec
  7. Hey, ofcourse! I've enabled a 24h trial on your account. Let me know if you need longer! Hope you like it apaec
  8. ofcourse! I've enabled 24h trial on your account. Good luck and enjoy! Apaec PS let me know if you need longer!
  9. I could, but I do not plan to. This was suggested already but there were a few reasons which meant that I decided not to release cannon support: I am aware i'm not the only owner of a rock crabs script on the store and I do not want to take potential customers away from osbot by populating all the worlds with cannons Other customers would suffer by overcrowded worlds as cannons would be essentially making a world useless for other training purposes It would cause potential detectability with the bot as those who have hop from cannon enabled would end up worldswitching if you placed a cannon A few other minor reasons which leads to negative effects. I just don't want to make botting harder for my customers is the main problem, and although some would benefit from me introducing cannon support, for the majority the effect would be the opposite I'm sorry If I dissapointed you but I do not plan on adding it Thanks Apa
  10. Hey, should be okay, I'll try and set it up on my account. Thanks for the offer tho apa
  11. Hey! Randoms are handled by the client and I cannot do anyhting about them not working But I believe that if you leave a random it will automatically dissapear. I'll take a look at the casket issue you're experiencing. I don't believe it can be a common bug though as the looting code hasn't changed since I released this script almost 8 months ago now. But i'll see if I can locate the problem, should there be one. Could not find run orb is actually also a client issue, and when it says please report this bug, it ambiguously means report it to the client bug section not here. I'll try and speak with a member of the development team into getting the message made less ambiguous / removed. Apaec
  12. Sure, i've enabled a 24h trial on your account. Enjoy!
  13. EDIT: UPDATE! Version 3.14 Added pathwalking debug - script now displays target positions in path on minimap. If you don't like this, you can always hide the paint. Combined Ranged and Looting tabs to save space on the GUI and minimize the clutter Happy botting! Apaec
  14. Expect an update tonight guys! This is mainly aesthetics and i've been working on it today. The script will now draw the positions of the path on the minimap for path debugging, and I will incorporate the ranged and looting tabs together to save some space on the GUI. Apaec
  15. Hey, I've enabled a 24h trial on your account. Enjoy!
  16. Hmm, yea. I was considering this. The script should actually enable run at 50% anyway, but I can certainly make that optional. The only thing that's making me hold back is that theres no space on misc tab of GUI (minor issue, but would ultimately mean making GUI larger) there's already a ton of options on the GUI and I don't want to overcomplicate it for things which aren't paramount! What I'd be happy to do though is for it to generate a random energy threshold to enable run energy at when the script starts, say in a random of 5 - 50 or something like that, and that value would be randomly generated every time you run the script. Apaec Ofcourse! I've enabled a 24hour trial on your account. Enjoy! Apaec
  17. X as in a number which you input or a randomly generated number when the script is started or what? Apaec
×
×
  • Create New...