Railgun

if it ain't broke, we'll break it

User Tools

Site Tools


sockchat:s2c:authz-success

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
sockchat:s2c:authz-success [2025/04/13 22:51] – added notice flashsockchat:s2c:authz-success [2025/04/23 18:54] (current) – [Format] whoops flash
Line 9: Line 9:
 ^ Index ^ Type ^ Description ^ ^ Index ^ Type ^ Description ^
 |  0 |  ''%%1%%''  | Authz/User Add packet ID | |  0 |  ''%%1%%''  | Authz/User Add packet ID |
-|  1 |  ''%%n%%''  | Authz success packet ID |+|  1 |  ''%%y%%''  | Authz success packet ID |
 |  2 |  [[sockchat:types#string|string]]  | User ID of the authenticated user | |  2 |  [[sockchat:types#string|string]]  | User ID of the authenticated user |
 |  3 |  [[sockchat:types#user_name|user name]]  | User name of the authenticated user | |  3 |  [[sockchat:types#user_name|user name]]  | User name of the authenticated user |
Line 15: Line 15:
 |  5 |  [[sockchat:types#user_perms|user perms]]  | Permissions for the authenticated user | |  5 |  [[sockchat:types#user_perms|user perms]]  | Permissions for the authenticated user |
 |  6 |  [[sockchat:types#channel_name|channel name]]  | Default channel name, the user will automatically join following this packet | |  6 |  [[sockchat:types#channel_name|channel name]]  | Default channel name, the user will automatically join following this packet |
-|  7 |  [[sockchat:types#int|int]]  | Maximum length for messages sent by the client ((Went ignored by the original client implementation.)) |+|  7 |  [[sockchat:types#int|int]]  | Maximum length/unicode grapheme cluster count for messages sent by the client ((Went ignored by the original client implementation.)) ((SharpChat also an internal maximum byte count which is the same value multiplied by 10.)) |
  
 ===== Examples ===== ===== Examples =====
  
-User with ID 47, named Flashwave with no display colour, joining with rank 7, ability to kick, set a nickname and create temporary channels. Default channel is called Lounge and the maximum number of characters is 5000:+User with ID 47, named Flashwave with no display colour, joining with rank 7, ability to kick, set a nickname and create temporary channels. Default channel is called Lounge and the maximum number of Unicode Grapheme Clusters is 5000:
  
   1\ty\t47\tFlashwave\tinherit\t7\f1\f0\f1\f1\tLounge\t5000   1\ty\t47\tFlashwave\tinherit\t7\f1\f0\f1\f1\tLounge\t5000
  
-User with ID 4000, named murasaki with display colour <span style="color: #660099">#660099</span>, joining with rank 123 and no additional permissions. Default channel is called Lobby and the maximum number of characters is 9001. User permissions have the faulty Flashii specific format:+User with ID 4000, named murasaki with display colour <span style="color: #660099">#660099</span>, joining with rank 123 and no additional permissions. Default channel is called Lobby and the maximum number of Unicode Grapheme Clusters is 9001. User permissions have the faulty Flashii specific format:
  
   1\ty\t4000\tmurasaki\t#660099\t123 0 0 0 0\tLobby\t9001   1\ty\t4000\tmurasaki\t#660099\t123 0 0 0 0\tLobby\t9001
Line 29: Line 29:
 ===== See Also ===== ===== See Also =====
  
-  * [[sockchat:c2s:authz-attempt|Authorization Attempt]] - Client authorization attempt, this packet is a possible response to it. +  * [[sockchat:c2s:authz-attempt|C2S Packet 1: Authorization Attempt]] - Client authorization attempt, this packet is a possible response to it. 
-  * [[sockchat:s2c:authz-fail|Authorization Failure]] - Alternate universe version of this packet where the credentials were incorrect.+  * [[sockchat:s2c:authz-fail|S2C Packet 1.n: Authorization Failure]] - Alternate universe version of this packet where the credentials were incorrect.
  
sockchat/s2c/authz-success.1744584713.txt.gz · Last modified: 2025/04/13 22:51 by flash