Results 1 to 9 of 9

Thread: RadialWalk Help

  1. #1
    Join Date
    Apr 2007
    Location
    Melbourne, Aus
    Posts
    202
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default RadialWalk Help

    Hi, Whenever i use radialwalk. it finds the location im looking for but as soon as it clicks it it moves the mouse randomly away. i think maybe for antiban?
    how do i stop this? maybe write my own so that it would do move the mouse away maybe 30% of the time instead of 100%.

  2. #2
    Join Date
    Feb 2006
    Location
    Tracy/Davis, California
    Posts
    12,631
    Mentioned
    135 Post(s)
    Quoted
    418 Post(s)

    Default

    Yeah RadialRoadWalk has sleepandmovemouse? build into it.
    You could copy/paste the function from SRL to your script, rename it to like JimmyWalk, and then edit it however you wish, just make sure to call JimmyWalk instead of RadialRoadWalk in your script. Good luck!

  3. #3
    Join Date
    Apr 2007
    Location
    Melbourne, Aus
    Posts
    202
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    thanks mate. ill give it a shot

    Edit:
    This is the function im calling in my script. I dont see where sleep and move mouse is called. Can you point it out for me? thanks

    Code:
    function RadialWalkEx(var TPA: TPointArray; cx, cy, TheColor, tol, StartRadial, EndRadial, Radius: Integer): Boolean;
    var
      i, SD, ED: Integer;
    begin
      Result := False;
      SD := StartRadial;
      ED := EndRadial;
      if (SD = ED) then
      begin
        srl_Warn('RadialWalkEx', 'StartRadial = EndRadial, using LinearWalkEx.', warn_Warning);
        Result := LinearWalkEx(tpa, cx, cy, TheColor, tol, StartRadial, Radius);
      end;
      if (SD > ED) then
        Swap(SD, ED);
      SD := Trunc(FixD(SD + 0.0));
      ED := Trunc(FixD(ED + 0.0));
      if (not LoggedIn) then Exit;
      i := GetSystemTime;
      try
        FindColorsTolerance(tpa, TheColor, MMX1, MMY1, MMX2, MMY2, tol);
        FilterPointsPie(tpa, SD, ED, 10, Radius, cx, cy);
        SortCircleWise(tpa, cx, cy, StartRadial, False, StartRadial > EndRadial);
        Result := (Length(tpa) > 0);
      except
        srl_Warn('RadialWalkEx', 'An exception has occured', warn_AllVersions); Exit;
      end;
      srl_Warn('RadialWalkEx', 'Took ' + IntToStr(GetSystemTime - i) +
        ' ms, found' + IntToStr(Length(TPA)) + ' points', warn_Debug);
    end;
    Last edited by jimmy_mac; 12-05-2009 at 03:12 AM.

  4. #4
    Join Date
    Apr 2007
    Location
    Melbourne, Aus
    Posts
    202
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    also do you get notifications if i edit a post?

  5. #5
    Join Date
    Dec 2006
    Location
    Houston, TX USA
    Posts
    4,791
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    You could copy all your original post, delete it, then make a new one with the original one pasted with an edit so it would be a new post without double posting.

    To answer your question: No.

  6. #6
    Join Date
    Apr 2007
    Location
    Melbourne, Aus
    Posts
    202
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    alright ill do that from now on, anyone know what i should do regarding the mouse movements?
    Last edited by jimmy_mac; 12-05-2009 at 05:43 AM.

  7. #7
    Join Date
    Dec 2006
    Location
    Sydney, New South Wales, Australia
    Posts
    4,603
    Mentioned
    15 Post(s)
    Quoted
    42 Post(s)

    Default

    It's a problem with FFlag. Please make sure you have updated to the latest open developer revision. An excellent guide on how to do so can be found here.
    You may contact me with any concerns you have.
    Are you a victim of harassment? Please notify me or any other staff member.

    | SRL Community Rules | SRL Live Help & Chat | Setting up Simba | F.A.Q's |

  8. #8
    Join Date
    Aug 2008
    Location
    Finland
    Posts
    2,851
    Mentioned
    3 Post(s)
    Quoted
    2 Post(s)

    Default

    I think
    SRL_Procs[SRL_Antiban] := null;
    would have done the trick.

  9. #9
    Join Date
    Apr 2007
    Location
    Melbourne, Aus
    Posts
    202
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Thanks for your help, appreciate it.
    I downloaded the dev scar and srl. But this didnt fix the problem.
    The problem is with what marpis said. which is in the 'FlagEx' function.

    marpis, i tried adding 'SRL_Procs[SRL_Antiban] := null;' into my script.
    but its giving me this:

    [Runtime Error] : Exception: Type Mismatch in line 27 in script.
    line 27 is where i've put the code you suggested.

    thanks again for all your help

Thread Information

Users Browsing this Thread

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

Posting Permissions

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