ooinic / sourcemod-ultimate-mapchooser

Automatically exported from code.google.com/p/sourcemod-ultimate-mapchooser
0 stars 0 forks source link

Change storage of clients from ClientIDs to UserIDs #9

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
For any places in the code where UMC stores ClientIDs over time (gap between 
runoff votes for example), replace it with the UserID instead.

The difference is that UserIDs are unique (for all intents and purposes) and 
ClientIDs are not. This means that if a user disconnects and another 
reconnects, the second user may take the first user's ClientID. The way UMC 
works now, it will treat the second user as if he was the first user if that 
happens.

Original issue reported on code.google.com by Steell1...@gmail.com on 3 Mar 2012 at 6:06

GoogleCodeExporter commented 8 years ago

Original comment by Steell1...@gmail.com on 7 Mar 2012 at 2:57