![]() |
|
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: Cleanups in both side code 1 Next bug: Objective carrier icon missing on compact scoreboard Bugfix 070 - Cleanups in bot code 1Problem:The bot code was expecting the bot name to match by case.Solution:Change the bot code to match what is in the media files.Notes:The bug is still present in version 2.602.56 & 2.60 Code
g_bot.c @ 621 (2.56) @ 623 (2.60)
// get the botinfo from bots.txt
// CHRUKER: b070 - Was 'wolfbot' but this must match in case
botinfo = G_GetBotInfoByName( "WolfBot" );
if ( !botinfo ) {
G_Printf( S_COLOR_RED "Error: Bot '%s' not defined\n", name );
g_bot.c @ 804 (2.56) @ 807 (2.60)
return;
}
// CHRUKER: b070 - Was 'wolfbot' but this must match in case
Q_strncpyz( name, "WolfBot", sizeof( name ) ); // RF, hard code the bots for wolf
if ( !name[0] ) {
trap_Printf( "Usage: Addbot [skill 1-4] [team (RED/BLUE)] [msec delay]\n" );
Show index Previous bug: Cleanups in both side code 1 Next bug: Objective carrier icon missing on compact scoreboard Color codingSample = New codeSample = Changed code (the new version is what is displayed) Sample = Deleted code |
©2007 Chruker |