SRL Archive - First Scripts

First Script - AutoLoginer


Melvin12

2008-01-14 11:49:13

Hi Everybody.
I am new to scar
I joined this forum like 4 days ago and i made my first script. an autologiner!
Comment please.

TY

Rs-Gp-4U

2008-01-14 12:09:00

/// woot first post ///

this script will probalys only work for your computer pixels, maybe use bitmaps next time?

I noticed it says 'Tanx for using', it will say that even if it doesn't log in -.-

r4z0rlike

2008-01-14 12:17:46

Im also scripting for 2 days, so if im mistaken im sorry :p.

To get a more randomized Mouse movement and click you can use:

procedure Mouse(mousex, mousey, ranx, rany: Integer; left: Boolean);
By: Mutant Squirrle
Description:
Moves then clicks mouse.

Melvin12

2008-01-14 15:11:16

Ok Ty for feedback! I am posting from school now when i get home i will try and make it better.

HyperSecret

2008-01-14 17:21:20

no need to have the Const waittime because you never use it ;), also whenever you want to just move the mouse use MMouse(mousex, mousey, ranx, rany: Integer); and if you want to move and click the mouse use Mouse(mousex, mousey, ranx, rany: Integer; left: Boolean); mousex, mousey are just variables, and ranx,rany are randomness and for mouse left is if you want it to left click mouse button or not…

also just so you know SRL already has a login procedure called LoginPlayer, that you always have to use with the player array *declareplayers*

manager100

2008-01-19 02:11:51

works great, a good start for a more extensive script keep up the good work

bradfootball33

2008-01-20 17:48:15

working very well. i will continue to use.

Demonhound

2008-01-23 16:17:46

I don't know but, what's the point of an auto loginner?
Does sounds cool though, maybe we should try to overload the RS servers by massive login/logout/login etc. :p
Don't get my wrong, it looks like a nice start to me :)

malotthouse

2008-01-23 17:12:58

Maybe you should try making failsafes, in case your script accidently doesn't log in.

in example, tell it after clicking to search for the red of the "click here to play" sign when you log in. And if it can't find it, tell it to hit the cancel button on the main page and then repeat the script again

But it does seem like a very nicely made script. Basics=good.

next thing to learn would be not clicking on a specific point. AKA adding in randoms.

Great Job!

edwardred7

2008-01-23 19:17:37

yeah i gave your script a go, it worked fine! would be a great start for a bigger script. keep up the good work

EvilChicken!

2008-01-23 19:29:39

Nice 1st try. I want you to study this example:

program autologienr;
{.include srl/srl.scar}

procedure DeclarePlayers;
begin
NumberOfPlayers(1); // How many players are used?
CurrentPlayer := 0;

Players[0].Name := 'UserName';
Players[0].Pass := 'PassWord';
Players[0].Nick := 'ine'; //3-4 letters from your username
Players[0].Active := True;
end;

begin
SetUpSRL;
DeclarePlayers;
ActivateClient;
Wait(500);
LogInPlayer;
end.

Look at it, PM me if you ever woner or need help on anything. Good luck, mate.

d_sign

2008-01-24 19:23:24

[admin]Dear User,
Your post count has been reset on account of your mass of spam posts. Please take the time to read this thread before posting again.
Sticky: Attention Spammers and Leechers...
RAM

Cheers,
SRL-Forums.[/admin]

This sounds hard, but I might have to try a few things…

Awww man…

Some stuff I was gonna do is on there…
:)

Great Job, this should teach some people

Very detailed with nice pictures
Great Job

Sweet
So is this better to use than the Runescape client?

Thanks, I was looking for this

Welcome!
Hope you enjoy your time here

I'm looking to start out with SCAR, so would this be a good first thing to create? it sounds relatively simple

Nicley done
This will help me out a lot!

Just tried this and it worked
Owning in Halo right now :)

Very nice and well compiled. Great job on this, it will help out a lot of people

So this won't work, sorry

Very nice script!
Didn't actually run it, but it compiled with no errors. That's normally good :)

Nice script, will post report in a few hours

P1nky

2008-01-24 19:44:20

yeas it is but i suggest you to make a RS script :D a power script

icantsing4u

2008-02-02 00:54:59

Question: Does an automated login .scar file count as a script? technically, since login forms are standard in any script, would it be considered a script of its own or simply an established component?

wasapiguy2

2008-02-22 11:04:40

didnt work. tanx for using did nothing!