Page 1 of 2 12 LastLast
Results 1 to 25 of 28

Thread: First Script Need Help

  1. #1
    Join Date
    Sep 2009
    Posts
    14
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Unhappy First Script Need Help

    first script be nice.

    Its a simple "farmer"? but my situation is a little different, so i need a litte of help. lol.

    In the game im trying to auto, the "crop"? has 3 different bitmaps, which i have taken from screenshots.

    After it finds any of these 3 different bmp it needs to click it hold down the click, drag the mouse down a few inches, wile still holding down left click. how do i do this?

    I kinda got a general idea as you can see at the bottom. i don't know where to go from here, kinda stuck. how do i var multiple bitmap? and search for all 3? and i don't think i got the repeat right?

    Code:
    program yay;
    {.include SRL/SRL.scar}
    
    var
    rounder,weird,red,round2, x, y : Integer;
    
    
    procedure LoadBmps;
    begin
    
      rounder := BitmapFromString(12, 6, 'beNpTluxMcV0YYVwbou+hLGmg' +
           'LuujpQFEQLaluBCQhCCgAoiyVivZRD1FIAKqB5JANTriYkASiCrtd' +
           'DzMVIBqJnpqAJUBFQARUNBWWRFogoK8LJAEiiytLpnoawwUByIgd2' +
           '+XD0gj2DoFfn4ggtg4NTs1wsz46tKCqeXhQPVAYy31QG4DWgdSw8M' +
           'C1FUY4wGU3djVVOgKcs/HleVAQaCrQAoAoLQ6sg==');
      weird := BitmapFromString(13, 8, 'beNo9jz0LglAUhofGoAhChEvX' +
           'DITCS0JCDhKEkWUQlFBN1RCNDg0OQWNjg0v/t0cOBC8v557znI+bm' +
           'NjVvtW9GL0ZelNfLfv2YTI++/q2rj2yOojqPQs+WZCGgzgKj2Hg9F' +
           'Tq2mU8wnnilMCeO5MnhgzutFvV9wVDEqBItPA4VWBZWj32KE1m9XC' +
           '33igMXQB0va9zMpDFaYE4ACbwFCfJBGBELL3wEqTNhtwvXxAxkBIB' +
           '/q8imRMZRcz9cgAriKWx3K4kg/IfnkZF7Q==');
      red := BitmapFromString(11, 8, 'beNrTkjUVFXBXV3ZWEAeiAgv1TH' +
           'tZd2tZCNfUUNfZUAEk7ukcpQVSGWSoCyRLfLWAXKBKuN7qEF+IAiC' +
           'CSAHVABGQAURAESCCmGmhAJUCikAYbW4gMyGyEDQ1QBcuBURALlwK' +
           'YgXQnRBZIAmUBSK47XJ8vM7czEBXAWWRlcH1wk0A+gXiKqDiKAA+j' +
           'TlO');
      round2 := BitmapFromString(12, 8, 'beNozMzZQl/VQlrQUF4owMy5' +
           '0VfQwUwlx1c/0NQZyE/UUfbQ0gFIQBFEGlOpMcQWi2hB9oAIIAooD' +
           'SYgCCAJyISZUaokBxYEMW2WEAiADiDId7XTEobIQEQV+fqAs0FKQR' +
           'jsdINqY7wrRAmRDlAHVAE0GciEagYzWmHCIOyd6agDV+zgqAtVAHA' +
           'YxFsiY6GsM4Z6cGbW3yweoEuRsM2O4syFGQdhA04DeBIZDBADtREB' +
           't');
    
    If (FindBitmapTolerance(weird, x, y, 50)) Then
    begin
       MoveMouseSmoothEx(X, Y, 20, 40, 45, 25, 20);
        Wait(1000+random(100));
         HoldMouse(X, Y, True);
          wait(1000);
           MoveMouseSmooth(100,170);
            wait(100);
             ReleaseMouse(x,y,true);
              MoveMouseSmooth(309,193);
               ClickMouse(x,y,true);
           end;
    
    If (FindBitmapTolerance(rounder, x, y, 50)) Then
    begin
       MoveMouseSmoothEx(X, Y, 20, 40, 45, 25, 20);
        Wait(1000+random(100));
         HoldMouse(X, Y, True);
          wait(1000);
           MoveMouseSmooth(100,170);
            wait(50);
             ReleaseMouse(x,y,true);
              MoveMouseSmooth(309,193);
               ClickMouse(x,y,true);
           end;
      
    If (FindBitmapTolerance(red, x, y, 50)) Then
    begin
       MoveMouseSmoothEx(X, Y, 20, 40, 45, 25, 20);
        Wait(1000+random(100));
         HoldMouse(X, Y, True);
          wait(100);
           MoveMouseSmooth(100,170);
            wait(100);
             ReleaseMouse(x,y,true);
              MoveMouseSmooth(309,193);
               ClickMouse(x,y,true);
           end;
    
    If (FindBitmapTolerance(round2, x, y, 50)) Then
    begin
       MoveMouseSmoothEx(X, Y, 20, 40, 45, 25, 20);
        Wait(1000+random(100));
         HoldMouse(X, Y, true);
          wait(100);
           MoveMouseSmooth(100,170);
            wait(100);
             ReleaseMouse(x, y, true);
              MoveMouseSmooth(309,193);
               ClickMouse(x,y,true);
           end;
      end;
    
    procedure FreeBmps;
    begin
    FreeBitmap(weird);
     FreeBitmap(red);
      FreeBitmap(round2);
       FreeBitmap(rounder);
    end;
    
    begin
    repeat
      LoadBmps;
    until(false);
    SetupSRL;
    end.
    Last edited by koric; 09-26-2009 at 05:58 AM.

  2. #2
    Join Date
    Feb 2007
    Posts
    3,616
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    You have a lot of begins in the middle of nowhere. Fixed your script:
    SCAR Code:
    program yay;
    {.include SRL/SRL/Misc/Smart.scar}
    {.include SRL/SRL.scar}

    var weird, red, round: Integer;

    procedure LoadBmps;
    begin
      weird := BitmapFromString(40, 40, 'beNrtVmlv20YUDBpElGRdFin' +
           'xEklREnXw1MGbIiXrtmM5DhK7KYKgRZp+LlCgBfKlv70jszACOw3Q' +
           'pgX6QQ+DxYrHm3mzb1d88uQYxzjGMY7xX8RJLpfP5nJENp/LEgSBA' +
           'fjv6HL5fLVUZmqkyHNtSTIUpSnwiiBhjiu16mmlXIIeiPl6ruLJSS' +
           'Gfp0mKp2tdqal3W/FkvAy8eDRxLf08mT6fT/erxcLxg/ForPXxQEs' +
           'SBJaGvGq5BGfw+t9izGez5WJBYOpapzPsDRxjkHjuahrtZsmr9exy' +
           'uVhOg+Vstl8tMZ9PnPPY3wZhEoaR53m2HRiWaQ1VpQNUSxCQh4YvM' +
           'xKZzGmpxDKMyHEdqTkbOy9323Xo3F6sV16gCOzLSA/4OlsoTuX20l' +
           'UDtXm9WS/dgSKyUbN1OQ+hZB+fJb499/1F4Oi9rsCxlVLxi6QEeVr' +
           'piA3b0C8W86tlsk3iby/Wt7utpVsWL7RJat8RY7ltKFzYoLeqsVfE' +
           '1/FhNMgKcNkRoGrjR9ezpT20VtMwGpnj3qDJ8uVS6a94mRpldBVva' +
           'O1CZxNPb89XiTPCCqIoQzWQ/9fEjDR5ZI52msmxXNSg3496GPETI2' +
           '6lArhCEVbcrLb7eL6OI1c1HENt0LVC/jNuowc6kuTrxpnvTb3x1g/' +
           'fXG70gd4VWZB+WGo/rbS1r+3PIozI/PH3jyDFRTC+9cVUAMbEEU2y' +
           'AgEb1XjeFl4k9s3q3B9aqtw6LZcfkGYymQbLBEN9G9rbeLqLnKbYD' +
           'L1waAxRFwp89+IcdFeKCCStzsfvr16slpEfHcpvHIhSUsj4LbmrvU' +
           'GDGj2gDbTzIF4Hk+FgQFPkw+2ZJXiO283i9TTcRs6rxZplWRj7OjF' +
           'RGtKmjKjr5+sEOUH99uIMgCTc7UncTWKmkoA/H9hvmlLzKp7bljZz' +
           'rOnIklj6AW+lWNCUziaYoBVfrWI8D0a8ixJ+ub1CHhSCOYDkaXUQk' +
           'E6i3FNMUhzuKhxMeLvfQlKoNrHQJtdo8A2NYSWWzTzLfMpLVsp9SV' +
           '7Z3qqvhXz9w1KFXalpSIWSkf++5HSO8Z4OSEWC1NRMAIuClkBjHLZ' +
           'bX+spPUmQOPphveVCzuh1FxIXNlvvF+oPw+7+LvM90uTo23QR4Srm' +
           'qZL3Z+v0CgC6A/VdyUm7g/ZAZ15OXayyyPM8Qz9e367EX7ut7/Q2T' +
           'oY3roC9wzIsjILnsiRjBcGerjWAZgNFynXPCBw2lCajXuzxeq3um+' +
           'plNDMGEGD0Ren00RbOEUSVJEvFUpWo5LI5hmYC3dwnsec4wcQMbfP' +
           'HpYo2g3VI2yEpuLrVTAClpb0Efw5niO2B8XCwqMY6Clyjb+s9nKLx' +
           '2JQYBiyP92/m6TdVdDVNtQWuJfK2oVnD0cq1E6Xv9sR3lgL/cRyFP' +
           'I1DEmkBGJJSfAoYCwQjfRF4s7HueP7cHfVbMvVo835KDUnlYpGlSJ' +
           'GlRZrtCGyHo9oNCqbRNK31tQMG2mxiXC+mN+fbi2CKydr2F777erc' +
           '5811f1eee02+3eq3WLnJdUx/1WmyN+myxjwN/6tlMBjgtFmiqqkly' +
           'Q+LUlrRyHFmWcaooLfkCBk5G0/FoovQnjrsYu6YiR+Ohb/SGEzsY6' +
           'NFQ70k8Q1H5f/Rt8Ozp09JJvkHXhVqdqlQm/XZfkKyuPHddYNLtG3' +
           'I7sDTf0DCave5I6Q/ackcUeJLi6jUi8+xrPgPgQC5DnOSylXKZJkm' +
           'uSnVFWeYZvl6X6gxdLVdLxcN1slY/LZOVSqlQwN8uXvmXv3wIIn/4' +
           '1iKyRAbI3Y2Hn19X3TGOcYz/b/wBGRMinA==');
      red := BitmapFromString(30, 30, 'beNrtVWlvGlcUjdn3YRlgFpiVm' +
           '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' +
           'hQ77+7ASdLldeEGgAXvwbXz4U/sf+n4DdXQaag==');
      round := BitmapFromString(30, 30, 'beNrtVFtv2mYYbgIBAzGQAMH' +
           'EFGMbm7MxxgbMoSbkwMEQcqAEciBZA9larWsTLaoykjTZTbes3apO' +
           '6sV6uUm9mCbtbv9gP2P/Y3d702hTFKk7dLtbPr2yQLKf53nf9/meG' +
           'zeuz/X598eg0/2HaIhOi5pRxxjqtFnwMeuY2Ui6MBuKWlGTQa8zIT' +
           'qjXv9PMbWaYSOii/pwjiVmBFoRQzPpaDkei/lx1m2TfLTI4lEvcRO' +
           'zAakRGTEhf00BYhxWE8VSSii4NZ+py/7Vanavmd1qFPZbuXZK2mtX' +
           'GI+zlmbnRLo1narIMWAnHHZo5G2YwAuNs15XWYgvTEmczTLPc4sC3' +
           'yhyX33Qu98pn3RWntxtEWazGMZfPL775WCHD7hKkdDidLKYDIdpN0' +
           'iCEV2BHRoaspj0QpBs57MfLcpJwrObCe03apscWUkxFd9k1TdZj4T' +
           'q4eDtufjD9Wo7KZYkX68qPN1tzrDMQbu5WozB5+6J8SvIOt0INAUv' +
           'b84rMN6nauKzXunbVenxiqD6cCFANCIhKJXBM5hdfUMEFXE6a+Fgi' +
           'XIxPurgTqWUjYFymOdlZNyOSrnkgt8NUj9p8mf90ndryWfvV16vp8' +
           '7yRD9OQ512EvDMYnYOw+CZeVObdgTwM5S3t1TcUaUiF4WZXHYXcMF' +
           'SdhTPwXLsqBUHqUcFTpX9rzdSL+vhL/LEp50E1PFUTGHoGoNTJAH6' +
           'KauVtFplp81tmthpzih5iWMnx+3jf5jfbjZylHNB4NMkkZLE92LUQ' +
           'OFO2sL3p4cvF1OABgWwP79Ygh8AC4IBEwo0A3KOJgmPu788vd+dyw' +
           'sBB4rqfzehxYSEvRPLM6luTr6/Wu4kxb0SBcMEVa92P9yQU7/8cPD' +
           'quAss0EI2TjSi4SiGXaiFVfbVxKC1vNVQwCRgdTDYZQ9jTnslxx/1' +
           'a2f9rWowkHbaKqNaUP7xZu2bw42fnp/tl+nTduLXH48PC9w2T5EWS' +
           '4WeLElMT8ktri99/mi7GPDnWcblsOg0mssbhKsUZ1zVFPOgrg5WCz' +
           'JJ9Av5LE1Cp7DNOzx1vCIA0b2GBH9350g1FPCzvukE/WywAy4F//M' +
           'ed9CNG0e0V1yn12rBHizjBT/vrc8+nK/1lotb+cx2VXh+r78iiYMm' +
           '//WjDvQOmLAvlqEbnYVWIQKX9BZH+DGneRQxvSW1wCEw/HSUyvL+b' +
           'k2u8dyampstyuXZnCjw81PR7trKSbc4TWJTcbKdllolWRTCMstQ7g' +
           'mIDp1m+M9DY9Sgt1pRwmk9zyIuoubjsNkHrdJtJbxRv7VRy0dZrCm' +
           '6CsSE6DHiDvO4YRjRav5+1p3joyYYPsQI3FmIOyGdgAUtKSKfjFOT' +
           '4xI7dtOCmPUjyMjQu6S9/jyBgeKC5aIgXiwGg06reTfM6/N/P78Bj' +
           'dXpJw==');
    if(FindBitmap(red,x,y)) then
     begin
       MoveMouseSmoothEx(x,y+random(0),20,40,45,25,20);
       Wait(1000+random(100));
       HoldMouse(25,250,true);
       Wait(100);
       ReleaseMouse(25,250,true);
      end;
    end;

    begin
    repeat
      LoadBmps;
    until(false);
    end.

    I also added the variable names, and in the main loop, I think you meant to call LoadBmps?

    To hold the mouse somewhere and drag it, do something like:

    SCAR Code:
    HoldMouse(100,100,true);
    wait(50);
    MoveMouseSmooth(100,120);
    wait(50);
    ReleasesMouse(100,120,true);

    That will hold the mouse at 100,100, drag to 100,120, and release.

  3. #3
    Join Date
    Sep 2009
    Posts
    14
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    nice! thanks for the tips!

    var line wont work
    Line 5: [Error] (20450:17): Duplicate identifier 'round' in script

    and for all three does this look right? thanks for the help!

    Code:
    if(FindBitmap(weird,x,y)) then
     begin
       MoveMouseSmoothEx(x,y+random(0),20,40,45,25,20);
       Wait(1000+random(100));
       HoldMouse(100,100,true);
       wait(50);
       MoveMouseSmooth(100,120);
       wait(50);
       ReleasesMouse(100,120,true);
       MoveMouseSmooth(544,278);
       ClickMouse(x,y,true);
      end;
    end;
    
    if(FindBitmap(red,x,y)) then
     begin
       MoveMouseSmoothEx(x,y+random(0),20,40,45,25,20);
       Wait(1000+random(100));
       HoldMouse(100,100,true);
       wait(50);
       MoveMouseSmooth(100,120);
       wait(50);
       ReleasesMouse(100,120,true);
       MoveMouseSmooth(544,278);
       ClickMouse(x,y,true);
      end;
    end;
    
    if(FindBitmap(round,x,y)) then
     begin
       MoveMouseSmoothEx(x,y+random(0),20,40,45,25,20);
       Wait(1000+random(100));
       HoldMouse(100,100,true);
       wait(50);
       MoveMouseSmooth(100,120);
       wait(50);
       ReleasesMouse(100,120,true);
       MoveMouseSmooth(544,278);
       ClickMouse(x,y,true);
      end;
    end;

  4. #4
    Join Date
    Sep 2009
    Posts
    14
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    i think i mostly got it. but seems to not do anything. compiles are runs but does nothing lol. anyone have any ideas? maybe my bmps are not perfect?

    Code:
    program yay;
    {.include SRL/SRL/Misc/Smart.scar}
    {.include SRL/SRL.scar}
    
    var
      weird,round2,red, x, y : Integer;
    
    procedure LoadBmps;
    begin
      weird := BitmapFromString(38, 18, 'beNp9lelTIlkSwFGQQwXF9kD' +
           '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' +
           'XJiDk/8FnjvVqA==');
      red := BitmapFromString(30, 30, 'beNrtVWlvGlcUjdn3YRlgFpiVm' +
           'WEddobFBkMAQyDGWR0vOMriJmmqJo3URGqaSsmXqlVVqWqlfugf6M' +
           '/sGY/qRFG3fG07Onp6PD3OPfe8++67cOH/79/92W02E3aby2kP+jw' +
           'Br8vpdDocdp/X7XE5sG7b2PhQTofd5nSYbLFgMB0nSMKnC3w86hc4' +
           'RqOpXDqVSsbikVDQ73Xa7Yjxz6X6PK5EOMCkGSWZ6FW0kpSsq8ynB' +
           '6PPjsYHm93d7cakoxcydFPJcBQZIwIBn+dv+UHrcTnTJMnT0c1qtl' +
           '0W93c6t4bFFs9Ns+pOVr0oUjfz3LeP7p/uTBb9Wr+ea2VTMkURQZ/' +
           'b6UCmf2KCHdE1KVXLiYYk3pi2cyJdzLC6kjrRxZnMzGUG445M7430' +
           'UVU6HY8eLJvXe522rigchYNAsn9IiyOCA+OKXlOZ9XJroilgeLF3e' +
           'Z5halmuS5EWLmWYh6PBNx/fQsTjSfnGoHDv8uByr6oJDBkMvmeLy+' +
           'kI+/1SIn5z0nh8bfzm0WosUt8vG+C8V5FWxfz9qrxQWJ2ieiCv8D8' +
           '8XYvhcLvM/fL1059eP65k6XwkJMaicjqJrM9p3U4nEfAinZXRvLqV' +
           'r8cjRiLWTsZ2i/lFhgXhV8Py87m8N5GXCgv0Osayo+3PaiDvJM2dz' +
           'US0SkZymjqtV5nYW9nhUKAgMwIbAe2tAg8bsR+cr65fOa3KELnuGB' +
           'jfHNTxEyEw3ysV6jm+Z/mTJEHeEYV9o0lTSViEGgCt1+2myfCVrd7' +
           'hVu9kWn6+VYSN2A9t3945sZgBixPkACYAZA8UM4sSRUEJ0nx5uC2n' +
           '4gU5FfK5wRzwuAVFbOvCwaj04mr5TlmC2mXAASrASh8MFidWrMnPV' +
           '8wsTItKBUv5piyiII28WVd+nxfVi1uGmoHOZ7ul27qI1BYBh6XTor' +
           'Xw69o45wTw88dTzVKOgwCzSBC5ePzVJ4eNgkSGA26UWTxyfdhcd1O' +
           'zrIZyRWqLdwjN8zqLgkO0aDGCFrBWTLuqvGU1NHdFHprNW+Ny8jS5' +
           '0y1vZ+SjoiAQRD8j9RUzx3OHpXAY5mAFtO/yY3x9UEc1rsbSJUOFz' +
           '7ibBp+WE3G/2+V1uxQ2xlFRUeCVjJzVlGcni8er1nG7tfhd7blmVI' +
           'hV1auzuK+2y5/P5EVbBS1sZBmKZehZr5yORlAblhu6yh73N4+7bdy' +
           '4/Wbj4W4zl1VNw8+KBMBl+XJbx9htt0ycrXz3YH63InXKXEVLs/7E' +
           '0Vjf7Wp6imUTUXRbnGDE7+OSxCifHbXUw05rOSjemVXvDTY1NSPw6' +
           'ZlMQ48Fo9n4aNh/cjRHGcA3rOw0FZ4gHt2cTC9214OtaUfPMXTI77' +
           'H6EnoIHQsWhMSwWViPK9fGBprbwbz3xd35eNhOsYwsCRfVTINP390' +
           'bvry9QqMwBK6UYRvxKENTyPTJ7gINYb5ZmXbyyVDo/HajyWOO3p7n' +
           'E/2agprJSVQ/n0ULRayjSwass4D/Ho8r27PhqlbppkhB4CAA/RCtu' +
           'ygm8uU8GFAVIHzbjvAAeVzgjwS9uI9pMoYsWDLEJYgil0YHA/CmYC' +
           'wpHELjLUBQsPU1Ff3ZKGU6upSIBgOhgHWv3+/5dpvjrO0DXp8XNzT' +
           'g8UADgKCYx0LmPEkQOCMVLqWTBSmlpUn8hCTsgUKXw/7Xj6DdtmE9' +
           'hQ77+7ASdLldeEGgAXvwbXz4U/sf+n4DdXQaag==');
      round2 := BitmapFromString(26, 19, 'beNqllFtv2kAQRll7bRwgVk' +
           'kRJmRDUmqQlRCVCpOSiKY3KpQn1KdUlfrU//8fetZf5aL0IlW1Rtb' +
           'sZc5+M3sJQmNM4/FnguoLQ9uMolbSCfGDILJRSFcYxlEc2TiJm/ux' +
           'SZSknfQRiOn1nMB4oK0goY3gwAyMAQuQJszGnz/CBbKhfXZ8PCs35' +
           'XheFsW7+WY1v8H5uNpg9N/fbXLn6FlfrNsH7b8wk2aiWFAfymuiCA' +
           'dC89PbLwzR6Tppr+dA7baf6cnPJvsEWyXYTpLby9eM/hAzngPBIco' +
           'NsvyoNzoawsHh/yRp02RRJjDt1YuVafgaUYpm3FzP3hTFAgKjEuAX' +
           'dY7Aaf+MvxyhROt3ulpi0MuIRQ+qqGd5tZQGwhnCFDVzxSof0nmRT' +
           '5BBcz4YCi6apGLICKo94gcHAkOaIBMQCDqxu9kElEy0eiY+2loHBz' +
           '5ZYyhpnQjG/DojjKZUrftdjdYFhEOUtribdv1hNYbJaGB1bL84dRY' +
           'qkVYRRNp8LoOM8HQwZBMrWjAaXdKzPh+zihKB6cWcj7GH22vB8QUE' +
           'Neg06KE+HBKdAR086na/2jlXUGqFiywxOExW5bfTs4eb5XQ8lDYdE' +
           'o6HCnvYPiRNrg274LdvfsOoSlQnhbMtCjW/7bZft2uYNMkReUxWIM' +
           'bx0N1kdeqGbEpEss4V9UZInnwUMo0UIOhAKkc21PX7ugixjQX3wkq' +
           'PZYvxa5rIqiQrMsSKcMjIX5mr5Ul28vOyB0FsbZ6d10eUP/Jqg6Ni' +
           'pmnP39/qsr9fLJ+PcvZx/13a9+OIx6bZSpJu72SUZdPT08WsVLgeg' +
           'ZeTCZ1PO11eJNP4589UH8+a9e+k/d3T+t9ftcSvqQXfATtGht4=');
    
        if FindBitmap(weird, x, y) then
    begin
       MoveMouseSmoothEx(x,y+random(0),20,40,45,25,20);
       Wait(1000+random(100));
       HoldMouse(100,100,true);
       wait(50);
       MoveMouseSmooth(100,170);
       wait(50);
       ReleaseMouse(100,120,true);
       MoveMouseSmooth(544,278);
       ClickMouse(x,y,true);
      end;
    
        if FindBitmap(red, x, y) then
    begin
       MoveMouseSmoothEx(x,y+random(0),20,40,45,25,20);
       Wait(1000+random(100));
       HoldMouse(100,100,true);
       wait(50);
       MoveMouseSmooth(100,170);
       wait(50);
       ReleaseMouse(100,120,true);
       MoveMouseSmooth(544,278);
       ClickMouse(x,y,true);
      end;
    
        if FindBitmap(round2, x, y) then
    begin
       MoveMouseSmoothEx(x,y+random(0),20,40,45,25,20);
       Wait(1000+random(100));
       HoldMouse(100,100,true);
       wait(50);
       MoveMouseSmooth(100,170);
       wait(50);
       ReleaseMouse(100,120,true);
       MoveMouseSmooth(544,278);
       ClickMouse(x,y,true);
      end;
      end;
    
    procedure FreeBmps;
    begin
    FreeBitmap(weird);
    FreeBitmap(red);
    FreeBitmap(round2);
    end;
    
    begin
    repeat
      LoadBmps;
    until(false);
    SetupSRL;
    end.

  5. #5
    Join Date
    Feb 2007
    Posts
    3,616
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    It is not doing anything because it is not finding those bitmaps. This is probably because of how big those bitmaps are. Try making much smaller bitmaps and it should work.

  6. #6
    Join Date
    May 2007
    Location
    England
    Posts
    4,140
    Mentioned
    11 Post(s)
    Quoted
    266 Post(s)

    Default

    1) Round is a function in SCAR, that's why you got the duplicate identifier.

    2) Name your bitmaps 1, 2 and 3 and instead of this:
    SCAR Code:
    if(FindBitmap(weird,x,y)) then
     begin
       MoveMouseSmoothEx(x,y+random(0),20,40,45,25,20);
       Wait(1000+random(100));
       HoldMouse(100,100,true);
       wait(50);
       MoveMouseSmooth(100,120);
       wait(50);
       ReleasesMouse(100,120,true);
       MoveMouseSmooth(544,278);
       ClickMouse(x,y,true);
      end;
    end;

    if(FindBitmap(red,x,y)) then
     begin
       MoveMouseSmoothEx(x,y+random(0),20,40,45,25,20);
       Wait(1000+random(100));
       HoldMouse(100,100,true);
       wait(50);
       MoveMouseSmooth(100,120);
       wait(50);
       ReleasesMouse(100,120,true);
       MoveMouseSmooth(544,278);
       ClickMouse(x,y,true);
      end;
    end;

    if(FindBitmap(round,x,y)) then
     begin
       MoveMouseSmoothEx(x,y+random(0),20,40,45,25,20);
       Wait(1000+random(100));
       HoldMouse(100,100,true);
       wait(50);
       MoveMouseSmooth(100,120);
       wait(50);
       ReleasesMouse(100,120,true);
       MoveMouseSmooth(544,278);
       ClickMouse(x,y,true);
      end;
    end;
    You can do this:
    SCAR Code:
    for I:= 1 to 3 do
    begin
      if(FindBitmap(I, X, Y)) then
      begin
        MoveMouseSmoothEx(X, Y, 20, 40, 45, 25, 20);
        Wait(1000 + Random(100));
        HoldMouse(100, 100, True);
        Wait(50);
        MoveMouseSmooth(100, 120);
        Wait(50);
        ReleasesMouse(100, 120, True);
        MoveMouseSmooth(544, 278);
        ClickMouse(X, Y, True);
      end;
    end;
    To do this you will need a integer variable called I.

    Read a tutorial on for..to..do loops if you don't know how to use them.

    Richard.
    <3

    Quote Originally Posted by Eminem
    I don't care if you're black, white, straight, bisexual, gay, lesbian, short, tall, fat, skinny, rich or poor. If you're nice to me, I'll be nice to you. Simple as that.

  7. #7
    Join Date
    Sep 2009
    Posts
    14
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    yea i noticed that earlyer. heres my latest code no matter what i do it wont find the bitmap, maybe because the game turns night/day? i made super small bitmaps.

    Code:
    program yay;
    {.include SRL/SRL.scar}
    
    var
      rounder,weird,red,round2, x, y : Integer;
    
    procedure LoadBmps;
    begin
         rounder := BitmapFromString(12, 6, 'beNpTluxMcV0YYVwbou+hLGmg' +
           'LuujpQFEQLaluBCQhCCgAoiyVivZRD1FIAKqB5JANTriYkASiCrtd' +
           'DzMVIBqJnpqAJUBFQARUNBWWRFogoK8LJAEiiytLpnoawwUByIgd2' +
           '+XD0gj2DoFfn4ggtg4NTs1wsz46tKCqeXhQPVAYy31QG4DWgdSw8M' +
           'C1FUY4wGU3djVVOgKcs/HleVAQaCrQAoAoLQ6sg==');
      weird := BitmapFromString(13, 8, 'beNo9jz0LglAUhofGoAhChEvX' +
           'DITCS0JCDhKEkWUQlFBN1RCNDg0OQWNjg0v/t0cOBC8v557znI+bm' +
           'NjVvtW9GL0ZelNfLfv2YTI++/q2rj2yOojqPQs+WZCGgzgKj2Hg9F' +
           'Tq2mU8wnnilMCeO5MnhgzutFvV9wVDEqBItPA4VWBZWj32KE1m9XC' +
           '33igMXQB0va9zMpDFaYE4ACbwFCfJBGBELL3wEqTNhtwvXxAxkBIB' +
           '/q8imRMZRcz9cgAriKWx3K4kg/IfnkZF7Q==');
      red := BitmapFromString(11, 8, 'beNrTkjUVFXBXV3ZWEAeiAgv1TH' +
           'tZd2tZCNfUUNfZUAEk7ukcpQVSGWSoCyRLfLWAXKBKuN7qEF+IAiC' +
           'CSAHVABGQAURAESCCmGmhAJUCikAYbW4gMyGyEDQ1QBcuBURALlwK' +
           'YgXQnRBZIAmUBSK47XJ8vM7czEBXAWWRlcH1wk0A+gXiKqDiKAA+j' +
           'TlO');
      round2 := BitmapFromString(12, 8, 'beNozMzZQl/VQlrQUF4owMy5' +
           '0VfQwUwlx1c/0NQZyE/UUfbQ0gFIQBFEGlOpMcQWi2hB9oAIIAooD' +
           'SYgCCAJyISZUaokBxYEMW2WEAiADiDId7XTEobIQEQV+fqAs0FKQR' +
           'jsdINqY7wrRAmRDlAHVAE0GciEagYzWmHCIOyd6agDV+zgqAtVAHA' +
           'YxFsiY6GsM4Z6cGbW3yweoEuRsM2O4syFGQdhA04DeBIZDBADtREB' +
           't');
    
        if FindBitmap(weird, X, Y) then
    begin
       MoveMouse(x, y);
       Wait(1000+random(100));
       HoldMouse(100,100,true);
       wait(50);
       MoveMouseSmooth(100,170);
       wait(50);
       ReleaseMouse(100,120,true);
       MoveMouseSmooth(544,278);
       ClickMouse(x,y,true);
      end;
    
      if FindBitmap(rounder, X, Y) then
    begin
       MoveMouse(x, y);
       Wait(1000+random(100));
       HoldMouse(100,100,true);
       wait(50);
       MoveMouseSmooth(100,170);
       wait(50);
       ReleaseMouse(100,120,true);
       MoveMouseSmooth(544,278);
       ClickMouse(x,y,true);
      end;
      
        if FindBitmap(red, X, Y) then
    begin
       MoveMouse(x, y);
       Wait(1000+random(100));
       HoldMouse(100,100,true);
       wait(50);
       MoveMouseSmooth(100,170);
       wait(50);
       ReleaseMouse(100,120,true);
       MoveMouseSmooth(544,278);
       ClickMouse(x,y,true);
      end;
    
        if FindBitmap(round2, X, Y) then
    begin
       MoveMouse(x, y);
       Wait(1000+random(100));
       HoldMouse(100,100,true);
       wait(50);
       MoveMouseSmooth(100,170);
       wait(50);
       ReleaseMouse(100,120,true);
       MoveMouseSmooth(544,278);
       ClickMouse(x,y,true);
      end;
      end;
    
    procedure FreeBmps;
    begin
    FreeBitmap(weird);
    FreeBitmap(red);
    FreeBitmap(round2);
    FreeBitmap(rounder);
    end;
    
    begin
    repeat
      LoadBmps;
    until(false);
    SetupSRL;
    end.

  8. #8
    Join Date
    May 2007
    Location
    England
    Posts
    4,140
    Mentioned
    11 Post(s)
    Quoted
    266 Post(s)

    Default

    Post pictures of what the items - or whatever they are - look like in both night and daytime. I'll be able to help you then.
    <3

    Quote Originally Posted by Eminem
    I don't care if you're black, white, straight, bisexual, gay, lesbian, short, tall, fat, skinny, rich or poor. If you're nice to me, I'll be nice to you. Simple as that.

  9. #9
    Join Date
    Sep 2009
    Posts
    14
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    i made big ones with black around


    and i tryed smaller snips of the inside of the item


    screenshot daytime
    Last edited by koric; 09-23-2009 at 12:33 AM.

  10. #10
    Join Date
    May 2007
    Location
    England
    Posts
    4,140
    Mentioned
    11 Post(s)
    Quoted
    266 Post(s)

    Default

    Where is it on the screen? I can't see it.
    <3

    Quote Originally Posted by Eminem
    I don't care if you're black, white, straight, bisexual, gay, lesbian, short, tall, fat, skinny, rich or poor. If you're nice to me, I'll be nice to you. Simple as that.

  11. #11
    Join Date
    Sep 2009
    Posts
    14
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    one way to get exp is to shovel crap middle of the pen is the multiple crap i have to work with lol

    heres a screen from the client little better quality:
    Last edited by koric; 09-23-2009 at 11:40 AM.

  12. #12
    Join Date
    Sep 2009
    Posts
    14
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    anyone help?

  13. #13
    Join Date
    May 2009
    Posts
    799
    Mentioned
    2 Post(s)
    Quoted
    16 Post(s)

    Default

    Try using Tolerance ->

    scar Code:
    function FindBitmapTolerance(Bitmap: Integer; var x, y: Integer; Tol: Integer): Boolean;
    Works like FindBitmap but with a tolerance parameter for finding any similar colored bitmap. Tolerance is used to find a colored bitmap in range of the bitmap you are looking for. The greater color range you want, the higher the tolerance parameter should be.

    Setup the Tolerance till it finds your bitmap

  14. #14
    Join Date
    Jan 2007
    Posts
    834
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Ha. Fallout 2 i presume? This would be hard because of the night and day situation. You may have to make a function for that. Like..
    SCAR Code:
    Function findday :boolean;
    begin
      result := //something that could find if its day or night
    end;

    And free your bitmaps after your done using them.
    SCAR Code:
    //bunch of code here
    Mouse(x,y,3,3,True)//done using the bitmap
    freebitmap(//bitmapname);

    Also, Mouse is what it is all about.

    SCAR Code:
    MMouse(x,y,3,3)// Moves mouse
    Mouse(x,y,3,3,trueorfalse) // true left click, false right click

    Take note that you can not use the SRL manual because that is not runescape. Uptext and choose option ect will not work.

    This is hard for a first script. Not bringing you down. You are very determined though. Interesting if someone can do it.

    Best to use Scar for RuneScape.
    Offtopic: If SRL is called Srl Resource Library, then what does that Srl mean? and the Srl in that one too? Scar Resource Library is much better in my opinion thus making more sense.

  15. #15
    Join Date
    May 2007
    Location
    England
    Posts
    4,140
    Mentioned
    11 Post(s)
    Quoted
    266 Post(s)

    Default

    Quote Originally Posted by Junkj View Post
    Offtopic: If SRL is called Srl Resource Library, then what does that Srl mean? and the Srl in that one too? Scar Resource Library is much better in my opinion thus making more sense.
    It's a recursive synonym. The S stands for SRL. I think it should be SCAR as well, but meh.

    Wouldn't a simple FindColorTolerance do the job?
    <3

    Quote Originally Posted by Eminem
    I don't care if you're black, white, straight, bisexual, gay, lesbian, short, tall, fat, skinny, rich or poor. If you're nice to me, I'll be nice to you. Simple as that.

  16. #16
    Join Date
    Jan 2007
    Posts
    834
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Seems like the color of the poo is the same colors of the cows. He should move the mouse and waits until something comes up.Like a uptext. He could get that bitmap and when it finds it, it clicks. Why don't you play that game legitimately. And then macro on scar?

  17. #17
    Join Date
    Sep 2009
    Posts
    14
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    yea!
    If (FindBitmapTolerance(weird, x, y, 50)) Then
    works! but its not holding down left click

    Code:
      MoveMouseSmoothEx(X, Y, 20, 40, 45, 25, 20);
        Wait(1000+random(100));
         HoldMouse(100,100,true);
          wait(100);
           MoveMouseSmooth(100,170);
            wait(100);
             ReleaseMouse(100,120,true);

  18. #18
    Join Date
    May 2007
    Location
    England
    Posts
    4,140
    Mentioned
    11 Post(s)
    Quoted
    266 Post(s)

    Default

    SCAR Code:
    If (FindBitmapTolerance(weird, x, y, 50)) Then
    begin
      MoveMouseSmoothEx(X, Y, 20, 40, 45, 25, 20);
      Wait(1000+random(100));
      HoldMouse(100,100,true);
      wait(100);
      MoveMouseSmooth(100,170);
      wait(100);
      ReleaseMouse(100,120,true);
    end;
    <3

    Quote Originally Posted by Eminem
    I don't care if you're black, white, straight, bisexual, gay, lesbian, short, tall, fat, skinny, rich or poor. If you're nice to me, I'll be nice to you. Simple as that.

  19. #19
    Join Date
    Sep 2009
    Posts
    14
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    yep thats what i have.

    Code:
    If (FindBitmapTolerance(rounder, x, y, 50)) Then
    begin
       MoveMouseSmoothEx(X, Y, 20, 40, 45, 25, 20);
        Wait(1000+random(100));
         HoldMouse(X, Y, True);
          wait(100);
           MoveMouseSmooth(100,170);
            wait(50);
             ReleaseMouse(100,120,true);
              MoveMouseSmooth(309,193);
               ClickMouse(x,y,true);
           end;
    its not holding down left click hmm i changed it to (X, Y, True);

    and how do i setup my script to work with smart or is that only rs?
    Last edited by koric; 09-26-2009 at 06:00 AM.

  20. #20
    Join Date
    Apr 2007
    Location
    UK
    Posts
    2,295
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Smart is RS only.

    Rogeruk's Al-Kharid Tanner V1.1 [Released]
    Rogeruk's Barbarian Crafter [Coming Soon]
    Rogeruk's Guild Fisher [Coming Soon]
    !! - Taking Requests - !!

  21. #21
    Join Date
    Sep 2009
    Posts
    14
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    got the hold mouse working.
    cant get the rest to cooperate.
    what i need it to do..hold mouse and drag down two spaces, with mouse still held. but now it just holds mouse and releases. hmm sooo close

    Code:
       MoveMouseSmoothEx(X, Y, 20, 40, 45, 25, 20);
        Wait(1000+random(100));
         HoldMouse(X, Y, True);
          Wait(1000+random(1000));
           MoveMouse(100,170);
             ReleaseMouse(x,y,true);
              MoveMouseSmooth(309,193);
               ClickMouse(x,y,true);
    Last edited by koric; 09-26-2009 at 10:18 AM.

  22. #22
    Join Date
    Jul 2009
    Posts
    421
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    You are very good for a registered user. Nice script, and fallout online? I'll have to try that out, much people play it?
    Edit: I cant seem to find fallout online. Link please?
    Last edited by Neehosoft; 09-26-2009 at 10:27 AM.
    Quote Originally Posted by Cstrike View Post
    Why do I even try these things? I just shit my pants over this god damn tutorial. Fuck, that's uncleanable. I can't even wash that out because there's so much of my shit it will just stain everything else. If I put it in the washing machine, I'm sure to stain the sides.

  23. #23
    Join Date
    Sep 2009
    Posts
    14
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Neehosoft View Post
    You are very good for a registered user. Nice script, and fallout online? I'll have to try that out, much people play it?
    Edit: I cant seem to find fallout online. Link please?
    This site has links for client and the updater. theres 2 servers, russan one is called "the life after" english is "2238" make sure the port in the config exe is set to 2238 Forum irc:/#2238@irc.forestnet.org

    anyways anyone know how to hold down mouse and drag it down and then release

    MoveMouseSmooth(x,70); <--does that look right? 70 pixes down? no change in horizontal? grr

    dont know how to explain what im trying to do. im trying to move the mouse down a few inches, relitive to where i hold mouse, click, and move mouse to the shovel and click agian

    Code:
    HoldMouse(X, Y, True);
          Wait(1000+random(1000));
           MoveMouseSmooth(x,70);
            ReleaseMouse(x,y,true);
    Last edited by koric; 09-26-2009 at 01:22 PM.

  24. #24
    Join Date
    Sep 2009
    Posts
    14
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    i fixed it just made bitmaps for everything lol

  25. #25
    Join Date
    Apr 2007
    Location
    UK
    Posts
    2,295
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Glad you got it working lol

    Rogeruk's Al-Kharid Tanner V1.1 [Released]
    Rogeruk's Barbarian Crafter [Coming Soon]
    Rogeruk's Guild Fisher [Coming Soon]
    !! - Taking Requests - !!

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •