Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Program Pulling NP ratio?

  1. #1

    Joined
    Jan 2012
    Posts
    121
    Thanks
    11
    Thanked
    11/8
    DL/UL
    7/0
    Mentioned
    15 times
    Time Online
    N/A
    Avg. Time Online
    N/A

    Program Pulling NP ratio?

    Is there any program out there can produce a list of games' NP ratio with its ID in txt file?

  2. #2

    Joined
    Dec 2011
    Posts
    151
    Userbars
    2
    Thanks
    4
    Thanked
    165/45
    DL/UL
    14/9
    Mentioned
    68 times
    Time Online
    6d 17h 26m
    Avg. Time Online
    2m
    I am not sure (don't think I have seen one), but I could make one of it would be helpful.
    Last edited by Soredavide; 03-03-2012 at 04:20 PM.

  3. #3

    Joined
    Jan 2012
    Posts
    121
    Thanks
    11
    Thanked
    11/8
    DL/UL
    7/0
    Mentioned
    15 times
    Time Online
    N/A
    Avg. Time Online
    N/A
    It would be greatly helpful for me and maybe other.
    I'm using excel for me SS list and it auto change the score according to the NP ratio. It a pain just to go though all 16x page of game just to check what change and fix the changed ratio.

  4. #4
    Zane's Avatar
    Joined
    Dec 2011
    Posts
    288
    Userbars
    14
    Thanks
    296
    Thanked
    160/56
    DL/UL
    75/0
    Mentioned
    63 times
    Time Online
    10d 22h 27m
    Avg. Time Online
    3m
    (you need an account to see links)
    ^ this might help a bit
    Goals
    49/100 Clraik Referrals
    Neopets Guides
    All are Outdated
    Miscellaneous

    Art Related
    (you need an account to see links)



  5. The Following 2 Users Say Thank You to Zane For This Useful Post:

    DarkBlinker (03-03-2012),oriana (03-04-2012)

  6. #5
    Saiyan Race
    j03's Avatar
    Joined
    Dec 2011
    Posts
    13,722
    Userbars
    166
    Thanks
    5,906
    Thanked
    33,077/6,608
    DL/UL
    23/36
    Mentioned
    3,867 times
    Time Online
    563d 5h 25m
    Avg. Time Online
    3h 13m
    Great suggestion! Will be one of the next programs I make if no one beats me to it.
    (you need an account to see links)
    (you need an account to see links)(you need an account to see links)

    ------------------------
    [02/24/2013] Stealth CORE is made into the first standalone Neopets auto-player.
    ------------------------


  7. #6

    Joined
    Dec 2011
    Posts
    151
    Userbars
    2
    Thanks
    4
    Thanked
    165/45
    DL/UL
    14/9
    Mentioned
    68 times
    Time Online
    6d 17h 26m
    Avg. Time Online
    2m
    What format would you want the text file to have.

  8. #7

    Joined
    Jan 2012
    Posts
    121
    Thanks
    11
    Thanked
    11/8
    DL/UL
    7/0
    Mentioned
    15 times
    Time Online
    N/A
    Avg. Time Online
    N/A
    filename.txt

    Game ID NP Ratio
    123 0.15
    145 1.00
    153 0.89
    ...

    or like this pic
    (you need an account to see links)
    Last edited by DarkBlinker; 03-03-2012 at 07:03 PM.

  9. #8

    Joined
    Jan 2012
    Posts
    96
    Userbars
    1
    Thanks
    4
    Thanked
    10/8
    DL/UL
    26/0
    Mentioned
    16 times
    Time Online
    8h 17m
    Avg. Time Online
    N/A
    I can do this easily. Will edit this post with the program once I finish.

    @(you need an account to see links)

    EDIT: Done. Writes all ratios in the format specified above to the file "GameRatios.txt" or something like that. Since apparently I can't upload a .zip as large as I tried to, you can get it from Dropbox. (you need an account to see links)
    Last edited by Neoquest; 03-04-2012 at 01:02 AM.

  10. The Following User Says Thank You to Neoquest For This Useful Post:

    DarkBlinker (03-04-2012)

  11. #9

    Joined
    Jan 2012
    Posts
    121
    Thanks
    11
    Thanked
    11/8
    DL/UL
    7/0
    Mentioned
    15 times
    Time Online
    N/A
    Avg. Time Online
    N/A
    wow so neat. I like it a lot.
    Is this thing check the web for valid games and look for NP Ratio value? Can you tell us how exactly how this thing work?
    I don't have Visual Basic Editor to take a look and see what it does.
    It take a while to go tho 13xx game id, of course it will not miss any games if you do it this way. It would be faster if the program go to the game room and pull the game IDs from the web and search only for those games?
    (you need an account to see links)
    (you need an account to see links)
    ...
    (you need an account to see links)

    from the source
    <div class="gr-group-header"><h2 class="" id="cat-header-z">Z</h2></div> <div class="ctp-med">
    <a href="/games/zurroball.phtml" title="Zurroball" onClick='_gaq.push(["_trackEvent", "", "", "207"]);
    '>
    <img src="http://images.neopets.com/games/pages/icons/med/m-207.png" alt="Zurroball" border="0" class="m" onerror="ImgError(this)" />
    </a>
    <div class="name"><a href="/games/zurroball.phtml" onClick='_gaq.push(["_trackEvent", "", "", "207"]);
    '>Zurroball</a></div>

    </div>

  12. #10

    Joined
    Jan 2012
    Posts
    96
    Userbars
    1
    Thanks
    4
    Thanked
    10/8
    DL/UL
    26/0
    Mentioned
    16 times
    Time Online
    8h 17m
    Avg. Time Online
    N/A
    It isn't written in VB. (I don't really understand why so many of the programmers here write in VB.) It's in Python. I made it this way because I don't have a list of all the gameIDs. It's an incredibly simple program, it just goes to the game page and scrapes the ratio, then adds one to the GameID and repeats until it reaches the number you told it to stop at.

    Source:

    The indents got kinda messed up, oh well. Also the module "standard" is not part of the library, it's my own module, so anything that uses a "standard" function will not work.
    Last edited by Neoquest; 03-04-2012 at 02:17 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •