Compare commits

..

No commits in common. "1e0daca08751cabea367d5807830d09ebc9625cd" and "c8df9ef311a46e62c2788c7e339705bd2e6e4eda" have entirely different histories.

2 changed files with 0 additions and 49 deletions

View File

@ -218,11 +218,8 @@ init()
if ( !isdefined( game[ "botWarfare" ] ) )
{
game[ "botWarfare" ] = true;
game[ "botWarfareInitTime" ] = gettime();
}
level.bot_inittime = gettime();
level.defuseobject = undefined;
level.bots_smokelist = List();
level.bots_fraglist = List();
@ -850,23 +847,6 @@ onPlayerConnect()
}
}
/*
When a bot disconnects.
*/
onDisconnectPlayer()
{
name = self.name;
self waittill( "disconnect" );
waittillframeend;
for ( i = 0; i < level.bots.size; i++ )
{
bot = level.bots[ i ];
bot BotNotifyBotEvent( "connection", "disconnected", self, name );
}
}
/*
When a bot disconnects.
*/
@ -884,14 +864,6 @@ connected()
{
self endon( "disconnect" );
for ( i = 0; i < level.bots.size; i++ )
{
bot = level.bots[ i ];
bot BotNotifyBotEvent( "connection", "connected", self, self.name );
}
self thread onDisconnectPlayer();
if ( !isdefined( self.pers[ "bot_host" ] ) )
{
self thread doHostCheck();

View File

@ -328,31 +328,10 @@ start_chat_watch()
case "box_cap":
self thread bot_chat_box_cap_watch( a, b, c, d, e, f, g );
break;
case "connection":
self thread bot_chat_connection_player_watch( a, b, c, d, e, f, g );
break;
}
}
}
/*
When a player connected
*/
bot_chat_connection_player_watch( conn, player, playername, d, e, f, g )
{
self endon( "disconnect" );
switch ( conn )
{
case "connected":
break;
case "disconnected":
break;
}
}
/*
start_startgame_watch
*/