![]() |
|
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: Respawn timer is shown while spectating Next bug: Getting level 4 light weapons or heavy weapons during a map make people spawn as soldier with a SMG Bugfix 019 - Player booted to spec if they have level 4 light weapon or heavy weapon skills at map startProblem:The first time CG_NewClientInfo is called after a map start, the team information in cgs.clientinfo[x].team isn't valid.Solution:Make sure that cgs.clientinfo[x].team contains a valid team number.References:Spawning threadNotes:The bug was fixed in version 2.60 by not forcing people into spectator in CG_LimboPanel_SendSetupMsg if team isn't set. The 2.60 fix seems more correct.2.56 Code
cg_players.c @ 238
// Gordon: detect rank/skill changes client side
// CHRUKER: b019 - Make sure we have some valid clientinfo, otherwise people are thrown into spectator on map starts
if( clientNum == cg.clientNum && cgs.clientinfo[ cg.clientNum ].team > 0 ) {
int i;
Show index Previous bug: Respawn timer is shown while spectating Next bug: Getting level 4 light weapons or heavy weapons during a map make people spawn as soldier with a SMG Color codingSample = New codeSample = Changed code (the new version is what is displayed) Sample = Deleted code |
©2007 Chruker |