View Full Version : Calculating a PID
Jan 16th, 2010, 11:38 AM
How should I go about calculating a PID based on a selected Nature, Gender, Ability, Shiny, and Unown Shape.
Jan 16th, 2010, 09:45 PM
Do you want to just craft a PID from scratch? Or do you want to create one that would have been generated by the game?
What I've also been curious about is the fact that HGSS only allows you to collect a certain set of Unown, until you unlock more letters. So there are restrictions on the PIDs used. Does the game forward the RNG until a PID with the appropriate letter appears, like with Synchronize? I'm not curious enough to test it; after all Unown don't have much competitive use.
Jan 16th, 2010, 10:26 PM
It doesn't have to be a legal PID for now, this is for Pokemon Colosseum, so I don't really care how accurate the PID is to how the games create them. I am making a little program that allows the user to make Pokemon then export a code that creates the Pokemon in BOX 3 Slot 30.
Jan 18th, 2010, 10:48 AM
Well, if the PID doesn't have to be legal, then you don't really need to do any calculating. Just make up the PID, any number between 0 and 4,294,967,295! If you can make the Pokémon appear to have been hatched from an egg, that would be great too, as the PID would not conform to any known algorithm anyway.
Jan 29th, 2010, 08:35 PM
yea, that is when i plan to do, random number form 0 to 4294967295, then do checks on it to see if it would give it the nature the user selected, the ability number, gender etc. if any fails then start over.
Powered by vBulletin™ Version 4.0.2 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.