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: When the axis flag times out after being dropped, both the game code and script will display it
Next bug: Muted players becoming referee can't get unmuted

Bugfix 059 - g_inactivity is missing from the pub cvar table, and causing a pointer crash

Problem:

It must have been forgotten. Anyway the code uses the size of the competition cvar table, and since this one was missing from the public cvar table it came up one short.

Solution:

Add it.

Notes:

The bug was fixed in version 2.60, where it is using a NULL terminated list instead of list size.

2.56 Code

g_config.c @ 51 { M_ALL, "g_ipcomplaintlimit", "3" }, { M_ALL, "g_doWarmup", "0" },
{ M_ALL, "g_inactivity", "0" }, // CHRUKER: b059 - Was missing and caused a pointer crash
{ M_ALL, "g_maxlives", "0" }, { M_ALL, "g_teamforcebalance", "1" },

Show index
Previous bug: When the axis flag times out after being dropped, both the game code and script will display it
Next bug: Muted players becoming referee can't get unmuted

Color coding

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

©2017 Chruker