loudog1212 / reign-of-the-undead

Automatically exported from code.google.com/p/reign-of-the-undead
0 stars 0 forks source link

Server crashes during map voting with G_FindConfigstringIndex: overflow error #3

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Activision/IW has imposed a limit of 512 client strings.  This error indicates 
that we have exceeded that limit.

Since this issue first appeared, we have taken steps to reduce the frequency 
with which it appears.  We have not been able to reproduce it on a server with 
20-human-player slots since those changes.

The biggest culprit is the strings that show which players have voted for each 
map.  One of the changes we made was to reduce the frequency that data is 
updated.  The second biggest culprit is the welcome messages.  Best practice is 
to put all the player-specific data into a single welcome message.

Another culprit is the points you get for shooting at a cyclops.  We changed 
this code so that the points are always rounded to the nearest multiple of 10.  
This limits the possible number of unique point values generated.

Un-addressed culprits include the current wave hud, i.e. wave 6/15, the wave 
progress hud, i.e. 12/234, and the map vote timer.

If you encounter this bug, please post the following information:

1.  The current welcome messages defined in your server.cfg
2.  The dump of the strings from the console_mp.log file (do not attach the 
entire console_mp.log file!).
3.  How many human-player slots you have, and how many players were in the game 
when the error occurred.
4.  Whether you have made *any* changes to the *.gsc or *.menu files

Original issue reported on code.google.com by m...@marktaff.com on 13 Mar 2013 at 6:44