Jump to content

[server] User info validate


Paullik74

Recommended Posts

  • 2 weeks later...

It's a bit-field with these value combinations:

 

0x00000001 make sure cl_guid does not exist, q3fill protection

0x00000002 make sure cl_punkbuster does not exist q3fill protection

0x00000004 make sure IP is there once or not at all, engine adds this at the end

0x00000008 make sure cp_pluginDisable is there once or not at all

0x00000010 make sure name is there once or not at all

0x00000020 make sure rate is there only once

0x00000040 make sure snaps is there only once

0x00000080 make sure model is there only once

0x00000100 make sure forcepowers is there only once

0x00000200 make sure color1 is there only once

0x00000400 make sure color2 is there only once

0x00000800 make sure handicap is there only once

0x00001000 make sure sex is there once or not at all

0x00002000 make sure cg_predictItems is there only once

0x00004000 make sure saber1 is there only once

0x00008000 make sure saber2 is there only once

0x00010000 make sure char_color_red is there only once

0x00020000 make sure char_color_green is there only once

0x00040000 make sure char_color_blue is there only once

0x00080000 make sure cp_sbRGB1 is there once or not at all, from JA+

0x00100000 make sure cp_sbRGB2 is there once or not at all, from JA+

0x00200000 make sure teamtask is there once or not at all,

0x00400000 make sure password is there once or not at all, optional

0x00800000 make sure cjp_client is there once or not at all, from JA++

0x01000000 make sure csf is there once or not at all, from JA++

0x02000000 make sure teamoverlay is there once or not at all, only registered in cgame and not sent when connecting

0x04000000 make sure the userinfo string is not too short (< 1) or too long (>= 1024)

0x08000000 make sure the userinfo string contains the correct amount of slashes (key=value pairs)

0x10000000 make sure there are no extended ascii characters. not a recommended setting as these are sometimes used in names.

0x20000000 make sure there are no known "control characters" including line-feed, carriage-return, tab stop, semicolon, quotation marks

 

 

See also Executing actions based on userinfo

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...