Opened 8 years ago
Last modified 7 years ago
#3949 closed defect
Ensure the unique client IDs — at Initial Version
Reported by: | elexis | Owned by: | |
---|---|---|---|
Priority: | Should Have | Milestone: | Alpha 22 |
Component: | Network | Keywords: | patch |
Cc: | sharadbirmiwal@… | Patch: |
Description
The current network code relies on GUIDs being unique, but doesn't ensure that this is actually the case.
Currently, the clients just pick a random GUID in the constructor of NetClient.cpp
. If a player rejoins, he will have a new GUID too.
The server should disconnect clients with a duplicate GUID or even decide the GUID of the clients (rather than the clients).
Note:
See TracTickets
for help on using tickets.