Results 1 to 6 of 6

Thread: One Problem

  1. #1
    Join Date
    Aug 2007
    Location
    In Your Front Door!
    Posts
    371
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default One Problem

    SCAR Code:
    Procedure WalkToOak;
    begin
      begin
      if RadialWalk(FindVarrockRoadColor, 230, 260, 69, 2, 2) then
        begin
          FFlag(1);
          WriteLn('Walking To Oak Step 1');
        end else
        WriteLn('Did not complete Walking To Oak step 1');
        Logout;
        NextPlayer(True);
        Exit;
      end;
        begin
        if RadialWalk(15658734, 206, 241, 56, 2, 2) then
          begin
          FFlag(1);
          WriteLn('Walking To Oak Step 2');
        end else
        WriteLn('Did not complete Walking To Oak Step 2');
        WriteLn('Runescape Could of Changed Colors!');
        Logout;
        NextPlayer(True);
        Exit;
      end;
    end;
    I havent script in a while, so im having a problem that shouldn't even be a problem.
    Okay Its Walking to step 1 but does not do step 2, if it was the radialwalk that was wrong i should of gotten the writeln message but i dont get it.
    This is for Jagex!

    My Public Scripts
    Simple AutoTalker
    Face Maker

  2. #2
    Join Date
    Aug 2007
    Location
    Georgia, U.S.
    Posts
    890
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I had that problem a while ago also. It just can't find the color, try changing the color or making it click on a symbol.

  3. #3
    Join Date
    Aug 2007
    Location
    In Your Front Door!
    Posts
    371
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    So your telling me I wrote it correctly? That was kind of the major concern I had.
    If it was the colors I should of gotton the writeln message.
    This is for Jagex!

    My Public Scripts
    Simple AutoTalker
    Face Maker

  4. #4
    Join Date
    Aug 2007
    Location
    In Your Front Door!
    Posts
    371
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Can somebody look at this carefully and tell me whats wrong?
    This is for Jagex!

    My Public Scripts
    Simple AutoTalker
    Face Maker

  5. #5
    Join Date
    Sep 2006
    Posts
    6,089
    Mentioned
    77 Post(s)
    Quoted
    43 Post(s)

    Default

    It will exit the procedure always.

    SCAR Code:
    if RadialWalk(FindVarrockRoadColor, 230, 260, 69, 2, 2) then
      begin
        FFlag(1);
        WriteLn('Walking To Oak Step 1');
      end else
        WriteLn('Did not complete Walking To Oak step 1'); //if it has not walked it will ONLY do this
      Logout; //it will do this always
      NextPlayer(True); //and this
      Exit; //and this, which will exit the procedure and not continue with other things

    You have to wrap those things in a begin..end:

    SCAR Code:
    if RadialWalk(FindVarrockRoadColor, 230, 260, 69, 2, 2) then
      begin
        FFlag(1);
        WriteLn('Walking To Oak Step 1');
      end else
      begin
        WriteLn('Did not complete Walking To Oak step 1');
        Logout;
        NextPlayer(True);
        Exit;
      end;
    Hup Holland Hup!

  6. #6
    Join Date
    Aug 2007
    Location
    In Your Front Door!
    Posts
    371
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Oh okay, now I got it thanks you for your help!

    Little things like that can mess me up bad!
    This is for Jagex!

    My Public Scripts
    Simple AutoTalker
    Face Maker

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. problem...
    By Blumblebee in forum OSR Help
    Replies: 4
    Last Post: 12-28-2008, 07:22 AM
  2. help big problem
    By goblanca in forum OSR Help
    Replies: 3
    Last Post: 05-19-2007, 10:41 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
  •