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: Damage distance falloff is inverted between 1500-2500 units
Next bug: No warmupdamage makes every func_explosive undamagable

Bugfix 023 - XP and Medals are indented incorrectly on the playerstat dropdown

Problem:

Small typo in the playerstat dropdown caused XP and medals to be indented incorrectly

Solution:

Adjust them.

Notes:

The bug is still present in version 2.60

2.56 & 2.60 Code

cg_servercmds.c @ 1637 (2.56) @ 1656 (2.60) str = va("%4d/%-4d", ci->skillpoints[i], skillLevels[ci->skill[i]+1]); } else {
// CHRUKER: b023 - Fixing indentation
str = va(" %-8d", ci->skillpoints[i]); } if(cgs.gametype == GT_WOLF_CAMPAIGN) {
// CHRUKER: b023 - Fixing indentation
Q_strncpyz(gs->strSkillz[gs->cSkills++], va("%-15s %3d %-15s %6d", skillNames[i], ci->skill[i], str, ci->medals[i]), sizeof(gs->strSkillz[0])); } else {
// CHRUKER: b023 - Fixing indentation
Q_strncpyz(gs->strSkillz[gs->cSkills++], va("%-15s %3d %-15s", skillNames[i], ci->skill[i], str), sizeof(gs->strSkillz[0])); } }

Show index
Previous bug: Damage distance falloff is inverted between 1500-2500 units
Next bug: No warmupdamage makes every func_explosive undamagable

Color coding

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

©2017 Chruker