Example #1
0
        static void Main(string[] args)
        {
            //Items.ItemTestHarness.Start();
            Logger.InitTrace();
            Pickit.InitializePickit();


            if (!Settings.Instance.Init(args))
            {
                Console.WriteLine("could not parse config file");
                return;
            }

            IPAddress server = Dns.GetHostAddresses(Settings.Instance.BattlenetGateway()).First();

            string character = Settings.Instance.BattlenetAccountCharacter();
            string account   = Settings.Instance.BattlenetAccountName();

            string password = Settings.Instance.BattlenetAccountPassword();

            string d2CdKey    = Settings.Instance.CdKeyD2();
            string d2ExpCdKey = Settings.Instance.CdKeyD2Exp();

            uint chickenLife = (uint)Settings.Instance.ChickenLeave();
            uint potLife     = (uint)Settings.Instance.ChickenPot();

            GameDifficulty gameDiffuculty = Settings.Instance.Difficulty();
            Client         client         = new Client(server, character, account, password, gameDiffuculty, d2CdKey, d2ExpCdKey, "Game.exe 03/09/10 04:10:51 61440", chickenLife, potLife);

            client.Connect();
        }
Example #2
0
        static void Main(string[] args)
        {
            if (args.Length < 4)
            {
                System.Console.WriteLine("Missing command line arguments");
                return;
            }
            //Items.ItemTestHarness.Start();
            Logging.Logger.InitTrace();
            Pickit.InitializePickit();
            Client client = new Client(System.Net.Dns.GetHostAddresses("useast.battle.net").First(),
                                       null, args[0], args[1],
                                       GameDifficulty.HELL,
                                       args[2], args[3],
                                       "Game.exe 03/09/10 04:10:51 61440", 250, 300);

            client.Connect();
        }
Example #3
0
        static void Main(string[] args)
        {
            DataManager dm = new DataManager("data");

            Pickit.InitializePickit();
            AlphaBot cb;
            AlphaBot cb2;
            AlphaBot cb3;

            if (args.Length < 4)
            {
                Console.WriteLine("Must supply command line args");
            }
            else
            {
                cb.Start();
                Thread.Sleep(5000);
                cb2.Start();
                Thread.Sleep(5000);
                cb3.Start();
            }
            Console.ReadKey();
            return;
        }