SRL Archive - SRL Updates & Announcements

SRL-6 Updated to use fixed mode.


Olly

2013-11-23 21:48:19

Hey all,

I've updated SRL-6 to work in fixed mode now, apologies to anyone's scripts that have been broken.

To setup for fixed mode it's easy
1) When RS loads, login and set graphics mode to fixed mode, and interface to "old school".
2) Although it's not needed it is also recommended that you lock your interfaces by clicking the padlock on the top right of the gametab buttons.

Changes:
moved lodestone to own interface (lodestoneScreen)
- isOpen()
- teleportTo();
- isTeleportUnlocked();

add MM_SYMBOL_DIVINATION (thanks footballjds!)
add x1, y1, x2, y2, cx, cy back to TRSInterface.
add minimap.pointToMainscreen
add minimap.pointsToMainscreen
add chatbox.findAnyText
add chatbox.findTextOnLines
add bankscreen.deposit(Coh3n)
add bankscreen.open(BANK_NPC_BLUE)
add mainScreen.playerBox
add mainScreen.playerPoint
Mainscreen additons can be accessed via something like:
 
writeln(mainScreen.playerBox);
p := mainscreen.playerPoint;

If you find any bugs, or would like some features feel free to post as always. :)

Thanks,
The SRL Development Team

bonsai

2013-11-24 05:23:34

It was too small before, now it's smaller? Can't we support a larger fixed size?

Had an issue with bounds not getting set.

-- TPlayer.login(): True
***** mainscreen bounds = {X1 = 0, Y1 = 0, X2 = 0, Y2 = 0}
***** actionbar bounds = {X1 = 0, Y1 = 0, X2 = 0, Y2 = 0}



Sjoe

2013-11-24 09:16:37

Should make the chatscreen smaller in height, so u can see the full mainscreen.

also nice update :) I like oldschool screen way more :p

Olly

2013-11-24 11:54:27

From: bonsai
It was too small before, now it's smaller? Can't we support a larger fixed size?

Had an issue with bounds not getting set.

-- TPlayer.login(): True
***** mainscreen bounds = {X1 = 0, Y1 = 0, X2 = 0, Y2 = 0}
***** actionbar bounds = {X1 = 0, Y1 = 0, X2 = 0, Y2 = 0}




I'm quite sure this is fixed now. :)

From: Sjoe
Should make the chatscreen smaller in height, so u can see the full mainscreen.

also nice update :) I like oldschool screen way more :p


You should be able to make the chatbox any size. :)

Sjoe

2013-11-24 12:06:18

From: Olly

You should be able to make the chatbox any size. :)


ah very nice!

what about putting that eoc bar somewhere else to increase the mm size.

bonsai

2013-11-24 14:39:17

Still getting no bounds with the latest update.

---- Client is ready.
---- Setup SRL in 265ms.
-- setupSRL(): True
-- TPlayerArray.setup()
---- Loaded player: TTnick
-- TPlayerArray.setup(): Success
***** mainscreen bounds = {X1 = 0, Y1 = 0, X2 = 0, Y2 = 0}
***** actionbar bounds = {X1 = 0, Y1 = 0, X2 = 0, Y2 = 0}

Tried fresh login and when already logged in. Also tried w/ smaller chat box, then I reset to the old school preset, which enlarged it again.

Coh3n

2013-11-24 14:56:39

From: bonsai
Still getting no bounds with the latest update.

---- Client is ready.
---- Setup SRL in 265ms.
-- setupSRL(): True
-- TPlayerArray.setup()
---- Loaded player: TTnick
-- TPlayerArray.setup(): Success
***** mainscreen bounds = {X1 = 0, Y1 = 0, X2 = 0, Y2 = 0}
***** actionbar bounds = {X1 = 0, Y1 = 0, X2 = 0, Y2 = 0}

Tried fresh login and when already logged in. Also tried w/ smaller chat box, then I reset to the old school preset, which enlarged it again.
Are you sure you have the latest version? It's working fine for me.

The working version wasn't committed long ago, so it may not be in the updater yet.

Olly

2013-11-24 14:59:31

From: bonsai
Still getting no bounds with the latest update.

---- Client is ready.
---- Setup SRL in 265ms.
-- setupSRL(): True
-- TPlayerArray.setup()
---- Loaded player: TTnick
-- TPlayerArray.setup(): Success
***** mainscreen bounds = {X1 = 0, Y1 = 0, X2 = 0, Y2 = 0}
***** actionbar bounds = {X1 = 0, Y1 = 0, X2 = 0, Y2 = 0}

Tried fresh login and when already logged in. Also tried w/ smaller chat box, then I reset to the old school preset, which enlarged it again.


What's your whole debug?

bonsai

2013-11-24 18:22:31

Just tried again, same result. Also tried with a github download.

It doesn't like me :)

Version

You have a new update available for SRL!
SRL Updater: Local Version - "617" | Remote Version = "623"
SRL Updater: Update File - "http://wizzup.org/static/srl/srl-6.tar.bz2"
SRL Updater: Downloading...
SRL Updater: Decompressing...
SRL Updater: Extracting...
SRL Update Successful!

Log

***** Next break time calculated, break in 125.404683333333 minutes
-- setupSRL()
---- Setting up SRL...
---- initSmart():
------ Attempting to pair to a previously spawned client
------ smartPairToExistingClient():
-------- Found no free clients to pair to
------ smartPairToExistingClient(): result = false
------ Attempting to spawn a new client..
------ smartCreateClient():
---------- smartGetParameters(): Succesfully grabbed paramters
-------- getJavaPath():
---------- Attempting to search for your Java path
---------- Found your java path @ C:\Program Files\Java\jre7\bin\java.exe
-------- getJavaPath()
-------- Using parameters [http://world18.runescape.com/, f171329302079587429]
-------- Using plugins "OpenGL32.dll"
-------- Succesfully spawned a client, attempting to target
---------- smartSetAsTarget(): Succesfully set SMART[660] as Simba's target
------ smartCreateClient(): result = true
------ Succesfully initialized via spawning a new client
---- initSmart()
------ smartSetupDrawing(): Succesfully setup SMART drawing
---- Waiting up to 5 minutes for RS to load...
------ __setInputBoxes(): Set username and password boxes
---- Client is ready.
---- Setup SRL in 14648ms.
-- setupSRL(): True
-- TPlayerArray.setup()
---- Loaded player: TTnick
-- TPlayerArray.setup(): Success
***** Logging player in
---- Saving screenshot: bonsaiFighter.png
-- TPlayer.login()
---- TPlayer.loginToLobby()
------ a@b.com (name)
------ Entering username...
------ Entering password...
------ Waiting for lobby screen...
-------- Saving screenshot: IP_address.png
------ Found lobby screen
---- TPlayer.loginToLobby(): True
False
------ TRSLobbyWorlds.selectRandomWorld(): Random world is 17
---- Waiting for lobby screen...
---- Waiting for lobby screen...
---- Waiting for lobby screen...
---- Waiting for lobby screen...
------ TRSLobby.findPlayButton(): result = True
---- Logged in: TTnick
-- TPlayer.login(): True
***** mainscreen bounds = {X1 = 0, Y1 = 0, X2 = 0, Y2 = 0}
***** actionbar bounds = {X1 = 0, Y1 = 0, X2 = 0, Y2 = 0}
_npcfindObject : findColors returned 0 points. searchbox={X1 = 0, Y1 = 0, X2 = 0, Y2 = 0}


Coh3n

2013-11-24 18:35:30

@Olly; is working on something now. It seems there aren't many "static" colors anymore. They all seem to change within a certain degree. I'm sure the next update won't be long.

bonsai

2013-11-24 18:54:57

np. Figured I did something wrong…

Here's my graphic settings in case it helps.

Olly

2013-11-24 20:58:34

From: bonsai
np. Figured I did something wrong…

Here's my graphic settings in case it helps.


Try it now.. it should work now! :p

bonsai

2013-11-25 03:03:47

From: Olly
Try it now.. it should work now! :p


Success. Thanks!!

express

2013-11-25 09:43:18

Thanks Olly.