PDA

View Full Version : [OSRS] Setting up SRL with RSWalker



slacky
04-16-2018, 02:06 AM
Setting up Simba for SRL and RSWalker

1. Get Simba (https://wizzup.org/simba/#download-ref)
2. Install it to C:/Simba/
3. Start Simba.exe
4. Setup the requirements that we may need:


1. In context menu navigate to: View->Extensions
2. Select `srl.sex` check of `Enable`.
3. Select `extensions.sex` check of `Enable`, follow it by closing the Extensions menu.

4. In context menu navigate to: SRL->Setting->Override update
5. In context menu navigate to: SRL->Update
6. Wait for the update to complete.

7. In context menu navigate to: Plugins->Setting->Override update
8. In context menu navigate to: Plugins->Update
9. Wait for the update to complete, and follow it by closing Simba.


5. Download my unofficial Simba 1.2 (https://github.com/slackydev/Simba/releases/tag/Simba-1.2.0-rc6_fixes) (Adds important fixes lacking in official Simba 1.2)
6. Place the Simba1206-fixes.x86.exe in "C:/Simba/"



Setting up SRL

1. Download the latest Release of SRL: https://github.com/SRL/SRL/releases (named: `Source code`)

ALTERNATIVE: Download the absolutely latest (may have issues) by clicking Clone or Download at https://github.com/SRL/SRL
2. Navigate to C:/Simba/Includes/ if you see a folder named SRL, delete it.
3. Now simply extract SRL to `C:/Simba/Includes/`

If the folder extracted is not named "SRL" be sure to rename it to "SRL".
Inspect the folder "SRL" make sure it's unpacked properly, it should contain "OSR.simba", not just a folder named "SRL" or similar


Setting up RSWalker

1. Download the latest Release of RSWalker: https://github.com/slackydev/RSWalker/releases (named: `RSWalker.zip` or similar)
2. Now simply extract RSWalker to `C:/Simba/Includes/`

If the folder extracted is not named "RSWalker" be sure to rename it to "RSWalker".
Inspect the folder "RSWalker" make sure it's unpacked properly, it should contain "Walker.simba", not just a folder named "RSWalker" or similar


Using SRL and/or RSWalker

Every time you want to use SRL and/or RSWalker, be sure to always start Simba using the `Simba1206-fixes.x86.exe` instead of the regular `Simba.exe`



Verify that it works

Run the following simple script:

{$I SRL/OSR.simba}
{$I RSWalker/Walker.simba}
begin
end.

The output expected is something along the lines of


Compiled successfully in 2190 ms.
Successfully executed.


So now that it works, SRL, and script using SRL expect that you are max zoomed out, and brightness max as well. Some scripts also expect shift drop enabled.

There's one extra steps I recommend you complete to avoid certain issues later on:

• In context menu navigate to: Plugins->Automatically where you want to uncheck update





These steps has been verified working 16th April 2018


• The core of colorfinding (https://villavu.com/forum/showthread.php?t=118225)
• Find objects with SRL and RSWalker (https://villavu.com/forum/showthread.php?t=118039)
• Botting using Remote Desktop (https://villavu.com/forum/showthread.php?t=118173)

slacky
04-16-2018, 02:21 AM
Reserved

Aspect
04-16-2018, 04:38 AM
As you already know, I really appreciate you taking your time to create this guide.

ineedbot
04-16-2018, 04:42 AM
Great work, I want to get back into Runescape scripting again, and color seems the way to go!

Dan the man
04-16-2018, 05:25 AM
Actually haven't looked at the SRL-OSR include as yet; how different is it to AL?

slacky
04-16-2018, 07:17 AM
Actually haven't looked at the SRL-OSR include as yet; how different is it to AL?
To put it lightly, it's a notable difference, otherwise there would basically no reason to create it.

StickToTheScript
04-16-2018, 04:18 PM
Actually haven't looked at the SRL-OSR include as yet; how different is it to AL?

In my opinion, the biggest and best feature that differs between the two is the fact that SRL-OSR uses RSWalker to allow for very accurate object locating by searching for colours in an on-screen tile. Here is the tutorial about it. (https://villavu.com/forum/showthread.php?t=118039&highlight=)

randy marsh
05-07-2018, 09:29 PM
Thanks well written and easy to follow.

wotiskebab
05-10-2018, 11:02 AM
When I try to compile it tells me

Error: Plugin(.) has not been found
Compiling failed

Any help?

slacky
05-10-2018, 11:19 AM
When I try to compile it tells me

Error: Plugin(.) has not been found
Compiling failed

Any help?
You are supposed to run it with the Simba 1.2 provided in the tutorial. I suggest you read the tutorial once more to avoid anymore issues.

randy marsh
05-10-2018, 11:31 AM
28451
Make sure you using the fix simba!

johnyjackson
07-06-2018, 08:35 AM
You are supposed to run it with the Simba 1.2 provided in the tutorial. I suggest you read the tutorial once more to avoid anymore issues.
Thanks I try with Simba 1.2 and my error has been gone.

kingarabian
07-08-2018, 01:13 AM
Thank you. Going to start scripting and releasing as much scripts as I can soon. For now just going to use color. I hope SMART works.

Dan the man
08-22-2018, 01:25 AM
I am trying to develop an include for resizable mode in OSRS, could something like this be used?

The minimap box co-ordinates change depending on the size of the screen, but its location is a static distance from the x2, y1 corner.

function GetMMBox:TBox;
var
w, h: integer;
begin
GetClientDimensions(w, h);
Result := ToBox((w-158), 7, (w-7), 159);
end;

Does the RSWalker include use the static location of the minimap in fixed mode, or does it find the image another way?

hexthis
09-23-2018, 03:21 PM
Unable to get working says "Error: Plugin(.) has not been found
Compiling failed."

fab
06-19-2019, 04:33 PM
Hi, i tried this but i get an error,

Error: Plugin(SimpleOCR32) has not been found
Compiling failed.

Athylus
06-15-2020, 03:21 PM
We used to have functionality to find the symbols on the minimap. Was this intentionally left out?