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: (Un)lock team/spectator from ref command or Referee menu doesn't broadcast anything at all
Next bug: Command map icons not showing on the correct level

Bugfix 042 - 'Competition settings loaded' and 'Public settings loaded' notifications are quickly overwritten

Problem:

'Competition settings loaded' and 'Public settings loaded' notifications are quickly removed by subsequent centerprints.

Solution:

Move the messages to popupmessages.

Notes:

The bug is still present in version 2.60. This fix isn't perfect. The popup messages are also cleared by the map restart, however now it at least logs a line in the clients console.

2.56 & 2.60 Code

g_vote.c @ 275 (2.56) @ 273 (2.60) // Load in comp settings for current gametype G_configSet(g_gametype.integer, qtrue);
// CHRUKER: b042 - Was using cp, but subsequent cp calls quickly removed it, so now its using cpm
AP("cpm \"Competition Settings Loaded!\n\""); }
g_vote.c @ 640 (2.56) @ 678 (2.60) // Load in pub settings for current gametype G_configSet(g_gametype.integer, qfalse);
// CHRUKER: b042 - Was using cp, but subsequent cp calls quickly removed it, so now its using cpm
AP("cpm \"Public Settings Loaded!\n\""); }

Show index
Previous bug: (Un)lock team/spectator from ref command or Referee menu doesn't broadcast anything at all
Next bug: Command map icons not showing on the correct level

Color coding

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

©2017 Chruker