CasDeBlanco Posted February 15, 2018 Author Share Posted February 15, 2018 1 hour ago, Fibonacci said: nice work! Thank you 1 hour ago, scriptersteve said: Also allows for occasional double drinking especially with higher prayer levels which I think is really nice Will be a nice feature tbf, will most likely add it soon 49 minutes ago, GeneralMayor said: very quick delivery lol Thank you haha 47 minutes ago, jonny1179 said: Your logic for selecting which pot to drink could be simplified: Optional<Item> prayerPotion = Arrays.stream(getInventory().getItems()) .filter(item -> item != null && item.getName().startsWith("Prayer potion")) .min(Comparator.comparing(Item::getName)); if (prayerPotion.isPresent()) { Item pot = prayerPotion.get(); } Thank you will look into changing it this soon! Quote Link to comment Share on other sites More sharing options...
CasDeBlanco Posted February 15, 2018 Author Share Posted February 15, 2018 Update: Released V0.2 Simplified the dose choosing logic thanks to @jonny1179 1 Quote Link to comment Share on other sites More sharing options...
Attaboy Posted February 15, 2018 Share Posted February 15, 2018 Not trying to sound rude but is there a possibilty that Super Restores can be added? Prayer pots/Super restores are at the same price rn! Quote Link to comment Share on other sites More sharing options...
CasDeBlanco Posted February 15, 2018 Author Share Posted February 15, 2018 (edited) 22 minutes ago, Attaboy said: Not trying to sound rude but is there a possibilty that Super Restores can be added? Prayer pots/Super restores are at the same price rn! Sure, will upload in a moment Edit: Added an option for Super restores! Edited February 15, 2018 by Castro_ Quote Link to comment Share on other sites More sharing options...
gearing Posted February 15, 2018 Share Posted February 15, 2018 4 hours ago, Castro_ said: Was bored and saw someone wanted one so I thought I'd do it haha nice! care to make a cannon reloading script as well?:P Quote Link to comment Share on other sites More sharing options...
Attaboy Posted February 15, 2018 Share Posted February 15, 2018 29 minutes ago, Castro_ said: Sure, will upload in a moment Edit: Added an option for Super restores! Thanks alot man! I didn't expect that someone would actually make something like this. This script may be usefull for alot of people. I have tested it for an hour and It worked great! Quote Link to comment Share on other sites More sharing options...
CasDeBlanco Posted February 15, 2018 Author Share Posted February 15, 2018 8 minutes ago, gearing said: haha nice! care to make a cannon reloading script as well?:P I may do when i get some more time ;) 3 minutes ago, Attaboy said: Thanks alot man! I didn't expect that someone would actually make something like this. This script may be usefull for alot of people. I have tested it for an hour and It worked great! No worries and awesome man! Let me know if you find anything wrong with it! Quote Link to comment Share on other sites More sharing options...
jonny1179 Posted February 15, 2018 Share Posted February 15, 2018 1 hour ago, gearing said: haha nice! care to make a cannon reloading script as well?:P This is an old script I made, hasn't been tested in a few months however might still work. It AFK's with a Cannon at caged ogres. AFKCannon.jar 1 Quote Link to comment Share on other sites More sharing options...
gearing Posted February 15, 2018 Share Posted February 15, 2018 7 minutes ago, jonny1179 said: This is an old script I made, hasn't been tested in a few months however might still work. It AFK's with a Cannon at caged ogres. AFKCannon.jar cheers! Quote Link to comment Share on other sites More sharing options...
01053 Posted February 16, 2018 Share Posted February 16, 2018 Nice work - Just a simple suggestion however in the future instead of doing this; btnStart.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent arg0) { if(chckbxDrinkSuperRestores.isSelected()) { drink_restores = true; } drink_at = Integer.parseInt(textField.getText()); gui_COMPLETE = true; } }); You can simplify this into btnStart.addActionListener(e -> { if (chckbxDrinkSuperRestores.isSelected()) drink_restores = true; drink_at = Integer.parseInt(textField.getText()); gui_COMPLETE = true; }); Quote Link to comment Share on other sites More sharing options...
Attaboy Posted February 16, 2018 Share Posted February 16, 2018 I have been using it for a few hours yesterday and Super Restores are not working unfortunatly! Also, instead of drinking a pot at a certain prayer level maybe you can make some sort of randomizer so it doesn't always drink at the same prayer level. But other than super restore issue, the bot is working fine! Quote Link to comment Share on other sites More sharing options...
CasDeBlanco Posted February 16, 2018 Author Share Posted February 16, 2018 21 minutes ago, Attaboy said: I have been using it for a few hours yesterday and Super Restores are not working unfortunatly! Also, instead of drinking a pot at a certain prayer level maybe you can make some sort of randomizer so it doesn't always drink at the same prayer level. But other than super restore issue, the bot is working fine! Just tested, super restores seem to be working for me? Try restarting the client or deleting the .jar from your local scripts folder and re-downloading and adding it back. Also I will add some randomisation soon as I'm currently working on some other scripts at the moment Quote Link to comment Share on other sites More sharing options...
scriptersteve Posted February 16, 2018 Share Posted February 16, 2018 (edited) 1 hour ago, Attaboy said: I have been using it for a few hours yesterday and Super Restores are not working unfortunatly! Also, instead of drinking a pot at a certain prayer level maybe you can make some sort of randomizer so it doesn't always drink at the same prayer level. But other than super restore issue, the bot is working fine! not hard to edit it yourself and add that. it is infact 3 lines of code Edited February 16, 2018 by scriptersteve Quote Link to comment Share on other sites More sharing options...
Signatures Posted February 16, 2018 Share Posted February 16, 2018 2 hours ago, scriptersteve said: not hard to edit it yourself and add that. it is infact 3 lines of code Not everybody can code lol.. Quote Link to comment Share on other sites More sharing options...
Attaboy Posted February 16, 2018 Share Posted February 16, 2018 3 hours ago, Castro_ said: Just tested, super restores seem to be working for me? Try restarting the client or deleting the .jar from your local scripts folder and re-downloading and adding it back. Also I will add some randomisation soon as I'm currently working on some other scripts at the moment Will try! Quote Link to comment Share on other sites More sharing options...