Adblock breaks this site

Useful RuneScape Functions

Discussion in 'Programming General' started by Monster Hack, Feb 1, 2008.

Thread Status:
Not open for further replies.
  1. Monster Hack

    Monster Hack Member

    Joined:
    Nov 19, 2005
    Posts:
    59
    Referrals:
    2
    Sythe Gold:
    0
    Useful RuneScape Functions

    So I know here at Sythe you have this rule about posting project files, but the only way for some people to learn, is to see it.
    I've been sick so I quickly whipped together a RuneScape client for the beginners to learn from. It wasn't made out to look pretty, just to work.
    Uses a ListView for worlds, and loads all directly from RuneScape.com at runtime.
    I've used only 1 INet for the whole project, which takes roughly 3 seconds to load, but I wouldn't do this if you chose to use some of this in a project.

    Functions/Subs included:
    switchFrame
    getWorldInfo
    getType
    getLocation
    getHighscores
    getRSNews
    getBestWorld
    getTotalPlayers

    It uses quite little amounts of code compared to other functions I've seen, like a whole class file for highscores lookup.

    I tried to keep the code as readable and clean as possible, but I wrote it fast so try to bare through if you disapprove of it.

    Don't ask for a scan picture because this is source code. No pussying out here, you can just look through the code yourself.
     
  2. Supah Fly

    Supah Fly Active Member
    Banned

    Joined:
    Aug 22, 2007
    Posts:
    202
    Referrals:
    1
    Sythe Gold:
    0
    Useful RuneScape Functions

    Everything works.. Expect 304930593059034590 downloads LOL.
     
  3. Monster Hack

    Monster Hack Member

    Joined:
    Nov 19, 2005
    Posts:
    59
    Referrals:
    2
    Sythe Gold:
    0
    Useful RuneScape Functions

    Lol that'd be nice.
    Thanks :)

    -Mh
     
  4. dztommeh

    dztommeh Guest

    Referrals:
    0
    Useful RuneScape Functions

    Error during load refer to form1.log or something =/
     
  5. megajosh2

    megajosh2 Member

    Joined:
    Apr 18, 2008
    Posts:
    59
    Referrals:
    0
    Sythe Gold:
    0
    Useful RuneScape Functions

    Holy shite...
     
  6. hero4rune

    hero4rune Guest

    Referrals:
    0
    Useful RuneScape Functions

    Don't work for me... got only the nice screen from the project1 but cant see the forms or somehting...
     
  7. Adamz

    Adamz Guest

    Referrals:
    0
    Useful RuneScape Functions

    Very nice code,1 error though =/ im trying to fix it atm =p
     
  8. hamster40

    hamster40 Guest

    Referrals:
    0
    Useful RuneScape Functions

    "Error_loader_crash - The program has crashed whilst loading.
    RuneScape has encountered a problem and cannot continue loading.
    You may able to resolve this by upgrading to a newer version of java by going to www.java.com and downloading and installing the latest version from there.

    If problems persist then please refer to our technical FAQ which can be found in the FAQ section of our website.
    "

    uhhh, what the problem is?

    I have an updated java platform, the thing compiled flawlessly, it loads the runescape applet, says "checking or updates" in the little runescape loading bar, then blam, error message ^^^
     
  9. Darthatron

    Darthatron Massive Troll
    Retired Sectional Moderator Visual Basic Programmers

    Joined:
    May 22, 2006
    Posts:
    1,612
    Referrals:
    3
    Sythe Gold:
    0
    Useful RuneScape Functions

    I fail to see that has anything to do with what this thread is about, or anything VB related at all... So, unless it doesn't, maybe you should find the right Forum. -.-
     
  10. hamster40

    hamster40 Guest

    Referrals:
    0
    Useful RuneScape Functions

    Umm it has to do with this thread because the client is pulling this error everytime, and FF isn't, any idea what the problem is Monster Hack?:confused:
     
  11. jdsfighter

    jdsfighter Forum Addict
    Visual Basic Programmers

    Joined:
    Jan 21, 2007
    Posts:
    603
    Referrals:
    0
    Sythe Gold:
    0
    Useful RuneScape Functions

    I've had the same error ;) don't feel bad. It is merely the way that the StealRS2 in this one works. It takes the runescape applet and loads it into the webbrowser and it takes away everything else. Well the easiest way to put it is. Runescape doesn't like it, so it dies. ;)
     
  12. Covey

    Covey Creator of EliteSwitch
    Retired Sectional Moderator Visual Basic Programmers

    Joined:
    Sep 9, 2005
    Posts:
    4,510
    Referrals:
    9
    Sythe Gold:
    9
    Discord Unique ID:
    807246764155338833
    Discord Username:
    Covey#1816
    Useful RuneScape Functions

    If you're using Vista i know what the problem is.
     
  13. hamster40

    hamster40 Guest

    Referrals:
    0
    Useful RuneScape Functions

    Sorry covey, i'm using the good 'ol' XP. Anyways thanks for the help, other than steal RS this client is good for beginners, shows the basic layout, good job!
     
  14. 45533

    45533 Guest

    Referrals:
    0
    Useful RuneScape Functions

    Nice,
    I love it! :love:

    I going use it in my Programe THX !
     
  15. Monster Hack

    Monster Hack Member

    Joined:
    Nov 19, 2005
    Posts:
    59
    Referrals:
    2
    Sythe Gold:
    0
    Useful RuneScape Functions

    Updated this old thing.
    There is no longer GetTotalPlayers sadly :(
     
  16. Nullware

    Nullware Guru

    Joined:
    Jan 30, 2007
    Posts:
    1,761
    Referrals:
    4
    Sythe Gold:
    0
    Useful RuneScape Functions

    You could always calculate that by taking the sum of players from each server.
     
  17. Monster Hack

    Monster Hack Member

    Joined:
    Nov 19, 2005
    Posts:
    59
    Referrals:
    2
    Sythe Gold:
    0
    Useful RuneScape Functions

    That's actually a pretty good idea...
    Thanks! :D
     
  18. jdsfighter

    jdsfighter Forum Addict
    Visual Basic Programmers

    Joined:
    Jan 21, 2007
    Posts:
    603
    Referrals:
    0
    Sythe Gold:
    0
    Useful RuneScape Functions

    There is no longer a total hmm? what is this?

    [​IMG]
     
  19. Monster Hack

    Monster Hack Member

    Joined:
    Nov 19, 2005
    Posts:
    59
    Referrals:
    2
    Sythe Gold:
    0
    Useful RuneScape Functions

    New since yesterday I'd figure.
    The older version of getTotalPlayers still works, but it wasn't yesterday because the text didn't exist. Thus the newest one is born, which I like more.
     
  20. Visual Basic Matt

    Visual Basic Matt Apprentice

    Joined:
    Jan 29, 2008
    Posts:
    647
    Referrals:
    2
    Sythe Gold:
    56
    Discord Unique ID:
    223154494878253056
    Useful RuneScape Functions

    um... It used to work for me but not it does not. :(
    I don't know why... I downloaded a few times but still it did not work. Is this problem following to anyone else?
     
< Requesting Source code [****** Autofighter] | Create a new copy of a tab >
Thread Status:
Not open for further replies.


 
 
Adblock breaks this site