![]() |
|
Mapping Mapping sizes Limits Entities Bugs & Work-a-rounds Notes Scripting reference Mapping - Tutorials Brushwork from blueprint Tools Brush generator Vehicle generator MD3 Tag The Dummy Modding Project: Bug Fix Project: Crockett Other stuff Forum Server Info Colors Voice Chats Scripts Links |
Project: Bug FixThe objectiveThe 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: Referee commands doesn't work in server console Next bug: Missing increase in accuracy (spread reduction) at level 3 Bugfix 006 - Coverts can steal uniforms while woundedProblem:When a covert is wounded close enough to an enemy. He can still steal the uniform.Solution:Check the health state of the player trying to steal the uniform.References:Spawning threadNotes:The bug was fixed in version 2.602.56 Code
g_cmds.c @ 2423
qboolean Do_Activate2_f(gentity_t *ent, gentity_t *traceEnt) {
qboolean found = qfalse;
// CHRUKER: b006 - Only steal if we are alive
if( ent->client->sess.playerType == PC_COVERTOPS && !ent->client->ps.powerups[PW_OPS_DISGUISED] && ent->health > 0 ) {
if( !ent->client->ps.powerups[PW_BLUEFLAG] && !ent->client->ps.powerups[PW_REDFLAG] ) {
if( traceEnt->s.eType == ET_CORPSE ) {
Show index Previous bug: Referee commands doesn't work in server console Next bug: Missing increase in accuracy (spread reduction) at level 3 Color codingSample = New codeSample = Changed code (the new version is what is displayed) Sample = Deleted code |
©2007 Chruker |