-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BIG_INFO_STRING is too short #1215
Comments
How sad |
I looked at the current serverinfo on Bunker and it's about 800 bytes. This is close to the "normal" MAX_INFO_STRING size of 1024, but nowhere near BIG_INFO_STRING. So probably the |
Thanks for the clarification. So the real bug is not the one I am reporting? Feel free to re-title this as appropriate. |
I was able to reproduce locally. The server sends a |
#1218 fixes the With #1218 you can now safely have a serverinfo string which is close to 1024 characters but not exceeding it (this was probably your use case.) Increasing the max serverinfo length would require a compatibility-breaking change. Anyway the idea of the serverinfo is to display only the things that would be most relevant to someone deciding which server to join. |
What is the long term fix? Are you saying we should create another mechanism for syncing arbitrary data between the server and client? |
It seems to also be used to let the client decide which buildables, classes and equipment to show as locked in the menu.
This would probably be the best thing to do? |
Other cvars that need to be sent to clients could be put in another info string besides the serverinfo one. |
We are sending a lot of information in the info strings now, and 8192 is just not big enough for this as I found out, simply setting some
g_disabledEquipment
andg_disabledBuildables
caused an overflow on Bunker, and players are either spammed by: "Warn: Unknown client game command ..." or kicked from the server with the "bcs exceeded BIG_INFO_STRING" message.Can we increase this? (double it?) What are the implications of such a change?
The text was updated successfully, but these errors were encountered: