• Log in or sign up for an account here: https://www.sythe.org/login

RSLib 1.0 Released

speljohan

Guru

Visual Basic Programmers
Joined
Apr 24, 2005
Sythe Gold
0
Messages
1,450
Age
35
Location
Sweden, Laholm
RSLib 1.0 Released
Ok, i've spent the last 2 days creating a runescape library to simplify client-making in vb.net. Currently, only the very basic of features are added, but more will come. It's still enough to make a decent client.

General Functions

Code:
[b]GetSource(ByVal website As String) As String[/b]
Returns the source code of the specified website.

Highscore Functions

Code:
[b]getExperience(ByVal Skill As Skills, ByVal Html As String) As String[/b]
Parses and returns the amount of experience from specified Html code.

[b]getRank(ByVal Skill As Skills, ByVal Html As String) As String[/b]
Parses and returns the rank from specified Html code.


[b]getLevel(ByVal Skill As Skills, ByVal Html As String) As String[/b]
Parses and returns the level from specified Html code.

Player Functions

Code:
[b]getPlayersByWorld(ByVal worldNumber As Integer) As Integer[/b]
Returns the amount of players on the specified world.

[b]GetTotalPlayers() As Integer[/b]
Returns the amount of players currently playing runescape.

[b]getWorldByArgs(ByVal Members As Boolean, ByVal Full As Boolean) As Integer[/b]
Returns the world found by the filter of the arguments.

World Functions

Code:
[b]getWorldArray() As String()[/b]
Returns an array containing all of the worlds along with their data.

[b]ExportToXML(ByVal filename As String)[/b]
Exports all worlds to a specified XML file. If the file does not exist, it will be created.

[b]ExportToTXT(ByVal filename As String)[/b]
Exports all worlds to a specified Text file. If the file does not exist, it will be created.

New Functions in Version 1.1:

General Functions

Code:
[b]Navigate(ByVal website As String)[/b]
Opens up your default browser and navigates to specified website.

Player Functions

Code:
[b]createAccount(ByVal Username As String, ByVal Password As String) As Boolean[/b]
Creates a new account with the specified username/password. If the account creation fail, the function will return false.

World Functions

Code:
[b]getWorldCollection() As worldCollection[/b]
Returns a worldCollection containing all of the worlds along with their data.

New: worldCollection

worldCollection is a new type of collection that will store all the worlds along with their data so that you can access it easily.

Code:
[b]Add(ByVal WorldNumber As Integer, ByVal WorldType As Integer, ByVal WorldStatus As Integer, ByVal WorldPrefix As String, ByVal PlayersOnline As Integer, ByVal PlayerLocation As Integer)[/b]
Adds a world to the collection.

[b]getWorldPrefix(ByVal WorldNumber As Integer) As String[/b]
Returns the world prefix of the specified world.

[b]getWorldLocation(ByVal WorldNumber As Integer) As String[/b]
Returns the world location of the specified world.

[b]getWorldType(ByVal WorldNumber As Integer) As String[/b]
Returns the world type of the specified world.

[b]getWorldStatus(ByVal WorldNumber As Integer) As String[/b]
Returns the world status of the specified world.


That's it for now. More will be implemented soon.

Enjoy :)
 

Attachments

RSLib 1.0 Released
this lib is really good, keep up the good work
 
Member of the Month Winner
Sythe's 10th Anniversary
RSLib 1.0 Released
I'm assuming, X Zero, that you think he made it in VB 2005 express? You can't do it in express, you must use a commercial version of MS Visual Studio. If you think its too hard to do this stuff in VB 2005, you are sooooo wrong :D

Good job, maybe make some color searching functions to touch it up a bit? :)
 
RSLib 1.0 Released
I'm using Visual Studio 2005 Team Suite, and it's piss easy to use. Note, i downloaded it (price is over $50 000, beware!). And it's extremely easy to parse the worlds if you know how to do it. Code for it is 9 lines long :)
 
RSLib 1.0 Released
this lib is really go, i'm about to finish mine where i drop the results in a CollectionBase for an easier coding after
 
RSLib 1.0 Released
<3 Speljohan :D I'll use a few of these in my mini-client.
 
Member of the Month Winner
Sythe's 10th Anniversary
RSLib 1.0 Released
Runescape Gamblingrunescape gambling
Back
Top