Exemple #1
0
        public Evader(out Menu _evade, EvadeMethods method = EvadeMethods.None, Spell spl = null)
        {
            SpecialMethod = method;
            EvadeSpell = spl;
            evade = new Menu("Evade", "Evade");

            foreach (var enemy in HeroManager.Enemies)
            {
                foreach (var spell in SpellDatabase.EvadeableSpells.Where(p => p.ChampionName == enemy.ChampionName && p.EvadeMethods.HasFlag(method)))
                    evade.AddItem(new MenuItem(spell.SpellName, String.Format("{0} ({1})", spell.ChampionName, spell.Slot)).SetValue(true));
            }

            evade.AddItem(new MenuItem("EVADEMETHOD", "Evade Method: ").SetValue(new StringList(new[] { "Near Turret", "Less Enemies", "Auto" }, 2)));
            evade.AddItem(new MenuItem("EVADEENABLE", "Enabled").SetValue(false));

            if (method.HasFlag(EvadeMethods.MorganaE) || method.HasFlag(EvadeMethods.KayleR))
            {
                shieldAlly = new Menu("Ally Shielding", "allyshield");
                foreach (var ally in HeroManager.Allies)
                    if(!ally.IsMe)
                        shieldAlly.AddItem(new MenuItem("shield" + ally.ChampionName, "Shield " + ally.ChampionName).SetValue(true));

                shieldAlly.AddItem(new MenuItem("SHIELDENABLED", "Enabled").SetValue(true));
                evade.AddSubMenu(shieldAlly);
            }

            _evade = evade;
            m_evade_thread = new Thread(new ThreadStart(EvadeThread));
            m_evade_thread.Start();
            Game.OnUpdate += Game_OnUpdate;
            Obj_AI_Base.OnProcessSpellCast += Obj_AI_Base_OnProcessSpellCast;

            Game.PrintChat("<font color='#ff3232'>Shine#: </font><font color='#d4d4d4'>Evader loaded for champion {0} !</font>", ObjectManager.Player.ChampionName);
        }
Exemple #2
0
        /// <summary>
        ///     Evader constructor
        /// </summary>
        /// <param name="_evade">The evader menu.</param>
        /// <param name="method">The evade method.</param>
        /// <param name="spl">The evade spell.</param>
        public Evader(out Menu _evade, EvadeMethods method = EvadeMethods.None, Spell spl = null)
        {
            SpellDatabase.InitalizeSpellDatabase();
            SpecialMethod = method;
            EvadeSpell = spl;
            evade = MainMenu.AddMenu("Evade", "SCommon.Evade.Root");

            foreach (var enemy in HeroManager.Enemies)
            {
                foreach (
                    var spell in
                        SpellDatabase.EvadeableSpells.Where(
                            p => p.ChampionName == enemy.ChampionName && p.EvadeMethods.HasFlag(method)))
                {
                    evade.Add(string.Format("SCommon.Evade.Spell.{0}", spell.SpellName),
                        new CheckBox(string.Format("{0} ({1})", spell.ChampionName, spell.Slot)));
                }
            }

            evade.Add("EVADEMETHOD",
                new Slider("Evade Method: (0 : Near Turret | 1 : Less Enemies | 2 : Auti) ", 2, 0, 2));
            evade.Add("EVADEENABLE", new CheckBox("Enabled"));

            if (ObjectManager.Player.CharData.BaseSkinName == "Morgana")
            {
                evade.AddSeparator();
                evade.AddGroupLabel("Ally Shielding");
                foreach (var ally in HeroManager.Allies)
                {
                    if (!ally.IsMe)
                    {
                        evade.Add("shield" + ally.ChampionName, new CheckBox("Shield " + ally.ChampionName, false));
                    }
                }

                evade.Add("SHIELDENABLED", new CheckBox("Enabled"));
                evade.AddSeparator();
            }

            _evade = evade;
            m_evade_thread = new Thread(EvadeThread);
            m_evade_thread.Start();
            Game.OnUpdate += Game_OnUpdate;
            Obj_AI_Base.OnProcessSpellCast += AIHeroClient_OnProcessSpellCast;

            Chat.Print(
                "<font color='#ff3232'>SCommon: </font><font color='#d4d4d4'>Evader loaded for champion {0} !</font>",
                ObjectManager.Player.ChampionName);
        }
Exemple #3
0
        /// <summary>
        ///     Evader constructor
        /// </summary>
        /// <param name="_evade">The evader menu.</param>
        /// <param name="method">The evade method.</param>
        /// <param name="spl">The evade spell.</param>
        public Evader(out Menu _evade, EvadeMethods method = EvadeMethods.None, Spell spl = null)
        {
            SpellDatabase.InitalizeSpellDatabase();
            SpecialMethod = method;
            EvadeSpell    = spl;
            evade         = MainMenu.AddMenu("Evade", "SCommon.Evade.Root");

            foreach (var enemy in HeroManager.Enemies)
            {
                foreach (
                    var spell in
                    SpellDatabase.EvadeableSpells.Where(
                        p => p.ChampionName == enemy.ChampionName && p.EvadeMethods.HasFlag(method)))
                {
                    evade.Add(string.Format("SCommon.Evade.Spell.{0}", spell.SpellName),
                              new CheckBox(string.Format("{0} ({1})", spell.ChampionName, spell.Slot)));
                }
            }

            evade.Add("EVADEMETHOD",
                      new Slider("Evade Method: (0 : Near Turret | 1 : Less Enemies | 2 : Auti) ", 2, 0, 2));
            evade.Add("EVADEENABLE", new CheckBox("Enabled"));

            if (ObjectManager.Player.CharData.BaseSkinName == "Morgana")
            {
                evade.AddSeparator();
                evade.AddGroupLabel("Ally Shielding");
                foreach (var ally in HeroManager.Allies)
                {
                    if (!ally.IsMe)
                    {
                        evade.Add("shield" + ally.ChampionName, new CheckBox("Shield " + ally.ChampionName, false));
                    }
                }

                evade.Add("SHIELDENABLED", new CheckBox("Enabled"));
                evade.AddSeparator();
            }

            _evade         = evade;
            m_evade_thread = new Thread(EvadeThread);
            m_evade_thread.Start();
            Game.OnUpdate += Game_OnUpdate;
            Obj_AI_Base.OnProcessSpellCast += AIHeroClient_OnProcessSpellCast;

            Chat.Print(
                "<font color='#ff3232'>SCommon: </font><font color='#d4d4d4'>Evader loaded for champion {0} !</font>",
                ObjectManager.Player.ChampionName);
        }
Exemple #4
0
        /// <summary>
        /// Evader constructor
        /// </summary>
        /// <param name="_evade">The evader menu.</param>
        /// <param name="method">The evade method.</param>
        /// <param name="spl">The evade spell.</param>
        public Evader(out Menu _evade, EvadeMethods method = EvadeMethods.None, Spell spl = null)
        {
            SpellDatabase.InitalizeSpellDatabase();
            SpecialMethod = method;
            EvadeSpell    = spl;
            evade         = new Menu("Evade", "SCommon.Evade.Root");

            foreach (var enemy in HeroManager.Enemies)
            {
                foreach (var spell in SpellDatabase.EvadeableSpells.Where(p => p.ChampionName == enemy.ChampionName && p.EvadeMethods.HasFlag(method)))
                {
                    evade.AddItem(new MenuItem(String.Format("SCommon.Evade.Spell.{0}", spell.SpellName), String.Format("{0} ({1})", spell.ChampionName, spell.Slot)).SetValue(true));
                }
            }

            evade.AddItem(new MenuItem("EVADEMETHOD", "Evade Method: ").SetValue(new StringList(new[] { "Near Turret", "Less Enemies", "Auto" }, 2)));
            evade.AddItem(new MenuItem("EVADEENABLE", "Enabled").SetValue(false));

            if (ObjectManager.Player.CharData.BaseSkinName == "Morgana")
            {
                shieldAlly = new Menu("Ally Shielding", "allyshield");
                foreach (var ally in HeroManager.Allies)
                {
                    if (!ally.IsMe)
                    {
                        shieldAlly.AddItem(new MenuItem("shield" + ally.ChampionName, "Shield " + ally.ChampionName).SetValue(true));
                    }
                }

                shieldAlly.AddItem(new MenuItem("SHIELDENABLED", "Enabled").SetValue(true));
                evade.AddSubMenu(shieldAlly);
            }

            _evade         = evade;
            m_evade_thread = new Thread(new ThreadStart(EvadeThread));
            m_evade_thread.Start();
            Game.OnUpdate           += Game_OnUpdate;
            Obj_AI_Base.OnSpellCast += Obj_AI_Base_OnProcessSpellCast;

            Chat.Print("<font color='#ff3232'>SCommon: </font><font color='#d4d4d4'>Evader loaded for champion {0} !</font>", ObjectManager.Player.ChampionName);
        }
        public Evader(out Menu _evade, EvadeMethods method = EvadeMethods.None, Spell spl = null)
        {
            SpecialMethod = method;
            EvadeSpell    = spl;
            evade         = new Menu("Evade Settings", "Evade Settings");

            foreach (var enemy in HeroManager.Enemies)
            {
                foreach (var spell in SpellDatabase.EvadeableSpells.Where(p => p.ChampionName == enemy.ChampionName && p.EvadeMethods.HasFlag(method)))
                {
                    evade.AddItem(new MenuItem(spell.SpellName, String.Format("{0} ({1})", spell.ChampionName, spell.Slot)).SetValue(true));
                }
            }

            evade.AddItem(new MenuItem("EVADEMETHOD", "Evade Method: ").SetValue(new StringList(new[] { "Near Turret", "Less Enemies", "Auto" }, 2)));
            evade.AddItem(new MenuItem("EVADEENABLE", "Enabled").SetValue(false));

            if (method.HasFlag(EvadeMethods.MorganaE) || method.HasFlag(EvadeMethods.KayleR))
            {
                shieldAlly = new Menu("Ally Shielding", "allyshield");
                foreach (var ally in HeroManager.Allies)
                {
                    if (!ally.IsMe)
                    {
                        shieldAlly.AddItem(new MenuItem("shield" + ally.ChampionName, "Shield " + ally.ChampionName).SetValue(true));
                    }
                }

                shieldAlly.AddItem(new MenuItem("SHIELDENABLED", "Enabled").SetValue(true));
                evade.AddSubMenu(shieldAlly);
            }

            _evade         = evade;
            m_evade_thread = new Thread(new ThreadStart(EvadeThread));
            m_evade_thread.Start();
            Game.OnUpdate += Game_OnUpdate;
            Obj_AI_Base.OnProcessSpellCast += Obj_AI_Base_OnProcessSpellCast;

            Game.PrintChat("<font color='#ff3232'>HikiCarry Vayne Masterrace: </font><font color='#d4d4d4'>Evader loaded! You can rekt everyone with this assembly 1.337 ms.</font>", ObjectManager.Player.ChampionName);
            Game.PrintChat(string.Format("<font color='#ff3232'>HikiCarry Vayne Masterrace - </font><font color='#d4d4d4'>Assembly Version: </font><font color='#ff3232'><b>{0}</b></font> ", typeof(Program).Assembly.GetName().Version));
        }