Results 1 to 5 of 5

Thread: Script won't work.

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

    Default Script won't work.

    SCAR Code:
    program New;

    {.include SRL/SRL.scar}

    Procedure Main;
    begin
      RadialWalk(65536, 270, 272, 20, 1, 1);
      WriteLn('Done');
    end;

    begin
      SetupSRL;
      SetAngle(True);
      Main;
    end.
    The program says "Done" but it doesn't click in the minimap at all. What's wrong?

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

    Default

    RadialWalk(65536, 270, 272, 20, 1, 1);

    function RadialWalk(TheColor: Integer; StartRadial, EndRadial: Integer; Radius: Integer; Xmod, Ymod: Integer): Boolean;

    your radial is too small.

    you have a radial of only 2ยบ

    use this attachement to help you out :

    ~RM

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

  3. #3
    Join Date
    Mar 2007
    Posts
    128
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Thank you very much, that is a sick little script there :P. It comes in very handy!

    Needless to say, I fixed the problem.
    + Rep given as well.

  4. #4
    Join Date
    May 2008
    Location
    Australia
    Posts
    54
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    How exactly does it work? i ran it, but i dont get what to do with it >.<

  5. #5
    Join Date
    Mar 2007
    Posts
    128
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by AnonyMouse View Post
    How exactly does it work? i ran it, but i dont get what to do with it >.<
    Well, it doesn't work in the state I posted it in, but what it's supposed to do is go to the minimap and find the color black and then click it.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Help getting this script to work
    By kollmann in forum OSR Help
    Replies: 3
    Last Post: 03-31-2008, 09:09 PM
  2. My script won't work???
    By Zeta in forum OSR Help
    Replies: 2
    Last Post: 08-07-2007, 07:32 AM
  3. cant get script to work
    By jones264 in forum OSR Help
    Replies: 1
    Last Post: 08-06-2007, 12:28 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
  •