Example #1
0
        private void InitMenu()
        {
            MenuPrincipal = MainMenu.AddMenu("Shaco", "Shaco");
            ComboMenu     = MenuPrincipal.AddSubMenu("Combo settings", "Combo");
            ComboMenu.Add("useq", new CheckBox("Use Q"));
            ComboMenu.Add("useqMin", new Slider("Min range", 200, 0, 400));
            ComboMenu.Add("usew", new CheckBox("Use W"));
            ComboMenu.Add("usee", new CheckBox("Use E"));
            ComboMenu.Add("user", new CheckBox("Use R"));
            ComboMenu.Add("usercc", new CheckBox("Dodge targeted cc"));
            ComboMenu.Add("useClone", new CheckBox("Move clone"));
            ComboMenu.Add("WaitForStealth", new CheckBox("Block spells in stealth"));
            ComboMenu.Add("useIgnite", new CheckBox("Use Ignite"));

            // Harass Settings
            HarassMenu = MenuPrincipal.AddSubMenu("Harass settings", "harass");
            HarassMenu.Add("useeH", new CheckBox("Use E"));

            // Misc Settings
            MiscMenu = MenuPrincipal.AddSubMenu("Misc settings", "misc");
            StringList(MiscMenu, "ghostTarget", "Ghost target priority", new[] { "Targetselector", "Lowest health", "Closest to you" }, 0);
            MiscMenu.Add("ksq", new CheckBox("KS E"));
            MiscMenu.Add("autoMoveClone", new CheckBox("Always move clone"));
            MiscMenu.Add("stackBox", new KeyBind("Stack boxes", false, KeyBind.BindTypes.HoldActive, "T".ToCharArray()[0]));


            SmiteMenu = MenuPrincipal.AddSubMenu("Smite", "Smite");
            SmiteMenu.AddSeparator();
            SmiteMenu.Add("smiteActive",
                          new KeyBind("Smite Active (toggle)", true, KeyBind.BindTypes.PressToggle, 'H'));
            SmiteMenu.AddSeparator();
            SmiteMenu.Add("useSlowSmite", new CheckBox("KS with Blue Smite"));
            SmiteMenu.Add("comboWithDuelSmite", new CheckBox("Combo with Red Smite"));
            SmiteMenu.AddSeparator();
            SmiteMenu.AddGroupLabel("Camps");
            SmiteMenu.AddLabel("Epics");
            SmiteMenu.Add("SRU_Baron", new CheckBox("Baron"));
            SmiteMenu.Add("SRU_Dragon", new CheckBox("Dragon"));
            SmiteMenu.AddLabel("Buffs");
            SmiteMenu.Add("SRU_Blue", new CheckBox("Blue"));
            SmiteMenu.Add("SRU_Red", new CheckBox("Red"));
            SmiteMenu.AddLabel("Small Camps");
            SmiteMenu.Add("SRU_Gromp", new CheckBox("Gromp", false));
            SmiteMenu.Add("SRU_Murkwolf", new CheckBox("Murkwolf", false));
            SmiteMenu.Add("SRU_Krug", new CheckBox("Krug", false));
            SmiteMenu.Add("SRU_Razorbeak", new CheckBox("Razerbeak", false));
            SmiteMenu.Add("Sru_Crab", new CheckBox("Skuttles", false));
        }
Example #2
0
        private static void OnLoad(EventArgs args)
        {
            if (ObjectManager.Player.BaseSkinName != "Elise")
            {
                return;
            }

            Menu = MainMenu.AddMenu("Elise", "Elise");
            Menu.AddGroupLabel("Elise Addon!");
            ComboMenu = Menu.AddSubMenu("Combo");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.Add("UseQ", new CheckBox("Use Q Human"));
            ComboMenu.Add("UseW", new CheckBox("Use W Human"));
            ComboMenu.Add("UseE", new CheckBox("Use E Human"));
            ComboMenu.Add("UseQSpider", new CheckBox("Use Q Spider"));
            ComboMenu.Add("UseWSpider", new CheckBox("Use W Spider"));
            ComboMenu.Add("UseESpider", new CheckBox("Use E Spider"));
            ComboMenu.Add("UseR", new CheckBox("Switch forms"));
            ComboMenu.Add("forcee", new KeyBind("Force E key", false, KeyBind.BindTypes.HoldActive, 'T'));
            ComboMenu.Add("cmana", new Slider("Dont switch to human if mana under", 10, 0, 100));

            HarassMenu = Menu.AddSubMenu("Harass");
            HarassMenu.AddGroupLabel("Harass Settings");
            HarassMenu.Add("UseQ", new CheckBox("Use Q Human"));
            HarassMenu.Add("UseW", new CheckBox("Use W Human"));

            LaneMenu = Menu.AddSubMenu("LaneClear");
            LaneMenu.AddGroupLabel("LaneClear Settings");
            LaneMenu.Add("UseQ", new CheckBox("Use Q Human"));
            LaneMenu.Add("UseW", new CheckBox("Use W Human"));
            LaneMenu.Add("UseQSpider", new CheckBox("Use Spider Q"));
            LaneMenu.Add("UseWSpider", new CheckBox("Use Spider W"));
            LaneMenu.Add("UseRl", new CheckBox("Switch R"));
            LaneMenu.Add("lmana", new Slider("Minimum mana", 20, 0, 100));

            JungleMenu = Menu.AddSubMenu("JungleClear");
            JungleMenu.AddGroupLabel("JungleClear Settings");
            JungleMenu.Add("UseQ", new CheckBox("Use Q"));
            JungleMenu.Add("UseW", new CheckBox("Use W"));
            JungleMenu.Add("UseQSpider", new CheckBox("Use Spider Q"));
            JungleMenu.Add("UseWSpider", new CheckBox("Use Spider W"));
            JungleMenu.Add("useRj", new CheckBox("Switch R"));
            JungleMenu.Add("useRj2", new CheckBox("Switch R"));
            JungleMenu.Add("jmana", new Slider("Minimum mana", 20, 0, 100));


            SmiteMenu = Menu.AddSubMenu("Smite", "Smite");
            SmiteMenu.AddSeparator();
            SmiteMenu.Add("smiteActive",
                          new KeyBind("Smite Active (toggle)", true, KeyBind.BindTypes.PressToggle, 'H'));
            SmiteMenu.AddSeparator();
            SmiteMenu.Add("useSlowSmite", new CheckBox("KS with Blue Smite"));
            SmiteMenu.Add("comboWithDuelSmite", new CheckBox("Combo with Red Smite"));
            SmiteMenu.AddSeparator();
            SmiteMenu.AddGroupLabel("Camps");
            SmiteMenu.AddLabel("Epics");
            SmiteMenu.Add("SRU_Baron", new CheckBox("Baron"));
            SmiteMenu.Add("SRU_Dragon", new CheckBox("Dragon"));
            SmiteMenu.AddLabel("Buffs");
            SmiteMenu.Add("SRU_Blue", new CheckBox("Blue"));
            SmiteMenu.Add("SRU_Red", new CheckBox("Red"));
            SmiteMenu.AddLabel("Small Camps");
            SmiteMenu.Add("SRU_Gromp", new CheckBox("Gromp", false));
            SmiteMenu.Add("SRU_Murkwolf", new CheckBox("Murkwolf", false));
            SmiteMenu.Add("SRU_Krug", new CheckBox("Krug", false));
            SmiteMenu.Add("SRU_Razorbeak", new CheckBox("Razerbeak", false));
            SmiteMenu.Add("Sru_Crab", new CheckBox("Skuttles", false));

            MiscMenu = Menu.AddSubMenu("Misc");
            MiscMenu.AddGroupLabel("Misc Settings");
            MiscMenu.Add("autoe", new CheckBox("Auto E immobile"));
            MiscMenu.Add("Antigapcloser", new CheckBox("Use E - Antigapcloser"));
            MiscMenu.Add("Interrupter", new CheckBox("Use E - interrupter"));

            DrawMenu = Menu.AddSubMenu("Draw");
            DrawMenu.AddGroupLabel("Draw Settings");
            DrawMenu.Add("drawoff", new CheckBox("Disable drawings", false));
            DrawMenu.Add("drawq", new CheckBox("Draw Q"));
            DrawMenu.Add("draww", new CheckBox("Draw W"));
            DrawMenu.Add("drawe", new CheckBox("Draw E"));


            Q = new Spell.Targeted(SpellSlot.Q, 625);
            W = new Spell.Skillshot(SpellSlot.W, 950, SkillShotType.Circular);
            E = new Spell.Skillshot(SpellSlot.E, 1075, SkillShotType.Linear, 250, 1600, 80)
            {
                AllowedCollisionCount = 0
            };
            R       = new Spell.Active(SpellSlot.R);
            SpiderQ = new Spell.Targeted(SpellSlot.Q, 475);
            SpiderW = new Spell.Active(SpellSlot.W);
            SpiderE = new Spell.Targeted(SpellSlot.E, 750);

            Game.OnUpdate                    += OnUpdate;
            Drawing.OnDraw                   += OnDraw;
            Gapcloser.OnGapcloser            += Gapcloser_OnGapcloser;
            Interrupter.OnInterruptableSpell += OnInterruptableSpell;
            Game.OnUpdate                    += SmiteEvent;
        }
Example #3
0
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (Player.Instance.ChampionName != "Olaf")
            {
                return;
            }

            Chat.Print("Perfect Olaf Reloaded");

            SpellDataInst smite = _Player.Spellbook.Spells.Where(spell => spell.Name.Contains("smite")).Any() ? _Player.Spellbook.Spells.Where(spell => spell.Name.Contains("smite")).First() : null;

            if (smite != null)
            {
                Smite = new Spell.Targeted(smite.Slot, 500);
            }



            Bootstrap.Init(null);

            Healthpot        = new Item(2003, 0);
            Manapot          = new Item(2004, 0);
            RefillablePotion = new Item(2031, 0);
            HuntersPotion    = new Item(2032, 0);
            CorruptionPotion = new Item(2033, 0);
            uint level = (uint)Player.Instance.Level;

            Q = new Spell.Skillshot(SpellSlot.Q, 1000, SkillShotType.Linear, 250, 1550, 75)
            {
                AllowedCollisionCount = int.MaxValue, MinimumHitChance = HitChance.High
            };
            Q2 = new Spell.Skillshot(SpellSlot.Q, 900, SkillShotType.Linear, 250, 1550, 75)
            {
                AllowedCollisionCount = int.MaxValue, MinimumHitChance = HitChance.High
            };
            W = new Spell.Active(SpellSlot.W);
            E = new Spell.Targeted(SpellSlot.E, 325);
            R = new Spell.Active(SpellSlot.R);

            Menu = MainMenu.AddMenu("Perfect Olaf", "perfectolaf");

            ComboMenu = Menu.AddSubMenu("Combo Settings", "ComboSettings");
            ComboMenu.AddLabel("Combo Settings");
            ComboMenu.Add("QCombo", new CheckBox("Use Q"));
            ComboMenu.Add("WCombo", new CheckBox("Use W"));
            ComboMenu.Add("ECombo", new CheckBox("Use E"));
            ComboMenu.Add("RCombo", new CheckBox("Use R"));
            ComboMenu.Add("useTiamat", new CheckBox("Use Items"));

            HarassMenu = Menu.AddSubMenu("Harass Settings", "HarassSettings");
            HarassMenu.AddLabel("Harass Settings");
            HarassMenu.Add("QHarass", new CheckBox("Use Q"));
            HarassMenu.Add("WHarass", new CheckBox("Use W"));
            HarassMenu.Add("EHarass", new CheckBox("Use E"));

            FarmingMenu = Menu.AddSubMenu("Lane Clear", "FarmSettings");

            FarmingMenu.AddLabel("Lane Clear");
            FarmingMenu.Add("QLaneClear", new CheckBox("Use Q LaneClear"));
            FarmingMenu.Add("QlaneclearMana", new Slider("Mana < %", 45, 0, 100));
            FarmingMenu.Add("WLaneClear", new CheckBox("Use W LaneClear"));
            FarmingMenu.Add("WlaneclearMana", new Slider("Mana < %", 45, 0, 100));
            FarmingMenu.Add("ELaneClear", new CheckBox("Use E LaneClear"));
            FarmingMenu.Add("ElaneclearHP", new Slider("HP < %", 10, 0, 100));

            FarmingMenu.AddLabel("Jungle Clear");
            FarmingMenu.Add("Qjungle", new CheckBox("Use Q in Jungle"));
            FarmingMenu.Add("QjungleMana", new Slider("Mana < %", 45, 0, 100));
            FarmingMenu.Add("Wjungle", new CheckBox("Use W in Jungle"));
            FarmingMenu.Add("WjungleMana", new Slider("Mana < %", 45, 0, 100));
            FarmingMenu.Add("Ejungle", new CheckBox("Use E in Jungle"));
            FarmingMenu.Add("EjungleHP", new Slider("HP < %", 25, 0, 100));

            FarmingMenu.AddLabel("Last Hit Settings");
            FarmingMenu.Add("Qlasthit", new CheckBox("Use Q LastHit"));
            FarmingMenu.Add("Elasthit", new CheckBox("Use E LastHit"));
            FarmingMenu.Add("QlasthitMana", new Slider("Mana < %", 45, 0, 100));

            SetSmiteSlot();
            if (SmiteSlot != SpellSlot.Unknown)
            {
                SmiteMenu = Menu.AddSubMenu("Smite Usage", "SmiteUsage");
                SmiteMenu.AddLabel("Smite Usage");
                SmiteMenu.Add("Use Smite?", new CheckBox("Use Smite"));
                SmiteMenu.Add("SmiteEnemy", new CheckBox("Use Smite Combo for Enemy!"));
                SmiteMenu.Add("Red?", new CheckBox("Red"));
                SmiteMenu.Add("Blue?", new CheckBox("Blue"));
                SmiteMenu.Add("Dragon?", new CheckBox("Dragon"));
                SmiteMenu.Add("Baron?", new CheckBox("Baron"));
            }


            MiscMenu = Menu.AddSubMenu("More Settings", "Misc");

            MiscMenu.AddLabel("Auto");
            MiscMenu.Add("Auto Ignite", new CheckBox("Auto Ignite"));
            MiscMenu.Add("autoQ", new CheckBox("Use Auto Q to Flee/Escape"));
            MiscMenu.Add("autoR", new CheckBox("Use Auto R in Dangerous Spell", false));
            MiscMenu.Add("autoEenemyHP", new Slider("Enemy HP < %", 45, 0, 100));
            MiscMenu.AddSeparator();
            MiscMenu.AddLabel("Items");
            MiscMenu.AddLabel("BOTRK,Bilgewater Cutlass Settings");
            MiscMenu.Add("botrkHP", new Slider("My HP < %", 60, 0, 100));
            MiscMenu.Add("botrkenemyHP", new Slider("Enemy HP < %", 60, 0, 100));

            MiscMenu.AddLabel("KillSteal");
            MiscMenu.Add("Qkill", new CheckBox("Use Q KillSteal"));
            MiscMenu.Add("Ekill", new CheckBox("Use E KillSteal"));

            MiscMenu.AddLabel("Activator");
            MiscMenu.Add("useHP", new CheckBox("Use Health Potion"));
            MiscMenu.Add("useHPV", new Slider("HP < %", 45, 0, 100));
            MiscMenu.Add("useMana", new CheckBox("Use Mana Potion"));
            MiscMenu.Add("useManaV", new Slider("Mana < %", 45, 0, 100));
            MiscMenu.Add("useCrystal", new CheckBox("Use Refillable Potions"));
            MiscMenu.Add("useCrystalHPV", new Slider("HP < %", 45, 0, 100));
            MiscMenu.Add("useCrystalManaV", new Slider("Mana < %", 45, 0, 100));

            DrawMenu = Menu.AddSubMenu("Draw Settings", "Drawings");
            DrawMenu.Add("drawAA", new CheckBox("Draw AA Range"));
            DrawMenu.Add("drawQ", new CheckBox("Draw Q"));
            DrawMenu.Add("drawQpos", new CheckBox("Draw Q Position"));
            DrawMenu.Add("drawE", new CheckBox("Draw E"));

            UpdateMenu = Menu.AddSubMenu("Last Update Logs", "Updates");
            UpdateMenu.AddLabel("V0.1.7.0");
            UpdateMenu.AddLabel("-Q Prediction UPDATE! Please Change Prediction Settings");
            UpdateMenu.AddLabel("Prediction");
            UpdateMenu.AddLabel("  Algorithm");
            UpdateMenu.AddLabel("    Hitchance = 4");
            UpdateMenu.AddLabel("  Collision");
            UpdateMenu.AddLabel("    Extra Hitbox Radius = 40");

            Game.OnTick         += Game_OnTick;
            Drawing.OnDraw      += Drawing_OnDraw;
            GameObject.OnCreate += GameObject_OnCreate;
            GameObject.OnDelete += GameObject_OnDelete;

            Chat.Print("Perrrrrrrrrfect Addon", System.Drawing.Color.Red);
        }
        public Activator(Menu attachToMenu)
        {
            AMenu = attachToMenu;

            AMenu = MainMenu.AddMenu("Aka´s Activator", "AkasActivator");
            AMenu.Add("Combo", new CheckBox("Use Items in Combo"));
            AMenu.Add("Harass", new CheckBox("Use Items in Harass"));
            AMenu.Add("LaneClear", new CheckBox("Use Items in LaneClear"));
            AMenu.Add("JungleClear", new CheckBox("Use Items in JungleClear"));
            AMenu.Add("Flee", new CheckBox("Use Items in Flee"));
            Offensive = AMenu.AddSubMenu("Offensive", "Offensive");
            Offensive.AddGroupLabel("Offensive Items");
            Offensive.AddLabel("Blade Of The Ruined King");
            Offensive.Add("botrkManager", new CheckBox("Blade Of The Ruined King"));
            Offensive.Add("botrkManagerMinMeHP", new Slider("Self HP %", 80));
            Offensive.Add("botrkManagerMinEnemyHP", new Slider("Enemy HP HP %", 80));
            Offensive.AddLabel("Cutlass");
            Offensive.Add("cutlassManager", new CheckBox("Cutlass"));
            Offensive.Add("cutlassManagerMinMeHP", new Slider("Self HP %", 80));
            Offensive.Add("cutlassManagerMinEnemyHP", new Slider("Enemy HP HP %", 80));

            if (Player.Instance.IsMelee)
            {
                Offensive.AddLabel("Tiamat");
                Offensive.Add("tiamatManager", new CheckBox("Use Tiamat"));
                Offensive.Add("tiamatManagerMinMeHP", new Slider("Self HP %", 99));
                Offensive.Add("tiamatManagerMinEnemyHP", new Slider("Enemy HP HP %", 99));
                Offensive.AddLabel("Hydra");
                Offensive.Add("hydraManager", new CheckBox("Use Hydra"));
                Offensive.Add("hydraManagerMinMeHP", new Slider("Self HP %", 99));
                Offensive.Add("hydraManagerMinEnemyHP", new Slider("Enemy HP HP %", 99));
            }

            Offensive.AddLabel("Gunblade");
            Offensive.Add("gunbladeManager", new CheckBox("Use Gunblade"));
            Offensive.Add("gunbladeManagerMinMeHP", new Slider("Self HP %", 99));
            Offensive.Add("gunbladeManagerMinEnemyHP", new Slider("Enemy HP HP %", 99));
            Offensive.AddLabel("GhostBlade");
            Offensive.Add("ghostbladeManager", new CheckBox("Use GhostBlade"));
            Offensive.Add("ghostbladeManagerMinMeHP", new Slider("Self HP %", 99));
            Offensive.Add("ghostbladeManagerMinEnemyHP", new Slider("Enemy HP HP %", 99));

            Potions = AMenu.AddSubMenu("Potions", "potions");
            Potions.AddGroupLabel("Potion Items");
            Potions.Add("healthPotionManager", new CheckBox("Health Potion"));
            Potions.Add("healthPotionManagerMinMeHP", new Slider("Min HP %", 65));
            Potions.AddSeparator();
            Potions.Add("biscuitPotionManager", new CheckBox("Biscuit"));
            Potions.Add("biscuitPotionManagerMinMeHP", new Slider("Min HP %", 65));
            Potions.AddSeparator();
            Potions.Add("refillPotManager", new CheckBox("Refill Potion"));
            Potions.Add("refillPotManagerMinMeHP", new Slider("Min HP %", 60));
            Potions.AddSeparator();
            Potions.Add("corruptpotManager", new CheckBox("Corrupt Potion"));
            Potions.Add("corruptpotManagerMinMeHP", new Slider("Min HP %", 60));
            Potions.Add("corruptpotManagerMinMeMana", new Slider("Min Mana %", 30));
            Potions.AddSeparator();
            Potions.Add("huntersPotManager", new CheckBox("Hunter's Potion"));
            Potions.Add("huntersPotManagerMinMeHP", new Slider("Min HP %", 60));
            Potions.Add("huntersPotManagerMinMeMana", new Slider("Min Mana %", 30));

            Qss = AMenu.AddSubMenu("Qss", "qss");
            Qss.AddGroupLabel("Qss Settings");
            Qss.Add("Polymorph", new CheckBox("Polymorph"));
            Qss.Add("Stun", new CheckBox("Stun"));
            Qss.Add("Taunt", new CheckBox("Taunt"));
            Qss.Add("Knockup", new CheckBox("Knock-up"));
            Qss.Add("Fear", new CheckBox("Fear"));
            Qss.Add("Snare", new CheckBox("Snare"));
            Qss.Add("Slow", new CheckBox("Slow"));
            Qss.Add("Blind", new CheckBox("Blind"));
            Qss.Add("Silence", new CheckBox("Silence"));
            Qss.Add("Charm", new CheckBox("Charm"));
            Qss.Add("Suppression", new CheckBox("Suppression"));
            Qss.Add("delay", new Slider("Activation Delay", 1000, 0, 2000));
            Qss.AddSeparator();
            Qss.AddLabel("Cleanse Items / Summoner Spell");
            Qss.Add("mikaelsCleanser", new CheckBox("Mikael's Cruicble"));
            Qss.Add("mercurialScimitarCleanser", new CheckBox("Mercurial Scimitar"));
            Qss.Add("quicksilverSashCleanser", new CheckBox("Quicksilver Sash"));
            Qss.Add("summonerSpellCleanse", new CheckBox("Summoner Cleanse"));

            Defensive = AMenu.AddSubMenu("Defensive Items", "defmenuactiv");
            Defensive.AddGroupLabel("Shield/Heal Items (self)");
            Defensive.Add("Archangels_Staff", new CheckBox("Serahph's Embrace"));
            Defensive.AddGroupLabel("Shield/Heal Items (ally/self)");
            Defensive.Add("Mikaels_Crucible_Heal", new CheckBox("Mikaels Crucible"));
            Defensive.AddLabel("Locket of the Iron Solari");
            Defensive.Add("Locket_of_the_Iron_Solari", new CheckBox("Locket of the Iron Solari"));
            Defensive.AddSeparator(0);
            Defensive.Add("Locket_of_the_Iron_Solari_ally", new CheckBox("Ally"));
            Defensive.Add("Locket_of_the_Iron_Solari_self", new CheckBox("Self"));
            Defensive.AddLabel("Face of the Mountain");
            Defensive.Add("Face_of_the_Mountain", new CheckBox("Face of the Mountain"));
            Defensive.AddSeparator(0);
            Defensive.Add("Face_of_the_Mountain_ally", new CheckBox("Ally"));
            Defensive.Add("Face_of_the_Mountain_self", new CheckBox("Self"));

            Sums = AMenu.AddSubMenu("Summoners", "sums");
            Sums.AddLabel("Heal");
            Sums.Add("healManager", new CheckBox("Use Heal"));
            Sums.Add("healManagerMinMeHP", new Slider("Self HP %", 30));
            Sums.Add("healManagerMinEnemyHP", new Slider("Enemy HP HP %", 30));
            Sums.AddLabel("Ignite");
            Sums.Add("igniteManager", new CheckBox("Use Ignite"));
            Sums.AddLabel("Barrier");
            Sums.Add("barrierManager", new CheckBox("Use Barrier"));
            Sums.Add("barrierManagerMinMeHP", new Slider("Self HP %", 30));
            Sums.Add("barrierManagerMinEnemyHP", new Slider("Enemy HP HP %", 30));

            SmiteMenu = AMenu.AddSubMenu("Smite Settings");
            SmiteMenu.AddGroupLabel("Camps");
            SmiteMenu.AddLabel("Epics");
            SmiteMenu.Add("SRU_Baron", new CheckBox("Baron"));
            SmiteMenu.Add("SRU_Dragon", new CheckBox("Dragon"));
            SmiteMenu.AddLabel("Buffs");
            SmiteMenu.Add("SRU_Blue", new CheckBox("Blue"));
            SmiteMenu.Add("SRU_Red", new CheckBox("Red"));
            SmiteMenu.AddLabel("Small Camps");
            SmiteMenu.Add("SRU_Gromp", new CheckBox("Gromp", false));
            SmiteMenu.Add("SRU_Murkwolf", new CheckBox("Murkwolf", false));
            SmiteMenu.Add("SRU_Krug", new CheckBox("Krug", false));
            SmiteMenu.Add("SRU_Razorbeak", new CheckBox("Razerbeak", false));
            SmiteMenu.Add("Sru_Crab", new CheckBox("Skuttles", false));
            SmiteMenu.AddSeparator();
            SmiteMenu.Add("smiteActive",
                          new KeyBind("Smite Active (toggle)", true, KeyBind.BindTypes.PressToggle, 'M'));
            SmiteMenu.AddSeparator();
            SmiteMenu.Add("useSlowSmite", new CheckBox("KS with Slow Smite"));
            SmiteMenu.Add("comboWithDuelSmite", new CheckBox("Combo With Duel Smite"));

            Smite                   = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonersmite"), 500);
            Game.OnUpdate          += GameOnOnUpdate;
            Obj_AI_Base.OnBuffGain += Obj_AI_Base_OnBuffGain;
        }
Example #5
0
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (Player.Instance.ChampionName != "Udyr")
            {
                return;
            }

            SpellDataInst smite = _Player.Spellbook.Spells.Where(spell => spell.Name.Contains("smite")).Any() ? _Player.Spellbook.Spells.Where(spell => spell.Name.Contains("smite")).First() : null;

            if (smite != null)
            {
                Smite = new Spell.Targeted(smite.Slot, 500);
            }
            Bootstrap.Init(null);

            Healthpot        = new Item(2003, 0);
            Manapot          = new Item(2004, 0);
            RefillablePotion = new Item(2031, 0);
            HuntersPotion    = new Item(2032, 0);
            CorruptionPotion = new Item(2033, 0);
            uint level = (uint)Player.Instance.Level;

            Q = new Spell.Active(SpellSlot.Q, 250);
            W = new Spell.Active(SpellSlot.W, 250);
            E = new Spell.Active(SpellSlot.E, 250);
            R = new Spell.Active(SpellSlot.R, 500);

            Menu = MainMenu.AddMenu("Perfect Udyr", "perfectudyr");
            Menu.AddLabel("Perrrrrrrrrfect Ass");
            Menu.AddSeparator();



            ComboMenu = Menu.AddSubMenu("Combo Settings", "ComboSettings");
            ComboMenu.AddLabel("Combo Ayarları");
            ComboMenu.Add("QCombo", new CheckBox("Kullan Q"));
            ComboMenu.Add("WCombo", new CheckBox("Kullan W"));
            ComboMenu.Add("ECombo", new CheckBox("Kullan E"));
            ComboMenu.Add("RCombo", new CheckBox("Kullan R"));
            ComboMenu.Add("useTiamat", new CheckBox("Kullan İtemleri"));
            var Style = ComboMenu.Add("combostyle", new Slider("Kombo Stili", 0, 0, 1));

            Style.OnValueChange += delegate
            {
                Style.DisplayName = "Combo Style: " + new[] { "Tiger Combo", "Phoenix Combo" }[Style.CurrentValue];
            };
            Style.DisplayName = "Combo Style: " + new[] { "Tiger Combo", "Phoenix Combo" }[Style.CurrentValue];

            HarassMenu = Menu.AddSubMenu("Harass Settings", "HarassSettings");
            HarassMenu.AddLabel("None.");

            FarmingMenu = Menu.AddSubMenu("Lane Clear", "FarmSettings");

            FarmingMenu.AddLabel("Lane Temizleme");
            FarmingMenu.Add("QLaneClear", new CheckBox("Q Kullan"));
            FarmingMenu.Add("QlaneclearMana", new Slider("Mana < %", 45, 0, 100));
            FarmingMenu.Add("WLaneClear", new CheckBox("W Kullan"));
            FarmingMenu.Add("WlaneclearMana", new Slider("Mana < %", 35, 0, 100));
            FarmingMenu.Add("WlaneclearHealth", new Slider("Canım < %", 60, 0, 100));
            FarmingMenu.Add("RLaneClear", new CheckBox("R Kullan"));
            FarmingMenu.Add("RlaneclearMana", new Slider("Mana < %", 60, 0, 100));
            FarmingMenu.Add("RlaneclearCount", new Slider("Minyon Say > ", 3, 1, 10));

            FarmingMenu.AddLabel("Son Vuruş Ayarları");
            FarmingMenu.Add("Qlasthit", new CheckBox("Q Kullan"));
            FarmingMenu.Add("QlasthitMana", new Slider("Mana < %", 35, 0, 100));
            FarmingMenu.Add("Wlasthit", new CheckBox("W Kullan"));
            FarmingMenu.Add("WlasthitMana", new Slider("Mana < %", 35, 0, 100));
            FarmingMenu.Add("WlasthitHealth", new Slider("Canım < %", 60, 0, 100));


            JungleMenu = Menu.AddSubMenu("Jungle Clear", "JungSettings");

            JungleMenu.AddLabel("Orman Temizleme");
            JungleMenu.Add("Qjungle", new CheckBox("Q Kullan"));
            JungleMenu.Add("QjungleMana", new Slider("Mana < %", 30, 0, 100));
            JungleMenu.Add("Wjungle", new CheckBox("W Kullan"));
            JungleMenu.Add("WjungleMana", new Slider("Mana < %", 30, 0, 100));
            JungleMenu.Add("WjungleHealth", new Slider("Canım < %", 90, 0, 100));
            JungleMenu.Add("Ejungle", new CheckBox("E Kullan"));
            JungleMenu.Add("EjungleMana", new Slider("Mana < %", 30, 0, 100));
            JungleMenu.Add("Rjungle", new CheckBox("R Kullan"));
            JungleMenu.Add("RjungleMana", new Slider("Mana < %", 30, 0, 100));
            var JungleStyle = JungleMenu.Add("jungstyle", new Slider("Kombo Stili", 0, 0, 3));

            JungleStyle.OnValueChange += delegate
            {
                JungleStyle.DisplayName = "Combo Style: " + new[] { "Q-E", "Q-W", "R-E", "R-W" }[JungleStyle.CurrentValue];
            };
            JungleStyle.DisplayName = "Combo Style: " + new[] { "Q-E", "Q-W", "R-E", "R-W" }[JungleStyle.CurrentValue];



            SetSmiteSlot();
            if (SmiteSlot != SpellSlot.Unknown)
            {
                SmiteMenu = Menu.AddSubMenu("Smite Usage", "SmiteUsage");
                SmiteMenu.Add("SmiteEnemy", new CheckBox("Çarp Kullan Düşmana!"));
                SmiteMenu.AddLabel("Çarp Kullan");
                SmiteMenu.Add("Use Smite?", new CheckBox("Kullan Çarp"));
                SmiteMenu.Add("Red?", new CheckBox("Kırmızı"));
                SmiteMenu.Add("Blue?", new CheckBox("Mavi"));
                SmiteMenu.Add("Dragon?", new CheckBox("Ejder"));
                SmiteMenu.Add("Baron?", new CheckBox("Baron"));
                SmiteMenu.Add("Small?", new CheckBox("Küçük Kamplar"));
            }


            MiscMenu = Menu.AddSubMenu("More Settings", "Misc");

            MiscMenu.AddLabel("Otomatik");
            MiscMenu.Add("Auto Ignite", new CheckBox("Tutuştur Kullan"));
            MiscMenu.Add("autoQ", new CheckBox("Kaçarken Q Kullan"));
            MiscMenu.AddSeparator();
            MiscMenu.AddLabel("İtemler");
            MiscMenu.AddSeparator();
            MiscMenu.AddLabel("Mahvolmuş ve pala ayarları");
            MiscMenu.Add("botrkHP", new Slider("Benim Canım < %", 60, 0, 100));
            MiscMenu.Add("botrkenemyHP", new Slider("Düşmanın Canı < %", 60, 0, 100));

            MiscMenu.AddLabel("Kill Çalma");
            MiscMenu.Add("Qkills", new CheckBox("Q Kullan"));
            MiscMenu.Add("Ekills", new CheckBox("E Kullan"));

            MiscMenu.AddLabel("Activator");
            MiscMenu.Add("useHP", new CheckBox("Can potu Kullan"));
            MiscMenu.Add("useHPV", new Slider("Canım < %", 45, 0, 100));
            MiscMenu.Add("useMana", new CheckBox("Mana potu Kullan"));
            MiscMenu.Add("useManaV", new Slider("Mana < %", 45, 0, 100));
            MiscMenu.Add("useCrystal", new CheckBox("Avcı Potu"));
            MiscMenu.Add("useCrystalHPV", new Slider("Canım  < %", 65, 0, 100));
            MiscMenu.Add("useCrystalManaV", new Slider("Manam < %", 65, 0, 100));

            DrawMenu = Menu.AddSubMenu("Draw Settings", "Drawings");
            DrawMenu.Add("drawAA", new CheckBox("Göster AA Menzili"));
            DrawMenu.Add("drawR", new CheckBox("Göster R Menzili"));

            Game.OnTick    += Game_OnTick;
            Drawing.OnDraw += Drawing_OnDraw;

            Chat.Print("Perfect Addon", System.Drawing.Color.Red);
        }
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (Player.Instance.ChampionName != "Olaf")
            {
                return;
            }

            SpellDataInst smite = _Player.Spellbook.Spells.Where(spell => spell.Name.Contains("smite")).Any() ? _Player.Spellbook.Spells.Where(spell => spell.Name.Contains("smite")).First() : null;

            if (smite != null)
            {
                Smite = new Spell.Targeted(smite.Slot, 500);
            }



            Bootstrap.Init(null);

            Healthpot        = new Item(2003, 0);
            Manapot          = new Item(2004, 0);
            RefillablePotion = new Item(2031, 0);
            HuntersPotion    = new Item(2032, 0);
            CorruptionPotion = new Item(2033, 0);
            uint level = (uint)Player.Instance.Level;

            Q = new Spell.Skillshot(SpellSlot.Q, 1000, SkillShotType.Linear, 250, 1550, 75)
            {
                AllowedCollisionCount = int.MaxValue, MinimumHitChance = HitChance.High
            };
            Q2 = new Spell.Skillshot(SpellSlot.Q, 900, SkillShotType.Linear, 250, 1550, 75)
            {
                AllowedCollisionCount = int.MaxValue, MinimumHitChance = HitChance.High
            };
            W = new Spell.Active(SpellSlot.W);
            E = new Spell.Targeted(SpellSlot.E, 325);
            R = new Spell.Active(SpellSlot.R);

            Menu = MainMenu.AddMenu("Perfect Olaf", "perfectolaf");

            ComboMenu = Menu.AddSubMenu("Combo Settings", "ComboSettings");
            ComboMenu.AddLabel("Kombo Ayarları");
            ComboMenu.Add("QCombo", new CheckBox("Kullan Q"));
            ComboMenu.Add("WCombo", new CheckBox("Kullan W"));
            ComboMenu.Add("ECombo", new CheckBox("Kullan E"));
            ComboMenu.Add("RCombo", new CheckBox("Kullan R"));
            ComboMenu.Add("useTiamat", new CheckBox("Kullan İtemler"));

            HarassMenu = Menu.AddSubMenu("Harass Settings", "HarassSettings");
            HarassMenu.AddLabel("Dürtme Ayarları");
            HarassMenu.Add("QHarass", new CheckBox("Kullan Q"));
            HarassMenu.Add("WHarass", new CheckBox("Kullan W"));
            HarassMenu.Add("EHarass", new CheckBox("Kullan E"));

            FarmingMenu = Menu.AddSubMenu("Lane Clear", "FarmSettings");

            FarmingMenu.AddLabel("Lane Temizleme");
            FarmingMenu.Add("QLaneClear", new CheckBox("Q Kullan"));
            FarmingMenu.Add("QlaneclearMana", new Slider("Mana < %", 45, 0, 100));
            FarmingMenu.Add("WLaneClear", new CheckBox("W Kullan"));
            FarmingMenu.Add("WlaneclearMana", new Slider("Mana < %", 45, 0, 100));
            FarmingMenu.Add("ELaneClear", new CheckBox("E Kullan"));
            FarmingMenu.Add("ElaneclearHP", new Slider("Canım < %", 10, 0, 100));

            FarmingMenu.AddLabel("Orman Temizleme");
            FarmingMenu.Add("Qjungle", new CheckBox("Q Kullan"));
            FarmingMenu.Add("QjungleMana", new Slider("Mana < %", 45, 0, 100));
            FarmingMenu.Add("Wjungle", new CheckBox("W Kullan"));
            FarmingMenu.Add("WjungleMana", new Slider("Mana < %", 45, 0, 100));
            FarmingMenu.Add("Ejungle", new CheckBox("E Kullan"));
            FarmingMenu.Add("EjungleHP", new Slider("Canım < %", 25, 0, 100));

            FarmingMenu.AddLabel("SonVuruş Ayarları");
            FarmingMenu.Add("Qlasthit", new CheckBox("Q Kullan"));
            FarmingMenu.Add("Elasthit", new CheckBox("E Kullan"));
            FarmingMenu.Add("QlasthitMana", new Slider("Mana < %", 45, 0, 100));

            SetSmiteSlot();
            if (SmiteSlot != SpellSlot.Unknown)
            {
                SmiteMenu = Menu.AddSubMenu("Smite Usage", "SmiteUsage");
                SmiteMenu.AddLabel("Çarp Kullanımı");
                SmiteMenu.Add("Use Smite?", new CheckBox("Çarp Kullan"));
                SmiteMenu.Add("SmiteEnemy", new CheckBox("Komboda düşmana çarp kullan!"));
                SmiteMenu.Add("Red?", new CheckBox("Kırmızı"));
                SmiteMenu.Add("Blue?", new CheckBox("Mavi"));
                SmiteMenu.Add("Dragon?", new CheckBox("Ejder"));
                SmiteMenu.Add("Baron?", new CheckBox("Baron"));
            }


            MiscMenu = Menu.AddSubMenu("More Settings", "Misc");

            MiscMenu.AddLabel("Otomatik Ayarlar");
            MiscMenu.Add("Auto Ignite", new CheckBox("Otomatik Tutuştur"));
            MiscMenu.Add("autoQ", new CheckBox("Kaçarken otomatik Q Kullan"));
            MiscMenu.Add("autoR", new CheckBox("Tehlikeli durumlarda Otomatik R", false));
            MiscMenu.Add("autoEenemyHP", new Slider("Düşman Canı < %", 45, 0, 100));
            MiscMenu.AddSeparator();
            MiscMenu.AddLabel("İtemler");
            MiscMenu.AddLabel("Mahvolmuş ve Bilge Palası");
            MiscMenu.Add("botrkHP", new Slider("Canım < %", 60, 0, 100));
            MiscMenu.Add("botrkenemyHP", new Slider("Düşmanın canı < %", 60, 0, 100));

            MiscMenu.AddLabel("KillÇalma");
            MiscMenu.Add("Qkill", new CheckBox("Q Kullan"));
            MiscMenu.Add("Ekill", new CheckBox("E Kullan"));

            MiscMenu.AddLabel("Aktivator");
            MiscMenu.Add("useHP", new CheckBox("Can İksiri Kullan"));
            MiscMenu.Add("useHPV", new Slider("Canım < %", 45, 0, 100));
            MiscMenu.Add("useMana", new CheckBox("Mana iksiri kullan"));
            MiscMenu.Add("useManaV", new Slider("Mana < %", 45, 0, 100));
            MiscMenu.Add("useCrystal", new CheckBox("Dolduralabilir iksir kullan"));
            MiscMenu.Add("useCrystalHPV", new Slider("Canım < %", 45, 0, 100));
            MiscMenu.Add("useCrystalManaV", new Slider("Mana < %", 45, 0, 100));

            DrawMenu = Menu.AddSubMenu("Draw Settings", "Drawings");
            DrawMenu.Add("drawAA", new CheckBox("Göster AA Menzili"));
            DrawMenu.Add("drawQ", new CheckBox("Göster Q"));
            DrawMenu.Add("drawQpos", new CheckBox("Göster Q Pozisyonu"));
            DrawMenu.Add("drawE", new CheckBox("Göster E"));

            UpdateMenu = Menu.AddSubMenu("Last Update Logs", "Updates");
            UpdateMenu.AddLabel("V0.1.7.0");
            UpdateMenu.AddLabel("-Q Prediction UPDATE! Please Change Prediction Settings");
            UpdateMenu.AddLabel("Prediction");
            UpdateMenu.AddLabel("  Algorithm");
            UpdateMenu.AddLabel("    Hitchance = 4");
            UpdateMenu.AddLabel("  Collision");
            UpdateMenu.AddLabel("    Extra Hitbox Radius = 40");

            Game.OnTick         += Game_OnTick;
            Drawing.OnDraw      += Drawing_OnDraw;
            GameObject.OnCreate += GameObject_OnCreate;
            GameObject.OnDelete += GameObject_OnDelete;

            Chat.Print("Perrrrrrrrrfect Addon made by Centilmen50, Cevirmen tradana", System.Drawing.Color.Red);
        }
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (Player.Instance.ChampionName != "Ekko")
            {
                return;
            }


            Bootstrap.Init(null);
            SpellDataInst smite = _Player.Spellbook.Spells.Where(spell => spell.Name.Contains("smite")).Any() ? _Player.Spellbook.Spells.Where(spell => spell.Name.Contains("smite")).First() : null;

            if (smite != null)
            {
                Smite = new Spell.Targeted(smite.Slot, 500);
            }
            Healthpot        = new Item(2003, 0);
            Manapot          = new Item(2004, 0);
            RefillablePotion = new Item(2031, 0);
            HuntersPotion    = new Item(2032, 0);
            CorruptionPotion = new Item(2033, 0);
            uint level = (uint)Player.Instance.Level;

            Q       = new Spell.Skillshot(SpellSlot.Q, 750, SkillShotType.Linear, 250, 2200, 60);
            W       = new Spell.Skillshot(SpellSlot.W, 1620, SkillShotType.Circular, 500, 1000, 500);
            E       = new Spell.Skillshot(SpellSlot.E, 400, SkillShotType.Linear, 250, int.MaxValue, 1);
            R       = new Spell.Active(SpellSlot.R, 400);
            EkkoUlt = ObjectManager.Get <Obj_GeneralParticleEmitter>().FirstOrDefault(x => x.Name.Equals("Ekko_Base_R_TrailEnd.troy"));

            Menu = MainMenu.AddMenu("Time Breaker Ekko", "ekko");

            ComboMenu = Menu.AddSubMenu("Kombo Ayarları", "ComboSettings");
            ComboMenu.AddLabel("Kombo Ayarları");
            ComboMenu.Add("QCombo", new CheckBox("Kullan Q"));
            ComboMenu.Add("WCombo", new CheckBox("Kullan W"));
            ComboMenu.Add("ECombo", new CheckBox("Kullan E"));
            ComboMenu.AddLabel("R Ayarları");
            ComboMenu.Add("SafeR", new CheckBox("Öleceksem R Kullan"));
            ComboMenu.Add("SafeRHP", new Slider("Can < %", 10, 1, 50));
            ComboMenu.Add("AutoR", new CheckBox("Otomatik R için Düşman Sayısı", false));
            ComboMenu.Add("AutoRCount", new Slider("Düşman Sayısı >=", 3, 1, 5));
            ComboMenu.Add("BaseR", new CheckBox("Laneden Üsse dön", false));

            HarassMenu = Menu.AddSubMenu("Dürtme Ayarları", "HarassSettings");
            HarassMenu.Add("QHarass", new CheckBox("Kullan Q"));
            HarassMenu.Add("QHarassMana", new Slider("Manam > %", 45, 0, 100));
            HarassMenu.Add("WHarass", new CheckBox("Kullan W"));
            HarassMenu.Add("WHarassMana", new Slider("Manam > %", 45, 0, 100));
            HarassMenu.Add("EHarass", new CheckBox("Kullan E"));
            HarassMenu.Add("EHarassMana", new Slider("Manam > %", 45, 0, 100));

            FarmingMenu = Menu.AddSubMenu("LaneTemizleme", "FarmSettings");
            FarmingMenu.AddLabel("LaneTemizleme Ayarları");
            FarmingMenu.Add("QLaneClear", new CheckBox("Kullan Q"));
            FarmingMenu.Add("QlaneclearMana", new Slider("Mana > %", 45, 0, 100));
            FarmingMenu.Add("WLaneClear", new CheckBox("Kullan W", false));
            FarmingMenu.Add("WlaneclearMana", new Slider("Manam > %", 35, 0, 100));
            FarmingMenu.Add("ELaneClear", new CheckBox("E Kullan"));
            FarmingMenu.Add("ElaneclearMana", new Slider("Manam > %", 60, 0, 100));

            FarmingMenu.AddLabel("Orman Temizleme Ayarları");
            FarmingMenu.Add("QJungleClear", new CheckBox("Q Kullan"));
            FarmingMenu.Add("QJungleClearMana", new Slider("Manam > %", 30, 0, 100));
            FarmingMenu.Add("WJungleClear", new CheckBox("W Kullan"));
            FarmingMenu.Add("WJungleClearMana", new Slider("Manam > %", 30, 0, 100));
            FarmingMenu.Add("EJungleClear", new CheckBox("E Kullan"));
            FarmingMenu.Add("EJungleClearMana", new Slider("Manam > %", 30, 0, 100));

            FarmingMenu.AddLabel("Son Vuruş Ayarları");
            FarmingMenu.Add("Qlasthit", new CheckBox("Q Kullan"));
            FarmingMenu.Add("QlasthitMana", new Slider("Mana > %", 35, 0, 100));

            Skin = Menu.AddSubMenu("Skin Değiştirici", "SkinChanger");
            Skin.Add("checkSkin", new CheckBox("Aktif"));
            Skin.Add("skin.Id", new Slider("SkinNumarası", 1, 0, 2));

            SetSmiteSlot();
            if (SmiteSlot != SpellSlot.Unknown)
            {
                SmiteMenu = Menu.AddSubMenu("Çarp Kullanımı", "SmiteUsage");
                SmiteMenu.Add("SmiteEnemy", new CheckBox("Düşmana kombo yaparken Kullan!"));
                SmiteMenu.AddLabel("Çarp Kullan");
                SmiteMenu.Add("Use Smite?", new CheckBox("Çarp Kullan"));
                SmiteMenu.Add("Red?", new CheckBox("Kırmızı"));
                SmiteMenu.Add("Blue?", new CheckBox("Mavi"));
                SmiteMenu.Add("Dragon?", new CheckBox("Ejder"));
                SmiteMenu.Add("Baron?", new CheckBox("Baron"));
            }

            MiscMenu = Menu.AddSubMenu("Ek Ayarlar", "Misc");
            MiscMenu.AddLabel("Otomatik");
            MiscMenu.Add("Auto Ignite", new CheckBox("Otomatik Tutuştur"));
            MiscMenu.Add("FleeE", new CheckBox("Kaçarken E Kullan"));
            MiscMenu.Add("autoW", new CheckBox("W için düşman say"));
            MiscMenu.Add("autoWCount", new Slider("Düşman Sayısı ", 3, 1, 5));
            MiscMenu.Add("autoWStunned", new CheckBox("Otomatik W ile stunla"));
            MiscMenu.Add("Interrupter", new CheckBox("Interrupt da  W Kullan"));
            MiscMenu.Add("Gapcloser", new CheckBox("Gapclose da Q-W Kullan"));

            MiscMenu.AddLabel("Kill Çalma");
            MiscMenu.Add("Qkill", new CheckBox("Kill Çalmada Q Kullan"));
            MiscMenu.Add("Ekill", new CheckBox("Kill Çalmada E Kullan"));
            MiscMenu.Add("Rkill", new CheckBox("Kill Çalmada R Kullan"));

            MiscMenu.AddLabel("Akti Edici");
            MiscMenu.Add("useHP", new CheckBox("Can İksiri Aktif"));
            MiscMenu.Add("useHPV", new Slider("Canım < %", 45, 0, 100));
            MiscMenu.Add("useMana", new CheckBox("Mana İksiri Aktif"));
            MiscMenu.Add("useManaV", new Slider("Manam < %", 45, 0, 100));
            MiscMenu.Add("useCrystal", new CheckBox("Tüketilebilir İksirler"));
            MiscMenu.Add("useCrystalHPV", new Slider("Canım < %", 65, 0, 100));
            MiscMenu.Add("useCrystalManaV", new Slider("Manam < %", 65, 0, 100));

            DrawMenu = Menu.AddSubMenu("Gösterge Ayarları", "Drawings");
            DrawMenu.Add("drawQ", new CheckBox("Göster Q Menzili"));
            DrawMenu.Add("drawW", new CheckBox("Göster W Menzili"));
            DrawMenu.Add("drawE", new CheckBox("Göster E Menzili"));
            DrawMenu.Add("drawR", new CheckBox("Göster R Menzili"));

            Game.OnTick                    += Game_OnTick;
            Drawing.OnDraw                 += Drawing_OnDraw;
            GameObject.OnCreate            += GameObject_OnCreate;
            GameObject.OnDelete            += GameObject_OnDelete;
            Dash.OnDash                    += Unit_OnDash;
            Obj_AI_Base.OnProcessSpellCast += Obj_AI_Base_OnProcessSpellCast;
            Gapcloser.OnGapcloser          += Gapcloser_OnGapCloser;

            Chat.Print("Time Breaker Ekko", System.Drawing.Color.ForestGreen);
            Chat.Print("v0.0.0.1", System.Drawing.Color.AliceBlue);
            Chat.Print("centilmen50", System.Drawing.Color.Red);
        }
Example #8
0
        private static void Game_OnGameLoad(EventArgs args)
        {
            if (ObjectManager.Player.BaseSkinName != "Nautilus")
            {
                return;
            }
            foreach (var hero in ObjectManager.Get <AIHeroClient>())
            {
                if (hero.IsEnemy)
                {
                    Enemies.Add(hero);
                }
                if (hero.IsAlly)
                {
                    Allies.Add(hero);
                }
            }



            Q = new Spell.Skillshot(SpellSlot.Q, 1100, SkillShotType.Linear, (int)0.5f, (int?)1900f, 90);
            Q.AllowedCollisionCount = 0;
            W = new Spell.Active(SpellSlot.W);
            E = new Spell.Active(SpellSlot.E, 300);
            R = new Spell.Targeted(SpellSlot.R, (uint)ObjectManager.Player.Spellbook.GetSpell(SpellSlot.R).SData.CastRange);

            nautmenu = MainMenu.AddMenu("Nautilus", "Nautilus");
            nautmenu.AddGroupLabel("Nautilus!");
            PredictionMenu = nautmenu.AddSubMenu("Prediction", "prediction");
            StringList(PredictionMenu, "Qpred", "Q Prediction", new[] { "Low", "Medium", "High", "Very High" }, 3);

            ComboMenu = nautmenu.AddSubMenu("Combo");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.Add("ts", new CheckBox("Use EB TargetSelector"));
            ComboMenu.Add("ts1", new CheckBox("Only one target", false));
            ComboMenu.Add("minGrab", new Slider("Min range grab", 250, 125, (int)Q.Range));
            ComboMenu.Add("maxGrab", new Slider("Max range grab", (int)Q.Range, 125, (int)Q.Range));
            ComboMenu.AddLabel("Grab:");
            foreach (var enemy in ObjectManager.Get <AIHeroClient>().Where(enemy => enemy.Team != Player.Team))
            {
                ComboMenu.Add("grab" + enemy.ChampionName, new CheckBox(enemy.ChampionName));
            }
            ComboMenu.AddSeparator();
            ComboMenu.Add("useW", new CheckBox("Use W"));
            ComboMenu.Add("useE", new CheckBox("Use E"));
            ComboMenu.Add("useR", new CheckBox("Use R"));
            ComboMenu.AddGroupLabel("Don't Use Ult On: Enemy");
            foreach (var enemy in ObjectManager.Get <AIHeroClient>())
            {
                CheckBox cb = new CheckBox(enemy.BaseSkinName)
                {
                    CurrentValue = false
                };
                if (enemy.Team != ObjectManager.Player.Team)
                {
                    ComboMenu.Add("DontUltenemy" + enemy.BaseSkinName, cb);
                }
            }

            KSMenu = nautmenu.AddSubMenu("KS");
            KSMenu.AddGroupLabel("KS Settings");
            KSMenu.Add("ksQ", new CheckBox("Use Q"));
            KSMenu.Add("ksE", new CheckBox("Use E"));

            LaneMenu = nautmenu.AddSubMenu("LaneCLear");
            LaneMenu.AddGroupLabel("LaneCLear Settings");
            LaneMenu.Add("UseWlc", new CheckBox("Use W"));
            LaneMenu.Add("UseElc", new CheckBox("Use E"));
            LaneMenu.AddSeparator();
            LaneMenu.Add("lccount", new Slider("Min minions for E", 3, 1, 5));
            LaneMenu.Add("lanem", new Slider("Minimum mana %", 20, 0, 100));

            JungleMenu = nautmenu.AddSubMenu("Jungleclear");
            JungleMenu.AddGroupLabel("Jungleclear Settings");
            JungleMenu.Add("UseQjg", new CheckBox("Use Q"));
            JungleMenu.Add("UseWjg", new CheckBox("Use W"));
            JungleMenu.Add("UseEjg", new CheckBox("Use E"));
            JungleMenu.Add("jgMana", new Slider("Minimum mana %", 20, 0, 100));
            JungleMenu.AddSeparator();

            SmiteMenu = nautmenu.AddSubMenu("Smite", "Smite");
            SmiteMenu.AddSeparator();
            SmiteMenu.Add("smiteActive",
                          new KeyBind("Smite Active (toggle)", true, KeyBind.BindTypes.PressToggle, 'H'));
            SmiteMenu.AddSeparator();
            SmiteMenu.Add("useSlowSmite", new CheckBox("KS with Blue Smite"));
            SmiteMenu.Add("comboWithDuelSmite", new CheckBox("Combo with Red Smite"));
            SmiteMenu.AddSeparator();
            SmiteMenu.AddGroupLabel("Camps");
            SmiteMenu.AddLabel("Epics");
            SmiteMenu.Add("SRU_Baron", new CheckBox("Baron"));
            SmiteMenu.Add("SRU_Dragon", new CheckBox("Dragon"));
            SmiteMenu.AddLabel("Buffs");
            SmiteMenu.Add("SRU_Blue", new CheckBox("Blue"));
            SmiteMenu.Add("SRU_Red", new CheckBox("Red"));
            SmiteMenu.AddLabel("Small Camps");
            SmiteMenu.Add("SRU_Gromp", new CheckBox("Gromp", false));
            SmiteMenu.Add("SRU_Murkwolf", new CheckBox("Murkwolf", false));
            SmiteMenu.Add("SRU_Krug", new CheckBox("Krug", false));
            SmiteMenu.Add("SRU_Razorbeak", new CheckBox("Razerbeak", false));
            SmiteMenu.Add("Sru_Crab", new CheckBox("Skuttles", false));

            FleeMenu = nautmenu.AddSubMenu("Flee");
            FleeMenu.AddGroupLabel("Flee Settings");
            FleeMenu.Add("fleeuseQ", new CheckBox("Use Q"));
            FleeMenu.Add("fleeuseW", new CheckBox("Use W"));

            MiscMenu = nautmenu.AddSubMenu("Misc");
            MiscMenu.AddGroupLabel("Misc Settings");
            MiscMenu.Add("antiG", new CheckBox("Use E - Antigapcloser"));
            MiscMenu.Add("interruptq", new CheckBox("Use Q - interrupter"));
            MiscMenu.Add("interruptr", new CheckBox("Use R - interrupter"));


            DrawMenu = nautmenu.AddSubMenu("Draw");
            DrawMenu.AddGroupLabel("Draw Settings");
            DrawMenu.Add("drawq", new CheckBox("Draw Q"));
            DrawMenu.Add("drawe", new CheckBox("Draw E"));
            DrawMenu.Add("drawr", new CheckBox("Draw R"));

            Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell;
            Game.OnUpdate         += Game_OnUpdate;
            Gapcloser.OnGapcloser += Gapcloser_OnGapcloser;
            Drawing.OnDraw        += Drawing_OnDraw;
            Game.OnUpdate         += SmiteEvent;
        }
Example #9
0
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (Player.Instance.ChampionName != "Ekko")
            {
                return;
            }


            Bootstrap.Init(null);
            SpellDataInst smite = _Player.Spellbook.Spells.Where(spell => spell.Name.Contains("smite")).Any() ? _Player.Spellbook.Spells.Where(spell => spell.Name.Contains("smite")).First() : null;

            if (smite != null)
            {
                Smite = new Spell.Targeted(smite.Slot, 500);
            }
            Healthpot        = new Item(2003, 0);
            Manapot          = new Item(2004, 0);
            RefillablePotion = new Item(2031, 0);
            HuntersPotion    = new Item(2032, 0);
            CorruptionPotion = new Item(2033, 0);
            uint level = (uint)Player.Instance.Level;

            Q       = new Spell.Skillshot(SpellSlot.Q, 750, SkillShotType.Linear, 250, 2200, 60);
            W       = new Spell.Skillshot(SpellSlot.W, 1620, SkillShotType.Circular, 500, 1000, 500);
            E       = new Spell.Skillshot(SpellSlot.E, 400, SkillShotType.Linear, 250, int.MaxValue, 1);
            R       = new Spell.Active(SpellSlot.R, 400);
            EkkoUlt = ObjectManager.Get <Obj_GeneralParticleEmitter>().FirstOrDefault(x => x.Name.Equals("Ekko_Base_R_TrailEnd.troy"));

            Menu = MainMenu.AddMenu("Time Breaker Ekko", "ekko");

            ComboMenu = Menu.AddSubMenu("Combo Settings", "ComboSettings");
            ComboMenu.AddLabel("Combo Settings");
            ComboMenu.Add("QCombo", new CheckBox("Use Q"));
            ComboMenu.Add("WCombo", new CheckBox("Use W"));
            ComboMenu.Add("ECombo", new CheckBox("Use E"));
            ComboMenu.AddLabel("R Settings");
            ComboMenu.Add("SafeR", new CheckBox("Auto R is Dying"));
            ComboMenu.Add("SafeRHP", new Slider("HP < %", 10, 1, 50));
            ComboMenu.Add("AutoR", new CheckBox("Auto R in Enemy Count", false));
            ComboMenu.Add("AutoRCount", new Slider("Enemy Count >=", 3, 1, 5));
            ComboMenu.Add("BaseR", new CheckBox("Base to Lane", false));

            HarassMenu = Menu.AddSubMenu("Harass Settings", "HarassSettings");
            HarassMenu.Add("QHarass", new CheckBox("Use Q"));
            HarassMenu.Add("QHarassMana", new Slider("Mana > %", 45, 0, 100));
            HarassMenu.Add("WHarass", new CheckBox("Use W"));
            HarassMenu.Add("WHarassMana", new Slider("Mana > %", 45, 0, 100));
            HarassMenu.Add("EHarass", new CheckBox("Use E"));
            HarassMenu.Add("EHarassMana", new Slider("Mana > %", 45, 0, 100));

            FarmingMenu = Menu.AddSubMenu("Lane Clear", "FarmSettings");
            FarmingMenu.AddLabel("Lane Clear");
            FarmingMenu.Add("QLaneClear", new CheckBox("Use Q LaneClear"));
            FarmingMenu.Add("QlaneclearMana", new Slider("Mana > %", 45, 0, 100));
            FarmingMenu.Add("WLaneClear", new CheckBox("Use W LaneClear", false));
            FarmingMenu.Add("WlaneclearMana", new Slider("Mana > %", 35, 0, 100));
            FarmingMenu.Add("ELaneClear", new CheckBox("Use E LaneClear"));
            FarmingMenu.Add("ElaneclearMana", new Slider("Mana > %", 60, 0, 100));

            FarmingMenu.AddLabel("Jungle Clear");
            FarmingMenu.Add("QJungleClear", new CheckBox("Use Q in Jungle"));
            FarmingMenu.Add("QJungleClearMana", new Slider("Mana > %", 30, 0, 100));
            FarmingMenu.Add("WJungleClear", new CheckBox("Use W in Jungle"));
            FarmingMenu.Add("WJungleClearMana", new Slider("Mana > %", 30, 0, 100));
            FarmingMenu.Add("EJungleClear", new CheckBox("Use E in Jungle"));
            FarmingMenu.Add("EJungleClearMana", new Slider("Mana > %", 30, 0, 100));

            FarmingMenu.AddLabel("Last Hit Settings");
            FarmingMenu.Add("Qlasthit", new CheckBox("Use Q LastHit"));
            FarmingMenu.Add("QlasthitMana", new Slider("Mana > %", 35, 0, 100));

            Skin = Menu.AddSubMenu("Skin Changer", "SkinChanger");
            Skin.Add("checkSkin", new CheckBox("Use Skin Changer"));
            Skin.Add("skin.Id", new Slider("Skin", 1, 0, 2));

            SetSmiteSlot();
            if (SmiteSlot != SpellSlot.Unknown)
            {
                SmiteMenu = Menu.AddSubMenu("Smite Usage", "SmiteUsage");
                SmiteMenu.Add("SmiteEnemy", new CheckBox("Use Smite Combo for Enemy!"));
                SmiteMenu.AddLabel("Smite Usage");
                SmiteMenu.Add("Use Smite?", new CheckBox("Use Smite"));
                SmiteMenu.Add("Red?", new CheckBox("Red"));
                SmiteMenu.Add("Blue?", new CheckBox("Blue"));
                SmiteMenu.Add("Dragon?", new CheckBox("Dragon"));
                SmiteMenu.Add("Baron?", new CheckBox("Baron"));
            }

            MiscMenu = Menu.AddSubMenu("More Settings", "Misc");
            MiscMenu.AddLabel("Auto");
            MiscMenu.Add("Auto Ignite", new CheckBox("Auto Ignite"));
            MiscMenu.Add("FleeE", new CheckBox("Use E to Flee/Escape"));
            MiscMenu.Add("autoW", new CheckBox("Auto W in Enemy Count"));
            MiscMenu.Add("autoWCount", new Slider("Enemy Count ", 3, 1, 5));
            MiscMenu.Add("autoWStunned", new CheckBox("Auto W Stunned Enemy"));
            MiscMenu.Add("Interrupter", new CheckBox("Interrupt Spells With W"));
            MiscMenu.Add("Gapcloser", new CheckBox("Gapclose Spells With Q,W"));

            MiscMenu.AddLabel("KillSteal");
            MiscMenu.Add("Qkill", new CheckBox("Use Q KillSteal"));
            MiscMenu.Add("Ekill", new CheckBox("Use E KillSteal"));
            MiscMenu.Add("Rkill", new CheckBox("Use R KillSteal"));

            MiscMenu.AddLabel("Activator");
            MiscMenu.Add("useHP", new CheckBox("Use Health Potion"));
            MiscMenu.Add("useHPV", new Slider("HP < %", 45, 0, 100));
            MiscMenu.Add("useMana", new CheckBox("Use Mana Potion"));
            MiscMenu.Add("useManaV", new Slider("Mana < %", 45, 0, 100));
            MiscMenu.Add("useCrystal", new CheckBox("Use Refillable Potions"));
            MiscMenu.Add("useCrystalHPV", new Slider("HP < %", 65, 0, 100));
            MiscMenu.Add("useCrystalManaV", new Slider("Mana < %", 65, 0, 100));

            DrawMenu = Menu.AddSubMenu("Draw Settings", "Drawings");
            DrawMenu.Add("drawQ", new CheckBox("Draw Q Range"));
            DrawMenu.Add("drawW", new CheckBox("Draw W Range"));
            DrawMenu.Add("drawE", new CheckBox("Draw E Range"));
            DrawMenu.Add("drawR", new CheckBox("Draw R Range"));

            Game.OnTick                    += Game_OnTick;
            Drawing.OnDraw                 += Drawing_OnDraw;
            GameObject.OnCreate            += GameObject_OnCreate;
            GameObject.OnDelete            += GameObject_OnDelete;
            Dash.OnDash                    += Unit_OnDash;
            Obj_AI_Base.OnProcessSpellCast += Obj_AI_Base_OnProcessSpellCast;
            Gapcloser.OnGapcloser          += Gapcloser_OnGapCloser;

            Chat.Print("Time Breaker Ekko", System.Drawing.Color.ForestGreen);
            Chat.Print("v0.0.0.1", System.Drawing.Color.AliceBlue);
            Chat.Print("centilmen50", System.Drawing.Color.Red);
        }
Example #10
0
        private static void Loading_OnComplete(EventArgs args)
        {
            if (Jax.Hero != Champion.Jax)
            {
                return;
            }
            Chat.Print("[Addon] [Champion] [Jax]", System.Drawing.Color.AliceBlue);

            Bootstrap.Init(null);
            SpellDataInst smite = _Player.Spellbook.Spells.Where(spell => spell.Name.Contains("smite")).Any() ? _Player.Spellbook.Spells.Where(spell => spell.Name.Contains("smite")).First() : null;

            if (smite != null)
            {
                Smite = new Spell.Targeted(smite.Slot, 500);
            }
            Healthpot        = new Item(2003, 0);
            Manapot          = new Item(2004, 0);
            RefillablePotion = new Item(2031, 0);
            HuntersPotion    = new Item(2032, 0);
            CorruptionPotion = new Item(2033, 0);
            uint level = (uint)Player.Instance.Level;

            Q = new Spell.Targeted(SpellSlot.Q, 700);
            W = new Spell.Active(SpellSlot.W);
            E = new Spell.Active(SpellSlot.E, 187);
            R = new Spell.Active(SpellSlot.R);

            Menu = MainMenu.AddMenu("Jax", "Jax");

            ComboMenu = Menu.AddSubMenu("Combo Settings", "ComboSettings");
            ComboMenu.AddLabel("Combo Settings");
            ComboMenu.Add("QCombo", new CheckBox("Use Q"));
            ComboMenu.Add("WCombo", new CheckBox("Use W"));
            ComboMenu.Add("ECombo", new CheckBox("Use E"));
            ComboMenu.Add("RCombo", new CheckBox("Use R"));
            ComboMenu.Add("useTiamat", new CheckBox("Use Items"));

            HarassMenu = Menu.AddSubMenu("Harass Settings", "HarassSettings");
            HarassMenu.AddLabel("Harass Settings");
            HarassMenu.Add("QHarass", new CheckBox("Use Q"));
            HarassMenu.Add("WHarass", new CheckBox("Use W"));
            HarassMenu.Add("EHarass", new CheckBox("Use E"));

            FarmingMenu = Menu.AddSubMenu("Lane Clear", "FarmSettings");

            FarmingMenu.AddLabel("Lane Clear");
            FarmingMenu.Add("QLaneClear", new CheckBox("Use Q LaneClear"));
            FarmingMenu.Add("QlaneclearMana", new Slider("Mana < %", 45, 0, 100));
            FarmingMenu.Add("WLaneClear", new CheckBox("Use W LaneClear"));
            FarmingMenu.Add("WlaneclearMana", new Slider("Mana < %", 35, 0, 100));
            FarmingMenu.Add("ELaneClear", new CheckBox("Use E LaneClear"));
            FarmingMenu.Add("ElaneclearMana", new Slider("Mana < %", 60, 0, 100));

            FarmingMenu.AddLabel("Jungle Clear");
            FarmingMenu.Add("QJungleClear", new CheckBox("Use Q in Jungle"));
            FarmingMenu.Add("QJungleClearMana", new Slider("Mana < %", 60, 0, 100));
            FarmingMenu.Add("WJungleClear", new CheckBox("Use W in Jungle"));
            FarmingMenu.Add("WJungleClearMana", new Slider("Mana < %", 30, 0, 100));
            FarmingMenu.Add("EJungleClear", new CheckBox("Use E in Jungle"));
            FarmingMenu.Add("EJungleClearMana", new Slider("Mana < %", 30, 0, 100));

            FarmingMenu.AddLabel("Last Hit Settings");
            FarmingMenu.Add("Qlasthit", new CheckBox("Use Q LastHit"));
            FarmingMenu.Add("Wlasthit", new CheckBox("Use W LastHit"));
            FarmingMenu.Add("QlasthitMana", new Slider("Mana < %", 35, 0, 100));


            SetSmiteSlot();
            if (SmiteSlot != SpellSlot.Unknown)
            {
                SmiteMenu = Menu.AddSubMenu("Smite Usage", "SmiteUsage");
                SmiteMenu.Add("SmiteEnemy", new CheckBox("Use Smite Combo for Enemy!"));
                SmiteMenu.AddLabel("Smite Usage");
                SmiteMenu.Add("Use Smite?", new CheckBox("Use Smite"));
                SmiteMenu.Add("Red?", new CheckBox("Red"));
                SmiteMenu.Add("Blue?", new CheckBox("Blue"));
                SmiteMenu.Add("Dragon?", new CheckBox("Dragon"));
                SmiteMenu.Add("Baron?", new CheckBox("Baron"));
            }


            MiscMenu = Menu.AddSubMenu("More Settings", "Misc");

            MiscMenu.AddLabel("Auto");
            MiscMenu.Add("Auto Ignite", new CheckBox("Auto Ignite"));
            MiscMenu.Add("autoQ", new CheckBox("Use Auto Q to Flee/Escape"));
            MiscMenu.Add("autoE", new CheckBox("Use Auto E"));
            MiscMenu.Add("autoECount", new Slider("Enemy Count ", 3, 1, 5));
            MiscMenu.AddSeparator();
            MiscMenu.AddLabel("Items");
            MiscMenu.AddSeparator();
            MiscMenu.AddLabel("BOTRK,Bilgewater Cutlass Settings");
            MiscMenu.Add("botrkHP", new Slider("My HP < %", 60, 0, 100));
            MiscMenu.Add("botrkenemyHP", new Slider("Enemy HP < %", 60, 0, 100));

            MiscMenu.AddLabel("KillSteal");
            MiscMenu.Add("Qkill", new CheckBox("Use Q KillSteal"));
            MiscMenu.Add("Ekill", new CheckBox("Use E KillSteal"));

            MiscMenu.AddLabel("Activator");
            MiscMenu.Add("useHP", new CheckBox("Use Health Potion"));
            MiscMenu.Add("useHPV", new Slider("HP < %", 45, 0, 100));
            MiscMenu.Add("useMana", new CheckBox("Use Mana Potion"));
            MiscMenu.Add("useManaV", new Slider("Mana < %", 45, 0, 100));
            MiscMenu.Add("useCrystal", new CheckBox("Use Refillable Potions"));
            MiscMenu.Add("useCrystalHPV", new Slider("HP < %", 65, 0, 100));
            MiscMenu.Add("useCrystalManaV", new Slider("Mana < %", 65, 0, 100));

            DrawMenu = Menu.AddSubMenu("Draw Settings", "Drawings");
            DrawMenu.Add("drawAA", new CheckBox("Draw AA Range"));
            DrawMenu.Add("drawQ", new CheckBox("Draw Q Range"));

            Game.OnTick    += Game_OnTick;
            Drawing.OnDraw += Drawing_OnDraw;

            Chat.Print("Perrrrrrrrrfect Addon", System.Drawing.Color.Red);
        }
        private static void Game_OnGameLoad(EventArgs args)
        {
            if (ObjectManager.Player.BaseSkinName != "Nautilus")
            {
                return;
            }
            foreach (var hero in ObjectManager.Get <AIHeroClient>())
            {
                if (hero.IsEnemy)
                {
                    Enemies.Add(hero);
                }
                if (hero.IsAlly)
                {
                    Allies.Add(hero);
                }
            }



            Q = new Spell.Skillshot(SpellSlot.Q, 1100, SkillShotType.Linear, (int)0.5f, (int?)1900f, 90);
            Q.AllowedCollisionCount = 0;
            W = new Spell.Active(SpellSlot.W);
            E = new Spell.Active(SpellSlot.E, 300);
            R = new Spell.Targeted(SpellSlot.R, (uint)ObjectManager.Player.Spellbook.GetSpell(SpellSlot.R).SData.CastRange);

            nautmenu = MainMenu.AddMenu("Nautilus", "Nautilus");
            nautmenu.AddGroupLabel("Nautilus!");
            PredictionMenu = nautmenu.AddSubMenu("Prediction", "prediction");
            StringList(PredictionMenu, "Qpred", "Q Prediction", new[] { "Low", "Medium", "High", "Very High" }, 3);

            ComboMenu = nautmenu.AddSubMenu("Combo");
            ComboMenu.AddGroupLabel("Combo Ayarları");
            ComboMenu.Add("ts", new CheckBox("EB hedef seçici kullan"));
            ComboMenu.Add("ts1", new CheckBox("Sadece 1 hedefe odaklan", false));
            ComboMenu.Add("minGrab", new Slider("Çekmek için en az menzil", 250, 125, (int)Q.Range));
            ComboMenu.Add("maxGrab", new Slider("Çekmek için en fazla menzil", (int)Q.Range, 125, (int)Q.Range));
            ComboMenu.AddLabel("Çekme:");
            foreach (var enemy in ObjectManager.Get <AIHeroClient>().Where(enemy => enemy.Team != Player.Team))
            {
                ComboMenu.Add("grab" + enemy.ChampionName, new CheckBox(enemy.ChampionName));
            }
            ComboMenu.AddSeparator();
            ComboMenu.Add("useW", new CheckBox("Kullan W"));
            ComboMenu.Add("useE", new CheckBox("Kullan E"));
            ComboMenu.Add("useR", new CheckBox("Kullan R"));
            ComboMenu.AddGroupLabel("Ultiyi şu düşmanlara kullanma");
            foreach (var enemy in ObjectManager.Get <AIHeroClient>())
            {
                CheckBox cb = new CheckBox(enemy.BaseSkinName)
                {
                    CurrentValue = false
                };
                if (enemy.Team != ObjectManager.Player.Team)
                {
                    ComboMenu.Add("DontUltenemy" + enemy.BaseSkinName, cb);
                }
            }

            KSMenu = nautmenu.AddSubMenu("KS");
            KSMenu.AddGroupLabel("KS Ayarları");
            KSMenu.Add("ksQ", new CheckBox("Kullan Q"));
            KSMenu.Add("ksE", new CheckBox("Kullan E"));

            LaneMenu = nautmenu.AddSubMenu("LaneCLear");
            LaneMenu.AddGroupLabel("Lanetemizleme Ayarları");
            LaneMenu.Add("UseWlc", new CheckBox("Kullan W"));
            LaneMenu.Add("UseElc", new CheckBox("Kullan E"));
            LaneMenu.AddSeparator();
            LaneMenu.Add("lccount", new Slider("E için en az minyon", 3, 1, 5));
            LaneMenu.Add("lanem", new Slider("Minimum mana %", 20, 0, 100));

            JungleMenu = nautmenu.AddSubMenu("Jungleclear");
            JungleMenu.AddGroupLabel("Ormantemizleme Ayarları");
            JungleMenu.Add("UseQjg", new CheckBox("Kullan Q"));
            JungleMenu.Add("UseWjg", new CheckBox("Kullan W"));
            JungleMenu.Add("UseEjg", new CheckBox("Kullan E"));
            JungleMenu.Add("jgMana", new Slider("en az mana %", 20, 0, 100));
            JungleMenu.AddSeparator();

            SmiteMenu = nautmenu.AddSubMenu("Smite", "Smite");
            SmiteMenu.AddSeparator();
            SmiteMenu.Add("smiteActive",
                          new KeyBind("Çarp Aktif (Tuşu)", true, KeyBind.BindTypes.PressToggle, 'H'));
            SmiteMenu.AddSeparator();
            SmiteMenu.Add("useSlowSmite", new CheckBox("Mavi çarpla canavar çal"));
            SmiteMenu.Add("comboWithDuelSmite", new CheckBox("Kırmızı Çarp Komboda"));
            SmiteMenu.AddSeparator();
            SmiteMenu.AddGroupLabel("Kamplar");
            SmiteMenu.AddLabel("Epics");
            SmiteMenu.Add("SRU_Baron", new CheckBox("Baron"));
            SmiteMenu.Add("SRU_Dragon", new CheckBox("Ejder"));
            SmiteMenu.AddLabel("BUFFLAR");
            SmiteMenu.Add("SRU_Blue", new CheckBox("Mavi"));
            SmiteMenu.Add("SRU_Red", new CheckBox("Kırmızı"));
            SmiteMenu.AddLabel("Küçük Kamplar");
            SmiteMenu.Add("SRU_Gromp", new CheckBox("Kurbağa", false));
            SmiteMenu.Add("SRU_Murkwolf", new CheckBox("Alacakurtlar", false));
            SmiteMenu.Add("SRU_Krug", new CheckBox("Golemler", false));
            SmiteMenu.Add("SRU_Razorbeak", new CheckBox("Sivrigagalar", false));
            SmiteMenu.Add("Sru_Crab", new CheckBox("Yampiriyengeç", false));

            FleeMenu = nautmenu.AddSubMenu("Flee");
            FleeMenu.AddGroupLabel("Flee(kaçma) Ayarları");
            FleeMenu.Add("fleeuseQ", new CheckBox("Kullan Q"));
            FleeMenu.Add("fleeuseW", new CheckBox("Kullan W"));

            MiscMenu = nautmenu.AddSubMenu("Misc");
            MiscMenu.AddGroupLabel("Ek Ayarlar");
            MiscMenu.Add("antiG", new CheckBox("Kullan E - Antigapcloser"));
            MiscMenu.Add("interruptq", new CheckBox("Kullan Q - interrupter"));
            MiscMenu.Add("interruptr", new CheckBox("Kullan R - interrupter"));


            DrawMenu = nautmenu.AddSubMenu("Draw");
            DrawMenu.AddGroupLabel("Gösterge");
            DrawMenu.Add("drawq", new CheckBox("Göster Q"));
            DrawMenu.Add("drawe", new CheckBox("Göster E"));
            DrawMenu.Add("drawr", new CheckBox("Göster R"));

            Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell;
            Game.OnUpdate         += Game_OnUpdate;
            Gapcloser.OnGapcloser += Gapcloser_OnGapcloser;
            Drawing.OnDraw        += Drawing_OnDraw;
            Game.OnUpdate         += SmiteEvent;
        }
Example #12
0
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (Player.Instance.ChampionName != "Hecarim")
            {
                return;
            }


            Bootstrap.Init(null);

            Healthpot        = new Item(2003, 0);
            Manapot          = new Item(2004, 0);
            CrystalFlask     = new Item(2041, 0);
            CorruptingPotion = new Item(2033, 0);
            RefillablePotion = new Item(2031, 0);

            uint level = (uint)Player.Instance.Level;

            Q = new Spell.Active(SpellSlot.Q, 350);
            W = new Spell.Active(SpellSlot.W, 525);
            E = new Spell.Active(SpellSlot.E, 450);
            R = new Spell.Skillshot(SpellSlot.R, 1000, SkillShotType.Linear, 250, 800, 200);

            Menu = MainMenu.AddMenu("Perfect Hecarim", "perfecthecarim");
            Menu.AddLabel("Mükemmel Ass");
            Menu.AddLabel("Çeviri TRAdana-Güncellemede bildiriniz");

            Menu.AddSeparator();


            ComboMenu = Menu.AddSubMenu("Combo Ayarları", "ComboSettings");
            ComboMenu.AddLabel("Combo Ayarları");
            ComboMenu.Add("QCombo", new CheckBox("Kullan Q"));
            ComboMenu.Add("WCombo", new CheckBox("Kullan W"));
            ComboMenu.Add("ECombo", new CheckBox("Kullan E"));
            ComboMenu.Add("RCombo", new CheckBox("Kullan R"));
            ComboMenu.Add("rCount", new Slider("R için say ", 3, 1, 5));
            ComboMenu.Add("useTiamat", new CheckBox("İtemleri Kullan"));

            HarassMenu = Menu.AddSubMenu("Dürtme Ayarları", "HarassSettings");
            HarassMenu.AddLabel("Dürtme Ayarları");
            HarassMenu.Add("QHarass", new CheckBox("Kullan Q"));

            FarmingMenu = Menu.AddSubMenu("LaneTemizleme", "FarmSettings");

            FarmingMenu.AddLabel("LaneTemizleme");
            FarmingMenu.Add("QLaneClear", new CheckBox("LaneTemizlemede Q Kullan"));
            FarmingMenu.Add("QlaneclearMana", new Slider("Manam < %", 45, 0, 100));
            FarmingMenu.Add("WLaneClear", new CheckBox("LaneTemizlemede W Kullan"));
            FarmingMenu.Add("WlaneclearMana", new Slider("Manam < %", 45, 0, 100));

            FarmingMenu.AddLabel("OrmanTemizleme");
            FarmingMenu.Add("Qjungle", new CheckBox("OrmanTemizlemede Q Kullan"));
            FarmingMenu.Add("QjungleMana", new Slider("Manam < %", 45, 0, 100));
            FarmingMenu.Add("Wjungle", new CheckBox("OrmanTemizlemede W Kullan"));
            FarmingMenu.Add("WjungleMana", new Slider("Manam < %", 45, 0, 100));
            FarmingMenu.Add("Ejungle", new CheckBox("OrmanTemizlemede E Kullan"));
            FarmingMenu.Add("EjungleMana", new Slider("Manam < %", 70, 0, 100));

            FarmingMenu.AddLabel("Son Vuruş Ayarları");
            FarmingMenu.Add("Qlasthit", new CheckBox("Son Vuruşta Q Kullan"));
            FarmingMenu.Add("QlasthitMana", new Slider("Mana < %", 45, 0, 100));

            SmiteMenu = Menu.AddSubMenu("Çarp Kullan", "SmiteUsage");
            SmiteMenu.AddLabel("Çarp Kullan");
            SmiteMenu.Add("Use Smite?", new CheckBox("Çarp Kullan"));
            SmiteMenu.Add("Red?", new CheckBox("Kırmızı"));
            SmiteMenu.Add("Blue?", new CheckBox("Mavi"));
            SmiteMenu.Add("Dragon?", new CheckBox("Ejder"));
            SmiteMenu.Add("Baron?", new CheckBox("Baron"));


            MiscMenu = Menu.AddSubMenu("Ek Ayarlar", "Misc");

            MiscMenu.AddLabel("Otomatik");
            MiscMenu.Add("Auto Ignite", new CheckBox("Otomatik Tutuştur"));
            MiscMenu.Add("autoE", new CheckBox("Kaçarken Otomatik E Kullan"));
            MiscMenu.Add("autoR", new CheckBox("Tehlikeli Büyülerde otomatik R kullan"));
            MiscMenu.AddSeparator();
            MiscMenu.AddLabel("İtemler");
            MiscMenu.AddSeparator();
            MiscMenu.AddLabel("Mahvolmuş Kılıç Ayarları");
            MiscMenu.Add("botrkHP", new Slider("Benim canım < %", 60, 0, 100));
            MiscMenu.Add("botrkenemyHP", new Slider("Düşmanın canı < %", 60, 0, 100));

            MiscMenu.AddLabel("Kill Çalma");
            MiscMenu.Add("Qkill", new CheckBox("KillÇalmada Q Kullan"));
            MiscMenu.Add("Ekill", new CheckBox("KillÇalmada E Kullan"));

            MiscMenu.AddLabel("Aktif Edici");
            MiscMenu.Add("useHP", new CheckBox("Can İksiri Kullan"));
            MiscMenu.Add("useHPV", new Slider("Canım < %", 45, 0, 100));
            MiscMenu.Add("useMana", new CheckBox("Mana İksiri Kullan"));
            MiscMenu.Add("useManaV", new Slider("Manam < %", 45, 0, 100));
            MiscMenu.Add("useCrystal", new CheckBox("Bisküvi Kullan"));
            MiscMenu.Add("useCrystalHPV", new Slider("Canım < %", 45, 0, 100));
            MiscMenu.Add("useCrystalManaV", new Slider("Manam < %", 45, 0, 100));

            Skin = Menu.AddSubMenu("Skin Değiştirici", "SkinChange");
            Skin.Add("checkSkin", new CheckBox("Skin Değiştirici Kullan"));
            Skin.Add("skin.Id", new Slider("Skin Numarası", 3, 0, 5));

            DrawMenu = Menu.AddSubMenu("Göster Ayarları", "Drawings");
            DrawMenu.Add("drawAA", new CheckBox("Göster AA Menzili"));
            DrawMenu.Add("drawQ", new CheckBox("Göster Q Menzili"));
            DrawMenu.Add("drawW", new CheckBox("Göster W Menzili"));
            DrawMenu.Add("drawR", new CheckBox("Göster R Menzili"));

            UpdateMenu = Menu.AddSubMenu("Son Güncelleme Kaydı", "Updates");
            UpdateMenu.AddLabel("V0.0.3");
            UpdateMenu.AddLabel("-Orman Temizleme Eklendi!");

            Game.OnTick    += Game_OnTick;
            Drawing.OnDraw += Drawing_OnDraw;
            Game.OnUpdate  += OnGameUpdate;

            Chat.Print("Perrrrrrrrrfect Addon,TRAdana iyi oyunlar diler", System.Drawing.Color.Red);
        }