Results 1 to 5 of 5

Thread: About AutoLogin! Question! Not bug!

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

    About AutoLogin! Question! Not bug!

    Example:
    I write my username and password incorrectly but i dont see it!
    Then my script tries to logg in with it...

    I want that my script writes at SCAR report box ( i mean in that box where it writes errors): You writed incorrect username or password!
    Something like this! And ofcourse script terminates!


    AND...
    when it starts it minimazes SCAR!

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

    Default

    Well, do something like
    if(FindChat('invalid'))then
    begin
    Writeln('invalid user name and password..')
    TerminateScript;
    end;

    Like that. I think for FindChat though you have to set coords box, not 100% sure what command I'd use for looking for the text. just look through the SRL manual for one, then just do waht I did above.

  3. #3
    Join Date
    Oct 2006
    Location
    finland, helsinki
    Posts
    2,501
    Mentioned
    3 Post(s)
    Quoted
    2 Post(s)

    Default

    if i remember right Loginplayer is in a loop so that wouldnt work..

    Code:
    • Narcle: I recall Jukka releasing a bunch of scripts like this before... Its how he rolls I think. rofl
    • Solarwind: Dude, you are like... t3h s3x.
    • Hy71194: JuKKa you're a machine! You released 3 scripts in 10 minutes! :O
    • benjaa: woah.... Jukka is the man Guildminer pwns all
    • NaumanAkhlaQ: And JuKKa Is my Her0!

  4. #4
    Join Date
    Oct 2006
    Location
    Ireland
    Posts
    855
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    If you want it to minimize scar use activateclient;

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

    Default

    Oh, just thought of how you could do this. do something like LoginPlayer, then make it wait like 10 seconds (plus a random time of course) then put
    SCAR Code:
    if(not(LoggedIn))then
    begin
    Writeln('you did not put your password and username in correctly! terminating script..')
    TerminateScript;
    end;
    that should work Only problem that may have is, if its at the click here to play screen when you just log in, not sure if that counts as not logged in.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. AutoLogin
    By Baked0420 in forum First Scripts
    Replies: 13
    Last Post: 02-28-2009, 11:04 AM
  2. AutoLogin help please.
    By godspower55 in forum OSR Help
    Replies: 1
    Last Post: 11-12-2008, 05:01 PM
  3. AutoLogin i...
    By BritishBunny in forum OSR Help
    Replies: 4
    Last Post: 07-08-2007, 04:28 PM
  4. Autologin
    By Dadeer in forum RS3 Outdated / Broken Scripts
    Replies: 1
    Last Post: 11-30-2006, 08:45 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
  •