ID:2765350
![]() Jan 31, 1:01 pm
|
|||||||
| |||||||
A native proc or even just a variable on the client itself to check if it's a guest or a logged in user would clean up some external authentication nastiness.
|
![]() Feb 7, 8:58 pm
|
|
this would be lovely instead of just having to check guest- as part of the ckey, which is not the correct subset
|
related: http://www.byond.com/forum/post/272477#comment1228220
Although it's not strictly documented anywhere, any key that starts with "Guest" (or ckey that starts with "guest") can safely be treated as a guest key. You don't need the dash since it would be stripped away by ckey, and ckeys are unique (no two different keys can have the same ckey). |
But we do know under some rare circumstances that computer_id can be the same for two different users.
|
Ter13 wrote:
More specifically, a guest key will always be Guest-[computer_id]We've come across circumstances where this isn't true. |
Kaiochao wrote:
Although it's not strictly documented anywhere, any key that starts with "Guest" (or ckey that starts with "guest") can safely be treated as a guest key. You don't need the dash since it would be stripped away by ckey, and ckeys are unique (no two different keys can have the same ckey).This excludes valid player ckeys. |