Example #1
0
        private static void Game_OnGameLoad(EventArgs args)
        {
            AutoUpdater.InitializeUpdater();

            Helper = new Helper();

            Menu = new Menu("UltimateCarry", "UltimateCarry_" + ObjectManager.Player.ChampionName, true);

            var targetSelectorMenu = new Menu("Target Selector", "TargetSelector");

            SimpleTs.AddToMenu(targetSelectorMenu);
            Menu.AddSubMenu(targetSelectorMenu);
            var orbwalking = Menu.AddSubMenu(new Menu("Orbwalking", "Orbwalking"));

            Orbwalker = new Orbwalking.Orbwalker(orbwalking);

            //var overlay = new Overlay();
            var potionManager = new PotionManager();
            var activator     = new Activator();
            var bushRevealer  = new AutoBushRevealer();

            new BaseUlt();

            try
            {
                var handle = System.Activator.CreateInstance(null, "UltimateCarry." + ObjectManager.Player.ChampionName);
                Champion = (Champion)handle.Unwrap();
            }
            catch (Exception)
            {
                //Champion = new Champion(); //Champ not supported
            }

            Menu.AddToMainMenu();
        }
Example #2
0
        private static void Game_OnGameLoad(EventArgs args)
        {
            //AutoUpdater.InitializeUpdater();
            Chat.Print("Ultimate Carry Version " + LocalVersion + " load ...");
            Helper = new Helper();

            Menu = new Menu("UltimateCarry", "UltimateCarry_" + ObjectManager.Player.ChampionName, true);

            var targetSelectorMenu = new Menu("Target Selector", "TargetSelector");

            SimpleTs.AddToMenu(targetSelectorMenu);
            Menu.AddSubMenu(targetSelectorMenu);
            if (ObjectManager.Player.ChampionName == "Azir")
            {
                var orbwalking = Menu.AddSubMenu(new Menu("AzirWalking", "Orbwalking"));
                Azirwalker = new Azir.Orbwalking.Orbwalker(orbwalking);
                Menu.Item("FarmDelay").SetValue(new Slider(125, 100, 200));
            }
            else
            {
                var orbwalking = Menu.AddSubMenu(new Menu("Orbwalking", "Orbwalking"));
                Orbwalker = new Orbwalking.Orbwalker(orbwalking);
                Menu.Item("FarmDelay").SetValue(new Slider(0, 0, 200));
            }
            var activator     = new Activator();
            var potionManager = new PotionManager();
            var baseult       = new BaseUlt();
            var bushRevealer  = new AutoBushRevealer();

            //var overlay = new Overlay();

            try
            {
                // ReSharper disable once AssignNullToNotNullAttribute
                var handle = System.Activator.CreateInstance(null, "UltimateCarry." + ObjectManager.Player.ChampionName);
                Champion = (Champion)handle.Unwrap();
            }
            // ReSharper disable once EmptyGeneralCatchClause
            catch (Exception)
            {
                //Champion = new Champion(); //Champ not supported
            }

            Menu.AddToMainMenu();
            Chat.Print("Ultimate Carry loaded!");
        }
Example #3
0
		private static void Game_OnGameLoad(EventArgs args)
		{
			//AutoUpdater.InitializeUpdater();
			Chat.Print("Ultimate Carry Version " + LocalVersion + " load ...");
			Helper = new Helper();

			Menu = new Menu("UltimateCarry", "UltimateCarry_" + ObjectManager.Player.ChampionName, true);

			var targetSelectorMenu = new Menu("Target Selector", "TargetSelector");
			SimpleTs.AddToMenu(targetSelectorMenu);
			Menu.AddSubMenu(targetSelectorMenu);
			if (ObjectManager.Player.ChampionName == "Azir")
			{
				var orbwalking = Menu.AddSubMenu(new Menu("AzirWalking", "Orbwalking"));
				Azirwalker = new Azir.Orbwalking.Orbwalker(orbwalking);
				Menu.Item("FarmDelay").SetValue(new Slider(125, 100, 200));
			}
			else
			{
				var orbwalking = Menu.AddSubMenu(new Menu("Orbwalking", "Orbwalking"));
				Orbwalker = new Orbwalking.Orbwalker(orbwalking);
				Menu.Item("FarmDelay").SetValue(new Slider(0, 0, 200));
			}
			var activator = new Activator();
			var potionManager = new PotionManager();
			var baseult = new BaseUlt();
			var bushRevealer = new AutoBushRevealer();
		//var overlay = new Overlay();
		
			try
			{
				// ReSharper disable once AssignNullToNotNullAttribute
				var handle = System.Activator.CreateInstance(null, "UltimateCarry." + ObjectManager.Player.ChampionName);
				Champion = (Champion) handle.Unwrap();
			}
			// ReSharper disable once EmptyGeneralCatchClause
			catch (Exception)
			{
				//Champion = new Champion(); //Champ not supported
			}
					
			Menu.AddToMainMenu();
			Chat.Print("Ultimate Carry loaded!");
		}
Example #4
-1
		private static void Game_OnGameLoad(EventArgs args)
		{
			AutoUpdater.InitializeUpdater();

            Helper = new Helper();

			Menu = new Menu("UltimateCarry", "UltimateCarry_" + ObjectManager.Player.ChampionName, true);

			var targetSelectorMenu = new Menu("Target Selector", "TargetSelector");
			SimpleTs.AddToMenu(targetSelectorMenu);
			Menu.AddSubMenu(targetSelectorMenu);
			var orbwalking = Menu.AddSubMenu(new Menu("Orbwalking", "Orbwalking"));
			Orbwalker = new Orbwalking.Orbwalker(orbwalking);

			//var overlay = new Overlay();
			var potionManager = new PotionManager();
			var activator = new Activator();
            var bushRevealer = new AutoBushRevealer();

            new BaseUlt();
		
			try
			{
				var handle = System.Activator.CreateInstance(null, "UltimateCarry." + ObjectManager.Player.ChampionName);
				Champion = (Champion) handle.Unwrap();
			}
			catch (Exception)
			{
				//Champion = new Champion(); //Champ not supported
			}
					
			Menu.AddToMainMenu();
		}