Nom

Bank sorter

Recommended Posts

Nom   

Only sorts tabs.

Must be set to Swap mode.

Only sorts if every item in tab is visible. Set to resizeable and increase the screen height if you need to.

 

Sort types:

Item id (not recommended)

Alphabetical

Model (will put items that look similar together)

 

 

Source

https://github.com/tanlines/powerbot-scripts/blob/master/src/scripts/bank_sorter/Main.java

 

Open to any ideas to improve the script, I doubt my approach is very efficient atm.

Edited by Nom

Share this post


Link to post


Nom   
17 hours ago, iDzn said:

Doesn't really work, tried to use it to sort out my pots tab and just moved stuff around randomly from what I can tell. Had it set to swap mode and Model.

https://gyazo.com/c3c7313bdb397f36dcb597d595ff9573

 

My suggestion would be to do it off of name rather than models.

Need to let it run until the end, takes a while. 

Share this post


Link to post
iDzn   
32 minutes ago, Nom said:

Need to let it run until the end, takes a while. 

Didn’t want to watch it spazz out for too long 😛

Share this post


Link to post
Nom   
16 minutes ago, skillernow said:

Stupid, bad written, for your own sake, just delete this script

StUpId, BaD WrItTeN, fOr yOuR OwN SaKe, JuSt dElEtE ThIs sCrIpT

 

Source code for your convenience because you're obviously an intellectual, and hence can write much better scripts.

        String shitComment = "Stupid, bad written, for your own sake, just delete this script";
        for (int i = 0; i < shitComment.length();i++) {
            char c = (i%2==0) ? Character.toUpperCase(shitComment.charAt(i)) : Character.toLowerCase(shitComment.charAt(i));
            System.out.print(c);
        }

 

Share this post


Link to post
iDzn   
31 minutes ago, Nom said:

Some updates to improve efficiency, video demo @iDzn

 

 

Ahh nice, will check it out!

Share this post


Link to post
Nom   
2 minutes ago, duff24 said:

does this script still work? i have tried it earlier and couldnt seem to get it going..

I made some changes which broke this to get another script working, I'll try and get it fixed.

Share this post


Link to post

@Nom Im guessing its still broken?

I get two little green/red boxes ontop of the "Note" button in the Banks' "Withdraw as:" section aswell as it selects the Note.

Then it just idles.

I would love to have my bank organized js.

Edited by theDumpsterman

Share this post


Link to post
Nom   
On 11/3/2018 at 1:19 PM, theDumpsterman said:

@Nom Im guessing its still broken?

I get two little green/red boxes ontop of the "Note" button in the Banks' "Withdraw as:" section aswell as it selects the Note.

Then it just idles.

I would love to have my bank organized js.

 

9 hours ago, Kingkovi1414 said:

Cant get it to work for me. Not sure why, i have it on tabs and every item is visible

 

Should be working now.

Share this post


Link to post
Nom   
9 minutes ago, auhdy said:

Everytime i run the script the bot stays on SWAP. Doesnt move from that position. 

Fixed. Thanks for actually telling me what was wrong, helps me fix it faster.

Edited by Nom

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now