Hey there! Recently Simba was updated to 1.0 and this put many scripts, which depended on the SRL-OSR include, on hold. So after a bit of modifying I've updated the current SRL-OSR to run smoothly with the newest Simba with Lape. Also, thank to the generous help of Olly and Coh3n I've also managed have SPS, once again, working for OSRS via Simba 1.0.
Now please note that even though the include is up and running it's still in desperate need of an overhaul and truly should be re-written in proper Lape format; an OSR-equivalent of SRL-6 if you will. But until then you can use this include to run your scripts.
- This include is not official nor permanent
- If your script uses SMART functions/procedures (like drawing & reflection) then you will need to modify your script accordingly
- This requires Simba 1.0, all updated plugins/extensions (including SMART 8.3) and will only run in Lape
An example of drawing on SMART (before):
Now:Simba Code:SMART_DrawBoxEx(True, False, b, clRed);
Simba Code:OS_SMART.__Graphics.DrawBox(b, false, clRed);
OS_SMART is defined as your current "TSmart" paired with your running script and __Graphics is the canvas associated to it, this is defined as "TGraphics" and all functions/procedures for TGraphics can be found in Graphics.simba (SRL-OSR/SRL/misc/Graphics.simba).
This include also uses Brandon's updated Smart.simba, Graphics.simba, and Internals.simba. These files are included automatically when you call "{$DEFINE SMART}"
http://uppit.com/oj9tyb60mixb/SPS-OSR.simba Place in Includes > SPS folder
Don't forget to turn your interpreters to Lape! (Script > Interpreter > Lape)
Edit:
- Player logging in fixed
- World-hopping fixed
- Updated to handle the newest bank changes
-Installing-
Step 1: Download the attached SRL-OSR.zip (attached to the bottom of this post)
Step 2: Extract SRL-OSR.zip in the "Includes" folder, as shown below:
Step 3: Load Simba and set your Interpreter to Lape as shown below:
Done!