[VB6] Getting 100th place score

Discussion in 'Code Snippets and Tutorials' started by Rockage, May 11, 2007.

  1. Rockage

    Rockage Newbie

    Joined:
    May 9, 2007
    Messages:
    29
    Likes Received:
    0
    Code (Visual Basic):
    1. <div class="vb" id="{CB}" style="font-family: monospace;"><ol><li style="padding: 0 5px; background-color: #fff; line-height: 16px; border-bottom: 1px solid #efefef; border-left: 1px solid #999;"><span style="color: #b1b100;">Dim</span> ID <span style="color: #b1b100;">As</span> <span style="color: #b1b100;">String</span></li><li style="padding: 0 5px; background-color: #f9f9f9; line-height: 16px; border-bottom: 1px solid #efefef; border-left: 1px solid #999;">ID = txtID.<span style="color: #66cc66;">text</span></li><li style="padding: 0 5px; background-color: #fff; line-height: 16px; border-bottom: 1px solid #efefef; border-left: 1px solid #999;"><span style="color: #b1b100;">Dim</span> strHighScoreHtml <span style="color: #b1b100;">As</span> <span style="color: #b1b100;">String</span></li><li style="padding: 0 5px; background-color: #f9f9f9; line-height: 16px; border-bottom: 1px solid #efefef; border-left: 1px solid #999;"><span style="color: #b1b100;">Dim</span> strHighScore <span style="color: #b1b100;">As</span> <span style="color: #b1b100;">String</span></li><li style="padding: 0 5px; background-color: #fff; line-height: 16px; border-bottom: 1px solid #efefef; border-left: 1px solid #999;">strHighScoreHtml = wrap.<span style="color: #66cc66;">GetWrapper</span><span style="color: #66cc66;">(</span><span style="color: #ff0000;">"http://neopets.com/gamescores.phtml?game_id="</span> &ID, <span style="color: #ff0000;">"http://neopets.com/gameroom.phtml"</span><span style="color: #66cc66;">)</span></li><li style="padding: 0 5px; background-color: #f9f9f9; line-height: 16px; border-bottom: 1px solid #efefef; border-left: 1px solid #999;">strHighScore = GetStringBetween<span style="color: #66cc66;">(</span>strHighScoreHtml, <span style="color: #ff0000;">"(minimum score : <b>"</span>, <span style="color: #ff0000;">"</b> points)"</span><span style="color: #66cc66;">)</span></li><li style="padding: 0 5px; background-color: #fff; line-height: 16px; border-bottom: 1px solid #efefef; border-left: 1px solid #999;">lblTop.<span style="color: #66cc66;">Caption</span> = <span style="color: #ff0000;">"100th place score: "</span> & strHighScore</li><li style="padding: 0 5px; background-color: #f9f9f9; line-height: 16px; border-bottom: 1px solid #efefef; border-left: 1px solid #999;"><span style="color: #b1b100;">End</span> <span style="color: #b1b100;">Sub</span></li></ol></div>
     
  2. ZOMG

    ZOMG Level I

    Joined:
    Feb 26, 2007
    Messages:
    122
    Likes Received:
    0
    Location:
    Hipocresy Land
    Nice tut..
    I need this code for my trainer,, tnx :]
    Btw,, +rep
     
  3. Rockage

    Rockage Newbie

    Joined:
    May 9, 2007
    Messages:
    29
    Likes Received:
    0
    No problem :p and btw, you didnt +rep :p
     
  4. ZOMG

    ZOMG Level I

    Joined:
    Feb 26, 2007
    Messages:
    122
    Likes Received:
    0
    Location:
    Hipocresy Land
    Reputation has been given.

    True,, i forgot xD
     
  5. Pankirk

    Pankirk Level III

    Joined:
    Nov 12, 2006
    Messages:
    652
    Likes Received:
    28
    Location:
    America
    YOUR trainer? Or was it code stolen from someone else's trainer that you are claiming as yours. Just like you did with that autobuyer.
     
  6. the_skip

    the_skip Level IV

    Joined:
    Dec 25, 2006
    Messages:
    2,354
    Likes Received:
    1
    Location:
    Indiana
    I was going to say that but felt it would be to mean. But if he did steal code then one of the uss to be trainers had one
     
  7. Pankirk

    Pankirk Level III

    Joined:
    Nov 12, 2006
    Messages:
    652
    Likes Received:
    28
    Location:
    America
    I dont care about being mean to things like that. I have no tolerance to people who steal code and try to put it off as they're own.
     
  8. Rockage

    Rockage Newbie

    Joined:
    May 9, 2007
    Messages:
    29
    Likes Received:
    0
    Stealing code is for noobs. fill me in please ?
     
  9. omgcat

    omgcat Level IV

    Joined:
    Jan 31, 2007
    Messages:
    1,137
    Likes Received:
    0
    Zomg stole eggys code and used it as his own. Lol.
     
  10. Pankirk

    Pankirk Level III

    Joined:
    Nov 12, 2006
    Messages:
    652
    Likes Received:
    28
    Location:
    America
    Yep, pretty much Zomg stole code from someone named Eggy and didn't even change the layout! All they did was change the bg color of it from purple to black :(.
     
  11. Rockage

    Rockage Newbie

    Joined:
    May 9, 2007
    Messages:
    29
    Likes Received:
    0
    lmao thats really stupid......did the program even work ? I found eggys source but the public one only haggled, didn't buy.
     
  12. omgcat

    omgcat Level IV

    Joined:
    Jan 31, 2007
    Messages:
    1,137
    Likes Received:
    0
    Ionno.. it didnt get realeased into stores.. Lol.
     
  13. Pankirk

    Pankirk Level III

    Joined:
    Nov 12, 2006
    Messages:
    652
    Likes Received:
    28
    Location:
    America
    Lol. Eggys works. But the one from Zomg doesnt work at all ;P
     
  14. gawjus1234

    gawjus1234 Level III

    Joined:
    May 22, 2007
    Messages:
    518
    Likes Received:
    3
    Location:
    Las Vegas
    wow thats easier than i thought. this should make my trainer a lot easier. +rep (a billion times if i could)