Jump to content

[Open source] Dubai's OakBanker


dubai

Recommended Posts

Dubai's OakBanker

Oak-Banker8hours.png

Chops and banks Oak logs north of falador.

-Will only bank logs, not axes.

 

HOW TO RUN:

-Start at falador west bank.

 

I wrote this quickly for a farm I was working on so it's kinda messy but it works really well, I've had some huge runtimes on it so thought I'd release it. I plan to start adding mule support into my scripts now so I might come back to this one for that.

 

------------------------------------------------------------------

DOWNLOAD (Add to your OSBot\Scripts folder)

------------------------------------------------------------------

 

SOURCE:

  Reveal hidden contents

 

Edited by dubai
Fixed download link
Link to comment
Share on other sites

Nice script!

Just a thought, but maybe an area of improvement might be to make a custom sleep class/function, with optional "antiban", although I must say, I haven't found that the addition of antiban type features actually does reduce ban rate

private void waitForChop(Entity tree) throws InterruptedException {
        while (tree.exists() && !getInventory().isFull()) {
            sleep(random(1000, 1500));
            triggerAntiban(); // Trigger antiban during chopping
        }
    }

Here for example, you are waiting a fairly fixed amount of time, then performing an antiban action

It would be better to write a class hosting a function that runs a while loop that sleeps every 50ms or so, and boolean checks for the tree to be chopped, however, unlike conditionalsleep function that already exists, you can add antiban into the loop such as changing tabs, examining a random nearby object, etc

You would have to refactor the % chance though to accomodate for the while loop running so often

Link to comment
Share on other sites

  On 9/9/2024 at 9:03 AM, Fanny said:

Nice script!

Just a thought, but maybe an area of improvement might be to make a custom sleep class/function, with optional "antiban", although I must say, I haven't found that the addition of antiban type features actually does reduce ban rate

private void waitForChop(Entity tree) throws InterruptedException {
        while (tree.exists() && !getInventory().isFull()) {
            sleep(random(1000, 1500));
            triggerAntiban(); // Trigger antiban during chopping
        }
    }

Here for example, you are waiting a fairly fixed amount of time, then performing an antiban action

It would be better to write a class hosting a function that runs a while loop that sleeps every 50ms or so, and boolean checks for the tree to be chopped, however, unlike conditionalsleep function that already exists, you can add antiban into the loop such as changing tabs, examining a random nearby object, etc

You would have to refactor the % chance though to accomodate for the while loop running so often

Expand  

To be honest I dont think this method of anti ban stratagy is effective at all after testing 😛 I think the real magic is when AI is baught into bots to bring them to life. Something I really want to start looking into.

Link to comment
Share on other sites

  On 9/9/2024 at 9:26 AM, Fanny said:

What use cases are you thinking?

Expand  

Ultimately LLMs that can complete the game from; account creation to maxing while beating bot detection. I think thats the end game anyway. With input spoofing, how can we truly detect AI? I mean ethically of course...

 

  On 9/9/2024 at 7:41 PM, Dextrell said:

Clean and straightforward great work!

Expand  

Thank you!

Link to comment
Share on other sites

  • 3 weeks later...
  On 10/29/2024 at 2:15 AM, dubai said:
Expand  

It looks like what you are sharing are one-time links. I got it downloaded, but upon revisiting the link it's no longer available. Using Mediafire or something else you should have unlimited downloads automatically allowed. 
The below screenshot was taken before downloading:

G3T2y1p.png

 

Also FYI that's the class / source files, not a .jar. I can't use that unfortunately haha. Might be good to learn some coding myself with it though!

Edited by tmanowen
not a .jar
  • Sad 1
Link to comment
Share on other sites

  On 10/29/2024 at 2:26 AM, tmanowen said:

Also FYI that's the class / source files, not a .jar. I can't use that unfortunately haha. Might be good to learn some coding myself with it though!

Expand  

If you extract the .class files into your osbot scripts folder, it will show up in your osbot client.

Also I had no idea the default for file.io was to delete after downloading... oops

I'll update the link in the OP to mediafire: https://www.mediafire.com/file/9i1d7yip816i59h/OakBanker$1.zip/file

Edited by dubai
Link to comment
Share on other sites

  On 10/29/2024 at 6:18 AM, dubai said:

If you extract the .class files into your osbot scripts folder, it will show up in your osbot client.

Also I had no idea the default for file.io was to delete after downloading... oops

I'll update the link in the OP to mediafire: https://www.mediafire.com/file/9i1d7yip816i59h/OakBanker$1.zip/file

Expand  

Oh haha, cool! Thanks for educating me on that.

Edit: I unfortunately haven't been able to get it to work either having the class files or the 'Oak Banker$1' folder within my C:\Users\MYNAME\OSBot\Scripts folder
This is the error in general I'm receiving within the client:

[ERROR][10/29 10:56:39 AM]: Failed to load local script : C:\Users\MYNAME\OSBot\Scripts\OakBanker$1\OakBanker$1.class
[ERROR][10/29 10:56:39 AM]: Failed to load local script : C:\Users\MYNAME\OSBot\Scripts\OakBanker$1\OakBanker$BooleanSupplier.class
[ERROR][10/29 10:56:39 AM]: Failed to load local script : C:\Users\MYNAME\OSBot\Scripts\OakBanker$1\OakBanker$State.class
[ERROR][10/29 10:56:39 AM]: Failed to load local script : C:\Users\MYNAME\OSBot\Scripts\OakBanker$1\OakBanker.class

I even tried changing the folder name to not have the $'s and alternatively tried the .class names to not contain the $. No iteration of the files appeared to have it working for me. 

Link to comment
Share on other sites

  On 10/29/2024 at 2:59 PM, tmanowen said:

Edit: I unfortunately haven't been able to get it to work either having the class files or the 'Oak Banker$1' folder within my C:\Users\MYNAME\OSBot\Scripts folder
This is the error in general I'm receiving within the client:

Expand  

Hmm strange, I was running my scripts like this for a while..
Not to worry, when I get back to my workstation I'll create a new .jar for this if you're still keen to try it.

  • Heart 1
Link to comment
Share on other sites

  • 2 weeks later...

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...