Log in

View Full Version : Laggy internet solutions



lax_player16
12-14-2008, 07:39 AM
Hey i was wonderin if anyone knows a solution to an internet connection that lags and causes your rs player to log out. whenever i run any script it doesnt usually go longer than 10 mins because my internet (cable) cuts out every once in a while which im currently trying to deal with comcast about. is there any way to modify scipts in order to make them realize that you have logged out and sign you back in? or anyone else that has this problem?

Griff
12-15-2008, 02:54 AM
if not (loggedin) then login;
Maybe you could make a script, and put that in there, and be a hero for everyone with laggy comps. OR maybe just add that in to another script you are using.

lax_player16
12-15-2008, 07:03 AM
thanks man i edited that in throughout the script i was using and its workin now when my connection lags. only problem i have left to solve is why it only sometimes types the username and pass and sometimes just clicks on username then pass then sits there without typing. i already tried the login fix which replaced login.scar. any sugguestions? im looking through login.scar right now
//Type Username
Mouse(315, 272, 10, 5, True);
while (CountColor(7750, 311, 269, 452, 284) > 13) do
begin
KeyDown(vk_Back);
Wait(10 + Random(10));
KeyUp(vk_Back);
Wait(50 + Random(50));
end;
for Mark := 0 to 3 do
begin
KeyDown(vk_Back);
Wait(10 + Random(10));
KeyUp(vk_Back);
Wait(50 + Random(50));
end;
Wait(100 + Random(200));
WriteLn(Capitalize(Players[CurrentPlayer].Name));
TypeSend(Players[CurrentPlayer].Name);
Wait(100+random(50));

//Type Password
Mouse(315, 334, 10, 5, True);
while (CountColor(7750, 311, 337, 452, 352) > 13) do
begin
KeyDown(vk_Back);
Wait(10 + Random(10));
KeyUp(vk_Back);
Wait(50 + Random(50));
end;
for Mark := 0 to 3 do
begin
KeyDown(vk_Back);
Wait(10 + Random(10));
KeyUp(vk_Back);
Wait(50 + Random(50));
end;
Wait(100 + Random(200));
TypeSend(Players[CurrentPlayer].Pass);
Wait(500 + Random(300));

if (not(FindTextTPA(12509695, 0, 288, 205, 475, 247, 'login', StatChars, Nothing))) then //If 'enter' from typesend didn't log us in
begin
MouseBox(355, 359, 403, 372, 1); //Click 'login' login screen
Wait(250 + random(100));
end;

not sure if its a flaw in this proceedure or the script im runnin. im gonna go test a couple more scripts and see if im getting the same problem

scotchtape51
12-15-2008, 11:22 PM
im not sure but docent the main menu only show up when the game loads, other than that i think it stays on the log in screen.