![]() |
|
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: Backstab knife damage on wounded players exploit Next bug: Rifle grenade through door exploit Bugfix 003 - Self headshot when pronedProblem:When you prone in front of a breakable object and fire your weapon, you can hit yourself in the head.Solution:I'm not entirely sure why the fix works, but it does.References:Original fixNotes:The bug was fixed in version 2.602.56 Code
g_weapon.c @ 3096
qboolean reducedDamage = qfalse;
// CHRUKER: b003 - Added bani's fix to prevent shooting ourselves in the head when proned and firering
// through a breakable object
if( g_entities[ attacker->s.number ].client && g_entities[ attacker->s.number ].r.linked == qtrue ) {
g_entities[ attacker->s.number ].r.linked = qfalse;
G_HistoricalTrace(source, &tr, start, NULL, NULL, end, source->s.number, MASK_SHOT);
g_entities[ attacker->s.number ].r.linked = qtrue;
} else // b003
G_HistoricalTrace(source, &tr, start, NULL, NULL, end, source->s.number, MASK_SHOT);
// bullet debugging using Q3A's railtrail
Show index Previous bug: Backstab knife damage on wounded players exploit Next bug: Rifle grenade through door exploit Color codingSample = New codeSample = Changed code (the new version is what is displayed) Sample = Deleted code |
©2007 Chruker |