http://i.imgur.com/eggPPfS.png
Version: 2.1
Revision: 1
Last updated: January 27, 2018
GitHub project page
Introduction
The AeroLibrary is designed to aid scripters in writing Simba scripts for Oldschool RS. Based off the SRL-OSR include, I began this simply as a collection of all my modifications implemented throughout, and over time it formed into something completely different. This particular include uses many ideas which could not be included in SRL-OSR as well as numerous revived bits of code.
What to expect
The most obvious is none of the current SRL-OSR scripts will work and it will take some time to update your scripts to run off AeroLib, but I fully intend to write tutorials covering each and every area. There's a lot to explain so please bear with me! Also keep in mind this is only the initial release of AeroLib, it is simply a base only. The advanced updates are yet to come but will be actively worked on.
Features
Major
- Updated to run on Lape
- S.M.A.R.T.-compatible
- RSWalker positioning system by Slacky
- Stats
- Random-solvers (default set to 'dismiss')
Minor
- Single-player only (at this time)
- Slacky's OCR engine (handling UpText)
- TColEx color-finding routines, based on Janilabo's work
- RS Entities (will be improved upon over time)
- Unique handling of Players/NPCs/Items/Objects
Core
- Realistic mouse-movements throughout the entire include
- Gametabs reworked with the newest in-game interface
- World-switcher (in-game)
- MiniMap routines reworked (some basic map-walking included)
- Animation-handling through pixel-shift
- Basic anti-bans
- Basic banking routines + handling in both standard & tabbed bank modes
- Standard breaking (by Echo_)
- Chat-handling & NPC talking
- Basic interface handling
- Menu-handling (also built from scratch, handled correctly)
- Text & OCR (mostly taken from past SRL includes)
- Timing functions for optimizing script speeds
Requirements
- Newest Simba (I recommend Simba 1.2-rc6 32-bit version)
- Plugins: SMART 8.5+, RSText, Layer
- All newest font files for OSRS (generally included with '07' in their names)
- WorldListChars07 font set for version 2.1+
Administrator's Warning: AeroLib is currently not maintained and could be outdated/broken
Downloads
- AeroLibrary ([1.6] include only)
- AeroLib 2.1 (zipped)
- Plugins only
- WorldListChars07 font set (2.1+)
- StatChars07 font set (2.1+)
How to install
Step 1:
First off download & install the newest Simba, this must be done before anything. Once installed go ahead and switch the interpreter to Lape.
http://i.imgur.com/peV4o2L.png
Step 2:
Download the zipped include from the link above, placed the zipped file in your Includes folder and select "Extract here".
https://i.imgur.com/sMjNltW.png
Step 3:
Download the zipped Plugins from the link above and extract them all to your Plugins folder (C:/Simba/Plugins/)
http://i.imgur.com/Y2dcpii.png
Step 4:
If using AeroLib 2.1+ (hopefully everyone by this point), download WorldListChars07 and (the new) StatChars07 font set from above, place the zipped files in Simba's Fonts directory and for each set choose "Extract to WorldListChars07/" / "Extract to StatChars07/" respectively. You'll probably be asked if you'd like to overwrite the previous files in "StatChars07", select Yes to replace your old with the updated fonts.
https://i.imgur.com/LUZCy4g.png
https://i.imgur.com/iesvDCQ.png
Step 5:
Run the test script, if you've followed the steps correctly this will compile and run without errors.
Simba Code:program RUNME;
{$DEFINE SMART}
{$DEFINE WALKER}
{$i AeroLib/AeroLib.Simba}
begin
initAL();
end.
Tutorials
- AeroLibrary - Core functionality
- AeroLib - Interacting with the game interface
- Utilizing RSWalker
- Creating your first script (by Dan the man)
- Aerolib: Creating and using items (by Dan the man)
F.A.Q.
[Q]: I get an 'Access Violation' error when using this with the OSR-Reflection include
[A]: This is caused by the 'ProSocks' plugin being loaded twice. A quick solution is to remove the plugin-loading code from the Reflection include by deleting these 3 lines from Includes > Reflection > lib > misc > Misc.Simba:
Simba Code:{$IFNDEF Aerolib}
{$loadlib prosocks}
{$ENDIF}
[Q]: AeroLib cannot find Java to spawn SMART
[A]: This is most likely caused by Java being installed in the wrong spot on 64-bit operating systems, or the wrong version of Java. This can be solved by installing 32-bit Java JRE (newest) to your 32-bit Programs directory (C:/Program Files (x86)/Java/). Also don't forget to set your Path with your Java's 'bin' directory. For example, you have JRE 1.8.0_65 installed, you'd set your path to:
...along with whatever else you have there. And don't forget to always run Simba as administrator!Code:C:\Program Files (x86)\Java\jre1.8.0_65\bin
End note
I'd like to start off with apologizing for the long delay of releasing this, believe it or not it's been in (slow) development since last year. Now as I stated before this is just the base of which I'll be building off of but for now that's all I'm aiming for. More advanced content and major updates will follow in the future that should truly make AeroLib unique. This project is welcome to new ideas and suggestions so if you'd like to see something added or adjusted don't be afraid to inform me. The project will always be free for everyone, I just ask you recognize all the effort which has gone into making this, not just from what I've personally added but from all the SRL developers, as much of this library is based off the original work of the SRL Developers. With all of that out of the way I'd like to assure you that basic tutorials are on the way of writing scripts with AL, although many scripters I imagine will just need to skim through the include a couple times to get the feel of everything; it's really simple and organized for this reason.
Following AeroLib 2.0+, the auto-updater is disabled; I will only manually update the include. So occasionally return to this thread to check if AeroLib has received an update.
Cheerz,
~Flight