public ClientlessBot(DataManager dm, String bnetServer, String account, String password, String classicKey, String expansionKey, uint potlife, uint chickenlife, String binaryDirectory, GameDifficulty difficulty, String gamepass) { m_eventQueue = new PriorityQueue<byte, GameEvent>(); m_battleNetServer = bnetServer; m_account = account; m_password = password; m_binaryDirectory = binaryDirectory; m_classicKey = classicKey; m_expansionKey = expansionKey; m_difficulty = difficulty; m_gamePassword = gamepass; m_potLife = potlife; m_chickenLife = chickenlife; m_keyOwner = "AlphaBot"; m_gameExeInformation = "Game.exe 03/09/10 04:10:51 61440"; m_dm = dm; m_bncs = new Bncs(this); m_mcp = new RealmServer(this); m_gs = new GameServer(this); m_bncsThread = new Thread(m_bncs.ThreadFunction); m_mcpThread = new Thread(m_mcp.ThreadFunction); m_gameData = new GameData(); m_gameCreationThread = new Thread(CreateGameThreadFunction); m_itemListLock = new Object(); }
private ClientlessBot(DataManager dm) { m_gameExeInformation = "Game.exe 03/09/10 04:10:51 61440"; m_dm = dm; m_bncs = new Bncs(this); m_mcp = new RealmServer(this); m_gs = new GameServer(this); m_bncsThread = new Thread(m_bncs.ThreadFunction); m_mcpThread = new Thread(m_mcp.ThreadFunction); m_gameData = new GameData(); m_gameCreationThread = new Thread(CreateGameThreadFunction); }