Krim: Proggies post after banking so :l
Pen: Doesnt lag my comp at all :S.
Krim: Proggies post after banking so :l
Pen: Doesnt lag my comp at all :S.
Logged In Player is not in Players array. seems to happen when i start the script logged out im geting so pi??sed of with srl!
http://www.youtube.com/user/YoHoJoSRL
Good scripting guides on youtube
Formerly known as (djcheater)
=.= make sure u remember to remove ur pass and user much? LOL
Works, dosent lag for me, dunno bout u guys =p My laptop is da ownz0rs!
change your loginplayer procedure in login.scar to
SCAR Code:procedure LoginPlayer;
var
Tx, Ty, Mark, Attempts: Integer;
Actions: TVariantArray;
RetryLogin: Boolean;
label
ProcStart;
begin
ActivateClient;
Wait(100);
if (GetColor(212, 327) = 238301) then //At Click To Play screen
begin
Wait(1000 + Random(3000));
MouseBox(227, 337, 555, 364, 1);
MarkTime(Mark);
while (TimeFromMark(Mark) < 30000) and (not(LoggedIn)) do
Wait(1000 + Random(1000));
end else
if (not(GetColor(520, 135) = 4038981)) and (not(LoggedIn)) then //Wait for RS to load
begin
while (not(GetColor(520, 135) = 4038981)) do
Wait(100);
WriteLn('Welcome to Runescape.');
end;
LoginScreenMusic(True);
if (not(GraphicsSet)) then
begin
SetAutoingDefaults;
GraphicsSet := True;
end;
ProcStart:
if (not(LoggedIn)) then
begin
if (not(Players[CurrentPlayer].Active)) then
begin
WriteLn('Player is not Active...');
NextPlayer(False);
Exit;
end;
Wait(900 + random(60));
while (not(FindColor(Tx, Ty, 12509695, 288, 181, 475, 221))) do //Click 'Log In' on main menu
begin
MouseBox(354, 163, 408, 179, 1);
Wait(100 + Random(100));
end;
MouseBox(315, 255, 447, 264, 1); //Type Username
while (CountColor(7750, 311, 252, 452, 267) > 13) 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));
MouseBox(315, 323, 447, 333, 1); //Type Password
while (CountColor(7750, 311, 320, 452, 335) > 13) 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, 181, 475, 221, '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;
MarkTime(Mark);
repeat
SetLength(Actions, 0);
if (TimeFromMark(Mark) > 60000) then
Actions := ['One minute has passed...', 0, 2, 'NextPlayer', 'Login Failed']
else
case (CountColor(12509695, 288, 181, 475, 221)) of //Number of text colour points
// Actions := ['WriteLn Text', TimeToWait, NumberOfRetries, 'FinalAction', 'PlayerStatus'];
760: Actions := ['Too many incorrect logins.', 5 * 60000, 2, 'NextPlayer', ''];
536: Actions := ['Login limit exceeded. Please wait 1 minute and try again.', 60000, 2, 'NextPlayer', ''];
711: Actions := ['Your account has been disabled', 0, 0, 'NextPlayer', 'Acc Disabled'];
598: Actions := ['Invalid Username \ Password', 0, 2, 'NextPlayer', 'Wrong User/Pass'];
787: Actions := ['You need a members account for this world.', 0, 0, 'NextPlayer', 'Non-member'];
408: Actions := ['World is full.', 5000, -1, 'Terminate', ''];
623: Actions := ['Your account is already logged in', 60000, 2, 'NextPlayer', ''];
555: Actions := ['The Server is being updated.', 60000, 4, 'Terminate', 'Server Updating'];
218: Actions := ['Error Connecting.', 20000, 9, 'Terminate', 'Error Connecting'];
335: Actions := ['Unable to connect Login Server offline.',(20000) + Random(6000), 4, 'Terminate', 'Login Server Offline'];
512: Actions := ['RuneScape has been updated. Script Terminated.', 0, 0, 'Terminate', 'RS Updated'];
489: Actions := ['Connection timed out.', 0, 4, 'Terminate', 'Connection Timed Out'];
//10: Actions := ['Error loading your profile.', 5000, 10, 'NextPlayer', 'Profile Loading Failed']; // Error loading your profile. Will attempt to re-login 5 more times.)
//11: Actions := ['Login server rejected session.', 1000, 10, 'NextPlayer', 'Login Serv. Rejected']; // Login server rejected session.
end;
if (Length(Actions) > 0) then
begin
WriteLn(Actions[0]);
Wait(Actions[1] + Random(100));
if (Actions[2] <> 0) then
if (Attempts < Actions[2]) or (Actions[2] = -1) then
begin
RetryLogin := True;
Break;
end;
if (Actions[4] <> '') then
Players[CurrentPlayer].Loc := Actions[4];
case Actions[3] of
'NextPlayer': NextPlayer(False);
'Terminate': TerminateScript;
end;
Exit;
end;
Wait(100);
until(GetColor(212, 327) = 238301);
if (RetryLogin) then
begin
RetryLogin := False;
Inc(Attempts);
goto ProcStart;
end;
if (GetColor(212, 327) = 238301) then
begin
Wait(1000 + Random(2000));
MouseBox(227, 337, 555, 364, 1);
end;
MarkTime(Mark);
while (TimeFromMark(Mark) < 30000) and (not(LoggedIn)) do
Wait(1000 + Random(1000));
end;
if (LoggedIn) then
begin
Wait(500);
if (FindColor(Tx, Ty, 0, 7, 457, 137, 475)) then
// if (not(FindTextTpa(0, 0, 7, 457, 137, 475, Capitalize(Players[CurrentPlayer].Name), SmallChars, Nothing))) then //Double check if logged in player is what we think it is
if 1 = 2 then // what was added
begin
WriteLn('Logged In Player is not in Players array.');
LogOut;
Wait(1000 + Random(1000));
LoginPlayer;
Exit;
end;
PlayerStartTime := (GetSystemTime div 1000); // PlayerStartTime
if Length(Players[CurrentPlayer].NickTPA) < 2 then
begin;
Writeln('Creating the NickTPA.');
if Players[CurrentPlayer].Nick <> '' then
Players[CurrentPlayer].NickTPA := CreateTPAFromText(Players[CurrentPlayer].Nick, UpChars)
else
begin;
Writeln('Nickname isn''t set, taking the username instead..');
Players[CurrentPlayer].NickTPA := CreateTPAFromText(Players[CurrentPlayer].Name, UpChars);
end;
end;
AddToSRLLog('Current player: ' + Capitalize(Players[CurrentPlayer].Name));
end;
end;
that will fix the error and allow you to continue using the script
EDIT: is it just me or does this script do one load per user then never goes back to the starting player ie multiplayer isn tworking right atm i had a quick look and couldnt see anything that will cause this
Players[0].Name := '';
Players[0].Pass := '';
Players[0].Nick := ''; // 3/4 of name.
Players[0].Active := True;
Players[0].Integers[1] := 0000; //Bank Pin.
Players[0].Booleans[0] := false; //Read Instructions Above.
Players[0].Integers[0] := 10; //Loads
Players[0].Integers[2] := 0; //DONT TOUCH!
Players[0].Integers[3] := 0; //DONT TOUCH!
http://www.youtube.com/user/YoHoJoSRL
Good scripting guides on youtube
Formerly known as (djcheater)
No, post the whole procedure.
the whole script?
frogs got me!
im using srl 19!
http://www.youtube.com/user/YoHoJoSRL
Good scripting guides on youtube
Formerly known as (djcheater)
its ok now apart from the fact it donst log in second player!
http://www.youtube.com/user/YoHoJoSRL
Good scripting guides on youtube
Formerly known as (djcheater)
the login and cutting aspect of this work nearly flawless (sometimes just runs in between trees before the trees are gone)...but as soon as i get to a full load it runs to the bank, and...explodes. Can't do my pin number and just logs off
For some reason, this freezes RuneScape frequently. If it manages to do a load, it logs out after it banks.
Nice cutter, Worked great![]()
Ghostman: Thanks.
Test: your probally setting up something wrong and ethier como cant handle the script :S.
WithoutFear: Maybe SRL's Pin is broken, i havent tried it ever since and i get no problems with this script idk about use lol![]()
Amazing script!!!!!!! Banked and walked flawlessly! BTW: It was still working when I had to stop it.
[================================================== ==]
[ ~ Progress Report ~ V2.0 ]
[================================================== ==]
[ Script Worked for 1 Hours, 13 Minutes and 39 Seconds
[ Banked 18 load[s].
[ Chopped 484 Log[s].
[ Gained 0 Total WC Levels
[================================================== ==]
[================================================== ==========================]
/~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\
| SRL 17 Randoms Report |
| www.srl-forums.com |
|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
| SRL Logs : 3 |
| Fights : 3 |
| Talks : 2 |
| Frog Solved : 1 |
| Capn Hands : 1 |
| Ents Found : 33 |-----way off...
\~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~/
Thanks, Yess the Ent thing is a bit weird, but W/e, doesnt stuff the script up.
Thanks for proggie ill add it to the list.
banking doesn't work...
once i get a full load, it heads over to the bank, opens up my bank, then the mouse goes crazy for a couple of seconds, and then i get an error: cannot find bank.
i think this is due to the recent bank update...
Do you have SRL REV # 19
same problem here. I can cut quite nicely, but when it comes to storing... not so good. It says "can't find bank".... b/c of the bank update?
How can I fix this?
@Agent, you need the new SRL 19. It comes with the fix of the Bank Update.
@BH: Yeh, I can't seem to get a functional EntFinder either xD
-Twisted
Please, I need money, and you don't lose anything, except get money! Join BUX.TO with http://bux.to/?r=twistedvip50
here's another proggy!!! When I logged in it was standing in the bank.
[================================================== ==]
[ ~ Progress Report ~ V2.0 ]
[================================================== ==]
[ Script Worked for 1 Hours, 25 Minutes and 0 Seconds
[ Banked 17 load[s].
[ Chopped 452 Log[s].
[ Gained 0 Total WC Levels
[================================================== ==]
[================================================== ==========================]
Name : xxxxxxxx
Player : 0
Active : True
Location : Bank DTM
WC Level : 65
End WC Level : 65
Total Player Levels Gained : 0
[================================================== ==========================]
0: Mage3507 = True Woodcut Lv: 65 Worked: 164 min. Location: Bank DTM Random In:
[================================================== ==========================]
Found: Found an Axe!
Found: The RockDTM
Notice:: Tree Gone.
Notice:: Tree Gone.
Notice:: Tree Gone.
Notice:: Tree Gone.
Notice:: Tree Gone.
Notice:: Tree Gone.
Notice:: Tree Gone.
Notice:: Tree Gone.
Notice:: Tree Gone.
Notice:: Tree Gone.
Notice:: Tree Gone.
Notice:: Tree Gone.
Notice:: Tree Gone.
Notice:: Tree Gone.
Found: Bank DTM
Error: Cant Find Bank.<------------i dont see why this happened because it was standing in the bank
bobbohobbo, yes I do have the latest srl revision (#19) and the bank problem is not fixed
can someone else test this and tell me what their detail settings are? and what bit color depth they have.
There are currently 1 users browsing this thread. (0 members and 1 guests)