eezstreet Posted October 26, 2012 Posted October 26, 2012 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"); Delta_135, spior, therfiles and 1 other like this
eezstreet Posted October 26, 2012 Author Posted October 26, 2012 Not enough... Nice find!I'm hacking that at some point. Requires 4 engine patches to fix, but I don't have the willpower right now to actually attempt it atm. therfiles likes this
Akimoto Posted October 27, 2012 Posted October 27, 2012 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"); Nice find.
Raz0r Posted October 27, 2012 Posted October 27, 2012 Launch JA+, connect to a siege server, quit JA, connect to an FFA server.ggwpnore.
MUG Posted October 27, 2012 Posted October 27, 2012 Ok but who needs 400 new cvars?Your maths is impressive.
afi Posted October 27, 2012 Posted October 27, 2012 Your maths is impressive.Haha 802+400 = 1202Ok... my bad, 422 new cvars ?
Akimoto Posted October 27, 2012 Posted October 27, 2012 Haha 802+400 = 1202Ok... 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
afi Posted October 27, 2012 Posted October 27, 2012 1224 - 1024 = 200 802 existing cvars + 422 "possible new" cvars = 1224 cvars
MUG Posted October 27, 2012 Posted October 27, 2012 Why doesn't he actually reach into the bag. This bugs me greatly. Astral Serpent and therfiles like this
MUG Posted October 28, 2012 Posted October 28, 2012 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
CaptainChar Posted October 28, 2012 Posted October 28, 2012 well i kept hearing all this talk about CVAR, and my perspective is, if we can have more, then do it, it even if we cant use em, it just gives that extra slack some people need
eezstreet Posted October 28, 2012 Author Posted October 28, 2012 802 existing cvars + 422 "possible new" cvars = 1224 cvarsnote: session data is also kept in cvars, and there's at least 35 or so oddball UI cvars floating around that aren't directly given a vmCvar_t in the code. afi likes this
Fighter Posted October 29, 2012 Posted October 29, 2012 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 xDConsole variable.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now