Seers oak log banker

Discussion in 'SytheLib' started by Andy Samberg, Feb 11, 2018.

Seers oak log banker
  1. Unread #1 - Feb 11, 2018 at 10:59 PM
  2. Andy Samberg
    Joined:
    Sep 17, 2015
    Posts:
    3,828
    Referrals:
    0
    Sythe Gold:
    194
    Occupation:
    Front-End Web...

    Andy Samberg Web Developer, Get Your Site Today!
    $50 USD Donor New Technical Core

    Seers oak log banker

    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|[email protected]+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|[email protected]~^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>[email protected]+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^[email protected]*g(7H(sgTUr%[email protected]}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)[email protected]@MPjBTQgQMQQ0Rg|M`LTy<q8" +
            "&Rrev9{RS%>kIDZJ0KyY)Z{c$+Q}1RkEU+L~Pk=lu_|[email protected]+", 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^[email protected]`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();
    
    
     
    ^ Blaze, Mootrucks, Class and 2 others like this.
    Last edited: Feb 13, 2018
  3. Unread #2 - Feb 13, 2018 at 12:22 AM
  4. John Devola
    Joined:
    Nov 2, 2015
    Posts:
    372
    Referrals:
    0
    Sythe Gold:
    2,312
    Two Factor Authentication User Gardevoir Zigzagoon Poochyena Altaria Garchomp Gracious Arceus Yanma Salamence
    Mareep Stay a while and listen Tier 1 Prizebox (8) Dolan Duck (2) Blue Turtle Red Lizard Chansey Green Flower <3 n4n0

    John Devola Forum Addict
    $500 USD Donor

    Seers oak log banker

    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
     
    ^ Mootrucks likes this.
  5. Unread #3 - Feb 13, 2018 at 9:27 PM
  6. Andy Samberg
    Joined:
    Sep 17, 2015
    Posts:
    3,828
    Referrals:
    0
    Sythe Gold:
    194
    Occupation:
    Front-End Web...

    Andy Samberg Web Developer, Get Your Site Today!
    $50 USD Donor New Technical Core

    Seers oak log banker

    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.
     
    ^ Idolized likes this.
    Last edited: Feb 13, 2018
  7. Unread #4 - Feb 14, 2018 at 12:35 AM
  8. Andy Samberg
    Joined:
    Sep 17, 2015
    Posts:
    3,828
    Referrals:
    0
    Sythe Gold:
    194
    Occupation:
    Front-End Web...

    Andy Samberg Web Developer, Get Your Site Today!
    $50 USD Donor New Technical Core

    Seers oak log banker

    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.
     
  9. Unread #5 - Feb 17, 2018 at 6:31 PM
  10. kimmygold
    Joined:
    Thursday
    Posts:
    2
    Referrals:
    0
    Sythe Gold:
    2

    kimmygold Newcomer

    Seers oak log banker

    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!
     
  11. Unread #6 - Feb 18, 2018 at 8:28 PM
  12. Andy Samberg
    Joined:
    Sep 17, 2015
    Posts:
    3,828
    Referrals:
    0
    Sythe Gold:
    194
    Occupation:
    Front-End Web...

    Andy Samberg Web Developer, Get Your Site Today!
    $50 USD Donor New Technical Core

    Seers oak log banker

    I'll look into/improve this script since it looks like you and others are interested :)
     
  13. Unread #7 - Feb 19, 2018 at 10:03 AM
  14. kimmygold
    Joined:
    Thursday
    Posts:
    2
    Referrals:
    0
    Sythe Gold:
    2

    kimmygold Newcomer

    Seers oak log banker

    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.
     
< Example script - Logging into osrs | [VIDEO TUTORIAL - OSRS BOT] -- How to get colors and coordinates from your OSRS client for scripts >

Users viewing this thread
Sylvans1 guest