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: Muted players becoming referee can't get unmuted
Next bug: Flamethrower serverside chunks can fly across the map if aimed properly

Bugfix 061 - During intermission the 'players' command was checking the wrong flag to see who is ready

Problem:

The players command wasn't checking the same flag which the ready command would set.

Solution:

Check the right one.

Notes:

The bug was fixed in version 2.60, by setting the flag which the players command used.

2.56 Code

g_cmds_ext.c @ 317 if(cl->sess.sessionTeam == TEAM_SPECTATOR || cl->pers.connected == CON_CONNECTING) strcpy(ready, ((ent) ? "^5--------^1 :" : "-------- :"));
// CHRUKER: b061 - Was using the wrong flag to check who is ready
else if(cl->ps.eFlags & EF_READY || (g_entities[idnum].r.svFlags & SVF_BOT)) strcpy(ready, ((ent) ? "^3(READY)^1 :" : "(READY) :")); else

Show index
Previous bug: Muted players becoming referee can't get unmuted
Next bug: Flamethrower serverside chunks can fly across the map if aimed properly

Color coding

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

©2017 Chruker