![]() |
|
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: Objective carrier icon caused class, xp, ping, lives text to be offset Next bug: Cleanups in serverside code 2 Bugfix 073 - Cleanups in bot code 2Problem:A few more typos in the bots code.2.56 & 2.60 Code
g_bot.c @ 897
void G_SpawnBot( const char *text )
{
// bot parameters
char name[MAX_TOKEN_CHARS] = "WolfBot"; // CHRUKER: b073 - Was 'wolfBot' but this must match in case
//GS prevent bot health from counting down to 70 (i.e. don't set STAT_MAX_HEALTH = 70)
char skill[MAX_TOKEN_CHARS] = "4";
char team[MAX_TOKEN_CHARS] = "";
char pClass[MAX_TOKEN_CHARS] = "";
char pWeapon[MAX_TOKEN_CHARS] = "0";
char spawnPoint[MAX_TOKEN_CHARS] = "";
char respawn[MAX_TOKEN_CHARS] = "";
char scriptName[MAX_TOKEN_CHARS] = "WolfBot"; // CHRUKER: b073 - Was 'wolfBot' but this must match in case
char characterFile[MAX_TOKEN_CHARS] = "";
// START - Mad Doc - TDF
char rank[MAX_TOKEN_CHARS] = "";
Show index Previous bug: Objective carrier icon caused class, xp, ping, lives text to be offset Next bug: Cleanups in serverside code 2 Color codingSample = New codeSample = Changed code (the new version is what is displayed) Sample = Deleted code |
©2007 Chruker |