ok, a few things..
SendKeys(Pass);
Wont press enter. Did you mean for it not to? I know i press enter after typing my pass.
Also, use Mouse and MMouse instead of ClickMouse and MoveMouseSmooth, these are SRL commands, so you will need to add
{.include SRL/SRL.scar}
To right under
program FullRSAutologin;
So that it looks like this
program FullRSAutologin;
{.include SRL/SRL.scar}
And then put SetupSRL; to your main loop, if you need any help with the main loop thing, then ask me in a PM.
instead of
SendKeys
Use
TypeSend(' Your Message Here');
This is SRL, and cant be detected by Jagex…
I have included a finished SRL Version, but i will remove if you say so…
{ ---> McBronzeLongsword's <---
Auto RuneScape Login!
My humble - but working (for me)- first script!
(This was entirely scripted on my computer, so sorry for any
inappropriate waiting times. Please have patience in it, since
it - regardless of the waiting times - WILL log you in, mostly)
It sorts after lowest population so it will most likely choose a
Members World. Only in Members Worlds will my unprofessional CharLogIn
work.
Setup:
1.) Place RuneScape Windows Client Icon in vision range when SCAR is
opened.
2.) Insert your name and password in the lines 30 and 31.
3.) Scroll down and change the coordinates in line 53, 55 & 59 to
the ones you want.
4.) Comment on this script, please :-)
________________________________________________________________________________ }
program FullRSAutologin;
{.include SRL/SRL.scar}
const
RSColor= 3368601;
Name= '';
Pass= '';
begin
SetupSRL;
if(FindColor(x,y,RSColor,0,0,1000,750))then
begin
MMouse(x,y,0,0);
Wait(100);
Mouse(x,y,0,0,true);
Mouse(x,y,0,0,true);
Wait(1000);
MMouse(564, 391,0,0);
Wait(50);
Mouse(564, 391,0,0,true);
Wait(5000);
MMouse(862, 690,0,0);
Wait(75);
Mouse(862, 69,0,0,true);
Wait(600);
MMouse(762, 319,0,0);
Wait(100);
Mouse(762, 319,0,0,true);
Wait(2500);
MMouse(676, 312,0,0);//(343, 311) for High Detail
Wait(150);
Mouse(676, 312,0,0,true);//343, 311) for High Detail
Wait(2500);
MMouse(441, 412,0,0);
Wait(50);
Mouse(441, 412,0,0,true);//Chooses to sort them after lowest population.
Wait(2000);
MMouse(342, 439,0,0);
Wait(100);
Mouse(342, 439,0,0,true);
Wait(17000);
MMouse(873, 535,0,0);
Wait(200);
Mouse(873, 535,0,0,true);
MMouse(592, 347,0,0);
Wait(150);
Mouse(592, 347,0,0,true);
Wait(100);//Delete every line below this point to manually log in
TypeSend(Name);
Wait(1000);
TypeSend(Pass);
Wait(500);
MMouse(428, 376,0,0);
Wait(100);
Mouse(428, 376,0,0,true);
Wait(5000);
MMouse(519, 403,0,0);
Wait(100);
Mouse(519, 403,0,0,true);
Cleardebug;
Writeln(' _____________________ ')
Writeln('--->Welcome to RuneScape!<---')
Writeln(' ^^^^^^^^^^^^^^^^^^^^^ ')
Writeln(' ')
end;
end.