SRL/SRL-6 — pull request #141 by ClaritySRL (2014-10-09 12:36:36+00:00)
Title: Worlds.ini update, worlds.simba bug fix and added features

The amount of favorite worlds present on the worlds list shrunk the size of the scrolling area, which affected world searching by _scrollToWorld(). Picture of problem from Mayor: http://puu.sh/c3yeN/0c7321b7e9.png
The following changes have removed this problem:
- New internal function: _getFavoriteCount(): integer; returns the amount of favorite worlds present on the screen.
- _scrollToWorld(); now calls _getFavoriteCount(); to alter the Y coordinate before color searching.
- New functions: TRSLobbyWorlds.addFavoriteWorlds(wArray): boolean; and TRSLobbyWorlds.removeFavoriteWorlds(wArray): boolean; which add and remove favorite worlds, should anybody want to do this in a script.

TRSLobbyWorlds.selectRandomWorld has been overhauled to avoid a default list of worlds that have been breaking scripts, listed below:
* World 18 - Legacy Only
* World 30 - Skill Total (2000)
* World 33 - Legacy Only
* World 48 - Skill Total (2400)
* World 52 - VIP Server
* World 57 - Legacy Only
* World 86 - Skill Total (1500)
* World 96 - Quick Chat
* World 97 - Legacy Only
* World 114 - Skill Total (1500)
* World 115 - Legacy Only
* World 120 - Legacy Only
* World 136 - Legacy Only
* World 137 - Legacy Only
The update, which is backwards compatible, adds new boolean and TIntegerArray parameters. If standardAvoid is true, the random selector will avoid all worlds in the above list. The TIntegerArray allows the user to specify their own worlds to avoid, such as clan home worlds or heavily populated worlds.

Demonstration: http://i.gyazo.com/f88b2f009274d84580da702fcf9b3e34.png

- New boolean property "avoid" for all worlds, indicating whether they will ignored when selecting a random world. Worlds.ini updated accordingly.