Enemy Territory

Project: Bug Fix

The objective

The goal of this project is to provide modders in the ET community with a SDK code base that contains fixes for various bugs which are present in the stock etmain game (version 2.60).

26th september 2006: Sadly bugfix 088 had a bug :-( There were 3 lines that should have been deleted for the fix to work correctly.

Show index
Previous bug: 'follow' error message when you are in limbo state was cluttering the popup messages
Next bug: 'callvote' command erros could be delayed

Bugfix 066 - VoiceChat spam protection messages was cluttering the popup messages

Problem:

VoiceChat spam protection messages can be delayed since they are displayed as popup messages

Solution:

Moved them from popup messages to center print, because it needs to be displayed immediately

Notes:

The bug is still present in version 2.60

2.56 & 2.60 Code

g_cmds.c @ 1584 (2.56) @ 1604 (2.60) // Only do the spam check for MP if ( ent->voiceChatSquelch >= 30000 ) {
// CHRUKER: b066 - Was using the cpm command, but this needs to be displayed immediately
trap_SendServerCommand( ent-g_entities, "cpm \"^1Spam Protection^7: VoiceChat ignored\n\"" ); return; }

Show index
Previous bug: 'follow' error message when you are in limbo state was cluttering the popup messages
Next bug: 'callvote' command erros could be delayed

Color coding

Sample = New code
Sample = Changed code (the new version is what is displayed)
Sample = Deleted code

©2017 Chruker