Re: BotMixer5000 -
06-03-2004
well, I got the botmixer5000 src
does this have anything to do with botmixer5000\common\const.h?
#define FL_FAKECLIENT (1<<13) // JAC: fake client, simulated server side; don't send network messages to them
or maybe this: this is where the error message i get comes from:
botmixer5000\dlls\h_export.cpp
{
int pos;
char game_dir[256];
char mod_name[32];
FILE *fpConfig;
char message[256];
char filename[256];
char mod_dllname[64];
char mod_dllfile[256];
char input[256];
int index, len;
// get the engine functions from the engine...
memcpy(&g_engfuncs, pengfuncsFromEngine, sizeof(enginefuncs_t));
gpGlobals = pGlobals;
// find the directory name of the currently running MOD...
(*g_engfuncs.pfnGetGameDir)(game_dir);
pos = strlen(game_dir) - 1;
// scan backwards till first directory separator...
while ((pos) && (game_dir[pos] != '/'))
pos--;
if (pos == 0)
{
// Error getting directory name!
ALERT( at_error, "BotMixer5000 - Error determining MOD directory name!" );
printf("BotMixer5000 - Error determining MOD directory name!\n");
Sleep(5000);
exit(0);
}
pos++;
strcpy(mod_name, &game_dir[pos]);
for (index = 0; index < MAX_DLLS; index++)
{
memset(bot_dlls[index].cmd, 0, sizeof(bot_dlls[index].cmd));
memset(bot_dlls[index].dll_filename, 0, sizeof(bot_dlls[index].dll_filename));
bot_dlls[index].other_GetEntityAPI = NULL;
bot_dlls[index].other_GetNewDLLFunctions = NULL;
bot_dlls[index].other_GiveFnptrsToDll = NULL;
}
// open the botmixer5000.cfg file...
|