Results 1 to 3 of 3

Thread: Code help please :)

  1. #1
    Join Date
    Feb 2013
    Posts
    2
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Post Code help please :)

    program New;
    {$i srl\srl.simba}

    Procedure ClickMonster;
    var x, y:Integer;
    begin
    if FindColor(x, y, 5867131, 15, 15, 700, 480)then
    writeLn('Got em Coach');
    begin
    if srl_infight = false then
    mouse(x, y, 0, 0, True);
    wait (RandomRange (2000,4000));

    end;
    end;



    begin
    SetUpSRL;
    repeat
    ClickMonster;
    until (IsKeyDown (114));
    end.
    __________________________________________________ __________________________________________________ ____________________
    Thats what i got.(this is for rsps).
    When I run it, it works but I was wondering if anyone knew how to keep it from cliking on other monsters while im in combat with one.

    Thanks

  2. #2
    Join Date
    Jul 2012
    Posts
    437
    Mentioned
    10 Post(s)
    Quoted
    165 Post(s)

    Default

    simplist way is to increase the wait timer

  3. #3
    Join Date
    Feb 2013
    Posts
    2
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    thanks ill put it in for now, but if anyone else has a sure fire way to do it please give it to meh .

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
  •