Results 1 to 14 of 14

Thread: AutoLogin

  1. #1
    Join Date
    Mar 2008
    Location
    New Jersey
    Posts
    1,673
    Mentioned
    1 Post(s)
    Quoted
    9 Post(s)

    Default AutoLogin

    my first script.... well first script I finished anyway, took me 5 minutes, I just got to lazy to log into Runescape so I made this script, not that I play much anymore because I auto mostly now but it uses SMART and logs you into world 66 (members). It also disguises Scar, was supposed to be grand exchange data base, but runescape has the same thing for every page.

    also SmartWorld= ''; wasn't working for me, can someone please help, it'll come in handy for the scripts im working on. You can put it under DeclarePlayers right? like this

    Code:
    procedure DeclarePlayers;
    Begin
    
      HowManyPlayers:= 1;
      CurrentPlayer:= 0;
      NumberOfPlayers(HowManyPlayers);
    
      Players[0].Name  := '';
      Players[0].Pass  := '';
      Players[0].Active  := True;
    
    SmartWorld=''; 
    End;
    then under the main loop have

    Code:
    SmartSetupEx(SmartWorld, False, True);
      While Not SmartReady Do Wait(100);
      SetTargetDC(SmartGetDC);
    Go to line 19 to change the world by changin 66 with the world you want

    btw, I'm more skilled then this, I can do way more things I just made this autlogger because i was bored and as mentioned before lazy, but since I made it I decided to post it.

    and just realized verison 1 has an unneeded constant, must have forgotten to take it out.

    well here's the script:

  2. #2
    Join Date
    Dec 2007
    Location
    Wizzup?'s boat
    Posts
    1,013
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    for Standard, you would put SmartWorld should go in setup, or maybe even Const
    Project: Welcome To Rainbow

  3. #3
    Join Date
    Mar 2008
    Location
    New Jersey
    Posts
    1,673
    Mentioned
    1 Post(s)
    Quoted
    9 Post(s)

    Default

    I tried putting it as a constant but it said begin expected because I did it like a code I think, i put SmartWorld= '66'; under constant, which doesn't go under Const, does it? if it does idk why it says begin expected. Could you give me an example please.

    EDIT:nevermind I figured out what you meant, I had it right up there, I just needed to add SmartWorld as a constant, but leave SmartWorld= '66'; in DeclarePlayers, I thought it was one or the other, thanks for the help.

    EDIT2: I thougth I fixed it, but apparently not, I must of ran a different tab and thought I still had that tab opened, so how do you do it?

    It's really annoying, I tried doing it like 50 different ways, I just can't seem to get it to work.

    This how I though it would work

    Code:
    Program AutoLogger;
    {.include SRL/SRL/misc/SMART.scar}
    {.Include SRL/SRL.Scar}
    
    Const
    SmartWorld
    
    procedure DeclarePlayers;
    Begin
    
      HowManyPlayers:= 1;
      CurrentPlayer:= 0;
      NumberOfPlayers(HowManyPlayers);
    
      Players[0].Name  := '';
      Players[0].Pass  := '';
      Players[0].Active  := True;
    
    SmartWorld= '66';
    End;
    
    Begin
      SmartSetupEx(SmartWorld, False, True);
      While Not SmartReady Do Wait(100);
      SetTargetDC(SmartGetDC);
      SetupSRL;
      ActivateClient;
      DeclarePlayers;
      LogInPlayer;
      Disguise('RuneScape - the massive online adventure game by Jagex Ltd - Microsoft Internet Explorer'); //This was supposed to be the Grand Exchange Database but all R.S. pages' are the same, no need to change
    End.
    but I keep getting an error that comes up as,

    Line 8: [Error] (12747:1): is ('=') expected in script

    line 8 is where I have my procedure

    nevermind, I searched for {.include SRL/SRL/misc/Smart.scar} on this site to lok for a script with smart and found out what I was looking for I know what i was doing wrong.

  4. #4
    Join Date
    Dec 2007
    Location
    192.168.1.73
    Posts
    2,439
    Mentioned
    6 Post(s)
    Quoted
    119 Post(s)

    Default

    Quote Originally Posted by Baked0420 View Post
    I tried putting it as a constant but it said begin expected because I did it like a code I think, i put SmartWorld= '66'; under constant, which doesn't go under Const, does it? if it does idk why it says begin expected. Could you give me an example please.

    EDIT:nevermind I figured out what you meant, I had it right up there, I just needed to add SmartWorld as a constant, but leave SmartWorld= '66'; in DeclarePlayers, I thought it was one or the other, thanks for the help.

    EDIT2: I thougth I fixed it, but apparently not, I must of ran a different tab and thought I still had that tab opened, so how do you do it?

    It's really annoying, I tried doing it like 50 different ways, I just can't seem to get it to work.

    This how I though it would work

    Code:
    Program AutoLogger;
    {.include SRL/SRL/misc/SMART.scar}
    {.Include SRL/SRL.Scar}
    
    Const
    SmartWorld
    
    procedure DeclarePlayers;
    Begin
    
      HowManyPlayers:= 1;
      CurrentPlayer:= 0;
      NumberOfPlayers(HowManyPlayers);
    
      Players[0].Name  := '';
      Players[0].Pass  := '';
      Players[0].Active  := True;
    
    SmartWorld= '66';
    End;
    
    Begin
      SmartSetupEx(SmartWorld, False, True);
      While Not SmartReady Do Wait(100);
      SetTargetDC(SmartGetDC);
      SetupSRL;
      ActivateClient;
      DeclarePlayers;
      LogInPlayer;
      Disguise('RuneScape - the massive online adventure game by Jagex Ltd - Microsoft Internet Explorer'); //This was supposed to be the Grand Exchange Database but all R.S. pages' are the same, no need to change
    End.
    but I keep getting an error that comes up as,

    Line 8: [Error] (12747:1): is ('=') expected in script

    line 8 is where I have my procedure

    nevermind, I searched for {.include SRL/SRL/misc/Smart.scar} on this site to lok for a script with smart and found out what I was looking for I know what i was doing wrong.
    You've done it wrong, you declared it if its variable, you have to say what the constant is. So you should get:


    SCAR Code:
    Program AutoLogger;
    {.include SRL/SRL/misc/SMART.scar}
    {.Include SRL/SRL.Scar}

    Const
    SmartWorld = 66;

    procedure DeclarePlayers;
    Begin

      HowManyPlayers:= 1;
      CurrentPlayer:= 0;
      NumberOfPlayers(HowManyPlayers);

      Players[0].Name  := '';
      Players[0].Pass  := '';
      Players[0].Active  := True;
    End;

    Begin
      SmartSetupEx(SmartWorld, False, True);
      While Not SmartReady Do Wait(100);
      SetTargetDC(SmartGetDC);
      SetupSRL;
      ActivateClient;
      DeclarePlayers;
      LogInPlayer;
      Disguise('RuneScape - the massive online adventure game by Jagex Ltd - Microsoft Internet Explorer'); //This was supposed to be the Grand Exchange Database but all R.S. pages' are the same, no need to change
    End.

  5. #5
    Join Date
    Mar 2008
    Location
    New Jersey
    Posts
    1,673
    Mentioned
    1 Post(s)
    Quoted
    9 Post(s)

    Default

    lol, yea I just made it because I was bored, had nothing better to do, plus I'm lazy, so when I play legit, I still auto....to log me in anyway lol, but I'm going to use it for my other scripts I been working on, which I should start continueing on, but for this script I might add antiban, so it doesn't log you off if you have it log you on when your leaving your computer real quick, so then you can just stop the script when you wanna play (so it's not doing anti-ban anymore, no need if your playing legit lol). But yea its a pretty small scipt.

  6. #6
    Join Date
    Mar 2008
    Location
    England
    Posts
    142
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    thanks, this is great as i have just changed password and takes me a while to type it fast =]

  7. #7
    Join Date
    May 2008
    Posts
    9
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Go on. Someday you will maybe do longer scripts...

  8. #8
    Join Date
    Dec 2007
    Posts
    25
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Hey, its a good idea, although it is almost compeletely useless.

  9. #9
    Join Date
    Mar 2008
    Location
    New Jersey
    Posts
    1,673
    Mentioned
    1 Post(s)
    Quoted
    9 Post(s)

    Default

    Quote Originally Posted by ldubindaclub View Post
    Hey, its a good idea, although it is almost compeletely useless.
    oh thanks... hahah jp, but as I said in earlier posts, I only made this little script because I was bored atm, and I'm lazy so now I don't have to type in my password, and I saved this as default in scar so whenever I open scar its there to log me in if I wanna play legit lol.

    But I already had longer scripts started before I even started this script, and I currently have one script posted already, it's in junior member's prayer. It picks up bones and gold and buries the bones, check it out if you want, and tell me how I can make it better if you have any ideas.

  10. #10
    Join Date
    Mar 2008
    Location
    New Jersey
    Posts
    1,673
    Mentioned
    1 Post(s)
    Quoted
    9 Post(s)

    Default

    sorry for gravedig, I just had to post. HAHAHA look how stupid I used to be, I thought I put SmartWorld under const, then I thought I had to declare what it was equal to later on in the script . I used to be so dumb, now I know you declare what it is equal to under const.

    Example of what I mean if I sounded confusing.
    When I used to be dumb I thought it was done like this:

    SCAR Code:
    const
     SmartWorld

    Procedure DeclareSmartWorld;
    begin
     SmartWorld:= 66;
    end;

    now I know it's done like this:

    const
    SmartWorld=66;

    Haha this was very funny to look back to, you guys should go look back to posts you have when you first started and see how stupid your mistakes were and see how much you have progressed, you'll probably get a good laugh out of it like me.

  11. #11
    Join Date
    Jul 2008
    Location
    Canada
    Posts
    1,612
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    ^ get in the habit of using standards.

  12. #12
    Join Date
    Mar 2008
    Location
    New Jersey
    Posts
    1,673
    Mentioned
    1 Post(s)
    Quoted
    9 Post(s)

    Default

    ?? what are you talking bout? I ALWAYS use standards, I clearly stated that this was from a long time ago, when I knew nothing about scripting and was having trouble declaring constants. Also, even back then I still had standards, but now they are probably much better. So tell me, what's wrong with my standards though that I can improve?

  13. #13
    Join Date
    Feb 2009
    Posts
    9
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    lol... its a start

  14. #14
    Join Date
    Mar 2008
    Location
    New Jersey
    Posts
    1,673
    Mentioned
    1 Post(s)
    Quoted
    9 Post(s)

    Default

    that was my start from a long time ago, now I'm much better. And why don't you learn how to script instead of gravedigging.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. AutoLogin help please.
    By godspower55 in forum OSR Help
    Replies: 1
    Last Post: 11-12-2008, 05:01 PM
  2. AutoLogin i...
    By BritishBunny in forum OSR Help
    Replies: 4
    Last Post: 07-08-2007, 04:28 PM
  3. 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
  •