speljohan
Guru
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
Highscore Functions
Player Functions
World Functions
New Functions in Version 1.1:
General Functions
Player Functions
World Functions
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.
That's it for now. More will be implemented soon.
Enjoy
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


