SRL Archive - SRL Updates & Announcements

SRL-5 Release!


Narcle

2012-01-04 19:00:38

SRL-5 Release!


How do you know you have SRL5?
  • The auto updater in Simba should say 1000+ for SRL5.
  • OR retrieve it straight from the source: SRL-5 on github
Changes to YOUR scripts:
  • All .scar files are changed to .simba.
  • Changed stats.simba globalstats.simba and moved to srl/core/. You know longer have to include it in your script, it's included with SRL.
  • SetAngle and ClickNorth now take integer parameters to avoid waiting 2-4 seconds no matter what.
    • SRL_ANGLE_NONE
    • SRL_ANGLE_LOW
    • SRL_ANGLE_HIGH
  • Mouse functions now take a variant and SRL functions use Simba's mouse_left, mouse_right, etc. Scripters should switch as future versions of SRL will only take integers.
    • mouse_Left
    • mouse_Right
    • mouse_Middle
    • mouse_move

Function additions/changes:
Bug fixes/improvements:
  • CloseWindow() should be fixed/improved, and now returns true if it closed the bank.
  • Fixed an autocast issue with combat spells, thread here.
  • Cast() now returns true if spell is already set to autocast, thread here.
  • OpenBankNPC works 100% better, credit to Home. Thread here.
  • Fixed GetCurrentTab and TabExists for TAB_LOGOUT.
  • Logout() will now call CloseWindow if TAB_LOGOUT doesn't exist, report here.
  • Update to new summoning store icon in symbols.simba.
  • Added summoning obelisk icon in symbols.simba.
  • Fixed AutoCast combat spells returning wrong bool.
  • Added WindRush to auto-castable list.
  • Fixed GetCurrentTab and TabExists for TAB_LOGOUT.
  • Logout() will now call CloseWindow if TAB_LOGOUT doesn't exist.
  • Removed unnecessary exit causing issues in Cast().
  • Corrected summoning store and added summoning obelisk to symbols.simba.
  • Corrected documentation for gametab.simba.
  • FindBirdsNest fixed, thread here.
  • Fixed Deposit for single items when vType <> integer.
  • Fixed PS bug in WindMouse.
  • Players[].Worked now works after the player has taken breaks (shouldn't be ANY issues with it anymore)
  • OrderWorlds fixed by RISK, thread here.
  • ChooseOptionMultiEx won't choose "Cancel" if action is set to Nothing.
  • WithdrawEx will not choose "Withdraw All-but-one" option if Amount is set to -1, credit to Shuttleu.
  • DepositAll (fixed on 1-4-2011)

Features:
  • Gaussian mouse implementation. Credit to Nava2.
  • Grand Exchange price grabbing functions in SRL/misc/online.simba. Credit to Nava2.
Use with MSI:
Find this line and remove the // in front of it. (in RunMe.simba)
//{$DEFINE SRL5}  // Uncomment if you're testing SRL5

Documentation:Original post from Coh3n.
Not all fixes/additions have been mentioned. Will add on to later.

Dynamite

2012-01-04 19:16:35

Guess I have to edit my scripts tomorrow then :sigh:

loli I joke. Thanks guys, can't wait till SRL 6! <3

Great work to everyone who has contributed!

-Boom

PatDuffy

2012-01-04 19:18:41

Love <3

Great job to all those who contributed.

Home

2012-01-04 19:18:42

Good work guys!


~Home

Mark

2012-01-04 19:20:29

Yeah Great work

DeSnob

2012-01-04 19:22:58

Nice! Now time to adapt..

begginer

2012-01-04 19:30:18

Nice feature. Awesome update too.

nobody u kno

2012-01-04 19:43:08

When i try to update SRL I get this:

No Plugins update available.
No SRL update available.
A new update of Simba is available!
Current version is 980. Latest version is 982

Justin

2012-01-04 20:28:04

Awesome, thanks for this

[Nathan]

2012-01-04 20:52:13

Nice! Time to update the scripts!

Flight

2012-01-04 21:22:23

If I might add something else in there, I believe all mouse values will have to be changed in scripts as well. For example:

Mouse(MMCX, MMCY, 5, 5, 1);
To:

Mouse(MMCX, MMCY, 5, 5, mouse_left);

Using 1/2/3 will result in an error, I believe somewhere in the smart.simba file.

Narcle

2012-01-04 21:23:32

From: Flight
If I might add something else in there, I believe all mouse values will have to be changed in scripts as well. For example:

Mouse(MMCX, MMCY, 5, 5, 1);
To:

Mouse(MMCX, MMCY, 5, 5, mouse_left);

Using 1/2/3 will result in an error, I believe somewhere in the smart.simba file.


Should of been fixed?

Kyle Undefined

2012-01-04 21:29:01

Woo! Awesome! :D

[Nathan]

2012-01-04 21:32:20

From: Narcle
Should of been fixed?

I used just a 1 on MouseItem and it works fine, not sure if Mouse and MouseItem are coded differently…

Claymore

2012-01-05 00:45:35

Finally finished making my script compatible to SRL 5. I think, gotta run it first to make sure it doesnt do anything funny.

EDIT:

Dammit, this mouse change is tedious >,> i dont get the point.

Swatarianess

2012-01-05 01:04:50

GE functions <3 Looks awesome gonna update ASAP ^^

Flight

2012-01-05 01:31:23

From: Narcle
Should of been fixed?


Maybe just recently. I had errors just a couple days ago relating to that, so unless it's been dealt with since then, the error still occurs.

Coh3n

2012-01-05 01:35:03

From: Flight
Maybe just recently. I had errors just a couple days ago relating to that, so unless it's been dealt with since then, the error still occurs.
It was withing the last day I think.

Wizzup?

2012-01-05 06:41:22

From: Claymore
Finally finished making my script compatible to SRL 5. I think, gotta run it first to make sure it doesnt do anything funny.

EDIT:

Dammit, this mouse change is tedious >,> i dont get the point.


What's wrong?

MaxPayne619

2012-01-05 09:43:57

Woha, Good Job SRL team :) <3 u all :)

nobody u kno

2012-01-05 17:29:16

How do I know Im at SRL5? I updated once and now it says theres no new update to srl. But when I run a script it still tries to deposit the money pouch instead of depositing the item bag.

Also says my simba is at 980 and there is a version 982 available. Do i need that?

Thanks

Nava2

2012-01-05 17:33:53

The mouse change should still allow for boolean values.. unless you are using the other values (middle and move) you do not need to worry about changing the true/false. I DO suggest getting used to scripting using them, though.

E: Yup, I was correct. I knew I wasn't silly enough to leave that.

https://github.com/SRL/SRL-5/blob/master/srl/core/mouse.simba#L245

The documetation has the wrong parameter, which IS my fault. If someone could fix that, I'd be grateful.

Flight

2012-01-05 20:55:20

From: Nava2
The mouse change should still allow for boolean values.. unless you are using the other values (middle and move) you do not need to worry about changing the true/false. I DO suggest getting used to scripting using them, though.


I'll do just that! :)

DeiJaiVui

2012-01-05 21:02:46

Yay finally, been waiting for this. It was sad how we had to remove the define SRL 5 thing lol.

nobody u kno

2012-01-06 00:04:57

So if im running Narcles smelter and it still doesnt deposit all does that mean i do not have srl 5? If someone could answer would be nice

Flight

2012-01-06 00:07:34

From: nobody u kno
So if im running Narcles smelter and it still doesnt deposit all does that mean i do not have srl 5? If someone could answer would be nice


I've heard reports recently of the same problem. Although this wouldn't identify if you have SRL 4 or 5, because there was a recent update that changed the coordinates of the quick-deposit button in the bankscreen. I dunno for sure if it's been taken care of yet in either SRL version.

Kyle Undefined

2012-01-06 00:09:30

SRL 5 takes care of that issue :)

litchfs

2012-01-06 10:23:06

Where do I go to download and install Simba 5?

Nava2

2012-01-06 12:00:15

From: litchfs
Where do I go to download and install Simba 5?


Simba has not changed, it is SRL.

The Auto-updater will do it for you.

NEWTOSIMBA

2012-01-06 22:38:54

Fantasic work everyone. I'm new to scripting and reading this has
Helped me tremendously. I can fix the scrip I am working on woot woot.

Aztekd

2012-01-08 20:19:09

From: nobody u kno
When i try to update SRL I get this:

No Plugins update available.
No SRL update available.
A new update of Simba is available!
Current version is 980. Latest version is 982


i get this same problem..

Coh3n

2012-01-08 21:03:12

Everyone has SRL5 by now, there's no need to manually update. If you have SRL, you have SRL5.

Elitezer0

2012-01-09 03:10:35

Changed them but still getting this

Exception in Script: Unable to find file 'srl/srl/misc/Smart.simba' used from ''

I'll just wait till he updates his script:D
Goodjob on the update tho.

rbloomer

2012-02-16 21:13:22

wrong spot