Jump to content

Perfect Fisher AIO


Czar

Recommended Posts

Been getting this error today when trying to fish lobsters at karamja with banking enabled, Changing the other settings did not seem to have any effect, i am currently running .38.

 

[ERROR][bot #1][03/07 11:54:36 AM]: Error in script executor!
java.lang.NullPointerException
at org.osbot.rs07.api.Widgets.getWidgets(bk:272)
at org.osbot.rs07.api.Widgets.getAll(bk:172)
at org.osbot.rs07.api.filter.FilterAPI.filter(rh:259)
at org.osbot.rs07.api.Widgets.containingText(bk:455)
at org.osbot.rs07.api.DepositBox.getInterfaceId(nj:190)
at org.osbot.rs07.api.DepositBox.isOpen(nj:274)
at com.czar.Aux.h(r:686)
at com.czar.Nul.d(r:957)
at com.czar.Aux.onLoop(r:326)
at org.osbot.rs07.event.ScriptExecutor$InternalExecutor.run(ok:252)
at java.lang.Thread.run(Unknown Source)
 
  • Like 1
Link to comment
Share on other sites

Alright I have contacted the devs for this because it seems like most scripters are having this problem too, I will make a temporary workaround where it uses the fish on the deposit box, since the deposit box interface is crashing osbot. 

 

Version 2.97

 

- Temporary fix to deposit boxes until OSB is fixed

 

Update should be live within an hour (until admin verifies it) biggrin.png

 

Post suggestions below (if any)

 

EDIT: Seems like the other fishing scripts are affected by this too. :(

 

Here's a screenshot of the new update:

 

z0Q3Fuf.png

 

I expanded the GUI, added a tool tip (help) for each option and added a new option for emergency purposes (if the depositing feature is ever broken, you can use the backup one)

Edited by Czar
Link to comment
Share on other sites

updated to .40 and i think the bot is broken again ^.^ The fishing spot runs out and it doesnt move to the next spot i think thats the issue, whenever i check on it the bot is logged out and when i log back in he has only about half an inventory of fish.

I added a delay to changing fishing spots so that it doesn't look like a bot. Also, enable Anti-AFK in the GUI to stop it from logging out. I will make some tests to make sure everything is working, however.

Thanks for the feedback, will update in ~30 minutes.

EDIT:

Alright, I fished shrimps @ Karamja and it changed the spots perfectly fine. I'm powerfishing and I enabled anti-afk.

I will make an update which makes it Anti-AFK by default, and if you want to AFK then you can enable it in the GUI.

Edited by Czar
  • Like 1
Link to comment
Share on other sites

got stuck at karamja going banking just walking back and forth. osbot 2.3.41

Thanks for this awesome script. again

Where exactly did it get stuck, and where did it walk, and did the script correct itself

Alright I have added some updates to the script to make it perform better and more efficiently.

 

Version 2.99

 

- Fixed broken font in paint

- Fixed getting stuck in port sarim (happened randomly)

- Added more accurate price grabber (more accurate profit)

Edited by Czar
Link to comment
Share on other sites

For some reason the bot still logs out after a while even when i have the afk setting on. 

[DEBUG][Bot #1][03/11 06:06:21 PM]: / Visible: 204 : 0. message [You can't carry any more Lobsters.]
[DEBUG][Bot #1][03/11 06:06:21 PM]: / Visible: 204 : 1. message [Click here to continue]
[DEBUG][Bot #1][03/11 06:06:21 PM]: / Found message [to continue] i:1
[INFO][Bot #1][03/11 06:16:06 PM]: Terminating script Perfect Fisher...
[DEBUG][Bot #1][03/11 06:16:06 PM]: / // PerfectFisher terminated
[DEBUG][Bot #1][03/11 06:16:06 PM]: / // Fish caught: 103.
[INFO][Bot #1][03/11 06:16:06 PM]: Script Perfect Fisher has exited!

I'm assuming it has something to do with the player cam not being able to see the next fishing spot then just logs out.

Link to comment
Share on other sites

Hmm latest client? .42, and was the dialogue open until it logged out?

 

 

Yup client .42, not sure if dialogue was open or not but i know at catherby if it can't find a fishing spot ( the fishing spot is out of vision of bot ) it'll log out, at fishing guild im not sure why, i'll keep an eye out when it does it again to see. 

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...