Results 1 to 4 of 4

Thread: Having Problem with login(timing)

  1. #1
    Join Date
    Aug 2007
    Posts
    8
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Having Problem with login(timing)

    Hi i am having a problem with my first script just trying to get it to login and move the mouse around the screen a couple of times.

    If i remove the loggin part the mouse does what it is supposed to.

    here is my code:

    SCAR Code:
    program Auto;
    {.include SRL/SRL.scar}
    {.include SRL/SRL/Skill/WoodCutting.scar}
    var LoopCount: integer;
    procedure FunkyMouse;
      begin
        MMouse(0+random(50),0+random(50),0,0);
        wait(100+random(50));
        MMouse(200+random(50),0+random(50),0,0);
        wait(100+random(50));
        MMouse(200+random(50),200+random(50),0,0);
        wait(100+random(50));
        MMouse(0+random(50),200+random(50),0,0);
        wait(100+random(50));
        MMouse(0+random(50),0+random(50),0,0);
      end;

    Procedure InitPlayers;
      begin
        HowManyPlayers  :=1;
        NumberOfPlayers(HowManyPlayers);
        CurrentPlayer:=0;

        Players[0].Name :='username';
        Players[0].Pass :='password';
        Players[0].Nick :='nick';
        Players[0].Loc  :='yourloc';
        Players[0].Skill:='yourskill';
        Players[0].Active:=True;
      end;

    begin
      LoopCount := 0;
      SetupSRL;
      ActivateClient;
      InitPlayers;
      if(not(LoggedIn))then
      begin
        writeln('Logging In ');
        LoginPlayer;
      end;
      writeln('here');
      repeat
        LoopCount := LoopCount + 1;
        FunkyMouse;
      until(LoopCount > 2);
    end.

    It does eventually move the mouse after about 10 minutes its like there is a wait(6000000) somewhere and i even looked in login.scar and that seems to be all ok.

    Any help would be greatly appreciated.

  2. #2
    Join Date
    Dec 2006
    Location
    Sweden
    Posts
    10,812
    Mentioned
    3 Post(s)
    Quoted
    16 Post(s)

    Default

    SRL is down ATM


    Send SMS messages using Simba
    Please do not send me a PM asking for help; I will not be able to help you! Post in a relevant thread or make your own! And always remember to search first!

  3. #3
    Join Date
    Aug 2007
    Posts
    8
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Down??

    oh i see curse my ability to not be able to read

  4. #4
    Join Date
    Apr 2007
    Location
    new zealand
    Posts
    87
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    i think srl needs up date b4 it will work

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. RS login problem!
    By P1nky in forum OSR Help
    Replies: 7
    Last Post: 02-24-2008, 04:12 PM
  2. RS login problem!
    By P1nky in forum OSR Help
    Replies: 1
    Last Post: 02-23-2008, 08:32 PM
  3. Script for GuildWars Timing Problem?
    By sollek in forum OSR Help
    Replies: 8
    Last Post: 10-25-2007, 01:57 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
  •