1. Welcome to Smogon Forums! Please take a minute to read the rules.
  2. New to the forums? Check out our Mentorship Program!
    Our mentors will answer your questions and help you become a part of the community!

IVs to PID applet

Discussion in 'Archives' started by X-Act, Aug 28, 2008.

  1. X-Act

    X-Act np: Biffy Clyro - Shock Shock
    is a Site Staff Alumnusis a Programmer Alumnusis a CAP Contributor Alumnusis a Researcher Alumnusis a Tiering Contributor Alumnusis a Contributor Alumnusis an Administrator Alumnus

    Joined:
    Feb 17, 2006
    Messages:
    4,675
    The applet to find your PID of a Pokemon just by typing in its IVs and Nature has been uploaded here.

    Any bug reports and suggestions are welcome.

    This applet is a direct consequence of this article.
  2. Serv

    Serv
    is a Contributor Alumnusis a Battle Server Moderator Alumnus

    Joined:
    Mar 20, 2008
    Messages:
    270
    As usual great work X-Act.
  3. Bentendo1

    Bentendo1

    Joined:
    Sep 7, 2007
    Messages:
    2,444
    Seems like a fine applet to me. The staff has thought of what this could do to the Wi-Fi board, right?
  4. X-Act

    X-Act np: Biffy Clyro - Shock Shock
    is a Site Staff Alumnusis a Programmer Alumnusis a CAP Contributor Alumnusis a Researcher Alumnusis a Tiering Contributor Alumnusis a Contributor Alumnusis an Administrator Alumnus

    Joined:
    Feb 17, 2006
    Messages:
    4,675
    Yes we have. So I don't need to worry about that.
  5. VoiceOfReason

    VoiceOfReason

    Joined:
    Sep 11, 2007
    Messages:
    27
    Groundbreaking piece of work, but despite you saying the staff has already considered its implications, this applet (in conjunction with your previous article) will destroy the Wifi boards. I am not a Wifi-er but I can see that this will upset a LOT of people.
  6. Silent Storm

    Silent Storm

    Joined:
    Jan 27, 2007
    Messages:
    263
    ^ The information is out there already, it was gonna happen sooner or later.

    Great work X-Act, and I hope you don't take this down just because some people will get upset.
  7. VoiceOfReason

    VoiceOfReason

    Joined:
    Sep 11, 2007
    Messages:
    27
    Well I suppose (as you asked for suggestions) that extra pieces of output detailing Hidden Power, whether the Pokemon gets Ability 1 or 2, and whereabouts in the gender distribution the Pokemon lies, would be useful additions.

    As you know, these would all be easy to calculate from the data the applet already outputs, and I wouldn't be surprised if you had thought of this already.
  8. X-Act

    X-Act np: Biffy Clyro - Shock Shock
    is a Site Staff Alumnusis a Programmer Alumnusis a CAP Contributor Alumnusis a Researcher Alumnusis a Tiering Contributor Alumnusis a Contributor Alumnusis an Administrator Alumnus

    Joined:
    Feb 17, 2006
    Messages:
    4,675
    Hmm okay I might do that.

    By the way, the text in the PID window should appear in a monospaced font (Courier). It does appear like that in my applet viewer, but somehow it doesn't appear like that on Internet Explorer. Just a minor thing really.

    EDIT: I fixed the applet to have monospaced font, and added Gender and Ability to the output. If your applet appears the same, exit from your browser and retry, or, if all else fails, delete all your temporary internet files and refresh the link.
  9. Mario With Lasers

    Mario With Lasers Why am I so shit
    is a Forum Moderator Alumnusis a CAP Contributor Alumnus

    Joined:
    Nov 15, 2006
    Messages:
    7,103
    Interesting, you can't have a D/P wild pokémon with 31/31/31/31/31/31 and Naive nature. And Modest have the highest chance of giving a perfect IV spread, while Adamant doesn't have a single one.

    Well, I think now people will "just" have to trust each other when trading legends on the WiFi forums.
  10. Arseus

    Arseus
    refuses to accept Contributor

    Joined:
    Oct 13, 2006
    Messages:
    869
    This is really cool X-Act. So if you can determine the PID now, can you calculate seed from PID?

    Great work, both on this calculator and the article.
  11. X-Act

    X-Act np: Biffy Clyro - Shock Shock
    is a Site Staff Alumnusis a Programmer Alumnusis a CAP Contributor Alumnusis a Researcher Alumnusis a Tiering Contributor Alumnusis a Contributor Alumnusis an Administrator Alumnus

    Joined:
    Feb 17, 2006
    Messages:
    4,675
    Of course I can... that's how the applet works actually!
  12. Syberia

    Syberia [custom user title]
    is a Pre-Contributor

    Joined:
    Jun 22, 2005
    Messages:
    5,004
    This is pretty awesome; why isn't it linked in your sig yet? :P

    This will probably kill the wi-fi forum, but it honestly doesn't matter much, at least to me. I'll probably just start using my Pokesav'd stuff with missing trash bytes and incorrect PIDs again.

    In combination with Shoddy Battle (to find a legal IV/nature combination for a particular Hidden Power) and Pokesav (to find out what gender/ability slot a certain PID will produce), you can find these already. Although, any legend that you would need a PID for only has one ability regardless of which "class" is picked, and only Heatran has a gender, which is totally inconsequential in battle for anything other than the never-used Attract.

    Are there plans to release an offline version of this program?
  13. Silent Storm

    Silent Storm

    Joined:
    Jan 27, 2007
    Messages:
    263
    There are already offline versions of these kind of programs, PM me for details.
  14. VoiceOfReason

    VoiceOfReason

    Joined:
    Sep 11, 2007
    Messages:
    27
    Yes, as you say Pokesav help you determine what gender/ability a certain PID will produce when the PID is entered on the main Pokemon page and "Create" is pressed; 1st/2nd Class relating to its ability but then the ability would have to be updated manually. Pokesav would therefore actually allow a caught Pokemon with IVs matching the PID to have an incorrect ability.

    Furthermore, the applet producing these as output is very useful in terms of hack checking, because for wild non-legendary Pokemon, hackers could get these wrong. This would show up when Nintendo hack tests a player at a tournament, and on some games may show up as a bad egg.

    Having these pieces of information as output adds to its usefulness by not requiring the use of additional programs. I just mentioned Hidden Power output as it would make an extra piece of useful information (perhaps could even be used as an input field, along with the options "Fire/Water/.../Any").

    I would, however, appreciate a downloadable offline version, but I think X-Act has done a very good job already, and I say thank you for so quickly implementing the gender and ability outputs.

    EDIT: To Syberia - sorry for misleading you regarding gender, thanks for pointing out Pokesav 1st/2nd class update to me.
  15. the_artic_one

    the_artic_one

    Joined:
    Jul 31, 2007
    Messages:
    829
    Yeah don't worry about the wifi board, this information has been available since Tsanth's thread on gamespot blew up (I think someone there had a similar applet as well).

    Good job X-act.
  16. Syberia

    Syberia [custom user title]
    is a Pre-Contributor

    Joined:
    Jun 22, 2005
    Messages:
    5,004
    It being available to everyone is always better than it being available to only a few people.
  17. cim

    cim happiness is such hard work
    is a Smogon Media Contributor Alumnus

    Joined:
    Jun 3, 2007
    Messages:
    5,412
    i think that the consequence of publicly available data on the IV restrictions is more important than the integrity of a forum that people could already make bulletproof fakes on anyway if they knew what they were doing... Free information!

    X-Act kicks ass.
  18. Syberia

    Syberia [custom user title]
    is a Pre-Contributor

    Joined:
    Jun 22, 2005
    Messages:
    5,004
    With regards to IV restrictions - I haven't seen a guide to the legal IV/Nature/Hidden Power combinations for Shoddy anywhere on this site. Since it would be useful, I will begin making one, unless it exists already and I'm just too dumb to find it.
  19. coolbho3000

    coolbho3000

    Joined:
    Aug 28, 2008
    Messages:
    7
  20. hrc969

    hrc969

    Joined:
    Jul 24, 2007
    Messages:
    58
  21. Arcaseven

    Arcaseven

    Joined:
    May 28, 2008
    Messages:
    267
    What's PID?
  22. X-Act

    X-Act np: Biffy Clyro - Shock Shock
    is a Site Staff Alumnusis a Programmer Alumnusis a CAP Contributor Alumnusis a Researcher Alumnusis a Tiering Contributor Alumnusis a Contributor Alumnusis an Administrator Alumnus

    Joined:
    Feb 17, 2006
    Messages:
    4,675
    Not to be an asshole or anything, but I must say that ANY implementation that finds the PID of a Pokemon from its IVs uses the reverse RNG formula that, as far as I know, was discovered by me and by tsanth independently of each other without any external help. So every implementation that is neither by me nor by tsanth should give credit either to me or to tsanth as appropriate. I think this is only fair.

    Read this.
  23. SMZ

    SMZ

    Joined:
    May 14, 2007
    Messages:
    2,605
    Nice work X-Act. The applet hasn't changed for me so I'll delete Interenet Temp.Files later. Anyway, I put in IVs/nature my friend's shiny Adamant Eevee *caught in LG/FR* and it says no possibilities..so I tried another Pokemon's IVs/nature which is actually mine.. Heatran which I caught in Diamond and it also says no possibilities, why's that?
  24. X-Act

    X-Act np: Biffy Clyro - Shock Shock
    is a Site Staff Alumnusis a Programmer Alumnusis a CAP Contributor Alumnusis a Researcher Alumnusis a Tiering Contributor Alumnusis a Contributor Alumnusis an Administrator Alumnus

    Joined:
    Feb 17, 2006
    Messages:
    4,675
    You probably haven't calculated your IVs correctly.
  25. SMZ

    SMZ

    Joined:
    May 14, 2007
    Messages:
    2,605
    Well I IV-battled for both..unless I wrote a number differently. Will check both again to make sure. Thanks.

Users Viewing Thread (Users: 0, Guests: 0)