Jump to content

Token

Script Officer
  • Posts

    8431
  • Joined

  • Last visited

  • Days Won

    49
  • Feedback

    100%

Everything posted by Token

  1. Token

    Stealth Quester

    Nah by the time I reached the end of the list I forgot Lost City requires 31 crafting, Elemental Workshop I also requires 20 crafting. Let me know if you want to test the script instead of buying it as you should always make sure scripts are what you expect them to be before you buy them.
  2. Token

    Stealth Quester

    31 Crafting 36 Woodcutting 30 Ranged 20 Firemaking 41 Cooking 10 Fishing 18 Slayer 20 Crafting 20 Mining 20 Smithing
  3. Delete OSBot folder and reinstall webwalking data when prompted upon launching the client. I've seen a similar error before.
  4. Taken from my Stealth Quester's API: public static Position getClosestBank(API api) { ArrayList<BankEntry> banks = new ArrayList<BankEntry>(); for (Bank bank : Bank.values()) { if (!api.worlds.isMembersWorld() && !bank.isF2P) continue; List<IDirection> directions = api.finder.route(api, api.myPosition(), bank.walkablePosition); if (directions != null) { banks.add(new BankEntry(bank.walkablePosition, bank, directions.size())); } } banks.sort(new Comparator<BankEntry>() { public int compare(BankEntry entry1, BankEntry entry2) { return entry1.directions - entry2.directions; } }); if (banks.size() > 0) { Bank closestBank = banks.get(0).bank; api.log("[DEBUG][BANKING] Closest bank is: " + closestBank + " " + banks.get(0).walkablePosition); return banks.get(0).walkablePosition; } else { return null; } } As you may notice this actually finds the closest bank based on webwalking paths and NOT PLAIN DISTANCE. The banks are associated "walkable" positions so it only polls those positions making the algorithm run a lot faster. This method may take up to ~15 seconds to execute if you poll all positions in every bank so I strongly advise you to do it like I did with the walkablePosition when defining the Bank enum. public static class BankEntry { public BankEntry(Position walkablePosition, Bank bank, int directions) { this.walkablePosition = walkablePosition; this.bank = bank; this.directions = directions; } Position walkablePosition; Bank bank; int directions; } The BankEntry class was defined for the sake of being a data structure (as I'm used to lower level programming languages), you may find more "OOP" implementations for this or you can just remove the class altogether and do the data mapping inside that method. EDIT: The purpose of this method is to actually find the closest bank without being forced to walk to it. You may walk to it if you want as the returned position is guaranteed to be accessible by the webwalker.
  5. Token

    Stealth Quester

    Authed Did you create a custom gear preset containing a Ring of wealth (4)?
  6. Windows mouse recorder now displays paint on the runescape canvas?! I've seen it all.
  7. Token

    Stealth Quester

    Thanks for the feedback
  8. Token

    Stealth Quester

    It previously had a popup which tells the user if he doesn't have the required amount of money but it was unintentionally removed when I rewrote banking 2 weeks ago. I have put the popup back and now it will stop the script upon failing to withdraw the items so that it doesn't loop. Let me know if you are having any other issues.
  9. Token

    Stealth Quester

    Are you using mirror mode? Can you send me the messages printed in your logger? EDIT: Are you sure you have enough money in bank to actually buy the required items?
  10. Token

    Stealth Quester

    Authed To be announced
  11. WTF IS THIS? YOU MADE FRIENDS WHILE BOTTING? :ninja: :ninja: :ninja:
  12. Programs running under pretty much any operating system function based on "focus" so that you only have 1 window focused at once, therefore all keyboard/mouse input will be sent to that specific window. There are some programs that can be used to record input while they are not focused called "keyloggers". They are generally written in low level programming languages though as you need more access to the architecture than what Java might provide. I have implementations for keyloggers in both C and assembly. The C implementation is rather easy as C provides functions for this. The assembly one is rather difficult and it's based entirely on interrupt redirection. I am not aware of a possible implementation of keyloggers in Java (especially because the code runs in the JVM which breaks the connection to the actual architecture), but you could link native code through the JNI. If you plan to do this on the SDN there is no way it will be allowed but you might get away with it in local scripts.
  13. Token

    Stealth Quester

    Yes the script has been expanding ever since the beta release in February when it only had 18 quests.
  14. Token

    Stealth Quester

    Authed Yes. Authed Authed
  15. Token

    Stealth Quester

    Sure my skype is tokenscape.
  16. Token

    Stealth Quester

    What other quests do you add to the list? Can you provide more log messages through http://pastebin.com/? What's your gear preset for that?
  17. Token

    Stealth Quester

    I'll try to reproduce the issue, did you use the All quick start button on all of them?
  18. Token

    Stealth Quester

    Hmmm, that's relatively odd. When I tested it I never got caught. How often did this happen?
  19. You mean the onExit() method?
  20. Token

    Stealth Quester

    The dungeon, as in, opening the cupboard and retrieving the magnet? Did you run RFD Dwarf Subquest through the RFD quick start button or the All button? If you used a custom list did you select the spell on autocast when loading gear and the script displayed the spell both on the GUI and at the start of the quest in logger?
  21. All IO operations are restricted to "user.home\OSBot\Data". That script is accessing data outside that folder so it is not allowed to run.
×
×
  • Create New...