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: Removed the non-existing restart command from referee help text
Next bug: Pause and unpause from ref command or Referee menu doesn't broadcast a centerprint message

Bugfix 039 - Added <pid> to remove command in referee help text

Problem:

The remove command required a player id, but that wasn't mentioned in the referee help text.

Solution:

Add it.

Notes:

The bug is still present in version 2.60

2.56 & 2.60 Code

g_referee.c @ 53 G_voteHelp(ent, qfalse); // CHRUKER: b038 - Removed non-existing restart command
// CHRUKER: b039 - Added <pid> parameter to remove command
CP("print \"\n^5allready putallies^7 <pid> ^5specunlock warn ^7<pid>\n\""); CP( "print \"^5help putaxis^7 <pid> ^5unlock mute ^7<pid>\n\""); CP( "print \"^5lock remove^7 <pid> ^5unpause unmute ^7<pid>\n\""); CP( "print \"^5pause speclock warmup ^7[value]\n\""); CP( "print \"Usage: ^3\\ref <cmd> [params]\n\n\""); // Help for the console } else { G_Printf("\nAdditional console commands:\n"); G_Printf( "----------------------------------------------\n"); // CHRUKER: b038 - Removed non-existing restart command
// CHRUKER: b039 - Added <pid> parameter to remove command
G_Printf( "allready putallies <pid> unpause\n"); G_Printf( "help putaxis <pid> warmup [value]\n"); G_Printf( "lock speclock warn <pid>\n"); G_Printf( "pause specunlock\n"); G_Printf( "remove <pid> unlock\n\n"); G_Printf( "Usage: <cmd> [params]\n\n");

Show index
Previous bug: Removed the non-existing restart command from referee help text
Next bug: Pause and unpause from ref command or Referee menu doesn't broadcast a centerprint message

Color coding

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

©2017 Chruker