• Log in or sign up for an account here: https://www.sythe.org/login

Seers oak log banker

Program

Formerly known as Andy Samberg

Retired Sectional Moderator
Joined
Sep 17, 2015
Sythe Gold
902
Messages
5,003
The script cuts oak logs and banks them in seers village. The camera angle needs to be the default angle left and right and raised to the highest view up and down and zoomed all the way out. Start the script in the spot next to both the oak trees outside seers bank.

This isn't necessarily a average user script

Once again, this is raw development code. I usually follow a process of "make it work" -> "make it clean." And this script never made it to the second step, so I'm not interested in a code review. If you improve the script, I'll edit this to reflect improvements though.

I'll add that I got mils of exp with these scripts and haven't seen a ban.

Code:
SetVirtualMouseJavaModeOn();

global font1 = LoadFontFromBitmap(LoadBitmapFromString(
        "0006!0q_70LRx4sF+o`-Q(69p^U(kguHXRVl1Tsn0MG=!91lqkYyysv05B4pQlF|AB=t!pCYVX" +
        "2)h2*aN}8UdPWxLnl6jJ%>_}#<YMUm-wKGsQs=Eg^#D-)KbxvtDmSwF`?t#to6n2AZ-MNfjWpv" +
        "RtIc{xZVmAA`T-_+vEwW>7>yr?annH-Gie}w9`?p^E+rsyAG}0uaMw4CKk&-5DV<ne%>3gf9b=" +
        "?V}nG$6ILOFj|n@D6x+BEyG-1nW{OQ`kpiYSR9$QhNKw6V6NbuL%Ur1^Q0`OT7&ii>>TFC$(%i" +
        "854~kjs0nAfO`!ht{f6`O;L^$Bcz}<S^}FUgn=z1{nnaL{LzA)qd-*&AAX(^4%-Ta>=Bm$%au(" +
        "O=UClkK^Xv?$`6%v7#o~UT%r82MKpVMRLX0n(UK%baPDkU{8|6Y9g@G4~^Dkag}pp1{>b<1!3o" +
        "IGbEXSBL!Fp!>t`L0Y;WeQ}c>hDrnXE?bL+LtMcZOX=u-TyoIJmGw$+yu8SE3CYo5vYcfa_l9E" +
        "4n0cDVM)x!j_ETU4!?zPb|Br%MVGg4w94PD$3Nf8l1WeJJ2UEQFvKJLr9?Xe)lf|GvSOvN|02P" +
        "8)&ePssOHnEFDNnG0I+Zx_;ZHqs=QO#d9T*YE(WTK-|8r;_^BC=Z+weVleUo~6aqqJ>XD)UapX" +
        "-2WJqeY)}ZOy45W(ug<^K#o}CM$2va=CoksVVf810+SHMgA`2ig2MJ{SW7&00000", 0xff00ff, true),
"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789:", 0xff00ff);

global font2 = LoadFontFromBitmap(LoadBitmapFromString(
        "0006x0j&TILRx4sF+o`-Q(3=4LO%c%!N4ZK000Ca01yBG0MG^=-~a#s009Fu12h6pRHF>g1tkZ" +
        "SP-RpYR8hxVUB=c^Qj;Yqqb(#*h^PsqM99RXj8ilcXoL(JMnRy=H4F)oLMn=)#v>RqM$sE@+gq" +
        "B(v~5Pl)dfb|7}XU>qhYXOv~9FoV`()dMxwE?sED!>fQcnW)f)t8Hj*haF)EE?Y|UcWwv$DQqi" +
        "mXrO=7X2qKj!Qv}!96sH1F_DAvZJi$z&9TUe_mjgYHi(pZaRi7jkeqM25WM$v6WA)+?1tw~lk(" +
        "X9sCOoXDOBN*7&)L9b2rfs5GWVD$!iYb(nGD;gLl0`eNmXa`Pjf)scN=->csI?)DnPSqBNK#FK" +
        "W)Mq8G_t{xDG3mo!z_s<7^KEaLP@a*g(7H(sgTUr%$1guXd@PB6qFc}G>K~=tYo7wv4V_522B>" +
        "3W`r5GVG;~d8Dk{Gz*L1S%P=BZRMizJV9O+lMN2YRjA+UbQW+9Wu!$OJi5OB;Y=)TyjFCu|A~v" +
        "IIC}lE6iAxhC3Jn>U#w4VhWXlwrOtDPcB}ye3W{nb(L9|q0sU*z|MUvJSDN7?sGb2h<N*a-%P*" +
        "jl;l%~x_3YH5dD$Izaf{+T6X2NNV$RwhHF>5JNjKY)?C6cNQ5@@MPjBTQgQMQQ0Rg|M`LTy<q8" +
        "&Rrev9{RS%>kIDZJ0KyY)Z{c$+Q}1RkEU+L~Pk=lu_|_BvXY63-lx-@Bjb+", 0xff00ff, true),
"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789:", 0xff00ff);

global font3 =  LoadFontFromBitmap(LoadBitmapFromString(
    "0001Q05|{&LRx4sF+o`-Q&~)QKpX%8$iM)=000260Pq3<C#WD+)wV??7?F_BCT$uplp7NylVfP" +
        "8ji9946m3S0vdBc*G-?nuXf$IOqKhPzB1SB+q9$NtB`DBA2q?h{l!+wGZDO^ni@744C`cwdAPx" +
        "Wk", 0xff00ff, true), "1234567890", 0xff00ff);

if (SetWindow("Old School") == ""){Die("Could not find runescape");}while(SelectInnerWindow("SunAwtCanvas")){}
// SetVirtualInputsOff();

ClickMouse(533,245,1);

def bankLogs() {
    var x = 0;
    var y = 0;
    ClickMouse(661, 30, 1);
    Sleep(14000);

    Scrape();
    while(FindColor(x, y, 9530692, 600, 210, 720, 250, 10)) {
     

        var depositBoxX = RandomInt(244,265);
        var depositBoxY = RandomInt(128,155);

        var depositAllX = RandomInt(430,456);
        var depositAllY = RandomInt(300,325);

        ClickMouse(depositBoxX, depositBoxY, 1);
        Sleep(1000);
        ClickMouse(depositAllX, depositAllY, 1);
        Sleep(300);

        KeyDown(27);
        Sleep(50);
        KeyUp(27);

        Sleep(700);
        Scrape();
    }

    ClickMouse(626, 134, 1);

    Sleep(14000);
}

def Main() {
    print("HELLO2");
    var x = 0;
    var y = 0;
    var firstTreeX = RandomInt(300, 350);
    var firstTreeY = RandomInt(150, 210);

    var secondTreeX = RandomInt(270, 315);
    var secondTreeY = RandomInt(60, 110);

    var timeout = 500;

    Scrape();
    while(true) {
        print("HELLO3");


        firstTreeX = RandomInt(300, 350);
        firstTreeY = RandomInt(150, 210);
        Scrape();
        if(!IsColor(GetColor(705,441),4932154, 30)) {
            bankLogs();
        }
        Scrape();
        timeout = 150;
        while(FindColor(x, y, 5256468, 300, 150, 350, 210, 10)) {
            Sleep(100);
            Scrape();
            if(timeout == 0) {
                break;
            }
            --timeout;
        }
        print("HELLO4");
        ClickMouse(firstTreeX, firstTreeY, 1);
        Scrape();
        timeout = 150;
        while(FindColor(x, y, 4804139, 300, 150, 350, 210, 10)) {
            Sleep(100);
            Scrape();
            if(timeout == 0 || FindColor(x, y, 5256468, 300, 150, 350, 210, 10)) {
                break;
            }
            --timeout;
            if(!IsColor(GetColor(705,441),4932154, 30)) {
                bankLogs();
                break;
            }
        }
        print("HELLO5");





        secondTreeX = RandomInt(270, 315);
        secondTreeY = RandomInt(60, 110);
        Scrape();
        if(!IsColor(GetColor(705,441),4932154, 30)) {
            bankLogs();
        }
        print("HELLO7");
        Scrape();
        timeout = 150;
        while(IsColor(GetColor(279,73),4209467, 10)) {
            Sleep(100);
            Scrape();
            if(timeout == 0) {
                break;
            }
            --timeout;
        }
        ClickMouse(secondTreeX, secondTreeY, 1);
        Scrape();
        timeout = 150;
        while(FindColor(x, y, 6318380, 270, 60, 315, 110, 10)) {
            Sleep(100);
            Scrape();
            if(timeout == 0) {
                break;
            }
            --timeout;
            if(!IsColor(GetColor(705,441),4932154, 30)) {
                bankLogs();
                break;
            }
        }
        print("HELLO8");

    }
}

print("HELLO1");
Main();
 
Last edited:
Works decent but you need to make sure it doesnt just click on a closed bank booth. It did for quite a while trying over and over
This isn't necessarily a average user script

This hasn't been vetted for everyone necessarily. It works for me, but not necessarily everyone without some tweaks. Also your screen should be sized to only be the rs client without blackspace.

Blupig is working on a upgrade to the SDE that will allow me to more easily make scripts with user input and there's another bug in using SytheLib with OSRS that I've been trying to pin down. Until then, roughdraft scripts for people who feel like finagling a little bit are the best bet.
 
Last edited:
Works decent but you need to make sure it doesnt just click on a closed bank booth. It did for quite a while trying over and over

However, in the interest of helping you along if you want to use this specific script long-term, I'd be happy to check out a short video/gif of the issue happening and getting in a Discord talk-channel and we can debug.
 
What is your brightness setting in OSRS? I could not get this to work for the life of me at any brightness setting. I was zoomed out all the way, camera angle up and down was up all the way, camera was default left and right. I was between the two oak trees southwest of the bank. What's the exact spot I should stand at? I am on Mac running parallels with Windows 10 if that helps. Not sure what's wrong exactly

Thanks!
 
What is your brightness setting in OSRS? I could not get this to work for the life of me at any brightness setting. I was zoomed out all the way, camera angle up and down was up all the way, camera was default left and right. I was between the two oak trees southwest of the bank. What's the exact spot I should stand at? I am on Mac running parallels with Windows 10 if that helps. Not sure what's wrong exactly

Thanks!

I'll look into/improve this script since it looks like you and others are interested :)
 
I'll look into/improve this script since it looks like you and others are interested :)

I got it to work on parallels, I just had to double all of the coordinates. HOWEVER, it seems that when both of the oak trees are down, it panics and just clicks where both oak trees were and ends up far away from the oak trees. I was on the 2nd brightness level while doing this and it did successfully bank one time, but then the oak trees were both unavailable and it failed.
 
Gotta test later on, thanks
 
Valentine's Singing Competition Winner
Sythe Awards 2015 Winner
Sythe Awards 2016 Winner
Sythe Awards 2020 Winner
Member of the Month Winner
MushyMuncher
Gohan has AIDS
Extreme Homosex
World War 3
I'm LAAAAAAAME
Discord Verified
Off Topic Participant
This hasn't been vetted for everyone necessarily. It works for me, but not necessarily everyone without some tweaks. Also your screen should be sized to only be the rs client without blackspace.

Blupig is working on a upgrade to the SDE that will allow me to more easily make scripts with user input and there's another bug in using SytheLib with OSRS that I've been trying to pin down. Until then, roughdraft scripts for people who feel like finagling a little bit are the best bet.


Sad reacts only

What's the bug in SytheLib?
 
Sad reacts only

What's the bug in SytheLib?

Richard gave me a workaround now. But with virtual mouse, getting the "hover" effect in rs to work was proving problematic.
 
Runescape Gamblingrunescape gambling
Back
Top