Jump to content

How is "Trainer ID" Calculated?


Recommended Posts

It is completely random, and chances for 2 trainers to have the same ID and sID are really low.

There are 65536 possibilities for the ID and the sID, so one chance over 4 294 967 296 to have both ID and Secret ID identical.

I think it is calculated with the PRNG algorithm or something similar.

Link to comment
Share on other sites

How do you think a game would know if someone alerady has a certain ID and SID?

It is impossible, unless they had us connect to Wi-Fi each time we start a new game.

Link to comment
Share on other sites

When you start a new game, the game generates a new RNG seed from the date\time\time it took you to talk to the professor. It then invokes the RNG used to create egg PIDs (nature\shininess\etc.), which is separate from the normal RNG. The first upper 16-bits of the generated number are for the TID, and the lower 16-bits is the SID. There are about 2^32 different possible seeds with the RNG, but there are only a limited number of seeds the game can generate. It is possible to get the same ID\SID with two different seeds, and some ID\TID combos are not possible.

It's pretty well documented how to start a game with a specific ID\SID. I started a game with a specific ID\SID so I could get a shiny near-flawless HP Grass Timid Raikou and Zapdos, and be able to renickname the Japanese event Mew to boot.

This program is what you're looking for if you're more interested in learning how.

Link to comment
Share on other sites

  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...