SRL-6 updates and changes, January 2015
Hello SRLers
There has been quite a few additions to SRL-6 as of late. Three new files can now be found in your interfaces folder C:\simba\includes\SRL-6\lib\interfaces\:
- grandExchange.simba
- beastOfBurden.simba (thanks to @Clarity;, give him some rep)
- heroScreen.simba
The new grand exchange file contains many functions for interacting with the grand exchange. For a very brief overview, please see section 17 of my simplistic guide. The new Beast of Burden additions make it easy to store and withdraw items from your BoB (tutorial coming soon). The addition of the heroScreen interface is mainly for antiban at the moment, but additional functionality may be added in the future.
Updates:
Recent RS updates broke a few things which have since been fixed. Functions which have been updated include:
- actionBar._isRetaliateEnabled();
- actionBar.setRetaliate();
- lodestoneScreen.teleportTo(LOCATION_PREVIOUS);
- options._getOptions();
- bankScreen.open(BANK_TABLE_BURTHORPE);
- Extra checks to prevent typing username + password in the same box
- A number of minimap symbol updates
If anything else doesn't seem to be working, please report it in the bugs section.
Additions:
In addition to the new files mentioned above, a number of functions have also been added to SRL-6, these include:
An overload for toolScreen.select(), this takes the tool slot number instead of it's name (thanks to @akarigar;, give him some rep):
Simba Code:
toolScreen.select(tool: integer): boolean; overload;
A function which enables rest via the minimap run button:
Simba Code:
minimap.enableRest(): boolean;
A new antiban function which opens up a skill menu and browses it by scrolling down (thanks to @Clarity:
Simba Code:
browseSkillMenu(skill: integer);
Another new antiban function which closes most popup windows, including task completion popups, the yellow button popups, and the low level achievement popups:
An internal lodestone screen function that prevents you from teleporting to locations that you haven't unlocked, or are members only (called internally inside teleportTo):
Simba Code:
lodeStoneScreen._isLocked(): boolean
Important notices:
We have removed some redundant code recently which has caused a few compiling errors in 1 or 2 scripts (I take the blame ):
chooseOption.select() used to have two parameters, options and matchPercent:
Simba Code:
chooseOption.optionsExist(options: TStringArray; matchPercent: extended = 1.00): boolean;
The matchPercent parameter has been removed to prevent confusion as it was unused. Delete the second parameter if you get an error here. Secondly, some spelling errors have been fixed:
had been renamed:
This function is only used inside the include, so you shouldn't experience any compiling errors. The addition of closePopup() means that closeAdWindow() and closePollWindow() are now depreciated, and will eventually be phased out. You should start to adjust your scripts accordingly.
The following three functions:
- function exitSquealOfFortune(): boolean;
- function findSpinTicket(var p: TPoint): boolean;
- function claimSpinTicket(): boolean;
have been wrappers for newer functions (exitTreasure(), findTicket(), claimTicket()) for more than a year, and will soon be removed from SRL-6. This is to keep the include tidy and prevent confusion for future users. From what I've seen around the forums, nearly everyone is using the never functions but there may be one or two scripts that slip through. Please update accordingly.
There has also been quite a lot of developments for OSR reflection in the past few weeks courtesy of @elfyyy; and @akarigar; Please refer to the newly opened reflection section for more information.
Happy botting and happy scripting!
The SRL Dev Team