Results 1 to 4 of 4

Thread: Gettin' the mouse to move in srl.

  1. #1
    Join Date
    Dec 2006
    Posts
    65
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Gettin' the mouse to move in srl.

    Well, I made a really shitty script.
    I'm assuming its about login.
    SCAR Code:
    program New;
    {.include SRL/SRL.scar}
    {.include SRL/SRL/skill/fighting.scar}
    const
    Color1 = 12303556;//Monster's Color
    Color2 = 15527150;//Monster's Color
    Color3 = 12303556;//Monster's Color
    MonsterName = 'Chicken';//Monster's name
    Tolerence = 5;//Tolerance of finding the monster
    Procedure Login;
    begin
    LoggedIn;
    end;
    procedure Kill;
    begin
    AttackMonster(Color1, color2, color3, MonsterName, Tolerence);
    end;
    Begin
    SetupSRL;
    Login;
    Repeat
    Kill;
    Until(IsFKeyDown(5));
    end.


    Post what I did wrong.

  2. #2
    Join Date
    Nov 2006
    Location
    California, USA
    Posts
    336
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Well you're right that it is about login.

    LoggedIn only checks if you are logged in and doesn't do what LoginPlayer does. You will need read the SRL manual and tutorials to figure out how to use LoginPlayer.

  3. #3
    Join Date
    Feb 2007
    Posts
    3,616
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    and for log in, you need the user name and pass, because the script can't guess it

  4. #4
    Join Date
    Jun 2006
    Posts
    1,492
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Yea. You have to set up the Player Array, with Username and Pass. LoginPlayer can then sucessfully login. Look at tut island for how to set up ur player array

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. How to make the mouse move.
    By BazzBarrett in forum Delphi/FPC Help and Tutorials
    Replies: 1
    Last Post: 12-03-2008, 10:01 AM
  2. Mouse Doesnt Move
    By Nite Elf in forum OSR Help
    Replies: 12
    Last Post: 03-19-2008, 12:05 AM
  3. Move the mouse random
    By marre in forum OSR Help
    Replies: 5
    Last Post: 10-21-2007, 02:23 PM
  4. what mouse move is best
    By yanix in forum OSR Help
    Replies: 11
    Last Post: 07-31-2007, 06:58 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
  •