SRL Archive - RS has been updated.

RS Update - Lost City of The Elves 21/9/2014


The Mayor

2014-09-22 05:52:53


Runescape login screen got updated which means players[].login() will no longer work.

If anyone wants a quick fix before official update, go to C:\Simba\Includes\SRL-6\lib\core and open players.simba

Scroll down to __setInputBoxes() and replace the whole function with:


{*
__setInputBoxes()
~~~~~~~~~~~~~~~~~

.. code-block:: pascal

function __setInputBoxes(): boolean;

Finds and sets the username and password box parameters. This function is
designed to work with any screen size. Returns true if both boxes are found.

.. note::

- by Coh3n
- Last updated: 22nd September 2014 by The Mayor

Example:

.. code-block:: pascal

__setInputBoxes();
*}
{$IFNDEF CODEINSIGHT}
const
__ACTIVE_BORDER_LENGTH = 524;
__INACTIVE_BORDER_LENGTH = 525;
function __setInputBoxes(): boolean;
var
tpaActive, tpaInactive: TPointArray;
bdsActive, bdsInactive: TBox;
w, h: integer;
begin
getClientDimensions(w, h);

findColors(tpaActive, 6774863, 0, 0, w-1, h-1); // active box border color
findColors(tpaInactive, 6906451, 0, 0, w-1, h-1); // inactive box border color

if (length(tpaActive) = __ACTIVE_BORDER_LENGTH) and (length(tpaInactive) = __INACTIVE_BORDER_LENGTH) then
begin
result := true;
print('__setInputBoxes(): Set username and password boxes', TDebug.SUB);

bdsActive := tpaActive.getBounds();
bdsInactive := tpaInactive.getBounds();

// sets the username box as the box that's closer to the top of the screen
if (bdsActive.y1 < bdsInactive.y1) then
begin
_boxUsername := bdsActive;
_boxPassword := bdsInactive;
end else begin
_boxUsername := bdsInactive;
_boxPassword := bdsActive;
end;
end;
end;
{$ENDIF}

Justin

2014-09-22 05:55:35

Thanks @The Mayor;

Clarity

2014-09-22 06:10:53

This update is a gamechanger…a ton of easily scripted, high XP/hour methods.

Justin

2014-09-22 06:12:21

From: Clarity
This update is a gamechanger…a ton of easily scripted, high XP/hour methods.


But the requirements are insane!

Clarity

2014-09-22 06:27:48

But exciting for my bigger ambition of scripting for 120 skills/trimmed completionist reqs.

Hoodz

2014-09-22 07:02:58

@Justin; faps on this update

Lucidity

2014-09-22 07:36:01

Thanks for this

Justin

2014-09-22 07:42:35

From: hoodz
@Justin; faps on this update


You don't understand how good this is for people who legit haha

Kevin

2014-09-22 08:27:16

From: Justin
You don't understand how good this is for people who legit haha


How good is it for legitters? lol

Justin

2014-09-22 08:32:02

From: kevin
how good is it for legitters? Lol


Amazing xp!

Incurable

2014-09-22 08:58:51

What's legitting? :p

Thanks for the quick fix, Mayor, worked like a charm.

Ashaman88

2014-09-22 09:26:05

I can't look at the RS website from this client site, can someone post the update details and such?

Hoodz

2014-09-22 09:39:13

From: Ashaman88
I can't look at the RS website from this client site, can someone post the update details and such?


Can you check skype? Justin posted a lot of pics there

Gunner

2014-09-22 09:58:28

From: Ashaman88
I can't look at the RS website from this client site, can someone post the update details and such?


Update:


Patch Notes:


Ashaman88

2014-09-22 10:24:58

Thanks Brah looks intense!

nutta124

2014-09-22 10:30:30

whoa, thank you! much love

Lipcot

2014-09-22 14:47:59

love yaaa.

and yes, that elf city has insane reqs

vvarfare

2014-09-22 15:53:11

Works, you can mine gems in there, and potentially get onyx about 2m ge price moust likely will crash, but its about 2m an hour,

TylerT

2014-09-22 21:57:03

Thank you my buddy Mayor this works great

NKN

2014-09-22 22:27:27

I would rep you if I could, but alas, I must spread 'er around.

Nice work!

Brotein

2014-09-23 10:44:55

I thought divination and summoning was supposed to be the first batch released?

Wyn

2014-09-29 05:51:07

From: Brotein
I thought divination and summoning was supposed to be the first batch released?


The vote was for either Invention or Elves. Losing vote would be released at a later date.

godzassassin

2014-10-01 17:49:21

Thanks Mayor you fixed my problem… Just some scripts must be outdated and do not login. I tried with your VEB mining script and it worked fine. Thank you