Everything posted by Token
- Stealth Quester
-
Creating a filter for ground items
Apply area filter: GroundItem item = groundItems.closest(new AreaFilter<GroundItem>(AREA)); You can also add other filters for example a name filter: GroundItem item = groundItems.closest(new AreaFilter<GroundItem>(AREA), new NameFilter<GroundItem>(NAME));
- Stealth Quester
- Stealth Quester
- Stealth Quester
-
Stealth Quester
Thanks for the feedback Let me know if you are having any issues.
-
Stealth Quester
Thanks for the feedback. Yes the RFD Evil Dave will be added soon after I manage to finish the boss fight in Shadow of the Storm as it's quite a difficult one especially because I aim to do these quests on lowest possible stats. EDIT: almost finished clearing the Temple Trekking minigame bugs so the Shades of Mort'ton quest will be available in the GUI soon. Also pushed an update to fix many bugs including banking errors in Waterfall Quest and Animal Magnetism, config matching errors for Elemental Workshop I and RFD Pirate Subquest, added a workaround for the webwalking bug occuring in Gertrude's Cat.
-
Stealth Quester
Thanks for the report, I'm running a few tests on it in a few minutes then I'll push a fix. 0 for now.
-
Stealth Quester
Thanks for the report, that's unfortunately an internal error in the webwalker. I think it should work if you start it somewhere else not around Al Kharid as that's where the webwalker might attempt to use shortcuts (and fail to do so) if you have unlocked the gnome gliders.
-
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.
- Stealth Quester
-
Stealth Quester
31 Crafting 36 Woodcutting 30 Ranged 20 Firemaking 41 Cooking 10 Fishing 18 Slayer 20 Crafting 20 Mining 20 Smithing
-
Client display issues and more.
Delete OSBot folder and reinstall webwalking data when prompted upon launching the client. I've seen a similar error before.
-
Get closest bank!
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.
-
Stealth Quester
Authed Did you create a custom gear preset containing a Ring of wealth (4)?
-
gotta love mouse recorders
Windows mouse recorder now displays paint on the runescape canvas?! I've seen it all.
- Stealth Quester
-
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.
-
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?
- Stealth Quester
-
Banned at 98 hunter
WTF IS THIS? YOU MADE FRIENDS WHILE BOTTING? :ninja: :ninja: :ninja:
-
Removing KeyListener
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.
-
Stealth Quester
Yes the script has been expanding ever since the beta release in February when it only had 18 quests.
- Stealth Quester
- Stealth Quester