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:
    4,248
    Referrals:
    0
    Sythe Gold:
    371
    Occupation:
    Web Developer

    Andy Samberg Web Developer, Get Your Site Today!
    PR Team Member Technical Core Runescape Moderators Games Moderators

    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();
    
    
     
    ^ RS07Shop, Blaze, Mootrucks and 3 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:
    463
    Referrals:
    0
    Sythe Gold:
    2,621
    Two Factor Authentication User Salamence Red Lizard Poochyena Stay a while and listen Twitter Zigzagoon Yanma Mareep Tier 1 Prizebox (8)
    Green Flower Chansey Blue Turtle Arceus Altaria Dolan Duck (2) Gardevoir Garchomp <3 n4n0 Member of the Month Winner

    John Devola Forum Addict
    $500 USD Donor Technical Core PR Team Member

    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:
    4,248
    Referrals:
    0
    Sythe Gold:
    371
    Occupation:
    Web Developer

    Andy Samberg Web Developer, Get Your Site Today!
    PR Team Member Technical Core Runescape Moderators Games Moderators

    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:
    4,248
    Referrals:
    0
    Sythe Gold:
    371
    Occupation:
    Web Developer

    Andy Samberg Web Developer, Get Your Site Today!
    PR Team Member Technical Core Runescape Moderators Games Moderators

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

    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:
    4,248
    Referrals:
    0
    Sythe Gold:
    371
    Occupation:
    Web Developer

    Andy Samberg Web Developer, Get Your Site Today!
    PR Team Member Technical Core Runescape Moderators Games Moderators

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

    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.
     
  15. Unread #8 - Feb 21, 2018 at 7:41 AM
  16. DragonSlayer1337
    Joined:
    Feb 20, 2018
    Posts:
    76
    Referrals:
    0
    Sythe Gold:
    41

    DragonSlayer1337 Member

    Seers oak log banker

    THanks for this
     
  17. Unread #9 - Feb 21, 2018 at 12:04 PM
  18. Chinner
    Joined:
    Jan 13, 2018
    Posts:
    288
    Referrals:
    0
    Sythe Gold:
    697

    Chinner Forum Addict

    Seers oak log banker

    Gotta test later on, thanks
     
  19. Unread #10 - Feb 24, 2018 at 1:35 PM
  20. Blupig
    Joined:
    Nov 23, 2006
    Posts:
    6,963
    Referrals:
    16
    Sythe Gold:
    1,500
    Location:
    Canada
    World War 3 I'm LAAAAAAAME Poké Prizebox Member of the Month Winner

    Blupig BEEF TOILET
    Retired Global Moderator C++ Programmer Visual Basic Programmers Technical Core

    Seers oak log banker


    Sad reacts only

    What's the bug in SytheLib?
     
  21. Unread #11 - Feb 24, 2018 at 7:13 PM
  22. Andy Samberg
    Joined:
    Sep 17, 2015
    Posts:
    4,248
    Referrals:
    0
    Sythe Gold:
    371
    Occupation:
    Web Developer

    Andy Samberg Web Developer, Get Your Site Today!
    PR Team Member Technical Core Runescape Moderators Games Moderators

    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.
     
  23. Unread #12 - Feb 27, 2018 at 11:06 PM
  24. RS07Shop
    Joined:
    Feb 26, 2015
    Posts:
    112
    Referrals:
    0
    Sythe Gold:
    718
    Two Factor Authentication User Shitting Rainbow Potamus

    RS07Shop Buying & Selling RS2007 and eoc GP
    $300 USD Donor New

    Seers oak log banker

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

Users viewing this thread
1 guest