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

Thread: Program Pulling NP ratio?

  1. #1

    Join Date
    Jan 2012
    Gender
    Posts
    118
    Thanks
    11
    Thanked 11 Times in 8 Posts


    Downloads
    7
    Uploads
    0
    Mentioned
    15 Post(s)
    Time Online
    N/A
    Avg. Time Online
    N/A
    Rep Power
    6

    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

    Join Date
    Dec 2011
    Gender
    Posts
    143
    Thanks
    3
    Thanked 161 Times in 44 Posts


    Downloads
    14
    Uploads
    9
    Mentioned
    64 Post(s)
    Time Online
    5 d 21 h 51 m
    Avg. Time Online
    4 m
    Rep Power
    7
    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

    Join Date
    Jan 2012
    Gender
    Posts
    118
    Thanks
    11
    Thanked 11 Times in 8 Posts


    Downloads
    7
    Uploads
    0
    Mentioned
    15 Post(s)
    Time Online
    N/A
    Avg. Time Online
    N/A
    Rep Power
    6
    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
    Join Date
    Dec 2011
    Gender
    Posts
    232
    Thanks
    27
    Thanked 58 Times in 31 Posts


    Downloads
    18
    Uploads
    0
    Mentioned
    26 Post(s)
    Time Online
    1 d 14 h 24 m
    Avg. Time Online
    1 m
    Rep Power
    6
    http://www.neopets.com/~Joderi
    ^ this might help a bit

  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





    Infamous Joe's Avatar
    Join Date
    Dec 2011
    Gender
    Location
    Hyperbolic Time Chamber
    Age
    26
    Posts
    9,752
    Thanks
    2,780
    Thanked 16,233 Times in 4,237 Posts


    Downloads
    23
    Uploads
    36
    Mentioned
    2985 Post(s)
    Time Online
    293 d 15 h 58 m
    Avg. Time Online
    3 h 44 m
    Rep Power
    10
    Gamer IDs

    Gamertag: Infam0us Joe Steam ID: infamousjoe
    Great suggestion! Will be one of the next programs I make if no one beats me to it.

  7. #6

    Join Date
    Dec 2011
    Gender
    Posts
    143
    Thanks
    3
    Thanked 161 Times in 44 Posts


    Downloads
    14
    Uploads
    9
    Mentioned
    64 Post(s)
    Time Online
    5 d 21 h 51 m
    Avg. Time Online
    4 m
    Rep Power
    7
    What format would you want the text file to have.

  8. #7

    Join Date
    Jan 2012
    Gender
    Posts
    118
    Thanks
    11
    Thanked 11 Times in 8 Posts


    Downloads
    7
    Uploads
    0
    Mentioned
    15 Post(s)
    Time Online
    N/A
    Avg. Time Online
    N/A
    Rep Power
    6
    filename.txt

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

    or like this pic
    Last edited by DarkBlinker; 03-03-2012 at 07:03 PM.

  9. #8
    Neoquest's Avatar
    Join Date
    Jan 2012
    Gender
    Posts
    97
    Thanks
    4
    Thanked 10 Times in 8 Posts


    Downloads
    26
    Uploads
    0
    Mentioned
    16 Post(s)
    Time Online
    8 h 17 m
    Avg. Time Online
    N/A
    Rep Power
    6
    I can do this easily. Will edit this post with the program once I finish.

    @DarkBlinker

    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. http://dl.dropbox.com/u/39926309/rel...atioGetter.zip
    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

    Join Date
    Jan 2012
    Gender
    Posts
    118
    Thanks
    11
    Thanked 11 Times in 8 Posts


    Downloads
    7
    Uploads
    0
    Mentioned
    15 Post(s)
    Time Online
    N/A
    Avg. Time Online
    N/A
    Rep Power
    6
    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?
    http://www.neopets.com/games/category.phtml?&page=0
    http://www.neopets.com/games/category.phtml?&page=1
    ...
    http://www.neopets.com/games/category.phtml?&page=8

    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
    Neoquest's Avatar
    Join Date
    Jan 2012
    Gender
    Posts
    97
    Thanks
    4
    Thanked 10 Times in 8 Posts


    Downloads
    26
    Uploads
    0
    Mentioned
    16 Post(s)
    Time Online
    8 h 17 m
    Avg. Time Online
    N/A
    Rep Power
    6
    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.

Page 1 of 2 12 LastLast

Posting Permissions

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