Results 1 to 4 of 4

Thread: fail safes for radial walk

  1. #1
    Join Date
    Oct 2007
    Location
    england
    Posts
    200
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default fail safes for radial walk

    hi i realy need to add fail safes to my radial walking but im not shur how to this is what i have got:

    SCAR Code:
    procedure Walk2Bank;
    var X, Y : Integer;

    begin
      Radialwalk(FindRoadColor, 50, 80, 70, 2, 2);
      Flag;

      //then i need a fail safe but im not shure how to because if it dosnt
      //find the road color useing SRL's auto road color it just continues even if it
      //dosnt walk anywere!!!
    End;

    Plz help !!
    Quote Originally Posted by ham? View Post
    i didnt merder the fukin english language it im just talkin gangsta!!
    which none of u would no coz ur all fukin nerds

  2. #2
    Join Date
    Oct 2006
    Location
    United States
    Posts
    672
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    You dont need fflag its already in radial. here is one for radial, autocolorthis(bitmap) then just mouse coords for failsafe #2.

    SCAR Code:
    begin
          RadialRoadWalk(AutoColorD, 1, 50, 60, -1, -1);
          if not RadialRoadWalk(AutoColorD, 1, 50, 60, -1, -1)then
          begin
            LoadBitmaps;
            AutoColorThis(DG, 50, MMX1, MMY1, MMX2, MMY2);
            WriteLn('Couldnt Use Radial, Using Failsafe #1');
          end else
          begin
            Mouse(635, 20, 3, 3, True);
            WriteLn('Couldnt Use FailSafe #1, Using FailSafe #2');
          end;
        end;

  3. #3
    Join Date
    Feb 2007
    Location
    Access Violation at 0x00000000
    Posts
    2,865
    Mentioned
    3 Post(s)
    Quoted
    18 Post(s)

    Default

    Or use DDTM's.. they're pretty reliable.
    Read some DDTM tuts and ur fine
    Ce ne sont que des gueux


  4. #4
    Join Date
    Jul 2007
    Location
    Right now? Chair.
    Posts
    8,488
    Mentioned
    3 Post(s)
    Quoted
    12 Post(s)

    Default

    Quote Originally Posted by poolikemax View Post
    hi i realy need to add fail safes to my radial walking but im not shur how to this is what i have got:

    SCAR Code:
    procedure Walk2Bank;
    var X, Y : Integer;

    begin
      Radialwalk(FindRoadColor, 50, 80, 70, 2, 2);
      Flag;

      //then i need a fail safe but im not shure how to because if it dosnt
      //find the road color useing SRL's auto road color it just continues
      //even if it
      //dosnt walk anywere!!!
    End;



    Plz help !!
    There are different road color finders; it depends where you're walking, a picture is always good for more ideas.

    a typical failsafe is to increase the range of RRW
    for the color i usually have OldColor and NewColor arrays, and if NewColor = 0 then i use the old color with tolerance.

    but there are certainly walls or trees or water that you can use.

    and last case, as D1zl3 said, u could use a blind click. (and you can use compassangle to make a better "blind" click)

    ~RM

    I & I know Zion. It is in the spirit, body and mind of every one of us
    RMouse(obj: TMSIObject): boolean;

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Radial Walk
    By Gone Fishing in forum OSR Help
    Replies: 2
    Last Post: 06-01-2008, 12:31 AM
  2. Fail-safes, repeat and loop tutorial
    By solemn wishes in forum Outdated Tutorials
    Replies: 15
    Last Post: 12-12-2007, 09:22 AM
  3. can some one help me with radial walk
    By burnout in forum OSR Help
    Replies: 1
    Last Post: 04-03-2007, 03:19 PM
  4. radial walk help
    By del_signo in forum OSR Help
    Replies: 2
    Last Post: 02-27-2007, 12:31 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
  •