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

Fletcher and Bowstringer castle wars bank stander

Program

Formerly known as Andy Samberg

Retired Sectional Moderator
Joined
Sep 17, 2015
Sythe Gold
902
Messages
5,003
Couple scripts I'll drop out here for anyone to use.

Both scripts require default compass direction, max top view angle, zoomed all the way in, standing next to bank chest, inventory full of logs or bows and strings.

For the fletcher, put your logs in the top right slot of your bank. For the strigner, put your bows and strings in the top rights two slots.

Should work for everyone using the oldschool client on Windows if set up properly.

Fletcher
Code:
SetVirtualMouseJavaModeOn();
if (SetWindow("RuneScape") == ""){Die("Could not find runescape");}while(SelectInnerWindow("SunAwtCanvas")){}
SetVirtualInputsOn();
// SetVirtualInputsOff();


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);




def bank() {
    print("Bank Start");
    var x = RandomInt(371,314);
    var y = RandomInt(226,147);
    ClickMouse(x,y,1);

    Sleep(1000);

    x = RandomInt(610,632);
    y = RandomInt(218,236);
    ClickMouse(x,y,2);
    y += 75;
    ClickMouse(x,y,1);

    Sleep(400);

    x = RandomInt(409,435);
    y = RandomInt(83,107);
    ClickMouse(x,y,2);
    y += 75;
    ClickMouse(x,y,1);
  
    Sleep(400);

    KeyDown(27);
    Sleep(10);
    KeyUp(27);

    return;
}

def makeBow() {
    var x = RandomInt(563,587);
    var y = RandomInt(218,238);
    ClickMouse(x,y,1);

    Sleep(1000);

    x = RandomInt(607,630);
    y = RandomInt(221,238);
    ClickMouse(x,y,1);

    Sleep(1000);

    x = RandomInt(217,302);
    y = RandomInt(392,458);
    ClickMouse(x,y,1);


    return;
}



def Main() {
    var x = 0;
    var y = 0;
    var time = Time();
    ClickMouse ( 255, 180, 1);
    while(true) {
        makeBow();
        Sleep(49000);
        bank();
        Sleep(1000);
    }
  

}
Main();
///EOF

Bowstringer
Code:
SetVirtualMouseJavaModeOn();
if (SetWindow("RuneScape") == ""){Die("Could not find runescape");}while(SelectInnerWindow("SunAwtCanvas")){}
SetVirtualInputsOn();
// SetVirtualInputsOff();


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);




def bank() {
    print("Bank Start");
    var x = RandomInt(371,314);
    var y = RandomInt(226,147);
    ClickMouse(x,y,1);

    Sleep(1000);

    x = RandomInt(430,455);
    y = RandomInt(300,326);
    ClickMouse(x,y,1);

    Sleep(1000);

    x = RandomInt(365,385);
    y = RandomInt(88,109);
    ClickMouse(x,y,2);
    y += 75;
    ClickMouse(x,y,1);

    Sleep(400);

    x = RandomInt(409,435);
    y = RandomInt(83,107);
    ClickMouse(x,y,2);
    y += 75;
    ClickMouse(x,y,1);
  
    Sleep(400);

    KeyDown(27);
    Sleep(10);
    KeyUp(27);

    return;
}

def makeBow() {
    var x = RandomInt(607,630);
    var y = RandomInt(328,346);
    ClickMouse(x,y,1);

    Sleep(1000);

    x = RandomInt(651,672);
    y = RandomInt(324,346);
    ClickMouse(x,y,1);

    Sleep(1000);

    x = RandomInt(211,307);
    y = RandomInt(393,463);
    ClickMouse(x,y,1);


    return;
}



def Main() {
    var x = 0;
    var y = 0;
    var time = Time();
    ClickMouse ( 255, 180, 1);
    while(true) {
        makeBow();
        Sleep(30000);
        bank();
        Sleep(1000);
    }
  

}
Main();
///EOF
 
Last edited:
getting "GetConsoleScreenBufferInfo failed: 6" in console

No matter what script you run you'll get that in the console. Not something you need to concern yourself with.
 
Tier 1 Prizebox
No matter what script you run you'll get that in the console. Not something you need to concern yourself with.

It doesn't seem to be doing anything. I get the message in return and it stops the script automatically

edit: I'm using the flecther
 
Last edited:
It doesn't seem to be doing anything. I get the message in return and it stops the script automatically

edit: I'm using the flecther

Watch my video and make sure you set it up correctly how I described above.
 
Last edited:
Tier 1 Prizebox
Just watched. Do I need to change anything before starting the script? such as logs, bows to make, cords? I'm assuming I don't as there's a default spot where to put things

Nah this script doesn't need any information because I hardcoded everything to work as long as the setup is correct with positioning and such.
 
Gunna test this soon. What other features are available or is it simply auto clicking
 
Verified Diamond
can't seem to get this to work but really wana use it, what do u main by max top view angle? im next to the bank zoomed in completely compass is right and nothing happens, how does the script know where my knife is .. do i need to use the colour code system to put that? Kinda confused.. i start it and nothing happens, I was able to get the alch one to work but struggling with this one.
 
Last edited:
Is there anyway to make it a bit slower on clicking on things possibly or something? As as it currently stands, it seems to sometimes click on the bank, but it does it so quickly that the bank does not open up, and in doing so completely messes everything up.

Edit: This actually only seems to happen when the "SetVirtualInputsOn();" is on, if I set it to "SetVirtualInputsOff();" instead and have the script use my mouse, it doesn't seem to have any problems..
 
Last edited:
Runescape Gamblingrunescape gambling
Back
Top