Results 1 to 2 of 2

Thread: A Lil' Anti-Random Help

  1. #1
    Join Date
    Mar 2008
    Location
    ::1
    Posts
    915
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    A Lil' Anti-Random Help

    Hey guys. My script keeps ending because it can't find a tree because it's been teleported to the wizzy tower. Why is this? Here is my anti-random procedure...

    SCAR Code:
    function DealWithThoseStupidRandoms: Boolean;
    var
      i: Integer;
    var
      solved: Boolean;
    begin
      if not LoggedIn then LoginPlayer;
      for i := 0 to 6 do
      begin
        case I of
          0: FTWait(4);
          1: FindNormalRandoms;
          2: URNfindfight(true,15000,2000,'E');
          3: if(FindMod) then begin RunAway('E',true,1,15000 + random(500)); wait(1000); end;
          4: FindEnt(x,y,true);
          {5: if(InQuizRandom)then begin
                Writeln('Found quiz. Solving...');
                solved:= FindQuiz;
                if(not solved) then begin
                   Writeln('Failed to solve quiz random. Ending Script!');
                   TerminateScript;
                end else begin
                   Writeln('Quiz Solved!');
                   wait(4000 + random(1000));
                end;
             end;}

          6: FTWait(4);
          7: if(not FindAxe)then begin
                Writeln('lost axe!');
                Logout;
                NextPlayer(false);
             end;
          //7: FindFrog;
        end;
        end;
    end;

    Records and Types Save Code (and make you look better)
    Quote Originally Posted by Wizzup? View Post
    Is it possible to make Runescape a 2D game with this?... That would greatly simplify... Just about anything.

  2. #2
    Join Date
    May 2007
    Location
    Some where fun.
    Posts
    2,891
    Mentioned
    1 Post(s)
    Quoted
    5 Post(s)

    Default

    Quote Originally Posted by tniffoc View Post
    Hey guys. My script keeps ending because it can't find a tree because it's been teleported to the wizzy tower. Why is this? Here is my anti-random procedure...

    SCAR Code:
    function DealWithThoseStupidRandoms: Boolean;
    var
      i: Integer;
    var
      solved: Boolean;
    begin
    [B]  if not LoggedIn then LoginPlayer;[/B]
      for i := 0 to 6 do
      begin
        case I of
          0: FTWait(4);
          1: FindNormalRandoms;
          2: URNfindfight(true,15000,2000,'E');
          3: if(FindMod) then begin RunAway('E',true,1,15000 + random(500)); wait(1000); end;
          4: FindEnt(x,y,true);
          {5: if(InQuizRandom)then begin
                Writeln('Found quiz. Solving...');
                solved:= FindQuiz;
                if(not solved) then begin
                   Writeln('Failed to solve quiz random. Ending Script!');
                   TerminateScript;
                end else begin
                   Writeln('Quiz Solved!');
                   wait(4000 + random(1000));
                end;
             end;}

          6: FTWait(4);
          7: if(not FindAxe)then begin
                Writeln('lost axe!');
                Logout;
                NextPlayer(false);
             end;
          //7: FindFrog;
        end;
        end;
    end;
    Im confused, your saying your anti randoms failed?

    Get rid if not loggedin then login player

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Anti-Random help?
    By 666d3v1l666 in forum OSR Help
    Replies: 0
    Last Post: 11-11-2008, 04:35 AM
  2. anti random help
    By del_signo in forum OSR Help
    Replies: 6
    Last Post: 04-09-2007, 04:54 AM
  3. Help on Anti-Random
    By UnKnOwN ScrIPTeR in forum OSR Help
    Replies: 1
    Last Post: 12-30-2006, 11:44 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
  •