Results 1 to 5 of 5

Thread: I don't know what i did wrong... :(

  1. #1
    Join Date
    Jul 2007
    Location
    Ireland
    Posts
    8
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default I don't know what i did wrong... :(

    So here's my problem i cant make it that the script repeats itself.



    SCAR Code:
    ///////////////////////////////////////////////////////////////////////////////
    ///            _________                                                    ///
    ///            |_______| _      _||    _          _____ ||_____             ///
    ///                ||    \\    //   ||/ \ ||   || | __|   |  _|             ///
    ///                ||     \\  // || ||/\/ ||   || _\\_     _\\_             ///
    ///                ||      \\//  || ||    ||___|| |___|   |___|             ///
    ///                          ____________________________                   ///
    ///                          |Draynor Netter and banker|                    ///
    ///                          ----------------------------                   ///
    ///                                                                         ///
    ///                                                                         ///
    ///                                                                         ///
    ///                                                                         ///
    ///                                                                         ///
    ///                                                                         ///
    ///////////////////////////////////////////////////////////////////////////////
    ///////////////////////////////////////////////////////////////////////////////



    program new;
    var
      Width, Height: Integer;
      xx, yy: Integer;
    begin
      SetMouseMode(False);
      GetClientDimensions(Width, Height);
     
     wait (2000)


                        //////////STEP:1 FISHING\\\\\\\\\\


    if(FindColorTriangle(xx, yy, 15058073, 531, 0, 0, 799, 1156, 799))then
     ClickMouse(xx, yy, true);
     Wait (14000)
     
     
     
     
           //////////////////////////
           /////Bored Simulation\\\\\
           //////////////////////////
           
     ClickMouse(random (width),random(height), false)
     Wait (3000)
     MoveMouseSmooth(Random (width), Random (Height))
     
     
     
     
     
             //////////////////////////////////////////////////////
             ////EXAMINE SHRIMP OR ANCHIOVIS IN 2ND INVENT SLOT\\\\
             /////////so the game doesn't log you out//////////////
             
     Wait (2000)
     MoveMouseSmooth(804, 464) ///
     ClickMouse (804, 464, false)
     wait (1000)
     
     MoveMouseSmooth(804, 519) /// EXAMINE button
     ClickMouse (804, 519, true)

     WAIT (40000)
                         /////////////////////////////
                         ///    inventory banking  ///
                         /////////////////////////////
        MoveMouseSmooth(752, 299);
         ClickMouse (752, 299, true);
         
         Wait(3000);
         
         
         if(FindColorTriangle(xx, yy, 7178647, 531, 0, 0, 799, 1156, 799))then
     ClickMouse(xx, yy, false);
     wait (1500);
     
     if(FindColorTriangle(xx, yy, 16762653, 531, 0, 0, 799, 1156, 799))then
     ClickMouse(xx, yy, true);
     
     wait (1000);
      MoveMouseSmooth(801, 466)
         ClickMouse (752, 299, false);
         wait (1367);
         MoveMouseSmooth(801, 533)
         ClickMouse (801, 533,true)
         
         Wait(3000)
         MoveMouseSmooth(672, 271)
         ClickMouse (672, 271, true)
         
         wait (2000)
         MoveMouseSmooth(874, 347)
         ClickMouse (874, 347, true)
         wait (100)


    (LINE 100)  until(false);
     end.




    Failed when compiling
    Line 100: [Error] (100:1)


    WTF?



    Can someone plz help me???
    This is my first script so i dunno whats the problem

  2. #2
    Join Date
    Dec 2006
    Location
    Sweden
    Posts
    10,812
    Mentioned
    3 Post(s)
    Quoted
    16 Post(s)

    Default

    Well, I will help you, just wanted to let you know a few things- the ClickMouse and MoveMouseSmooth WILL get you banned.

    And to repeat, you need to write repeat, then the line before end write until(false);


    Send SMS messages using Simba
    Please do not send me a PM asking for help; I will not be able to help you! Post in a relevant thread or make your own! And always remember to search first!

  3. #3
    Join Date
    Nov 2007
    Posts
    326
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Hy71194 View Post
    Well, I will help you, just wanted to let you know a few things- the ClickMouse and MoveMouseSmooth WILL get you banned.
    Make them into Mouse and MMouse instead. Also, make sure to add some sort of antiban function, like check some game tabs, or move off the RS window for a few seconds, etc.

    Check out my Edgeville Smelter!

  4. #4
    Join Date
    Jul 2007
    Location
    Ireland
    Posts
    8
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    ok ill do so and thx all

  5. #5
    Join Date
    Nov 2007
    Location
    SCAR central
    Posts
    116
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    you need a repeat in there somewere

    and like the other guy said

    until(false)

    is really bad

    you want fail safes (if something goes wrong it stops)
    Click here for Rora's Power Woodcutter!
    Testers needed!
    |
    |
    |
    |
    V



    http://www.fenjer.com/adnan/SRL//100...Woodcutter.png

    http://photos33.flickr.com/38918814_8370ddb570_m.jpg




    If I see you autoing with level 3/default clothes/crap name I WILL report you. Auto Correctly. - put this in your sig.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. what am i doing wrong ?:P
    By sjlou in forum OSR Help
    Replies: 2
    Last Post: 10-01-2007, 01:52 PM
  2. What am i doing wrong?
    By One Leeter in forum OSR Help
    Replies: 7
    Last Post: 06-15-2007, 10:33 PM
  3. Replies: 8
    Last Post: 03-23-2007, 04:20 PM

Posting Permissions

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