Jump to content

Explv

Scripter II
  • Posts

    2314
  • Joined

  • Last visited

  • Days Won

    6
  • Feedback

    100%

Everything posted by Explv

  1. Explv

    Explv's Walker

    The script is working fine?
  2. Pushed a fix, it will be available when the SDN is next updated, thanks. It's on my todo list, will take a look when I have the time
  3. Sorry, I thought that I had, but looking at the code it seems I forgot. I will update the code now and it will be fixed when the SDN is next updated.
  4. That's weird, i'll take a look at it tonight. Thanks for the report
  5. Explv

    Explv's Walker

    What would be the purpose of that?
  6. No, it doesnt. I'll add it when I have time
  7. I think saving/loading is broken at the moment, will take a look at fixing it this weekend
  8. I might find some way to do it I'll take a look. If not I'll probably update my tut island script to include a parameter that closes the client when the script finishes, as I would be able to detect that. Edit: nevermind I have thought of a very simple way of doing this. It will require the manager to close the OSBot client after each script finishes however. I will implement this, along with the scheduling this weekend.
  9. I will be adding a scheduler at some point to start scripts at specific times. I can probably modify my tut island to achieve the second one, however to do it for other scripts would require modification of the source code. I'll think about adding the third one.
  10. Thanks for the report i'll take a look when I get home
  11. Use Filters to filter npcs: Filter class: http://osbot.org/api/org/osbot/rs07/api/filter/Filter.html Filter API: http://osbot.org/api/org/osbot/rs07/api/filter/FilterAPI.html Example usage: List<NPC> fishingSpots = getNpcs().filter(getNpcs().getAll(), new Filter....);There is also a .singleFilter method that will return a single NPC
  12. Nope, you'll have to do it yourself
  13. I have added a show/hide button to the paint, it will be displayed when the SDN is next updated.
  14. Sorry I don't understand what you mean
  15. Recent updates now available: Improved stability of firemaking, added new firemaking locations Improved stability of agility Now drops gems as well as ores when mining in drop mode Added paint Fixed arrow shaft fletching, added javelin shaft fletching Fixed crafting level up where level up dialogue not continued Fixed agility banking Fixed Tutorial Island not completing first dialog Fixed clay & coal mining where it banks after 1 "ore" Fixed shrimp fishing
  16. Issue resolved, user had space after passwords, I will add some more error checking to try and help future users
  17. I have pushed a fix for arrow shaft fletching, it will be available when the SDN is next updated.
  18. Yes, you press the save button at the top right
  19. I have pushed some changes to improve firemaking, I have also added some new locations, the full list is now: Grand Exchange Lumbridge Varrock West Falador East Draynor Al Kharid Edgeville Seers' Village Varrock East Yanille If you would like me to add any more locations let me know. You will be able to use the latest firemaking when the SDN is updated, I will post again when it is available. Thanks
  20. If I understand you correctly, you are trying to write a method that gets all the fighters that have any of the initials in a String, and the same Combat style, and you want to remove those from the barracks and return them as a new list? If so, why not get rid of all those Lists and just use an iterator: private List<Fighter> callFighters(String initial, Combat combat) { String upperCaseInitial = initial.toUpperCase(); List<Fighter> calledFighters = new ArrayList<>(); for (Iterator<Fighter> fighterIterator = barracks.iterator(); fighterIterator.hasNext();) { Fighter fighter = fighterIterator.next(); if (upperCaseInitial.contains(Character.toString(fighter.getInitial())) && fighter.getCombatStyle() == combat) { calledFighters.add(fighter); fighterIterator.remove(); } } return calledFighters; }
×
×
  • Create New...