Adblock breaks this site

Seers oak log banker

Discussion in 'Sythe Lib Archive' started by Program, Feb 11, 2018.

  1. Program

    Program Formerly known as Andy Samberg
    Retired Sectional Moderator

    Joined:
    Sep 17, 2015
    Posts:
    5,003
    Referrals:
    0
    Sythe Gold:
    902
    Discord Unique ID:
    171517906276843520
    Discord Username:
    FuukinAndy #6867
    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|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: Feb 13, 2018
    RS07Shop, Sunny, Mootrucks and 3 others like this.
  2. John Devola

    John Devola Apprentice
    $500 USD Donor

    Joined:
    Nov 2, 2015
    Posts:
    720
    Referrals:
    0
    Sythe Gold:
    1,094,994
    Discord Unique ID:
    213172021578694661
    Two Factor Authentication User Stay a while and listen Twitter Tier 1 Prizebox (7) Dolan Duck (2) Member of the Month Winner Creamy Tier 5 Prizebox Tier 4 Prizebox Tier 3 Prizebox
    Tier 6 Prizebox Baby Yoda Nitro Booster Hey... this isnt a fun rank Garchomp Pikachu Lawrence Chansey Penguin Dragon Claws
    Tier 2 Prizebox
    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.
  3. Program

    Program Formerly known as Andy Samberg
    Retired Sectional Moderator

    Joined:
    Sep 17, 2015
    Posts:
    5,003
    Referrals:
    0
    Sythe Gold:
    902
    Discord Unique ID:
    171517906276843520
    Discord Username:
    FuukinAndy #6867
    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.
     
    Last edited: Feb 13, 2018
    Idolized likes this.
  4. Program

    Program Formerly known as Andy Samberg
    Retired Sectional Moderator

    Joined:
    Sep 17, 2015
    Posts:
    5,003
    Referrals:
    0
    Sythe Gold:
    902
    Discord Unique ID:
    171517906276843520
    Discord Username:
    FuukinAndy #6867
    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.
     
  5. kimmygold

    kimmygold Newcomer

    Joined:
    Feb 15, 2018
    Posts:
    3
    Referrals:
    0
    Sythe Gold:
    3
    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!
     
  6. Program

    Program Formerly known as Andy Samberg
    Retired Sectional Moderator

    Joined:
    Sep 17, 2015
    Posts:
    5,003
    Referrals:
    0
    Sythe Gold:
    902
    Discord Unique ID:
    171517906276843520
    Discord Username:
    FuukinAndy #6867
    Seers oak log banker

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

    kimmygold Newcomer

    Joined:
    Feb 15, 2018
    Posts:
    3
    Referrals:
    0
    Sythe Gold:
    3
    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.
     
  8. DragonSlayer1337

    DragonSlayer1337 Member

    Joined:
    Feb 20, 2018
    Posts:
    76
    Referrals:
    0
    Sythe Gold:
    41
    Seers oak log banker

    THanks for this
     
  9. Chinner

    Chinner Forum Addict

    Joined:
    Jan 13, 2018
    Posts:
    288
    Referrals:
    0
    Sythe Gold:
    697
    Seers oak log banker

    Gotta test later on, thanks
     
  10. Blupig

    Blupig BEEF TOILET
    $5 USD Donor

    Joined:
    Nov 23, 2006
    Posts:
    7,145
    Referrals:
    16
    Sythe Gold:
    1,609
    Discord Unique ID:
    178533992981594112
    Valentine's Singing Competition Winner Member of the Month Winner MushyMuncher Gohan has AIDS Extreme Homosex World War 3 I'm LAAAAAAAME
    Off Topic Participant
    Seers oak log banker


    Sad reacts only

    What's the bug in SytheLib?
     
  11. Program

    Program Formerly known as Andy Samberg
    Retired Sectional Moderator

    Joined:
    Sep 17, 2015
    Posts:
    5,003
    Referrals:
    0
    Sythe Gold:
    902
    Discord Unique ID:
    171517906276843520
    Discord Username:
    FuukinAndy #6867
    Seers oak log banker

    Richard gave me a workaround now. But with virtual mouse, getting the "hover" effect in rs to work was proving problematic.
     
  12. RS07Shop

    RS07Shop
    RS07Shop Donor

    Joined:
    Feb 26, 2015
    Posts:
    26,833
    Referrals:
    8
    Sythe Gold:
    7,184
    Vouch Thread:
    Click Here
    Discord Unique ID:
    304873232832528385
    Discord Username:
    rs07shop
    Two Factor Authentication User Supporting Business Green Finger Cool Kid Baby Yoda CoolHam Le Monkey RsProd Bitch! Christmas 2024
    Hey... this isnt a fun rank Lawrence Top Striker Pokémon Trainer Brony Easter 2021 Christmas 2023 Le Rakashrug <3 n4n0
    Sythe's 15th Anniversary Poképedia Christmas 2015 Easter 2024 Secret Santa Christmas 2019 Halloween 2024 Valentine's Day 2025 Summer 2024 Valentine's Day 2024
    Seers oak log banker

    good job mate keep going
     
< Anything AutoFighter Script | Someone please help >


 
 
Adblock breaks this site