Jump to content

Fixing the hardcoded limit of 1022 on server commands


ensiform

Recommended Posts

I was looking into this a little bit instead of having the restriction but unfortunately it is not fixable given the current state.  Because the netcode only handles strings with a static buffer of 1024 size.  And since net compatibility on server and client is required we cannot change the way this functions work.  Doesn't explain the crash though since you would think it'd just be truncated but I'm not sure.

 

The buffer sizes are capped with Q_strncypz 1024 as well when storing the array of commands so it should be caught there as well.

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