예제 #1
0
파일: Load.cs 프로젝트: qwertyuiop948/AIM
        public void OnGameLoad(EventArgs args)
        {
            try
            {
                Utils.ClearConsole();

                LoadedTime = Environment.TickCount;
                Utility.DelayAction.Add(
                    Randoms.Rand.Next(1000, 30000), () =>
                {
                    new Carry();
                    Console.WriteLine("Carry Init Success!");
                });
                Utility.DelayAction.Add(
                    Randoms.Rand.Next(1000, 10000), () =>
                {
                    new LeagueSharp.Common.AutoLevel(AutoLevel.GetSequence());
                    Console.WriteLine("AutoLevel Init Success!");
                });
            }
            catch (Exception e)
            {
                Console.WriteLine(e);
                return;
            }

            Game.PrintChat("AIM {0} Successfuly Loaded, Enjoy!", Program.Version);
        }
예제 #2
0
        public void OnGameLoad(EventArgs args)
        {
            try
            {
                Utils.ClearConsole();

                LoadedTime = Environment.TickCount;
                Utility.DelayAction.Add(
                    Randoms.Rand.Next(1000, 30000), () =>
                {
                    new Carry();
                    Console.WriteLine("Carry Init Success!");
                });
                Utility.DelayAction.Add(
                    Randoms.Rand.Next(1000, 10000), () =>
                {
                    new LeagueSharp.Common.AutoLevel(AutoLevel.GetSequence().Select(num => num - 1).ToArray());
                    LeagueSharp.Common.AutoLevel.Enable();
                    Console.WriteLine("AutoLevel Init Success!");
                });
            }
            catch (Exception e)
            {
                Console.WriteLine(e);
                return;
            }

            Game.PrintChat("AIM {0} Successfuly Loaded, Enjoy!", Program.Version);
            Game.PrintChat("Thanks eLem3ntz and weirdbrian4 for updating!");
            Game.PrintChat("Currently still working on a version that improves performance by A LOT.");
        }