Results 1 to 6 of 6

Thread: Hey my first ever script

  1. #1
    Join Date
    Apr 2007
    Posts
    2
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Hey my first ever script

    Hey yall i know this is probly crappy buy i though id post to see what yall think.

    Code:
    program AutoLogin;
    {.include Rswalker.txt}
    
    const
    Username='username';
    Password='Password';
    Begin
        Movemouse(470,291);
         Wait(1000);
          ClickMouse(470,291,true);
        Movemouse(370,258);
          Clickmouse(470,291,true);
           Wait(1000);
            Sendkeys(Username);
             Wait(1000);
        Movemouse(334,435);
         Wait(1000);
          ClickMouse(344,273,True);
           Wait(1000);
            Sendkeys(Password);
             Wait(1000);
        Movemouse(304,321);
         ClickMouse(304,321,true);
          Wait(5000);
        Movemouse(396+Random(5),333-random(5));
         Wait(1000);
          ClickMouse(396+random(5),333-random(5),True);
    End.

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

    Default

    Good try for your first script, but this script would get you banned. Never use MoveMouseSmooth, MoveMouse, MoveMouseSmoothEx or ClickMouse. They will all get you banned! Here, let me show you how you could make it a LOT less detectable (To learn about the commands I use, visit my tut (links in sig) Things the beginner tuts don't teach you)

    SCAR Code:
    program AutoLogin;
    {.include Rswalker.txt}

    const
      Username='username';
      Password='Password';
    Begin
      Mouse(470,291,5,5,true);
      Mouse(470,291,5,5,true);
      Wait(1000+random(500));
      TypeSend(Username);
      Wait(1000+random(500));
      TypeSend(Password);
      Wait(1000+random(500));
      Mouse(304,321,5,5,true);
      Wait(5000+random(1000));
      Mouse(396,333,5,5,True);
    End.

    Much less detectability from Jagex there. See how I added randomness to your waits too? So it doesn't wait exactly 1 second each time, or exactly 5 seconds each time...etc. To learn about the other commands I used, like I said above this, visit my tut

  3. #3
    Join Date
    Apr 2007
    Location
    Finland
    Posts
    938
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

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

    Default

    Its his first script, and its good that he made a custom one, because thats how you learn. Even though a procedure like that is made in SRL, it wouldn't be hard to just put LoginPlayer. This is just practice so that he remembers his code, and has fun with it.

  5. #5
    Join Date
    Apr 2007
    Posts
    2
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Ty you Jad. I found that i like coding and its fun to do.I will keep learning. Right now im also learning to program pascal which scar is made out of right? I will read your tut. Also another question. should i take the risk of getting ip banned from this new runescape update? well im gonna work on my next script.

  6. #6
    Join Date
    Aug 2006
    Posts
    408
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Yes SCAR scripting is based off of pascel. Also ip bans are extremely rare, so unless you're doing some seriously bad stuff I doubt you're at risk.

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
  •