SRL Archive - RS has been updated.

4/21/10 Instant Demo [Login is broken]


Camaro'

2010-04-21 06:34:36

[admin]
RM: SRL OpenDev latest revision is already fixed for this update.
21 April 2010, 12:06 GMT
Thanks Camaro' !
[/admin]


My guess is that it broke.


http://services.runescape.com/m=news/newsitem.ws?id=2866

Replace your loginPlayerToLob function with this, for a fix to logging in.



{*******************************************************************************
function LoginPlayerToLob: Boolean;
By: The SRL Team
Description: Like LoginPlayer but only to the lobbyscreen.
*******************************************************************************}
function LoginPlayerToLob: Boolean;
var
Members, RetryLogin: Boolean;
Actions: TVariantArray;
T, Attempts: LongInt;
TPA: TPointArray;
label
ProcStart;
begin
ActivateClient;
Wait(100);
TypeByte(vk_Escape);

{Check for lobby screen already open/ already logged in}

Result := ((LobbyScreen) or (LoggedIn));
if (Result) then
Exit;

{Check for active player.}

if (not (Players[CurrentPlayer].Active)) then
begin
WriteLn('Player is not Active...');
if (AllPlayersInActive) then
begin
WriteLn('All players not active!');
Exit;
end;
NextPlayer(False);
Exit;
end;

{Wait for the client to finish loading.}

T := GetSystemTime;
repeat
if (RSReady) then
Break;
if ((GetSystemTime - T) > 180000) then
begin
WriteLn('It has been 3 minutes and Runescape is not yet ready... Terminating.');
TerminateScript;
end;
Wait(RandomRange(1000, 2000));
until (False);
WriteLn('Welcome to Runescape.');

{Click less info if needed.}

if (not (SimilarColors(GetColor(381, 41), 6868097, 15))) then //Runescae sword green bead
begin
MouseBox(212, 479, 550, 495, 1); //Less info button
Wait(RandomRange(1000, 2000));
end;

{Click Members/free.}

Members := Players[CurrentPlayer].Member;
if (Length(Players[CurrentPlayer].WorldInfo) > 0) then
Members := Players[CurrentPlayer].WorldInfo[0];

ProcStart:

if (GetColor(248, 359) <> 1381653) then //Black outline on forgotten pwd button.
begin

if (Members) then
MouseBox(489, 407, 642, 424, 1) //Member's login button
else
MouseBox(314, 408, 457, 421, 1); //Free's login button

T := GetSystemTime; //Black outline on forgotten pwd button.
while ((GetSystemTime - T < 3000) and (GetColor(248, 359) <> 1381653)) do
Wait(RandomRange(100, 200));

end;

{Type in username}

FindColors(TPA, clWhite, 255, 216, 511, 236);
if (Length(TPA) > 0) then
begin
SortTPAFrom(TPA, Point(501, 225));
Mouse(TPA[0].X + 20, TPA[0].Y, 5, 5, True);
end
else
MouseBox(254, 216, 440, 234, 1); //Username box
while (CountColor(16777215, 255, 215, 385, 230) > 0) do
begin
TypeByte(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 in password}

while (CountColor(16777215, 255, 270, 385, 285) > 0) do
begin
TypeByte(VK_BACK);
Wait(50 + Random(50));
end;
Wait(100 + Random(200));
TypeSend(Players[CurrentPlayer].Pass);
Wait(500 + Random(300));

{Check responses}

T := GetSystemTime;
repeat

SetLength(Actions, 0);

if ((GetSystemTime - T) > 60000) then
Actions := ['One minute has passed...', 0, 0, 'PlayerFalse', 'Login Failed']
else
case (CountColor(16777215, 253, 170, 510, 290)) of //text colour points
// WriteLn Error Wait for Retrys Action Player[CurrentPlayer].Loc
949: Actions := ['Invalid Username / Password', 0, 2, 'PlayerFalse', 'Wrong User/Pass'];
1222: Actions := ['Error Connecting.', 20000, 9, 'Terminate', 'Error Connecting'];
1506: Actions := ['Your account is already logged in', 5000, 0, 'PlayerTrue', ''];
1608: Actions := ['Not a Members Account', 0, 1, 'PlayerFalse', 'Non-member'];
1610: Actions := ['Too many incorrect logins.', 5 * 60000, 2, 'PlayerFalse', ''];
1994: Actions := ['Your account has been disabled', 0, 0, 'PlayerFalse', 'Acc Disabled'];
end;
{Respond}

if (Length(Actions) > 0) then
begin
WriteLn(Actions[0]);
if (Actions[0] <> 'Not a Members Account') then
begin
Wait(1000 + Random(500));
TypeByte(vk_Escape);
end;
Wait(Actions[1] + Random(100));
if (Actions[2] <> 0) then
if (Attempts < Actions[2]) or (Actions[2] = -1) then
begin
if (Actions[0] = 'Not a Members Account') then
begin
Players[CurrentPlayer].Member := False;
if (Length(Players[CurrentPlayer].WorldInfo) > 0) then
Players[CurrentPlayer].WorldInfo[0] := False;
MouseBox(267, 321, 496, 350, 1); //Play free game instead button
Wait(3000 + Random(2000));
Result := True;
Exit;
end;
RetryLogin := True;
Wait(2000 + Random(1000));
Break;
end;
if (Actions[4] <> '') then
Players[CurrentPlayer].Loc := Actions[4];
case Actions[3] of
'PlayerFalse': NextPlayer(False);
'PlayerTrue': NextPlayer(True);
'Terminate': TerminateScript;
end;
Exit;
end;
Wait(100);
Result := (LobbyScreen) or (LoggedIn);
until (Result);

{Back to main screen if needed}

if (RetryLogin) then
begin
RetryLogin := False;
Inc(Attempts);
goto ProcStart;
end;

end;

Sir R. M8gic1an

2010-04-21 06:39:23

[QUOTE=Camaro';703881]My guess is that it broke.


[url]http://services.runescape.com/m=news/newsitem.ws?id=2866[/url][/QUOTE]

A new bank NPC near Musa Point can now convert your fish into bank notes, which should prove quite useful.

Sounds like New P2P Script to me.

Edit: Someone please tell me musa point is the Karamja volcano..

~RM

mysterious123

2010-04-21 06:39:33

It's broken.

I tried running a script now, it opened the Demo option.

Camaro'

2010-04-21 06:46:16

From: Rasta Magician
A new bank NPC near Musa Point can now convert your fish into bank notes, which should prove quite useful.

Sounds like New P2P Script to me.

~RM


Sweeeeeeeeeetness… Edited first post with a fix so you can get back to botting.

ZephyrsFury

2010-04-21 06:49:02

Login works fine for me.. Idk what the problem is. :confused:

Main

2010-04-21 06:59:46

lol in the demo, if you die you get to see grim reaper.

There is also a new rat area south of varrock.

Dark wizard south of varrock isn't agressive to lvl3s

Sir R. M8gic1an

2010-04-21 07:23:25

Committed Camaro's fix to the svn.

Thanks!

~RM

firefoxx

2010-04-21 08:28:40

good update for f2p fishers you can change fish to notes theres a bank npc just south of the volcano

weequ

2010-04-21 08:42:28

Im just wondering if the demo is saved to your computer then people could probably copy it to many computers if they can find the right file.

aran armath

2010-04-21 10:17:50

From: firefoxx
good update for f2p fishers you can change fish to notes theres a bank npc just south of the volcano


Just means the price of lobster and swordfish will drop a good amount though.

Coh3n

2010-04-21 11:20:45

From: Main_Ftw
lol in the demo, if you die you get to see grim reaper.

There is also a new rat area south of varrock.

Dark wizard south of varrock isn't agressive to lvl3s

That fenced area with the Rats in it has been there for a while. :)

Camaro'

2010-04-21 14:35:30

From: Rasta Magician
Committed Camaro's fix to the svn.

Thanks!

~RM


Thanks for committing it. ;)

the new demo looks stoopid :D

fireninga

2010-04-21 14:56:34

Ya now its easier to fish lobbies and swordfish for f2p!

g0tp0t

2010-04-21 15:32:41

damn, i just noticed and was gonna post :(. lol, kbot is not broken, probably because they find the login buton instead of just clicking a spot. i personnaly think we should try to slowly make srl more flexible. with a bigger more organised srl.scar, and added variables like login button top left and bottom right points, stuff like that. RiD was right when they claimed srl is down everyweek or sommething. too rigid with no room for change.

Sir R. M8gic1an

2010-04-21 15:59:18

From: g0tp0t
damn, i just noticed and was gonna post :(. lol, kbot is not broken, probably because they find the login buton instead of just clicking a spot. i personnaly think we should try to slowly make srl more flexible. with a bigger more organised srl.scar, and added variables like login button top left and bottom right points, stuff like that. RiD was right when they claimed srl is down everyweek or sommething. too rigid with no room for change.


Excuse me…? It was down for what? 30 Minutes?

Plus, were we to make it more 'flexible' it would be slower.

~RM

mastaraymond

2010-04-21 16:06:34

From: g0tp0t
damn, i just noticed and was gonna post :(. lol, kbot is not broken, probably because they find the login buton instead of just clicking a spot. i personnaly think we should try to slowly make srl more flexible. with a bigger more organised srl.scar, and added variables like login button top left and bottom right points, stuff like that. RiD was right when they claimed srl is down everyweek or sommething. too rigid with no room for change.

Well doesn't matter if the coordinates are variables or constants, an update is an update and SRL cannot smell what the new coordinates are :p

weequ

2010-04-21 16:08:55

Actually srl usually isn't even down after updates… Unlike some reflection bots such as rsbot.

MylesMadness

2010-04-21 16:24:18

From: mastaraymond
Well doesn't matter if the coordinates are variables or constants, an update is an update and SRL cannot smell what the new coordinates are :p
Find bitmaps?

senrath

2010-04-21 16:26:01

I think the general consensus is that the Login button doesn't move often enough to warrant anything more than coordinate clicking.

MylesMadness

2010-04-21 16:56:24

Well, it wouldn't have caused srl to break for a short time today.

TRiLeZ

2010-04-21 17:53:23

From: Main_Ftw
lol in the demo, if you die you get to see grim reaper.

There is also a new rat area south of varrock.

Dark wizard south of varrock isn't agressive to lvl3s


1. You were set to see the grim reaper after death for a couple months now… (only for your first death)

2. That has been there for a couple months now… I've even made a partial script for those rats.

3. It's been like that for a couple of months now…

Main

2010-04-21 18:52:45

I haven't been to f2p for a while:)

kingarabian

2010-04-21 20:16:32

Wow. Jagex is really desperate for new players!

tofurocks

2010-04-22 22:06:56

From: kingarabian
Wow. Jagex is really desperate for new players!

Well they ARE running a business…
From: g0tp0t
damn, i just noticed and was gonna post :(. lol, kbot is not broken, probably because they find the login buton instead of just clicking a spot. i personnaly think we should try to slowly make srl more flexible. with a bigger more organised srl.scar, and added variables like login button top left and bottom right points, stuff like that. RiD was right when they claimed srl is down everyweek or sommething. too rigid with no room for change.

I certainly hope you're not insinuating that RiD is better than SCAR, or more flexible. The downfall of RiD is its LACK of flexibility. There is only one person making scripts on the RiD base (as far as I know), and due to this RiD doesn't benefit from the community contributions or surplus of scripts that SCAR users get to enjoy.

senrath

2010-04-22 22:29:25

You have to admit, though, that the RiD scripts are really, really good. At least, from what I've heard. I haven't actually used them, since I'm against paying for macros.

tarajunky

2010-04-22 22:40:25

Well, unsigned login worked for 5 days, then the "fix" broke it again. -sigh-

If anyone uses unsigned, Login.scar from Revision 451 still works.

kingarabian

2010-04-22 22:54:23

From: tofurocks
Well they ARE running a business…

I certainly hope you're not insinuating that RiD is better than SCAR, or more flexible. The downfall of RiD is its LACK of flexibility. There is only one person making scripts on the RiD base (as far as I know), and due to this RiD doesn't benefit from the community contributions or surplus of scripts that SCAR users get to enjoy.


I know. But when they removed free-trade and the real wilderness pking 2-3 years ago, they lost around 60k players. Then, after a year or so they raise there membership cost by a dollar to 6 bucks, then in 2009 the global recession peak. So now there scrambling from there mistakes from the way I see it.

Camaro'

2010-04-23 23:20:19

From: kingarabian
I know. But when they removed free-trade and the real wilderness pking 2-3 years ago, they lost around 60k players. Then, after a year or so they raise there membership cost by a dollar to 6 bucks, then in 2009 the global recession peak. So now there scrambling from there mistakes from the way I see it.


Spot on. Also, they ruined there game(trade limit / no pk) to stop RWT from (for the most part buying gold , and xfering gold from autoers to main) So basically, they lost out on hundreds of thousands of dollars just to stop 'us'. Lol @ jagex.

Heavenzeyez1

2010-07-20 10:13:25

I have the latest srl, rev #571, but it seems to me that I still get that problem, is it only me?
Thanks,
~Eerik.