How do I create a unique random ID for each player

Get help using Construct 2

Post » Mon Jun 30, 2014 4:57 pm

Hi. Is it somehow possible to create really unique random IDs for each player? Maybe its possible to read the mac address and add some random numbers to it?
The ID should be stored locally and submitted via tha Multiplayer Plugin to identify each player/device even after reconnecting because the uniqe ID from the Multiplayer Plugin is always different after reconnecting.
Bl4ckSh33p-Soft - Custom Software and Indie Games
B
58
S
18
G
6
Posts: 756
Reputation: 9,591

Post » Tue Jul 01, 2014 12:48 pm

you can make a hash function, maybe?
B
9
S
2
Posts: 18
Reputation: 546


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 8 guests