![]() |
|
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: Various typos in the scripting system Next bug: When the axis flag times out after being dropped, both the game code and script will display it Bugfix 057 - Skull never leaving in menu after teamswitchProblem:The number of lives was decreased regardless if it was a life limited game.Solution:Only decrease lives until we reach 0.References:Spawning thread and original fixNotes:The bug was fixed in version 2.602.56 Code
g_client.c @ 1672
// DHM - Nerve :: Also save PERS_SPAWN_COUNT, so that CG_Respawn happens
spawn_count = client->ps.persistant[PERS_SPAWN_COUNT];
lives_left = client->ps.persistant[PERS_RESPAWNS_LEFT] - 1;
// CHRUKER: b057 - Fixed skull appearing after swithing teams in games with unlimited lifes
if (client->ps.persistant[PERS_RESPAWNS_LEFT] > 0) client->ps.persistant[PERS_RESPAWNS_LEFT] -= 1;
lives_left = client->ps.persistant[PERS_RESPAWNS_LEFT];
flags = client->ps.eFlags;
memset( &client->ps, 0, sizeof( client->ps ) );
Show index Previous bug: Various typos in the scripting system Next bug: When the axis flag times out after being dropped, both the game code and script will display it Color codingSample = New codeSample = Changed code (the new version is what is displayed) Sample = Deleted code |
©2018 Chruker |