smy Posted September 24, 2018 Posted September 24, 2018 (edited) Script that completes Restless Ghost, Rune Mysteries and Romeo & Juliet quest for 7 quest points. No items required. Quests that this script is doing: Restless Ghost Rune Mysteries Romeo & Juliet As it's my first script, I would love to take your criticism. If you experience any bug, please let me know. Source: https://bitbucket.org/smykolas/7qp_osbot Jar: https://bitbucket.org/smykolas/7qp_osbot/downloads/7qp.jar Improvements that I will make: Spoiler Paint. Add more quests to reduce ban rate. Improve webwalking. Changelog: Spoiler V1.0 - Initial release. (2018/09/24) V1.01 - Just added paint which will show time elapsed, mouse and task. (2018/09/27) V1.1 - Added Cook's Assistant quest, but I'll need to add it manually, because I will create GUI for that. (2018/10/03) Thanks to @billyboy420 and @The Undefeated for configs. Edited October 3, 2018 by smy
Ragnar Lothbrok Posted September 24, 2018 Posted September 24, 2018 (edited) Looks good, had a quick look at the source and noticed you'll try and pick from the Cadava bush even if there's no berries to be picked. Here's a snippet that will pick from the closest bush with berries: Entity bush = getObjects().closest(b -> b != null && b.getName().equals("Cadava bush") && b.getModelIds().length > 1); if (bush != null) { if (bush.interact("Pick-from")) { new ConditionalSleep(5000) { @Override public boolean condition() throws InterruptedException { return getInventory.contains("Cadava berries"); } }.sleep(); } } Edited September 24, 2018 by Ragnar Lothbrok remove custom sleep method
smy Posted September 24, 2018 Author Posted September 24, 2018 4 minutes ago, Ragnar Lothbrok said: Looks good, had a quick look at the source and noticed you'll try and pick from the Cadava bush even if there's no berries to be picked. Here's a snippet that will pick from the closest bush with berries: Entity bush = getObjects().closest(b -> b != null && b.getName().equals("Cadava bush") && b.getModelIds().length > 1); if (bush != null) { if (bush.interact("Pick-from")) { new ConditionalSleep(5000) { @Override public boolean condition() throws InterruptedException { return getInventory.contains("Cadava berries"); } }.sleep(); } } Thanks, I knew this mistake, but I didn't knew the approach. I will fix it
Kramnik Posted January 6, 2019 Posted January 6, 2019 Seems nice but currently broken due to holiday event but completed restless ghost. Hope I can use it after event is over
hreyvirtue Posted January 6, 2019 Posted January 6, 2019 (edited) 1 hour ago, kramnik said: Seems nice but currently broken due to holiday event but completed restless ghost. Hope I can use it after event is over You can use it now, whenever the script goes to talk to duke, just press 2 and itll proceed as normal Edited January 6, 2019 by hreyvirtue
Koschei Posted January 7, 2019 Posted January 7, 2019 Maybe easier to just use a switch statement with a value rather than have a bunch of if statements. if(api.configs.get(29) == 0) { //code } if(api.configs.get(29) == 1) { //code } etc to something like switch(api.configs.get(29)){ case 0: //code return 600; //Default sleep or just break case 1: //code return 600; }
Satan Posted January 20, 2019 Posted January 20, 2019 Thanks for this great script! Few bugs: Typo in paint Sometimes dies at dark wizards Sometimes when Juliet isn't on the balcony but in the room, it will get stuck between walking to the balcony and clicking on her. Sometimes during rune mysteries it gets stuck in the basement, not sure why. this happens rarely.
Mysteryy Posted January 21, 2019 Posted January 21, 2019 On 9/24/2018 at 10:03 AM, Ragnar Lothbrok said: Looks good, had a quick look at the source and noticed you'll try and pick from the Cadava bush even if there's no berries to be picked. Here's a snippet that will pick from the closest bush with berries: Entity bush = getObjects().closest(b -> b != null && b.getName().equals("Cadava bush") && b.getModelIds().length > 1); if (bush != null) { if (bush.interact("Pick-from")) { new ConditionalSleep(5000) { @Override public boolean condition() throws InterruptedException { return getInventory.contains("Cadava berries"); } }.sleep(); } } ConditionalSleep2 pls
klemvast Posted January 21, 2019 Posted January 21, 2019 Bug Report: Restless Ghost, stays stuck at the door when camera isnt in the right position too click the door. Aswell noticed (probably by not enough breaks too run it smooth on my craptop) that with multiple accounts (3 out of 5) don't finish all the quests completely.
KayHelios Posted April 21, 2019 Posted April 21, 2019 (edited) Bug: Restless ghost, bot clicked on ghost amulet but it didn't equip and was stuck talking to the ghost. Edited April 21, 2019 by KayHelios
snowek Posted July 22, 2020 Posted July 22, 2020 a few hiccups but if you babysit it a little, works pretty damn good to this day
StaticSyntax Posted December 11, 2020 Posted December 11, 2020 "You do not have access to this repository." Is this an error or do I have to ask for access?
FritzBrickz Posted May 20, 2021 Posted May 20, 2021 On 12/11/2020 at 3:23 AM, StaticSyntax said: "You do not have access to this repository." Is this an error or do I have to ask for access? i have the same... any updates? looks like a nice starter acc script