Jump to content

Weird (but interesting) discovery


Recommended Posts

 

The cvar limit in JKA has long been believed to be 1024 cvars for both client and server. Apparently this is not the case. It's actually 1224 cvars, as evidenced by this IDA code:

if ( numCvars >= 1224 )
 Com_Error(0, "MAX_CVARS");

 

 

my-little-pony-friendship-is-magic-brony-mother-of-spitfire.png

 

 

Nice find.

Link to comment

Haha

 

802+400 = 1202

Ok... my bad, 422 new cvars

 

 

 

 

?

 

 

The cvar limit in JKA has long been believed to be 1024 cvars for both client and server. Apparently this is not the case. It's actually 1224 cvars, as evidenced by this IDA code:

if ( numCvars >= 1224 )
 Com_Error(0, "MAX_CVARS");

 

1224 - 1024 = 200

Link to comment

what is a CVAR?

really?

 

They are variables that can be set via the console, such as cg_dismember or g_speed etc. I think it is short for Client Variable. I could be wrong, someone correct me if i got the name wrong xD

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...