# Pkhex for Sun and Moon Trainer ID

## Recommended Posts

So out of curiosity, how do I implement the new 6 digit trainer IDS? Pkhex only allows the 5. When I have people asking me to make it as there Trainer ID, I can't. Unless there's a way to do it and i'm just not aware of it.

##### Share on other sites

The last 6 digits of (SID*65536 + TID)

##### Share on other sites

Can you please explain? I don't understand what exactly do you do with your sid and tid. I don't get it?

##### Share on other sites

to be clear,
the "6 digit TID" people see is a new type of calculation that only affects Pokemon caught in Sun/moon and beyond.

Transferred Pokemon will still have the old TID/SID.

Likewise, going by the "old standards", our games still have a TID/SID combo,
and the 6 digit combo is calculated based on the above formula Ispano described.

If you have  to make a Pokemon (let's say for a friend for example), it'll be best for them to you a Pokemon they caught,
so that you know the exact TID/SID.

Else, if you trade over a Pokemon, even with the correct OT name and 6 digits (G7TID),
if the TID/SID combo is wrong, it'll be treated as an outsider.

Also, in case if you're unaware,
hovering your mouse on top of a Pokemon's TID in PKHeX will show the G7TID.

##### Share on other sites

• 3 weeks later...

is it already known what kind of function the G7TID is fulfilling? Why did they change?

##### Share on other sites

It was literally posted in the second post of the thread you just posted in.

##### Share on other sites

6 minutes ago, Ammako said:

It was literally posted in the second post of the thread you just posted in.

thx I just saw it :3

##### Share on other sites

• 10 months later...

How do you get the TID and SID if you only have the "six digit TID"?

I think this might be how TID = Last five digits (SID/65536 + STID)

Edited by DeoxysInSpace
##### Share on other sites

4 hours ago, DeoxysInSpace said:

How do you get the TID and SID if you only have the "six digit TID"?

I think this might be how TID = Last five digits (SID/65536 + STID)

You can't get the specific TID/SID solely based on the G7TID. Many different variations of TID/SID can form the same G7TID.

• 1