Everything posted by Apaec
-
APA Sand Crabs
Hey, Sounds like the script might have run out of an item - if you open the console logger, it should display a reason for stopping and logging out. Hope this helps - let me know if you're still running into issues! -Apa
-
APA Script Trials
Sure, trial activated. Have you considered sand crabs instead? I've also got a script for them and they're better exp/h! https://osbot.org/forum/topic/98799-apa-sand-crabs/ -Apa
-
APA Rooftop Agility
It does. Let me know if you'd like to give the script a trial! -Apa
-
APA AIO Herblore
Thanks for the kind words -Apa
-
A Beginners Guide to Writing OSBot Scripts (where to get started!) by Apaec
Nice work, and well done getting something of your own up and running! My main piece of advice based on your code is to focus more on reliability. An important thing to remember is that the code interacts with a live game: a complex system with many points of failure beyond your control. As a result, any game interaction might fail. For this reason, it is important that at no point you implicitly depend on an interaction succeeding. For example, on line 28 you open the bank. However, this might fail! You then immediately proceed to deposit your items on line 32 assuming the bank is open. We can't deposit items if the bank failed to open, therefore line 32 might throw an error. A good way to avoid this is to ensure that, given a game state, only one interaction follows. E.g., the following code would be an improvement: onLoop() { if (getBank().isOpen()) { getBank().depositAll(); } else { getBank().open(); } }
-
APA Script Trials
Cheers, glad the script is living up to expectations!
-
APA Script Trials
Sure, trial activated -Apa
-
APA Script Trials
Sure, trial started -Apa
-
APA Script Trials
Hey! Hi, sure - trial activated -Apa
-
APA Script Trials
Sure, trial activated -Apa
-
APA Sand Crabs
Sorry I didn't get to you in time! Thanks for your custom and I hope the script lives up to expectations -Apa
-
APA Script Trials
Sure! Trial activated. -Apa
-
APA Sand Crabs
Sure - trial started -Apa
-
APA Sand Crabs
Sure, trial activated -Apa
-
APA Rock Crabs
Hey - I haven't in the past for a few reasons: (1) I didn't want to clutter the UI any more than needed; (2) I didn't want to add the risk of changing to an attack style by accident (e.g., accidentally levelling your pure to 2def because you used settings saved for another account). I might revisit this in the future though as I could see this being a useful feature if implemented in the right way! -Apa
-
APA Rooftop Agility
Sure, trial activated -Apa
-
APA AIO Smither
Sure - trial started -Apa
-
APA Script Trials
Sure, trial started. Enjoy! -Apa
-
APA Sand Crabs
Hey, That's a bit strange - normally the script does this if you've enabled special attack but are using a weapon without a special attack. Please could you double-check the settings to make sure this isn't the case? -Apa
-
APA Script Trials
Sure - 24h trial started for sand crabs -Apa
-
APA Script Trials
Hi, sorry for the delay, I've just enabled a 24h trial on your account, Best, Apa
-
APA Sand Crabs
Great to hear! Also - nice build -Apa
-
APA Gilded Altar
Hey, Sounds like the script was unable to find a suitable POH with a Gilded altar. Have you made sure that someone is hosting on the world you're in? Normally people host on W330. The script doesn't support your own POH, nor house locations other than Rimmington. In the future, the script will always display a reason for stopping/logging out. If this happens unexpectedly in the future, open the console logger and that should hopefully give you some useful information to get to the bottom of the issue! -Apa
-
APA Unicow Killer
Oh - I hadn't realised this diary reward was a thing, and it looks like there isn't a way to disable this behaviour in-game... I'll get the diaries done on my test account so that I can fix this. -Apa
-
APA Sand Crabs
Sure - trial activated -Apa