is there a limit to how many server side cvars one can add ? currently I have 12 server side cvars…when I add one more I get an info string length exceeded error in the console
is 12 the limit?
is there a limit to how many server side cvars one can add ? currently I have 12 server side cvars…when I add one more I get an info string length exceeded error in the console
is 12 the limit?
i added 106 for mtf. trapped everyone too. i didn’t get any error. maybe it’s what you’re trying to use?
weird… all I did was copy what IVe done for the past 6 other cvars… I dont understand what I did different this time to cause this error :banghead:
AFAIK there is a limit of 1024 cvars total, including the built in ones. There is also a limit to the total length of serverinfo. Any cvars marked as serverinfo count toward this.
edit:
both of these limits have been discussed on the etpro forums.
wonderful
that was the problem… I was using too many serverinfo’s
the flags confuse me sometimes… I instead used user_created and fixed the error
thanks guys
one way to reduce the amount of serverinfo would be to switch to the etpro style replacement for players_allies and players_axis
In general serverinfo should only be used for something you want seen in game browsers, or which the clients usually need to know.
People can still query specific cvar values with pb_cvarval
In the next version of rmod, I have also added a /modinfo command (server side, but clients can use it) which describes all of the modified settings that are in effect. This is very easy to do, just stick it in g_cmds.c: ClientCommand