Releases: SRL/SRL
Release 4.1.1
Release 4.1.0
Font Update:
- A new font update has been released at https://github.com/SRL/SRL-Fonts.
- The worldswitcher update in this release requires these updated fonts.
- Numbers
0..9
were added to the NPC font set.
Inventory:
- Added
DROP_PATTERN_SPIRAL
. (SkyFireKnight) DROP_PATTERN_*
constants will now work on 64bit Simba.
World Switcher (In-Game):
- Fully working now with new SRL-Fonts.
- The full world number is now required, previously
2
would route to302
but OSRS has grown to more than 100 worlds.
Misc:
- Add handling for
Error loading your profile
login message. (WillThomas) - Update and document
ASyncMouse
https://srl.github.io/SRL/libasyncmouse.html - Improve
Chatbox.ClickContinue
. (bot-boi) - Add handling for new
You have been disconnected
login message.
Release 4.00
It's been a while. I planned to test this myself before releasing but I haven't been botting recently.
API Changes:
- If previously using the master branch waiting for a release
BankScreen.Open(blGrandExchange)
has been changed toGrandExchange.OpenBank
.
MM2MS now supports any zoom level:
- Call
MM2MS.SetZoom()
to setup MM2MS with the current zoom level. Options.SetZoom
will now uses the options tab, rather than using the scroll wheel.
Bankscreen:
- Added withdraw quantity support:
BankScreen.SetQuantity(BANK_BUTTON_QUANTITY_FIVE)
Chatbox:
- Improve
Chatbox.GetOptions
to handle merged lines. - Add
Chatbox.FindNPCChat
this again works with merged lines.
Players:
Players.Next()
no longer resets to first player in array each time andPlayers.SwitchTo()
no longer automatically sets the previous player to Active := False so you can keep looping through the player array indefinitely with thePlayers.Next()
function. In summary, SetTPlayer.Active := False
yourself.
ASyncMouse:
- For Simba 1.3 users a plugin named
ASyncMouse
as been added toSRL/utils
which moves the mouse on another a thread. This is so you can continue to search and update the mouse destination while the mouse is moving. An example would be something like:
{$I SRL/OSR.simba}
{$I srl/utils/asyncmouse.simba}
// While the mouse is still moving we can update the destination. You will properly want something like this:
if FindMyObject(ObjectPosition) then
begin
ASyncMouse.Move(ObjectPosition);
while ASyncMouse.IsMoving() do
begin
if FindMyObject(ObjectPosition) then
ASyncMouse.ChangeDestination(ObjectPosition);
Wait(50);
end;
// Mouse has finished moving!
end;
Bug fixes:
- Lots of them! See the full changes here:3.3.2...4.00
Release 3.3.2
SMART:
- Debugging is now enabled by default.
- If you wish to disable it and save CPU call
Smart.SetDebug(False)
. Smart.EnableDrawing
variable now does nothing.
IsUpText:
- Lower & better randomize timeout.
- Added
Confirm
parameter this is to counter that uptext is delayed at least a frame function TRSMainScreen.IsUpText(Strings: TStringArray; Timeout: Int32 = -1; Confirm: Int32 = 50): Boolean;
Added overload:
function TSRL.FindColors(out TPA: TPointArray; Color: array of TCTS2Color; Area: TBox): UInt32; constref;
Release 3.2.2
Merge ChooseOption.__Find
into ChooseOption.Find
Fixes It's Impossible
exception being raised.
Release 3.2.1
Simba 1.3 RC1 has been released! SRL is fully compatible with it on Windows & Linux.
https://villavu.com/forum/showthread.php?t=118470
Changes:
Condition: function: Boolean of object;
added toTAntibanTask
. Task will only run if the condition returns true. Leaving the value default (nil) will always perform the task.- Added
function TAntiban.TimeRunningWithoutBreaks: Int64;
- Fixed compiling on Linux & Simba 1.3
- Tweaks to
ChooseOption.Close
handling - #28
Release 3.1.1
- Updated logout button boundaries because it was halfway off the button. - daileyj93
- Fixed SMART for Simba 1.2
Release 3.1.0
- Fix
TRSPinScreen.Find
- KeepBotting - Fix
TTimeMarker.Start
- daileyj93 - Fix
Debug(ATPA: T2DPointArray)
blDraynor
alias added, for misspelledblDrynor
TRSChatbox.ClickButtonID
will now ignore uptext check if a empty string is passed.TRSMinimap.FilterPoints
very much optimised now.- Added
TIntegerArray.ClearDuplicates
andTIntegerArray.UniqueCount
- Added
TPointArray.SortCircle
andTPointArray.Shorten
Release 3.0.0
This is a major release because of RS zoom update: SRL's default zoom now matches what RS's default is: right click next to the zoom slider and "restore default zoom" in RS.
zoom changes
Added getting/setting notch levels which MM2MS works from.
MM2MS default is set to ZOOM_NOTCH_50
but works with any zoom notch changed by MM2MS.SetZoom
.
Example:
// Fully zoom out & make MM2MS work.
Options.SetZoomNotch(ZOOM_NOTCH_0);
MM2MS.SetZoom(ZOOM_NOTCH_0);
Added:
ERSZoomNotch = (ZOOM_NOTCH_UNKNOWN, ZOOM_NOTCH_0, ZOOM_NOTCH_25, ZOOM_NOTCH_50, ZOOM_NOTCH_75, ZOOM_NOTCH_100)
Options.SetZoomNotch(Notch: RSZoomNotch)
Options.GetZoomNotch: ERSZoomNotch
client.simba
Includes all methods to determine the clients state. If anything breaks in the future regarding the clients state, it's handled here with simple text reading in a fixed position.
TSRL.IsClientState:
Used to check if either state is present: logged in, lobby screen, world switcher (login) and login screen.
rsclient.simba
Code has been simplified, and improved. it should now automatically update without any issues if the canvas changes (such as resizing, or logging in the first time on the official client).
other
Added:
SRL.CountColor
Inventory.IsSlotActivated
- debug methods for TPA, ATPA, TBox and TRectangle.
Debug(TPA), Debug(ATPA)
etc.
Release 2.0.2
Fixes compatibility with a in development version of Simba, as well as fixes GetDots which didn't reset CTS to default and left it at CTS 2.
For extended release notes see previous release.
Fixes compilation bug in Simba 1.2 (broke in release 2.0.1)