Sign In Register

How can we help you today?

Start a new topic
Answered

How do Peer ID's work?

Hello 


I'm looking for more information on Peer ID's. I touched on this in my post here but it was lost in the tide.


How does the Peer ID work? I'm assuming in my 30 player max game, the peerID will always be a value between 1 and 30. If someone drops out, say PeerID 5, I'm assuming that peerID is then available to anyone who joins again?

Would someones peerID ever exceed the min/max players allowed in a real time match?


I'm about to try and Debug this information myself but it would save me a bunch of time if I could get a link to some documentation I missed.


Thanks!


Jim






Best Answer

Hi Jim,


Peer IDs are a simple number repesenting a player in a RealTime match.

Although typically they do increment, it is possible (depending on how the match is created) that they may not always be in the range 1-30 (in your example).

Peer IDs are not reused if a player leaves a match and a different player joins. So yes, in this situation for example, it is entirely possible that a peer ID may exceed the maximum number of players in a match.


Kind regards,


Jonathan.


Answer

Hi Jim,


Peer IDs are a simple number repesenting a player in a RealTime match.

Although typically they do increment, it is possible (depending on how the match is created) that they may not always be in the range 1-30 (in your example).

Peer IDs are not reused if a player leaves a match and a different player joins. So yes, in this situation for example, it is entirely possible that a peer ID may exceed the maximum number of players in a match.


Kind regards,


Jonathan.

Thanks Jonathan, thats very useful to know.

Login to post a comment