static Modes()
            {
                // Initialize the menu
                Menu = Config.Menu.AddSubMenu("CancerMode");

                // Initialize all modes
                // Combo
                Combo.Initialize();
                Menu.AddSeparator();

                // Harass
                Harass.Initialize();
                Menu.AddSeparator();

                // Laneclear
                Laneclear.Initialize();
                Menu.AddSeparator();

                // Killsteal
                Killsteal.Initialize();
                Menu.AddSeparator();

                // Drawings
                Drawings.Initialize();
            }
示例#2
0
        /// <summary>
        ///     Loads Tryndamere.
        /// </summary>
        public void OnLoad()
        {
            /// <summary>
            ///     Initializes the menus.
            /// </summary>
            Menus.Initialize();

            /// <summary>
            ///     Updates the spells.
            /// </summary>
            Spells.Initialize();

            /// <summary>
            ///     Initializes the methods.
            /// </summary>
            Methods.Initialize();

            /// <summary>
            ///     Initializes the drawings.
            /// </summary>
            Drawings.Initialize();

            /// <summary>
            ///     Initializes the prediction drawings.
            /// </summary>
            PredictionDrawings.Initialize();
        }
示例#3
0
 /// <summary>
 /// Called when the game loads itself.
 /// </summary>
 public void OnLoad()
 {
     Menus.Initialize();
     Spells.Initialize();
     Methods.Initialize();
     Drawings.Initialize();
 }
示例#4
0
文件: Config.cs 项目: chienhao10/CHOP
        static Config()
        {
            Menu = MainMenu.AddMenu(MenuName, MenuName.ToLower());
            Menu.AddGroupLabel("Welcome to Joker Fiora Addon!");
            Menu.AddLabel("以下是广告无视即可~");
            Menu.AddLabel("Features:");
            Menu.AddLabel("- Epic Combo! 100-0 in 2 seconds.");
            Menu.AddLabel("- Auto Shield Block (W).");
            Menu.AddLabel("- Auto Dispell Channelling Spells (W).");
            Menu.AddLabel("- Harass Mode with all spells.");
            Menu.AddLabel("- Last Hit Mode with Q.");
            Menu.AddLabel("- Lane Clear Mode with Q/E.");
            Menu.AddLabel("- Flee Mode with Q.");
            Menu.AddLabel("- Smart Target Selector.");
            Menu.AddLabel("- Auto-Ignite!");
            Menu.AddLabel("- Champion 1 shot combo indicator!");
            Menu.AddLabel("All customizable! Featuring Youmuu's Ghostblade / Ravenous Hydra / Blade of the Ruined King");
            Menu.AddLabel("Credits to: Danny - Main Coder / Trees - Shield Block / Fluxy - Target Selector 2");

            Modes.Initialize();
            ShieldBlock.Initialize();
            Dispell.Initialize();
            Drawings.Initialize();
            Misc.Initialize();
        }
示例#5
0
        static Config()
        {
            Menu = MainMenu.AddMenu(MenuName, MenuName.ToLower());
            Menu.AddGroupLabel("Welcome to Joker Fizz Addon!");
            Menu.AddLabel("Features:");
            Menu.AddLabel("7 Types of Combos!");
            Menu.AddLabel("Gap Close Combo - R at safe distance!");
            Menu.AddLabel("Before Dash Combo - R when in range of Q, before dashing!");
            Menu.AddLabel("After Dash Combo - R after dashing!");
            Menu.AddLabel("On Dash Combo - R while dashing (cancels R animation)!");
            Menu.AddLabel("Late Game Zhonya Combo - EE > Gapclose > R > W > Q + Zhonya");
            Menu.AddLabel("E Flash Combo - E -> Flash on target -> 2nd E -> R -> W -> Q + Zhonya");
            Menu.AddLabel("Q Minion Combo - Q to minion/monster/champion to gapclose -> R -> W -> Q");
            Menu.AddLabel("E has it's own logic, tries to hit target with first E for AOE dmg and slow");
            Menu.AddLabel("Harass is intelligent, has it's own logic also!");
            Menu.AddLabel("Lane clear Logic!");
            Menu.AddLabel("Jungle clear logic!");
            Menu.AddLabel("Drawings on each spell!");

            Menu.AddLabel("Credits to: Danny - Main Coder");

            Modes.Initialize();
            Drawings.Initialize();
            Misc.Initialize();
        }
示例#6
0
        /// <summary>
        ///     Loads Jhin.
        /// </summary>
        public void OnLoad()
        {
            /// <summary>
            ///     Initializes the menus.
            /// </summary>
            Menus.Initialize();

            /// <summary>
            ///     Initializes the spells.
            /// </summary>
            Spells.Initialize();

            /// <summary>
            ///     Initializes the methods.
            /// </summary>
            Methods.Initialize();

            /// <summary>
            ///     Initializes the drawings.
            /// </summary>
            Drawings.Initialize();

            /// <summary>
            ///     Initializes the cone drawings.
            /// </summary>
            ConeDrawings.Initialize();
        }
示例#7
0
        /// <summary>
        ///     Loads Kalista.
        /// </summary>
        public void OnLoad()
        {
            /// <summary>
            ///     Initializes the menus.
            /// </summary>
            Menus.Initialize();

            /// <summary>
            ///     Initializes the spells.
            /// </summary>
            Spells.Initialize();

            /// <summary>
            ///     Initializes the methods.
            /// </summary>
            Methods.Initialize();

            /// <summary>
            ///     Initializes the drawings.
            /// </summary>
            Drawings.Initialize();

            /// <summary>
            ///     Initializes the damage drawings.
            /// </summary>
            Healthbars.Initialize();
        }
示例#8
0
        static TargetSelector()
        {
            LeagueSharp.Common.TargetSelector.CustomTS = true;
            GameObjects.Initialize();

            Drawings.Initialize();
            Notifications.AddNotification(string.Format("{0} loaded.", Name), 7500);
            Chat.Print(string.Format("<font color='#259FF8'>{0} v{1} loaded.</font>", Name, Version));
        }
示例#9
0
 static Modes()
 {
     Menu = MenuX.Menu.AddSubMenu("Modes");
     Combo.Initilize();
     Harass.Initialize();
     LaneClear.Initialize();
     LastHit.Initialize();
     Drawings.Initialize();
     Misc.Initialize();
     AutoQ.Initialize();
 }
示例#10
0
        static Config()
        {
            Menu = new Menu(MenuName, MenuName, true).Attach();

            Keys.Initialize();
            Modes.Initialize();
            Auto.Initialize();
            Misc.Initialize();
            Hitchance.Initialize();
            SkinManager.Initialize(Menu);
            Drawings.Initialize();
        }
示例#11
0
        public void OnInitialize()
        {
            Game.OnGameLoaded += () =>
            {
                Core.DelayAction(() =>
                {
                    if (Globals.MyHero.Hero.Equals(Champion.Annie))
                    {
                        switch (Updater.Run(Name, Version))
                        {
                        case "NoUpdate":
                            Chat.Print("<font color='#27ae60'>[T2IN1-UPDATE-CHECKER] </font>No update found");
                            break;

                        case "Failed":
                            Chat.Print("<font color='#e74c3c'>[T2IN1-UPDATE-CHECKER] </font>Could not check for updates");
                            break;

                        case "NewVersion":
                            Chat.Print("<font color='#e74c3c'>[T2IN1-UPDATE-CHECKER] </font>A new update is available");
                            break;

                        default:
                            Chat.Print("<font color='#e74c3c'>[T2IN1-UPDATE-CHECKER] </font>Could not check for updates");
                            break;
                        }

                        Console.Clear();

                        try
                        {
                            SpellsManager.Initialize();
                            Menus.Initialize();
                            Drawings.Initialize();
                            DamageIndicator.Initialize();
                            ModeManager.Initialize();
                            EventManager.Initialize();
                            /* Interrupt.Initialize(); TODO: FINISH */
                        }
                        catch (Exception _Exception)
                        {
                            Logger.Log("Error: " + _Exception, ConsoleColor.Red);
                        }

                        Chat.Print("<font color='#27ae60'>[T2IN1-REBORN] </font>Script is fully initialized");
                    }
                    else
                    {
                        Chat.Print("<font color='#e74c3c'>[T2IN1-REBORN] </font> Champion: " + ObjectManager.Player.ChampionName + " is not Supported!");
                    }
                }, new Random().Next(1250, 3500));
            };
        }
示例#12
0
 static Config()
 {
     Menu = MainMenu.AddMenu(MenuName, MenuName.ToLower());
     Menu.AddGroupLabel("TooFatGragas ^.^");
     Menu.AddSeparator();
     Menu.AddLabel("Made by Kk2 (:");
     Combo.Initialize();
     Harass.Initialize();
     LaneClear.Initialize();
     JungleClear.Initialize();
     Insec.Initialize();
     Drawings.Initialize();
 }
示例#13
0
 static Config()
 {
     Menu = MainMenu.AddMenu(MenuName, MenuName.ToLower());
     Menu.AddGroupLabel("战争女神");
     Menu.AddSeparator();
     Menu.AddLabel("汉化 by Triste");
     Menu.AddLabel("~");
     Combo.Initialize();
     Harass.Initialize();
     LaneClear.Initialize();
     JungleClear.Initialize();
     Misc.Initialize();
     Drawings.Initialize();
 }
示例#14
0
 static Config()
 {
     Menu = MainMenu.AddMenu(MenuName, MenuName.ToLower());
     Menu.AddGroupLabel("SimpleSivir Rework");
     Menu.AddSeparator();
     Menu.AddLabel("Made by Kk2");
     Menu.AddLabel("Helped by MrArticuno!");
     Combo.Initialize();
     Harass.Initialize();
     LaneClear.Initialize();
     JungleClear.Initialize();
     Misc.Initialize();
     Drawings.Initialize();
 }
示例#15
0
文件: Caitlyn.cs 项目: cbozer/PortAIO
        /// <summary>
        ///     Loads Caitlyn.
        /// </summary>
        public static void OnLoad()
        {
            /// <summary>
            ///     Initializes the menus.
            /// </summary>
            Menus.Initialize();

            /// <summary>
            ///     Initializes the methods.
            /// </summary>
            Methods.Initialize();

            /// <summary>
            ///     Initializes the drawings.
            /// </summary>
            Drawings.Initialize();
        }
示例#16
0
            static Modes()
            {
                ComboMenu       = Menu.AddSubMenu("Combo");
                HarassMenu      = Menu.AddSubMenu("Harass");
                LaneClearMenu   = Menu.AddSubMenu("LaneClear");
                JungleClearMenu = Menu.AddSubMenu("JungleClear");
                LastHitMenu     = Menu.AddSubMenu("LastHit");
                FleeMenu        = Menu.AddSubMenu("Flee");
                DrawMenu        = Menu.AddSubMenu("Drawings");
                SkinMenu        = Menu.AddSubMenu("Skins");
                PermaActiveMenu = Menu.AddSubMenu("PermaActive");

                // Initialize all modes
                // Combo
                Combo.Initialize();

                // Harass
                Harass.Initialize();

                //LaneClear
                LaneClear.Initialize();

                //JungleClear
                JungleClear.Initialize();

                //LastHit
                LastHit.Initialize();

                //Flee
                Flee.Initialize(); // Illaoi does not simply flee... :°)

                //Skins
                Skins.Initialize();

                //PermaActive
                PermaActive.Initialize();

                //Drawings
                Drawings.Initialize();
            }
示例#17
0
        static Config()
        {
            Menu = MainMenu.AddMenu(MenuName, MenuName.ToLower());
            Menu.AddGroupLabel("Welcome to Joker Fiora Addon!");
            Menu.AddLabel("Features:");
            Menu.AddLabel("- Epic Combo! 100-0 in 2 saniyede.");
            Menu.AddLabel("- Otomatik (W).");
            Menu.AddLabel("- Otomatik engeller Channelling buyuleri (W).");
            Menu.AddLabel("- Tum buyulerde durtme modu.");
            Menu.AddLabel("- Son vurus modu Q.");
            Menu.AddLabel("- Koridor temizler Q/E.");
            Menu.AddLabel("- Kacis modu Q.");
            Menu.AddLabel("- Akilli hedef secici.");
            Menu.AddLabel("- Oto-Tutustur!");
            Menu.AddLabel("- Sampiyon icin 1 atis kombinasyon gostergesi!");
            Menu.AddLabel("Tumu ozellestirilir! Ozellikler Youmuu / Vahsi Hydra / Mahvolmus");
            Menu.AddLabel("Credits to: Danny - Main Coder / Trees - Shield Block / Fluxy - Target Selector 2");

            Modes.Initialize();
            ShieldBlock.Initialize();
            Dispell.Initialize();
            Drawings.Initialize();
            Misc.Initialize();
        }
        static Config()
        {
            Menu = MainMenu.AddMenu(MenuName, MenuName.ToLower());
            Menu.AddGroupLabel("Joker Fiora addonuna hoşgeldin ceviri tradana");
            Menu.AddLabel("Özellikler:");
            Menu.AddLabel("- Epic Combo! 100-0 in 2 seconds.");
            Menu.AddLabel("- Otomatik Blok (W.");
            Menu.AddLabel("- Otomatik Engelleme Büyü Dışındaki Hasarlar (W).");
            Menu.AddLabel("- Dürtme Modunda Her büyüyü kullan.");
            Menu.AddLabel("-  Q ile Son vuruş yap");
            Menu.AddLabel("- Lane Temizleme Modunda Kullan Q/E.");
            Menu.AddLabel("-  Flee Kaçma Modunda Kullan Q.");
            Menu.AddLabel("- Akıllı Hedef Seçme.");
            Menu.AddLabel("- Otomatik Tutuştur!");
            Menu.AddLabel("- Şampiyon 1 vurmada öldürme");
            Menu.AddLabel("Tamamen Özelleştirilebilir! Youumu / Hydra / Mahvolmuş Kılıç");
            Menu.AddLabel("Emeği geçenler to: Danny - Main Coder / Trees - Shield Block / Fluxy - Target Selector 2");

            Modes.Initialize();
            ShieldBlock.Initialize();
            Dispell.Initialize();
            Drawings.Initialize();
            Misc.Initialize();
        }
示例#19
0
 static TargetSelector()
 {
     LeagueSharp.Common.TargetSelector.CustomTS = true;
     GameObjects.Initialize();
     Drawings.Initialize();
 }
示例#20
0
 static TargetSelector()
 {
     LeagueSharp.Common.TargetSelector.CustomTS = true;
     GameObjects.Initialize();
     CustomEvents.Game.OnGameLoad += delegate { Drawings.Initialize(); };
 }
示例#21
0
        /// <summary>
        ///     Attaches the specified the menu initializing the library.
        /// </summary>
        /// <param name="parent">The root menu.</param>
        /// <param name="menuDisplayName">Display name of the attached menu.</param>
        public static void Attach(Menu parent, string menuDisplayName = "ZLib")
        {
            GetHeroesInGame();
            GetTurretsInGame();
            GetSpellsInGame(new Gamedata());
            GetAurasInGame(new Auradata());
            GetGameTroysInGame(new Troydata());

            Helpers.CreateLogPath();

            Menu = new Menu("zlib", menuDisplayName);
            var hpmenu = new Menu("dhp", "Debug Health Prediction");

            var itest = new MenuBool("testdamage", "Trigger Damage Event", false);

            hpmenu.Add(itest).OnValueChanged += (sender, eventArgs) =>
            {
                if (eventArgs.GetNewValue <MenuBool>().Value)
                {
                    var caster = ObjectManager.GetLocalPlayer();

                    var target = AllUnits.First(x =>
                                                ((Obj_AI_Hero)x.Instance).ChampionName.ToLower() ==
                                                Menu["dhp"]["testdamagetarget"]
                                                .As <MenuList>().SelectedItem.ToLower());

                    var type = (EventType)Enum.Parse(typeof(EventType),
                                                     Menu["dhp"]["testdamagetype"].As <MenuList>().SelectedItem);

                    Projections.EmulateDamage(caster, target, new Gamedata {
                        SpellName = "test" + Environment.TickCount
                    }, type,
                                              "debug.Test");
                    DelayAction.Queue(100, () => itest.Value = false);
                }
            };

            hpmenu.Add(new MenuList("testdamagetype", "EventType",
                                    Enum.GetValues(typeof(EventType)).Cast <EventType>().Select(v => v.ToString()).ToArray(), 0));
            hpmenu.Add(new MenuList("testdamagetarget", "Target",
                                    AllUnits.Select(x => ((Obj_AI_Hero)x.Instance).ChampionName).ToArray(), AllUnits.Count - 1));

            Menu.Add(hpmenu);
            Menu.Add(new MenuBool("acdebug", "Debug Income Damage", false));
            Menu.Add(new MenuBool("dumpdata", "Debug & Dump Spell Data", false));
            Menu.Add(new MenuBool("logerror", "Debug Errors in Console"));

            Menu.Add(new MenuList("hprior", "Hero Priority:", new[] { "Low HP", "Most AD/AP", "Most HP" }, 1));
            Menu.Add(
                new MenuSlider("weightdmg", "Weight Income Damage (%)", 130, 100, 150).SetToolTip(
                    "Make it think you are taking more damage than calulated."));
            Menu.Add(
                new MenuSlider("lagtolerance", "Lag Tolerance (%)", 50).SetToolTip(
                    "Make it think you are taking damage longer than intended"));
            var WhiteList = new Menu("whitelist", "Whitelist");

            {
                foreach (var target in GameObjects.AllyHeroes)
                {
                    if (target.IsMe)
                    {
                        WhiteList.Add(new MenuBool(target.ChampionName.ToLower(), "Enable: " + target.ChampionName));
                    }
                }
            }
            Menu.Add(WhiteList);
            parent.Add(Menu);

            Projections.Initizialize();
            Drawings.Initialize();
            Buffs.Initialize();
            Gametroys.Initialize();

            Console.WriteLine("ZLib: Loaded!");
        }