RSLib 1.0 Released

Discussion in 'Programming General' started by speljohan, Mar 22, 2007.

RSLib 1.0 Released
  1. Unread #1 - Mar 22, 2007 at 3:23 PM
  2. speljohan
    Joined:
    Apr 24, 2005
    Posts:
    1,450
    Referrals:
    3
    Sythe Gold:
    0

    speljohan Guru
    Visual Basic Programmers

    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 :)
     

    Attached Files:

  3. Unread #2 - Mar 26, 2007 at 1:04 PM
  4. dodge
    Joined:
    Mar 26, 2007
    Posts:
    125
    Referrals:
    1
    Sythe Gold:
    5

    dodge Active Member
    Banned

    RSLib 1.0 Released

    this lib is really good, keep up the good work
     
  5. Unread #3 - Mar 26, 2007 at 1:09 PM
  6. Diggity
    Referrals:
    0

    Diggity Guest

    RSLib 1.0 Released

    GJ *Thumbs Up*
     
  7. Unread #4 - Mar 27, 2007 at 3:17 AM
  8. X Zero
    Joined:
    Jan 21, 2007
    Posts:
    577
    Referrals:
    0
    Sythe Gold:
    0

    X Zero Forum Addict

    RSLib 1.0 Released

    How in the world did u make this in vb 2005
     
  9. Unread #5 - Mar 27, 2007 at 3:26 AM
  10. Swan
    Joined:
    Jan 23, 2007
    Posts:
    4,957
    Referrals:
    0
    Sythe Gold:
    0
    Sythe's 10th Anniversary Member of the Month Winner

    Swan When They Cry...
    Retired Global Moderator

    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? :)
     
  11. Unread #6 - Mar 27, 2007 at 5:42 AM
  12. X Zero
    Joined:
    Jan 21, 2007
    Posts:
    577
    Referrals:
    0
    Sythe Gold:
    0

    X Zero Forum Addict

    RSLib 1.0 Released

    I see

    Link me lol

    so it is easy to make a dll?
     
  13. Unread #7 - Mar 27, 2007 at 9:33 AM
  14. speljohan
    Joined:
    Apr 24, 2005
    Posts:
    1,450
    Referrals:
    3
    Sythe Gold:
    0

    speljohan Guru
    Visual Basic Programmers

    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 :)
     
  15. Unread #8 - Mar 27, 2007 at 10:09 AM
  16. dodge
    Joined:
    Mar 26, 2007
    Posts:
    125
    Referrals:
    1
    Sythe Gold:
    5

    dodge Active Member
    Banned

    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
     
  17. Unread #9 - Mar 27, 2007 at 1:04 PM
  18. speljohan
    Joined:
    Apr 24, 2005
    Posts:
    1,450
    Referrals:
    3
    Sythe Gold:
    0

    speljohan Guru
    Visual Basic Programmers

    RSLib 1.0 Released

    i was going to do that as well, however i haven't got around to do it yet.
     
  19. Unread #10 - Mar 27, 2007 at 2:04 PM
  20. Repentless
    Joined:
    May 11, 2006
    Posts:
    669
    Referrals:
    3
    Sythe Gold:
    0

    Repentless Apprentice
    Banned

    RSLib 1.0 Released

    <3 Speljohan :D I'll use a few of these in my mini-client.
     
  21. Unread #11 - Mar 28, 2007 at 2:16 AM
  22. Swan
    Joined:
    Jan 23, 2007
    Posts:
    4,957
    Referrals:
    0
    Sythe Gold:
    0
    Sythe's 10th Anniversary Member of the Month Winner

    Swan When They Cry...
    Retired Global Moderator

    RSLib 1.0 Released

  23. Unread #12 - Mar 28, 2007 at 7:17 AM
  24. speljohan
    Joined:
    Apr 24, 2005
    Posts:
    1,450
    Referrals:
    3
    Sythe Gold:
    0

    speljohan Guru
    Visual Basic Programmers

    RSLib 1.0 Released

    ok, just released new version :) alot of improvements.
     
  25. Unread #13 - Mar 28, 2007 at 9:52 AM
  26. dodge
    Joined:
    Mar 26, 2007
    Posts:
    125
    Referrals:
    1
    Sythe Gold:
    5

    dodge Active Member
    Banned

    RSLib 1.0 Released

    i'll try it out
     
< Simple RS2Client | parse world list >

Users viewing this thread
1 guest


 
 
Adblock breaks this site