Results 1 to 3 of 3

Thread: Error Help?

  1. #1
    Join Date
    Oct 2006
    Location
    Philadelphia
    Posts
    75
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Error Help?

    I'm trying to make a clay maker in the mining guild but i keep getting the error

    "Close Round expected in Script'

    I attached the script. If you could please take a look it would be greatly appreciated.

  2. #2
    Join Date
    Jun 2006
    Posts
    18
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    You had an extra semi-colon and you don't need a ':=' for comparing... it just

    a = 28.

    But, there's now an unknown identifier on line 45, no idea.

    Attached the "fixed" script.

  3. #3
    Join Date
    Nov 2006
    Location
    NSW, Australia
    Posts
    3,487
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Here you go:

    SCAR Code:
    program CraftingGuildClayCrafter;

    {.include srl/srl.scar}

    Const
    ClayColor=0;



    Procedure MineClay;
    Var
    x,y:integer;

    Begin
    MakeCompass('w')
      Repeat
         FindNormalRandoms;
         FindMSColor(x,y,claycolor);
         Mouse(x,y,1,1,true);
         Wait(3000+random(1000));
      Until(InvFull);
    end;

    Procedure WetClay;
    Var
    x:integer;

    Begin
    MakeCompass('n');
    x:=2;
      repeat
         MouseItem(1,true);
         Wait(250+random(500));
         MouseItem(x,true);
         x:=+1;
      Until(x=28);
    end;

    Procedure MakeClay;
    Begin
      repeat
        FindSymbol(x,y,'pottery');
        Mouse(x,y,1,1,true);
        Wait(3000+random(500));
      Until(FindObjMulti('Potters Wheel',8618893,2369592,3227728,20));
    end;

    begin
    end.
    [CENTER][img]http://signatures.mylivesignature.com/54486/113/4539C8FAAF3EAB109A3CC1811EF0941B.png[/img][/CENTER]
    [CENTER][BANANA]TSN ~ Vacation! ~ says :I Love Santy[/BANANA][/CENTER]

    [CENTER][BANANA]Raymond - Oh rilie? says :Your smart[/BANANA][/CENTER]

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Line 135: [Error] (14845:1): Syntax error in script
    By AbsTrACt'^.| in forum OSR Help
    Replies: 16
    Last Post: 05-23-2008, 01:14 PM
  2. Replies: 5
    Last Post: 02-26-2008, 04:14 PM
  3. Smart error and Some kind of Math.scar error
    By FagetHax0r in forum OSR Help
    Replies: 6
    Last Post: 02-24-2008, 10:43 AM

Posting Permissions

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