Results 1 to 3 of 3

Thread: Omfg... ERROR!

  1. #1
    Join Date
    Mar 2007
    Posts
    276
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Omfg... ERROR!

    Ok, I know what the error means, and everything is correct on the line (i think) But it stills giving me this error..


    Line 73: [Error] (14474:11): Invalid number of parameters in script C:\Program Files\SCAR 3.06\Scripts\EdgeVill cooker.scar

    Heres The Script..

    SCAR Code:
    {------------------------------}
    {    DTMs/BitMaps              }
    {------------------------------}
    Procedure DtmBitMap;
    begin
      TreeDTM := DTMFromString('78DA6364616060606640019E05A6609A11CA6' +
           '76402124C0C58015C0D1B906021600E2BA63958ED22E01E003486' +
           '03E4')
    end;

    {------------------------------}
    {    Walking To Stove          }
    {------------------------------}

    Procedure WalkingToStove;
    begin
      if(not(LoggedIn))then
      LoginPlayer;
      SetRun(true)
      MakeCompass('N')
      HighestAngle;
      RadialWalk(535868,381,316,65,2,2)
      WriteLn('Walked To Tree!')
      Wait(1456 + Random(264))
      repeat
        wait(572+random(104))
        Tries := Tries + 1
        if(Tries = 10)then
        begin
          Writeln('could Not Find Tree.... Switching Players');
          Nextplayer;
        until FindDTM(x,y,TreeDTM,MMX1,MMY1,MMX2,MMY2); //this is the Line.
          Mouse(x,y,1,1,True)
          WriteLn('Walking To Gate')
          Wait(1109 + Random(421))
          MakeCompass('S')
          LowestAngle;
          if FindColorTolerance(x,y,7981,MSX1,MSY1,MSX2,MSY2,20)or
          FindColorTolerance(x,y,10299,MSX1,MSY1,MSX2,MSY2,20)or
          FindColorTolerance(x,y,1732207,MSX1,MSY1,MSX2,MSY2,20)then
          begin
            IsUpText('ate')
            Wait(900 - Random(354))
            Mouse(X,Y,2,2,True)
            if FindColorTolerance(x,y,857111,MSX1,MSY1,MSX2,MSY2,15)or
            FindColorTolerance(x,y,1129293,MSX1,MSY1,MSX2,MSY2,15)or
            FindColorTolerance(x,y,7205,MSX1,MSY1,MSX2,MSY2,15)then
            begin
              IsUpText('oor')
              Wait(523 + Random(98))
              Mouse(X,Y,2,2,True)
              HighestAngle;
              MakeCompass('N')
          end;
        end;
      end;
    end;


    Someone: 'Who the hell is TooManySitUps?'

    Boreas: 'Switch the first and last letter of my name, what do you get?'

    Someone: 'Um, SoreAb?'

    Boreas: 'And how do you get that?'

    Someone: 'From Too Many Sit Ups!! Haha, Boreas you are so clever!'

    Boreas: 'Ya he's like my evil twin that takes over when I'm being really sarcastic, or playing devil's advocate.'

  2. #2
    Join Date
    Apr 2007
    Location
    California
    Posts
    259
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Its the line before it, as usual with the errors. You need NextPlayer(True) or NextPlayer(False)

  3. #3
    Join Date
    Jun 2006
    Location
    USA
    Posts
    1,828
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Nvm...

    Edit: Ye like NewToAutoing said: NextPlayer(True) or False.
    And Find dtm must be like: if(FindDTM("Dtm",x,y,....)) : DTM first then variables.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Omfg!
    By Blender in forum Java Help and Tutorials
    Replies: 5
    Last Post: 02-15-2009, 05:01 PM
  2. Omfg, Ive Had It!
    By stana in forum RS3 Outdated / Broken Scripts
    Replies: 5
    Last Post: 06-17-2007, 01:19 PM
  3. omfg please help
    By wesleyar in forum OSR Help
    Replies: 3
    Last Post: 05-31-2007, 12:12 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
  •