Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to make bot shuffle?
#5
Ill stick with your original solution if I can.

So editing the game.ccp would look like this?

Code:
{
    CBaseGame :: EventGameStarted( );

    // record everything we need to ban each player in case we decide to do so later
    // this is because when a player leaves the game an admin might want to ban that player
    // but since the player has already left the game we don't have access to their information anymore
    // so we create a "potential ban" for each player and only store it in the database if requested to by an admin

    for( vector<CGamePlayer *> :: iterator i = m_Players.begin( ); i != m_Players.end( ); i++ )
        m_DBBans.push_back( new CDBBan( (*i)->GetJoinedRealm( ), (*i)->GetName( ), (*i)->GetExternalIPString( ), string( ), string( ), string( ), string( ) ) );

ShuffleSlots( );
}
Reply


Messages In This Thread
How to make bot shuffle? - by fudtone - 2010-02-16, 06:47:31
Re: How to make bot shuffle? - by Velocity2k - 2010-02-16, 10:01:16
Re: How to make bot shuffle? - by fudtone - 2010-02-16, 10:23:22
Re: How to make bot shuffle? - by Velocity2k - 2010-02-16, 10:46:51
Re: How to make bot shuffle? - by fudtone - 2010-02-16, 11:00:09
Re: How to make bot shuffle? - by Velocity2k - 2010-02-16, 11:08:46
Re: How to make bot shuffle? - by fudtone - 2010-02-17, 15:50:46

Possibly Related Threads…
Thread Author Replies Views Last Post
  Bots and gproxy make worse connection than before Smartie 11 13,152 2011-07-23, 11:21:07
Last Post: Velocity2k



Users browsing this thread: 1 Guest(s)