コード例 #1
0
                static Skins()
                {
                    _useSkin = SkinMenu.Add("useSkin", new CheckBox("Use Skin"));
                    SkinMenu.AddSeparator(10);

                    _skinID = SkinMenu.Add("skinID", new ComboBox("Skin:", 2, "Classic", "Undertaker", "Pentakill"));
                }
コード例 #2
0
ファイル: MenuConfig.cs プロジェクト: sadnecc/CHportcn
 public static void Load()
 {
     SkinMenu = MainMenu.AddSubMenu("换肤", "SkinChanger");
     SkinMenu.Add("Skins", new ComboBox("皮肤", 0, "Default", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10"));
     SkinChanger = SkinMenu["Skins"].Cast <ComboBox>().CurrentValue;
     SkinMenu["Skins"].Cast <ComboBox>().OnValueChange += MenuConfig_OnValueChange;
 }
コード例 #3
0
 public static void Load()
 {
     SkinMenu    = MainMenu.Add(new Menu("SkinChanger", "SkinChanger"));
     UseSkin     = SkinMenu.Add(new MenuBool("UseSkin", "Use SkinChanger"));
     SkinChanger = SkinMenu.Add(new MenuList("Skins", "Skins", new[] { "Default", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15" }));
     MainMenu.Attach();
 }
コード例 #4
0
                static Skins()
                {
                    _useSkin = SkinMenu.Add("useSkin", new CheckBox("Use Skin"));
                    SkinMenu.AddSeparator(10);

                    _skinID = SkinMenu.Add("skinID", new ComboBox("Skin:", 1, "Classic", "Candy Ivern"));
                }
コード例 #5
0
                static Skins()
                {
                    _useSkin = SkinMenu.Add("useSkin", new CheckBox("Skin sec"));
                    SkinMenu.AddSeparator(10);

                    _skinID = SkinMenu.Add("skinID", new ComboBox("Skin:", 1, "Classic", "Purple thing"));
                }
コード例 #6
0
 static Skins()
 {
     SkinMenu.AddGroupLabel("Skins");
     SkinMenu.Add("useSkin", new CheckBox("Use Skin"));
     SkinID = SkinMenu.Add("skinID", new ComboBox("Currently used:", 3, "Classic Lucian", "Hired Gun Lucian", "Striker Lucian", "Chroma Yellow", "Chroma Red"
                                                  , "Chroma Blue", "PROJECT: Lucian"));
     SkinMenu.AddSeparator(10);
 }
コード例 #7
0
        public static void Load()
        {
            // Combo
            ComboMenu = MainMenu.Add(new Menu("ComboMenu", "Combo"));
            ComboW    = ComboMenu.Add(new MenuBool("ComboW", "Use W", true));
            ComboE    = ComboMenu.Add(new MenuBool("ComboE", "Use E", true));
            UseYoumuu = ComboMenu.Add(new MenuBool("UseYoumuu", "Use Youmuu", true));
            UseBotrk  = ComboMenu.Add(new MenuBool("UseBotrk", "Use Blade Of The Ruined King", true));

            // Harass
            HarassMenu = MainMenu.Add(new Menu("HarassMenu", "Harass"));
            HarassW    = HarassMenu.Add(new MenuBool("HarassW", "Use W"));
            HarassE    = HarassMenu.Add(new MenuSliderButton("HarassE", "E At Max E Range", 4, 0, 6, true));

            // Lane
            LaneMenu = MainMenu.Add(new Menu("LaneMenu", "Lane"));
            LaneW    = LaneMenu.Add(new MenuBool("LaneW", "Use W", true));

            // Jungle
            JungleMenu = MainMenu.Add(new Menu("JungleMenu", "Jungle"));
            JungleW    = JungleMenu.Add(new MenuBool("JungleW", "Use W", true));
            JungleE    = JungleMenu.Add(new MenuBool("JungleE", "Use E", true));

            // Misc
            MiscMenu = MainMenu.Add(new Menu("MiscMenu", "Misc"));

            EBeforeDeath = MiscMenu.Add(new MenuBool("EBeforeDeath", "Use E Before Death", true));
            StealEpic    = MiscMenu.Add(new MenuBool("StealEpic", "Steal Herald, Baron & Dragons", true));
            StealRed     = MiscMenu.Add(new MenuBool("StealRed", "Steal Redbuff", true));
            QRecall      = MiscMenu.Add(new MenuKeyBind("QRecall", "Q Recall", Keys.B, KeyBindType.Press));

            // Drawings
            DrawMenu     = MainMenu.Add(new Menu("DrawMenu", "Drawings"));
            DrawDmg      = DrawMenu.Add(new MenuBool("DrawDmg", "Damage Indicator", true));
            DrawTimer    = DrawMenu.Add(new MenuBool("DrawTimer", "Q Timer", true));
            DrawKillable = DrawMenu.Add(new MenuBool("DrawKillable", "Killable By Passive", true));

            // Killsteal
            KillstealMenu   = MainMenu.Add(new Menu("KillstealMenu", "Killsteal"));
            KillstealE      = KillstealMenu.Add(new MenuBool("KillstealE", "Killsecure E", true));
            KillstealIgnite = KillstealMenu.Add(new MenuBool("KillstealIgnite", "Killsecure Ignite", true));

            // Trinket
            TrinketMenu = MainMenu.Add(new Menu("TrinketMenu", "Trinket"));
            BuyTrinket  = TrinketMenu.Add(new MenuBool("BuyTrinket", "Buy Trinket"));
            TrinketList = TrinketMenu.Add(new MenuList <string>("TrinketList", "Choose Trinket", new[] { "Oracle Alternation", "Farsight Alternation" }));

            // Skin
            SkinMenu = MainMenu.Add(new Menu("SkinMenu", "Skinchanger"));
            UseSkin  = SkinMenu.Add(new MenuBool("UseSkin", "Use Skinchanger"));
            SkinList = SkinMenu.Add(new MenuList <string>("Skins", "Skins", new[] { "Default", "Kingping Twitch", "Whistler Village Twitch", "Medieval Twitch", "Gangster Twitch", "Vandal Twitch", "Pickpocket Twitch", "SSW Twitch" }));

            Debug = MainMenu.Add(new MenuBool("Debug", "Debug Mode"));

            MainMenu.Attach();
        }
コード例 #8
0
        private static void Yuklendi(EventArgs args)
        {
            if (Player.Instance.ChampionName != "Ziggs")
            {
                return;
            }
            Bootstrap.Init(null);

            ZiggsMenu = MainMenu.AddMenu("BloodimirZiggs", "bloodimirziggs");
            ZiggsMenu.AddGroupLabel("Bloodimir.Ziggs");
            ZiggsMenu.AddSeparator();
            ZiggsMenu.AddLabel("Bloodimir Ziggs v1.0.0.0");

            ComboMenu = ZiggsMenu.AddSubMenu("Combo", "sbtw");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.AddSeparator();
            ComboMenu.Add("usecomboq", new CheckBox("Use Q"));
            ComboMenu.Add("usecomboe", new CheckBox("Use E"));
            ComboMenu.Add("usecombow", new CheckBox("Use W"));
            ComboMenu.Add("usecombor", new CheckBox("Use R"));
            ComboMenu.AddSeparator();
            ComboMenu.Add("rslider", new Slider("Minimum people for R", 1, 0, 5));

            LaneJungleClear = ZiggsMenu.AddSubMenu("Lane Jungle Clear", "lanejungleclear");
            LaneJungleClear.AddGroupLabel("Lane Jungle Clear Settings");
            LaneJungleClear.Add("LCE", new CheckBox("Use E"));
            LaneJungleClear.Add("LCQ", new CheckBox("Use Q"));


            LastHit = ZiggsMenu.AddSubMenu("Last Hit", "lasthit");
            LastHit.AddGroupLabel("Last Hit Settings");
            LastHit.Add("LHQ", new CheckBox("Use Q"));

            MiscMenu = ZiggsMenu.AddSubMenu("Misc Menu", "miscmenu");
            MiscMenu.AddGroupLabel("KS");
            MiscMenu.AddSeparator();
            MiscMenu.Add("ksq", new CheckBox("KS using Q"));
            MiscMenu.Add("int", new CheckBox("TRY to Interrupt spells"));

            SkinMenu = ZiggsMenu.AddSubMenu("Skin Changer", "skin");
            SkinMenu.AddGroupLabel("Choose the desired skin");

            var skinchange = SkinMenu.Add("sID", new Slider("Skin", 4, 0, 5));
            var sID        = new[] { "Default", "Mad Scientist", "Major", "Pool Party", "Snow Day", "Master Arcanist" };

            skinchange.DisplayName    = sID[skinchange.CurrentValue];
            skinchange.OnValueChange +=
                delegate(ValueBase <int> sender, ValueBase <int> .ValueChangeArgs changeArgs)
            {
                sender.DisplayName = sID[changeArgs.NewValue];
            };
        }
コード例 #9
0
ファイル: MainForm.cs プロジェクト: ZhaoQi99/EasyLife
        private void MainForm_SysBottomClick(object sender, SysButtonEventArgs e)
        {
            Point loc = PointToScreen(e.SysButton.Location);//获得弹出坐标

            loc.Y += e.SysButton.Size.Height + 1;
            if (e.SysButton.Name == "Skin")//皮肤菜单
            {
                SkinMenu.Show(loc);
            }
            else if (e.SysButton.Name == "Settings")//设置菜单
            {
                SettingsMenu.Show(loc);
            }
        }
コード例 #10
0
ファイル: Config.cs プロジェクト: spall9/LAZY
        static Config()
        {
            Menu = MainMenu.AddMenu(MenuName, MenuName.ToLower());

            ComboMenu.Initializer();
            HarassMenu.Initializer();
            LaneClearMenu.Initializer();
            JungleClearMenu.Initializer();
            FleeMenu.Initializer();
            MiscMenu.Initializer();
            //LastHitMenu.Initializer();
            DrawMenu.Initializer();
            SkinMenu.Initializer();
        }
コード例 #11
0
ファイル: Program.cs プロジェクト: pipe01/ModelsBuddy
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            Menu = MainMenu.AddMenu("Addon1", "addon1");
            Menu.AddGroupLabel("Addon1");

            SkinMenu = Menu.AddSubMenu("Skin", "skinChoose");
            SkinMenu.AddGroupLabel("Choose your skin");

            System.Windows.Forms.TrackBar skinIdBar = new System.Windows.Forms.TrackBar();
            skinIdBar.Maximum = 10;
            skinIdBar.Minimum = 0;
            skinIdBar.Value   = Player.Instance.SkinId;
            //SkinMenu.Add("skinIdChooser", skinIdBar);

            ChatRemote.Init();
        }
コード例 #12
0
        //自定义系统按钮事件
        private void FrmMain_SysBottomClick(object sender, CCWin.SkinControl.SysButtonEventArgs e)
        {
            //获得弹出坐标
            Point l = PointToScreen(e.SysButton.Location);

            l.Y += e.SysButton.Size.Height + 1;
            //如果是皮肤菜单
            if (e.SysButton.Name == "ToolSkin")
            {
                SkinMenu.Show(l);
            }
            else if (e.SysButton.Name == "ToolSet")
            {
                //如果是设置菜单
                SkinToolMenu.Show(l);
            }
        }
コード例 #13
0
ファイル: MenuConfig.cs プロジェクト: wade1990/PortAIO
        public static void Load()
        {
            ComboMenu  = MainMenu.Add(new Menu("ComboMenu", "Combo")); // Combo Main Menu
            MantraMode = ComboMenu.Add(new MenuList <string>("MantraMode", "R Prio", new[] { "Q", "W", "E", "Auto" }));
            Mantra     = ComboMenu.Add(new MenuKeyBind("Mantra", "Change Prio Keybind", System.Windows.Forms.Keys.G, KeyBindType.Press));

            HarassMenu = MainMenu.Add(new Menu("HarassMenu", "Harass"));
            HarassR    = HarassMenu.Add(new MenuBool("HarassR", "Use R"));
            HarassQ    = HarassMenu.Add(new MenuSliderButton("HarassQ", "Q Mana", 70, 0, 100, true));
            HarassW    = HarassMenu.Add(new MenuSliderButton("HarassW", "W Mana", 70, 0, 100, true));
            HarassE    = HarassMenu.Add(new MenuSliderButton("HarassE", "E Mana", 70, 0, 100, true));

            LaneMenu = MainMenu.Add(new Menu("LaneMenu", "Lane"));
            LaneR    = LaneMenu.Add(new MenuBool("LaneR", "Use R"));
            LaneQ    = LaneMenu.Add(new MenuSliderButton("LaneQ", "Q Mana", 70, 0, 100, true));
            LaneE    = LaneMenu.Add(new MenuSliderButton("LaneE", "E Mana", 70, 0, 100, true));

            // Items
            ItemsMenu     = MainMenu.Add(new Menu("ItemsMenu", "Items"));
            UseItems      = ItemsMenu.Add(new MenuBool("UseItems", "Use Items"));
            ItemLocket    = ItemsMenu.Add(new MenuBool("ItemLocket", "Locket of the Iron Solari"));
            ItemProtoBelt = ItemsMenu.Add(new MenuBool("ItemProtoBelt", "ProtoBelt"));
            // ItemSeraph = ItemsMenu.Add(new MenuBool("ItemSeraph", "Seraph's Embrace"));
            ItemFrostQueen = ItemsMenu.Add(new MenuBool("ItemFrostQueen", "Frost Queen's Claim"));

            // Draw
            DrawMenu    = MainMenu.Add(new Menu("DrawMenu", "Draw"));
            UseDrawings = DrawMenu.Add(new MenuBool("UseDrawings", "Enable Drawings", true));
            Dind        = DrawMenu.Add(new MenuBool("Dind", "Damage Indicator (Fps Heavy)"));
            QRange      = DrawMenu.Add(new MenuBool("QRange", "Engage Range (Q)", true));
            MantraDraw  = DrawMenu.Add(new MenuBool("MantraDraw", "Draw Selected Prio", true));

            // Skins
            SkinMenu    = MainMenu.Add(new Menu("SkinChanger", "SkinChanger"));
            UseSkin     = SkinMenu.Add(new MenuBool("UseSkin", "Use SkinChanger"));
            SkinChanger = SkinMenu.Add(new MenuList <string>("Skins", "Skins", new[] { "Default", "Sun Godess Karma", "Sakura Karma", "Traditional Karma", "Order Of Lotus Karma", "Warden Karma" }));


            TrinketMenu = MainMenu.Add(new Menu("TrinketMenu", "Trinket"));
            Trinket     = TrinketMenu.Add(new MenuBool("Trinket", "Auto Buy Advanced Trinket"));
            TrinketList = TrinketMenu.Add(new MenuList <string>("TrinketList", "Choose Trinket", new[] { "Oracle Alternation", "Farsight Alternation" }));

            FleeKey = MainMenu.Add(new MenuKeyBind("FleeKey", "Flee", System.Windows.Forms.Keys.A, KeyBindType.Press));

            MainMenu.Attach();
        }
コード例 #14
0
ファイル: MenuConfig.cs プロジェクト: wade1990/PortAIO
        public static void Load()
        {
            ComboMenu         = MainMenu.Add(new LeagueSharp.SDK.UI.Menu("ComboMenu", "Combo"));
            KillStealSummoner = ComboMenu.Add(new MenuBool("KillStealSummoner", "Killsteal Ignite", true));
            TowerCheck        = ComboMenu.Add(new MenuBool("TowerCheck", "No R Under Turret", true));

            LaneMenu = MainMenu.Add(new LeagueSharp.SDK.UI.Menu("LaneMenu", "Lane"));
            LaneQ    = LaneMenu.Add(new MenuBool("LaneQ", "Last Hit Q AA", true));

            DrawMenu   = MainMenu.Add(new LeagueSharp.SDK.UI.Menu("Draw", "Draw"));
            Dind       = DrawMenu.Add(new MenuBool("dind", "Damage Indicator", true));
            EngageDraw = DrawMenu.Add(new MenuBool("EngageDraw", "Draw Engage", true));
            DrawR      = DrawMenu.Add(new MenuBool("DrawR", "Draw R Prediction"));

            SkinMenu    = MainMenu.Add(new LeagueSharp.SDK.UI.Menu("SkinChanger", "SkinChanger"));
            UseSkin     = SkinMenu.Add(new MenuBool("UseSkin", "Use SkinChanger"));
            SkinChanger = SkinMenu.Add(new MenuList <string>("Skins", "Skins", new[] { "Default", "Happy Elf Teemo", "Recon Teemo", "Badger Teemo", "Astronaut Teemo", "Cottontail Teemo", "Super Teemo", "Panda Teemo", "Omega Squad Teemo" }));
            Flee        = MainMenu.Add(new MenuKeyBind("Flee", "Flee", System.Windows.Forms.Keys.A, KeyBindType.Press));

            MainMenu.Attach();
        }
コード例 #15
0
ファイル: Program.cs プロジェクト: Neafle/EloBuddy-1
        private static void OnLoaded(EventArgs args)
        {
            if (Player.Instance.ChampionName != "Renekton")
            {
                return;
            }
            Bootstrap.Init(null);
            Q          = new Spell.Active(SpellSlot.Q, 225);
            W          = new Spell.Active(SpellSlot.W);
            E          = new Spell.Skillshot(SpellSlot.E, 450, SkillShotType.Linear);
            R          = new Spell.Active(SpellSlot.R);
            Tiamat     = new Item((int)ItemId.Tiamat_Melee_Only, 420);
            Hydra      = new Item((int)ItemId.Ravenous_Hydra_Melee_Only, 420);
            Botrk      = new Item(3153, 550f);
            Bilgewater = new Item(3144, 475f);
            Youmuu     = new Item(3142, 10);

            RenekMenu = MainMenu.AddMenu("BloodimiRenekton", "bloodimirrenekton");
            RenekMenu.AddGroupLabel("Bloodimir.enekton");
            RenekMenu.AddSeparator();
            RenekMenu.AddLabel("BloodimiRenekton v1.0.0.");

            ComboMenu = RenekMenu.AddSubMenu("Combo", "sbtw");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.AddSeparator();
            ComboMenu.Add("usecomboq", new CheckBox("Use Q"));
            ComboMenu.Add("usecombow", new CheckBox("Use W"));
            ComboMenu.Add("usecomboe", new CheckBox("Use E"));
            ComboMenu.Add("useitems", new CheckBox("Use Items"));
            ComboMenu.Add("autoult", new CheckBox("Auto Ult"));
            ComboMenu.AddSeparator();
            ComboMenu.Add("rslider", new Slider("Health Percentage to Ult", 31, 0, 100));

            LaneJungleClear = RenekMenu.AddSubMenu("Lane Jungle Clear", "lanejungleclear");
            LaneJungleClear.AddGroupLabel("Lane Jungle Clear Settings");
            LaneJungleClear.Add("LCE", new CheckBox("Use E"));
            LaneJungleClear.Add("LCQ", new CheckBox("Use Q"));
            LaneJungleClear.Add("LCW", new CheckBox("Use W"));
            LaneJungleClear.Add("LCI", new CheckBox("Use Items"));

            DrawMenu = RenekMenu.AddSubMenu("Drawings", "drawings");
            DrawMenu.AddGroupLabel("Drawings");
            DrawMenu.AddSeparator();
            DrawMenu.Add("drawq", new CheckBox("Draw Q"));
            DrawMenu.Add("drawe", new CheckBox("Draw E"));

            LastHit = RenekMenu.AddSubMenu("Last Hit", "lasthit");
            LastHit.AddGroupLabel("Last Hit Settings");
            LastHit.Add("LHQ", new CheckBox("Use Q"));
            LastHit.Add("LHW", new CheckBox("Use W"));
            LastHit.Add("LHI", new CheckBox("Use Items"));

            MiscMenu = RenekMenu.AddSubMenu("Misc Menu", "miscmenu");
            MiscMenu.AddGroupLabel("KS");
            MiscMenu.AddSeparator();
            MiscMenu.Add("ksq", new CheckBox("KS with Q"));
            MiscMenu.AddSeparator();
            MiscMenu.Add("intw", new CheckBox("W to Interrupt"));

            SkinMenu = RenekMenu.AddSubMenu("Skin Changer", "skin");
            SkinMenu.AddGroupLabel("Choose the desired skin");

            var skinchange = SkinMenu.Add("sid", new Slider("Skin", 5, 0, 7));
            var sid        = new[]
            { "Classic", "Galactic", "Outback", "Bloodfury", "Rune Wars", "Scorched Earth", "Pool Party", "Prehistoric" };

            skinchange.DisplayName    = sid[skinchange.CurrentValue];
            skinchange.OnValueChange +=
                delegate(ValueBase <int> sender, ValueBase <int> .ValueChangeArgs changeArgs)
            {
                sender.DisplayName = sid[changeArgs.NewValue];
            };

            Game.OnTick += Tick;
            Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell;
            Drawing.OnDraw         += OnDraw;
            Orbwalker.OnPostAttack += Orbwalker_OnPostAttack;
        }
コード例 #16
0
        public static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (EloBuddy.Player.Instance.Hero != Champion.Varus)
            {
                return;
            }

            Q = new Spell.Chargeable(SpellSlot.Q, 925, 1600, 1250, 0, 1500, 70)
            {
                AllowedCollisionCount = int.MaxValue
            };
            W = new Spell.Active(SpellSlot.W);
            E = new Spell.Skillshot(SpellSlot.E, 925, SkillShotType.Circular, 250, 1750, 250)
            {
                AllowedCollisionCount = int.MaxValue
            };
            R = new Spell.Skillshot(SpellSlot.R, 1200, SkillShotType.Linear, 250, 1200, 120)
            {
                AllowedCollisionCount = int.MaxValue
            };

            var slot = Player.GetSpellSlotFromName("summonerheal");

            if (slot != SpellSlot.Unknown)
            {
                Heal = new Spell.Active(slot, 600);
            }
            Ignite = ObjectManager.Player.GetSpellSlotFromName("summonerdot");

            HealthPotion     = new Item(2003, 0);
            TotalBiscuit     = new Item(2010, 0);
            CorruptingPotion = new Item(2033, 0);
            RefillablePotion = new Item(2031, 0);
            HuntersPotion    = new Item(2032, 0);

            Chat.Print(
                "<font color=\"#580dd9\" >MeLoDag Presents </font><font color=\"#ffffff\" > VarusTheTroll </font><font color=\"#580dd9\" >Kappa Kippo</font>");


            Menu = MainMenu.AddMenu("Varus The Troll", "VarusTheTroll");
            Menu.AddLabel(" Varus The Troll " + Version);
            Menu.AddLabel(" Made by MeLoDag");

            ComboMenu = Menu.AddSubMenu("Combo Settings", "Combo");
            ComboMenu.AddGroupLabel("Q Ayarları");
            ComboMenu.Add("useQComboAlways", new CheckBox("Her zaman Q kullan"));
            ComboMenu.Add("useQCombo", new CheckBox("Q için yük say", false));
            ComboMenu.Add("StackCount", new Slider("Q yükü >= ", 3, 1, 3));
            ComboMenu.AddLabel("E Ayarları");
            ComboMenu.Add("useEComboAlways", new CheckBox("Use E"));
            ComboMenu.AddLabel("R Ayarları");
            ComboMenu.Add("useRCombo", new CheckBox("Kullan R"));
            ComboMenu.Add("Rcount", new Slider("R için gereken düşman >= ", 1, 1, 5));
            ComboMenu.Add("UseRcomboHP", new CheckBox("R yi düşmanın canına göre kullan"));
            ComboMenu.Add("RHP", new Slider("R kullanmak için gereken düşman canı >= ", 50));
            ComboMenu.AddSeparator();
            ComboMenu.AddGroupLabel("Kombo özellikleri:");
            ComboMenu.Add("useWComboFocus", new CheckBox("W hedefe odakla"));
            ComboMenu.Add("ForceR",
                          new KeyBind("Force R On Target Selector", false, KeyBind.BindTypes.HoldActive, "T".ToCharArray()[0]));
            ComboMenu.Add("combo.ignite", new CheckBox("Tutuştur kullan hedef ölecekse"));

            HarassMenu = Menu.AddSubMenu("Harass Settings", "Harass");
            HarassMenu.Add("useQHarass", new CheckBox("Kullan Q"));
            HarassMenu.Add("useEHarass", new CheckBox("Kullan E"));
            HarassMenu.Add("useEHarassMana", new Slider("E Mana > %", 70));
            HarassMenu.Add("useQHarassMana", new Slider("Q Mana > %", 70));

            JungleLaneMenu = Menu.AddSubMenu("Lane Clear Settings", "FarmSettings");
            JungleLaneMenu.AddLabel("Lane Temizleme");
            JungleLaneMenu.Add("useQFarm", new CheckBox("Kullan Q"));
            JungleLaneMenu.Add("useEFarm", new CheckBox("Kullan E"));
            JungleLaneMenu.Add("LaneMana", new Slider("Mana > %", 70));
            JungleLaneMenu.AddSeparator();
            JungleLaneMenu.AddLabel("Orman Temizleme");
            JungleLaneMenu.Add("useQJungle", new CheckBox("Kullan Q"));
            JungleLaneMenu.Add("useEJungle", new CheckBox("Kullan E"));
            JungleLaneMenu.Add("JungleMana", new Slider("E Mana > %", 70));

            MiscMenu = Menu.AddSubMenu("Misc Settings", "MiscSettings");
            MiscMenu.AddGroupLabel("Gap Close/Interrupt Ayarları");
            MiscMenu.Add("gapcloser", new CheckBox("Otomatik Q Gapcloser"));
            MiscMenu.Add("interrupter", new CheckBox("Otomatik R Interrupter"));
            MiscMenu.AddLabel("Otomatik büyü kullanma hedefe(CC)");
            MiscMenu.Add("CCQ", new CheckBox("Otomatik hedefe Q (CC)"));
            MiscMenu.AddLabel("Killçalma ayarları");
            MiscMenu.Add("UseQks", new CheckBox("Q ile çal"));
            MiscMenu.Add("UseRKs", new CheckBox("R ile çal"));

            AutoPotHealMenu = Menu.AddSubMenu("Potion & Heal", "Potion & Heal");
            AutoPotHealMenu.AddGroupLabel("Otomatik Pot Kullanımı");
            AutoPotHealMenu.Add("potion", new CheckBox("Kullan İksir"));
            AutoPotHealMenu.Add("potionminHP", new Slider("İksir için Canım şundan az", 40));
            AutoPotHealMenu.Add("potionMinMP", new Slider("İksir için manam şundan az", 20));
            AutoPotHealMenu.AddGroupLabel("Otomatik iyileştirme kullan");
            AutoPotHealMenu.Add("UseHeal", new CheckBox("İyileştirme Kullan"));
            AutoPotHealMenu.Add("useHealHP", new Slider("İyileştirme için benim canım", 20));

            ItemMenu = Menu.AddSubMenu("Item Settings", "ItemMenuettings");
            ItemMenu.Add("useBOTRK", new CheckBox("Kullan Mahvolmuş kılıcı"));
            ItemMenu.Add("useBotrkMyHP", new Slider("Canım < ", 60));
            ItemMenu.Add("useBotrkEnemyHP", new Slider("Düşmanın canı < ", 60));
            ItemMenu.Add("useYoumu", new CheckBox("Kullan Youmu"));
            ItemMenu.AddSeparator();
            ItemMenu.Add("useQSS", new CheckBox("Kullan QSS"));
            ItemMenu.Add("Qssmode", new ComboBox(" ", 0, "Auto", "Combo"));
            ItemMenu.Add("Stun", new CheckBox("Sabitse", true));
            ItemMenu.Add("Blind", new CheckBox("Körse", true));
            ItemMenu.Add("Charm", new CheckBox("Çekiliyorsa(ahri)", true));
            ItemMenu.Add("Suppression", new CheckBox("Durmuşsa", true));
            ItemMenu.Add("Polymorph", new CheckBox("Polymorph", true));
            ItemMenu.Add("Fear", new CheckBox("Korkmuşsa", true));
            ItemMenu.Add("Taunt", new CheckBox("Alay ediliyorsa", true));
            ItemMenu.Add("Silence", new CheckBox("Susturulmuşsa", false));
            ItemMenu.Add("QssDelay", new Slider("QSS gecikmesi(ms)", 250, 0, 1000));


            SkinMenu = Menu.AddSubMenu("Skin Changer", "SkinChanger");
            SkinMenu.Add("checkSkin", new CheckBox("Kostüm hilesi kullan", false));
            SkinMenu.Add("skin.Id", new Slider("Skin", 1, 0, 5));

            DrawMenu = Menu.AddSubMenu("Drawing Settings");
            DrawMenu.Add("drawRange", new CheckBox("Göster Q Menzili"));
            DrawMenu.Add("drawE", new CheckBox("Göster E Menzili"));
            DrawMenu.Add("drawR", new CheckBox("Göster R Menzili"));
            DrawMenu.AddLabel("Hasar Tespitçisi");
            DrawMenu.Add("healthbar", new CheckBox("Can barı gösterimi"));
            DrawMenu.Add("percent", new CheckBox("Hasarı yüzde olarak göster"));


            Game.OnTick                      += Game_OnTick;
            Game.OnUpdate                    += OnGameUpdate;
            Obj_AI_Base.OnBuffGain           += OnBuffGain;
            Gapcloser.OnGapcloser            += Gapcloser_OnGapCloser;
            Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell;
            Drawing.OnDraw                   += Drawing_OnDraw;
            DamageIndicator.Initialize(ComboDamage);
        }
コード例 #17
0
ファイル: Program.cs プロジェクト: spall9/ZERO
        private static void OnLoadingComplete(EventArgs args)

        {
            if (Player.Instance.ChampionName != "Camille")
            {
                return;
            }
            //Spells
            Q = new Spell.Active(SpellSlot.Q, 325);

            W = new Spell.Skillshot(SpellSlot.W, 630, SkillShotType.Cone, 250, 1750, 100, DamageType.Physical);
            { W.ConeAngleDegrees = 45; }
            E = new Spell.Skillshot(SpellSlot.E, 800, SkillShotType.Linear, 250, 500, 50, DamageType.Physical);

            R = new Spell.Targeted(SpellSlot.R, 800);
            //
            SpellList.Add(Q);
            SpellList.Add(W);
            SpellList.Add(E);
            SpellList.Add(R);

            //Items
            bilgewater = new Item(3144, 550);
            botrk      = new Item(3153, 550);
            tiamat     = new Item(3077, 400);
            hydra      = new Item(3074, 400);
            Youmuu     = new Item(3142, 800);
            titanic    = new Item(3748, 0);

            //Potions
            HealthPotion  = new Item(2003, 0);
            Biscuit       = new Item(2010, 0);
            CorruptPotion = new Item(2033, 0);
            RefillPotion  = new Item(2031, 0);
            HuntersPotion = new Item(2032, 0);

            //MainMenu
            CamilleMenu = MainMenu.AddMenu("CamilleZero", "CamilleZero");

            //ComboMenu
            ComboMenu = CamilleMenu.AddSubMenu("Combo");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.Add("Q", new CheckBox("Use Q in Combo"));
            ComboMenu.Add("Q2", new CheckBox("Use Q2 for true DMG"));
            ComboMenu.Add("W", new CheckBox("Use W in Combo"));
            ComboMenu.Add("W2", new CheckBox("Only use outer range W"));
            ComboMenu.Add("E", new CheckBox("Use E in Combo"));
            ComboMenu.Add("R", new CheckBox("Use R in Combo"));
            ComboMenu.AddSeparator();
            ComboMenu.AddLabel("Use R on:");
            foreach (var Enemy in EntityManager.Heroes.Enemies)
            {
                ComboMenu.Add(Enemy.ChampionName, new CheckBox("Use R on " + Enemy.ChampionName));
            }

            //LaneclearMenu
            LaneclearMenu = CamilleMenu.AddSubMenu("Laneclear");
            LaneclearMenu.AddGroupLabel("Laneclear Settings");
            LaneclearMenu.Add("QLC", new CheckBox("Use Q in Laneclear"));
            LaneclearMenu.Add("Q2LC", new CheckBox("Use Q2 in Laneclear"));
            LaneclearMenu.Add("WLC", new CheckBox("Use W in Laneclear"));

            //ItemsMenu
            ItemMenu = CamilleMenu.AddSubMenu("Items");
            ItemMenu.AddGroupLabel("Item Settings");
            ItemMenu.AddGroupLabel("Combo:");
            ItemMenu.Add("bilge", new CheckBox("Use Bilgewater Cutlass in Combo"));
            ItemMenu.Add("youmuu", new CheckBox("Use Youmuu's in Combo"));
            ItemMenu.Add("tia", new CheckBox("Use Tiamat in Combo"));
            ItemMenu.Add("hydra", new CheckBox("Use Hydra in Combo"));
            ItemMenu.Add("titanic", new CheckBox("Use Titanic Hydra in Combo"));
            ItemMenu.Add("botrk", new CheckBox("Use BotrK in Combo"));
            ItemMenu.Add("bork", new Slider("%HP to use BotrK <=", 75, 0, 100));
            ItemMenu.AddSeparator();
            ItemMenu.AddGroupLabel("LaneClear/JungleClear:");
            ItemMenu.Add("tialc", new CheckBox("Use Tiamat in Laneclear/JungleClear"));
            ItemMenu.Add("hydralc", new CheckBox("Use Hydra in Laneclear/JungleClear"));
            ItemMenu.Add("titaniclc", new CheckBox("Use Titanic Hydra in Laneclear/Jungleclear"));
            ItemMenu.AddSeparator(50);
            ItemMenu.Add("potion", new CheckBox("Auto Use Potion"));
            ItemMenu.Add("potionhp", new Slider("Use Auto Potion when %HP <=", 50, 0, 100));

            //DrawMenu
            DrawMenu = CamilleMenu.AddSubMenu("Draw");
            DrawMenu.AddGroupLabel("Draw Settings");
            DrawMenu.Add("DrawW", new CheckBox("Draw W Range"));
            DrawMenu.Add("DrawE", new CheckBox("Draw E Range"));
            DrawMenu.Add("DrawR", new CheckBox("Draw R Range"));

            //SkinchangerMenu
            SkinMenu = CamilleMenu.AddSubMenu("Skinchanger");
            SkinMenu.AddGroupLabel("Skin Settings");
            SkinMenu.Add("SkinEnable", new CheckBox("Enable Skinchanger", false));
            SkinMenu.Add("SkinID", new ComboBox("Skins:", 0, "Classic Camille", "Program Camille"));



            //Chatnotification
            Chat.Print("CamilleZero loaded successfully");

            //Current Skin before choosing any
            CurrentSkin = User.SkinId;

            //Events
            Orbwalker.OnPostAttack += Orbwalker_OnPostAttack;
            Drawing.OnDraw         += Drawing_OnDraw;
            Game.OnTick            += Game_OnTick;
        }
コード例 #18
0
        private static void OnLoaded(EventArgs args)
        {
            if (Player.Instance.ChampionName != "Kennen")
            {
                return;
            }
            Bootstrap.Init(null);
            Q = new Spell.Skillshot(SpellSlot.Q, 1050, SkillShotType.Linear, (int)250f, (int)1700f, (int)50f);
            W = new Spell.Active(SpellSlot.W);
            E = new Spell.Active(SpellSlot.E);
            R = new Spell.Active(SpellSlot.R, 565);

            KennenMenu = MainMenu.AddMenu("BloodimirKennen", "bloodimirkennen");
            KennenMenu.AddGroupLabel("Bloodimir.Kennen");
            KennenMenu.AddSeparator();
            KennenMenu.AddLabel("Bloodimir Kennen V1.0.0.0");

            ComboMenu = KennenMenu.AddSubMenu("Combo", "sbtw");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.AddSeparator();
            ComboMenu.Add("usecomboq", new CheckBox("Use Q"));
            ComboMenu.Add("usecombow", new CheckBox("Use W"));
            ComboMenu.Add("usecomboe", new CheckBox("Use E "));
            ComboMenu.AddSeparator();
            ComboMenu.Add("usecombor", new CheckBox("Use R"));
            ComboMenu.AddSeparator();
            ComboMenu.Add("rslider", new Slider("Minimum people for R", 2, 0, 5));

            DrawMenu = KennenMenu.AddSubMenu("Drawings", "drawings");
            DrawMenu.AddGroupLabel("Drawings");
            DrawMenu.AddSeparator();
            DrawMenu.Add("drawq", new CheckBox("Draw Q"));
            DrawMenu.Add("draww", new CheckBox("Draw W"));

            LaneJungleClear = KennenMenu.AddSubMenu("Lane Jungle Clear", "lanejungleclear");
            LaneJungleClear.AddGroupLabel("Lane Jungle Clear Settings");
            LaneJungleClear.Add("LCW", new CheckBox("Use W"));
            LaneJungleClear.Add("LCQ", new CheckBox("Use Q"));

            LastHit = KennenMenu.AddSubMenu("Last Hit", "lasthit");
            LastHit.AddGroupLabel("Last Hit Settings");
            LastHit.Add("LHQ", new CheckBox("Use Q"));
            LastHit.Add("LHW", new CheckBox("Use W"));

            MiscMenu = KennenMenu.AddSubMenu("Misc Menu", "miscmenu");
            MiscMenu.AddGroupLabel("KS");
            MiscMenu.AddSeparator();
            MiscMenu.Add("ksq", new CheckBox("KS using Q"));
            MiscMenu.Add("ksw", new CheckBox("KS using W"));
            MiscMenu.Add("int", new CheckBox("TRY to Interrupt spells"));

            SkinMenu = KennenMenu.AddSubMenu("Skin Changer", "skin");
            SkinMenu.AddGroupLabel("Choose the desired skin");

            var skinchange = SkinMenu.Add("skinid", new Slider("Skin", 1, 0, 5));
            var skinid     = new[] { "Default", "Deadly", "Swamp Master", "Karate", "Doctor", "Arctic Ops" };

            skinchange.DisplayName    = skinid[skinchange.CurrentValue];
            skinchange.OnValueChange += delegate(ValueBase <int> sender, ValueBase <int> .ValueChangeArgs changeArgs)
            {
                sender.DisplayName = skinid[changeArgs.NewValue];
                if (MiscMenu["debug"].Cast <CheckBox>().CurrentValue)
                {
                    Chat.Print("skin-changed");
                }
            };
            Interrupter.OnInterruptableSpell += Interruptererer;
            Game.OnTick    += Tick;
            Drawing.OnDraw += OnDraw;
        }
コード例 #19
0
ファイル: AsheTheTroll.cs プロジェクト: LXMedia1/Elobuddy-1
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (Player.Instance.Hero != Champion.Ashe)
            {
                return;
            }


            _q = new Spell.Active(SpellSlot.Q);
            _w = new Spell.Skillshot(SpellSlot.W, 1200, SkillShotType.Linear, 0, int.MaxValue, 60);
            _w.AllowedCollisionCount = 0;
            _e = new Spell.Skillshot(SpellSlot.E, 15000, SkillShotType.Linear, 0, int.MaxValue, 0);
            _r = new Spell.Skillshot(SpellSlot.R, 15000, SkillShotType.Linear, 500, 1000, 250);
            _r.AllowedCollisionCount = int.MaxValue;
            var slot = _Player.GetSpellSlotFromName("summonerheal");

            if (slot != SpellSlot.Unknown)
            {
                Heal = new Spell.Active(slot, 600);
            }
            HealthPotion     = new Item(2003, 0);
            TotalBiscuit     = new Item(2010, 0);
            CorruptingPotion = new Item(2033, 0);
            RefillablePotion = new Item(2031, 0);
            HuntersPotion    = new Item(2032, 0);

            Chat.Print(
                "<font color=\"#4dd5ea\" >MeLoDag Presents </font><font color=\"#ffffff\" >AsheTheToLL </font><font color=\"#4dd5ea\" >Kappa Kippo</font>");


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

            ComboMenu = Menu.AddSubMenu("Combo Settings", "Combo");
            ComboMenu.Add("useQCombo", new CheckBox("Use Q"));
            ComboMenu.Add("useWCombo", new CheckBox("Use W"));
            ComboMenu.Add("useRCombo", new CheckBox("Use R [45%hp]"));
            ComboMenu.Add("useRComboENEMIES", new CheckBox("Use R[Count]"));
            ComboMenu.Add("Rcount", new Slider("R when enemies >= ", 1, 1, 5));
            ComboMenu.AddSeparator();
            ComboMenu.Add("useRComboFinisher", new CheckBox("Use R [FinisherMode]"));
            ComboMenu.Add("ForceR",
                          new KeyBind("Force R On Target Selector", false, KeyBind.BindTypes.HoldActive, "T".ToCharArray()[0]));
            ComboMenu.Add("useRComboRange", new Slider("R Max Range ", 1000, 500, 2000));

            HarassMenu = Menu.AddSubMenu("Harass Settings", "Harass");
            HarassMenu.Add("useQHarass", new CheckBox("Use Q"));
            HarassMenu.Add("useWHarass", new CheckBox("Use W"));
            HarassMenu.Add("useWHarassMana", new Slider("W Mana > %", 70, 0, 100));
            HarassMenu.AddLabel("AutoHarass");
            HarassMenu.Add("autoWHarass", new CheckBox("Auto W for Harass", false));
            HarassMenu.Add("autoWHarassMana", new Slider("W Mana > %", 70, 0, 100));

            JungleLaneMenu = Menu.AddSubMenu("Lane Clear Settings", "FarmSettings");
            JungleLaneMenu.AddLabel("Lane Clear");
            JungleLaneMenu.Add("useWFarm", new CheckBox("Use W"));
            JungleLaneMenu.Add("useWManalane", new Slider("W Mana > %", 70, 0, 100));
            JungleLaneMenu.AddSeparator(14);
            JungleLaneMenu.AddLabel("Jungle Clear");
            // JungleLaneMenu.Add("useQJungle", new CheckBox("Use Q"));
            JungleLaneMenu.Add("useWJungle", new CheckBox("Use W"));
            JungleLaneMenu.Add("useWMana", new Slider("W Mana > %", 70, 0, 100));

            MiscMenu = Menu.AddSubMenu("Misc Settings", "MiscSettings");
            MiscMenu.Add("gapcloser", new CheckBox("Auto W for Gapcloser"));
            MiscMenu.Add("interrupter", new CheckBox("Auto R for Interrupter"));
            MiscMenu.Add("CCE", new CheckBox("Auto W on Enemy CC"));
            MiscMenu.Add("UseWks", new CheckBox("Use W ks"));

            AutoPotHealMenu = Menu.AddSubMenu("Potion & HeaL", "Potion & HeaL");
            AutoPotHealMenu.AddGroupLabel("Auto pot usage");
            AutoPotHealMenu.Add("potion", new CheckBox("Use potions"));
            AutoPotHealMenu.Add("potionminHP", new Slider("Minimum Health % to use potion", 70));
            AutoPotHealMenu.Add("potionMinMP", new Slider("Minimum Mana % to use potion", 20));
            AutoPotHealMenu.AddGroupLabel("AUto Heal Usage");
            AutoPotHealMenu.Add("UseHeal", new CheckBox("Use Heal"));
            AutoPotHealMenu.Add("useHealHP", new Slider("Minimum Health % to use Heal", 70));

            ItemMenu = Menu.AddSubMenu("Item Settings", "ItemMenuettings");
            ItemMenu.Add("useBOTRK", new CheckBox("Use BOTRK"));
            ItemMenu.Add("useBotrkMyHP", new Slider("My Health < ", 60, 1, 100));
            ItemMenu.Add("useBotrkEnemyHP", new Slider("Enemy Health < ", 60, 1, 100));
            ItemMenu.Add("useYoumu", new CheckBox("Use Youmu"));
            ItemMenu.AddSeparator();
            ItemMenu.Add("useQSS", new CheckBox("Use QSS"));
            ItemMenu.Add("Qssmode", new ComboBox(" ", 0, "Auto", "Combo"));
            ItemMenu.Add("Stun", new CheckBox("Stun", true));
            ItemMenu.Add("Blind", new CheckBox("Blind", true));
            ItemMenu.Add("Charm", new CheckBox("Charm", true));
            ItemMenu.Add("Suppression", new CheckBox("Suppression", true));
            ItemMenu.Add("Polymorph", new CheckBox("Polymorph", true));
            ItemMenu.Add("Fear", new CheckBox("Fear", true));
            ItemMenu.Add("Taunt", new CheckBox("Taunt", true));
            ItemMenu.Add("Silence", new CheckBox("Silence", false));
            ItemMenu.Add("QssDelay", new Slider("Use QSS Delay(ms)", 250, 0, 1000));
            ItemMenu.AddGroupLabel("Qqs Utly");
            ItemMenu.Add("ZedUlt", new CheckBox("Zed R", true));
            ItemMenu.Add("VladUlt", new CheckBox("Vladimir R", true));
            ItemMenu.Add("FizzUlt", new CheckBox("Fizz R", true));
            ItemMenu.Add("MordUlt", new CheckBox("Mordekaiser R", true));
            ItemMenu.Add("PoppyUlt", new CheckBox("Poppy R", true));
            ItemMenu.Add("QssUltDelay", new Slider("Use QSS Delay(ms) for Ult", 250, 0, 1000));

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

            PrediMenu = Menu.AddSubMenu("Prediction Settings", "_PrediMenuettings");
            var style = PrediMenu.Add("style", new Slider("Min Prediction", 1, 0, 2));

            style.OnValueChange += delegate
            {
                style.DisplayName = "Min Prediction: " + new[] { "Low", "Medium", "High" }[style.CurrentValue];
            };
            style.DisplayName = "Min Prediction: " + new[] { "Low", "Medium", "High" }[style.CurrentValue];

            DrawMenu = Menu.AddSubMenu("Drawing Settings");
            DrawMenu.Add("drawRange", new CheckBox("Draw Q Range"));
            DrawMenu.Add("drawW", new CheckBox("Draw W Range"));
            DrawMenu.Add("drawR", new CheckBox("Draw R Range"));

            Game.OnTick                      += Game_OnTick;
            Game.OnUpdate                    += OnGameUpdate;
            Obj_AI_Base.OnBuffGain           += OnBuffGain;
            Gapcloser.OnGapcloser            += Gapcloser_OnGapCloser;
            Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell;
            Drawing.OnDraw                   += Drawing_OnDraw;
        }
コード例 #20
0
        private static void SetupMenu()
        {
            if (setupDone)
            {
                return;
            }
            setupDone = true;
            MenuController.AddMenu(mainMenu);

            MenuController.EnableMenuToggleKeyOnController = false;
            MenuController.MenuToggleKey = (Control)0;

            //SkinMenu
            MenuController.AddSubmenu(mainMenu, SkinMenu.GetMenu());

            MenuItem subMenuSkinBtn = new MenuItem(GetConfig.Langs["TitleSkinMenu"], GetConfig.Langs["SubTitleSkinMenu"])
            {
                RightIcon = MenuItem.Icon.ARROW_RIGHT
            };

            mainMenu.AddMenuItem(subMenuSkinBtn);
            MenuController.BindMenuItem(mainMenu, SkinMenu.GetMenu(), subMenuSkinBtn);

            //FaceMenu
            MenuController.AddSubmenu(mainMenu, FaceMenu.GetMenu());

            MenuItem subMenuFaceBtn = new MenuItem(GetConfig.Langs["TitleFaceMenu"], GetConfig.Langs["SubTitleFaceMenu"])
            {
                RightIcon = MenuItem.Icon.ARROW_RIGHT
            };

            mainMenu.AddMenuItem(subMenuFaceBtn);
            MenuController.BindMenuItem(mainMenu, FaceMenu.GetMenu(), subMenuFaceBtn);

            //ClothesMenu
            MenuController.AddSubmenu(mainMenu, ClothesMenu.GetMenu());

            MenuItem subMenuClothesBtn = new MenuItem(GetConfig.Langs["TitleClothesMenu"], GetConfig.Langs["SubTitleClothesMenu"])
            {
                RightIcon = MenuItem.Icon.ARROW_RIGHT
            };

            mainMenu.AddMenuItem(subMenuClothesBtn);
            MenuController.BindMenuItem(mainMenu, ClothesMenu.GetMenu(), subMenuClothesBtn);

            List <string> scaleValues = new List <string>();

            foreach (float sc in Utils.SkinsUtils.SCALE_LIST)
            {
                scaleValues.Add(GetConfig.Langs["Scale"] + sc.ToString());
            }

            MenuListItem ScaleBtn = new MenuListItem(GetConfig.Langs["ScaleList"], scaleValues, 4, GetConfig.Langs["ScaleDesc"])
            {
                RightIcon = MenuItem.Icon.STAR
            };

            mainMenu.AddMenuItem(ScaleBtn);

            //Finish Button
            MenuItem FinishBtn = new MenuItem(GetConfig.Langs["FinishBtnMainMenu"], GetConfig.Langs["SubFinishBtnMainMenu"])
            {
                RightIcon = MenuItem.Icon.TICK
            };

            mainMenu.AddMenuItem(FinishBtn);

            //Events
            mainMenu.OnListIndexChange += (_menu, _listItem, _oldIndex, _newIndex, _itemIndex) =>
            {
                if (_itemIndex == 3)
                {
                    CreatePlayer.changeScale(SkinsUtils.SCALE_LIST[_newIndex]);
                }
            };

            mainMenu.OnMenuClose += (_menu) =>
            {
                if (CreatePlayer.isInCharCreation)
                {
                    CreatePlayer.CloseSecureMenu();
                }
            };

            mainMenu.OnItemSelect += (_menu, _item, _index) =>
            {
                // Code in here would get executed whenever an item is pressed.
                if (_index == 4)
                {
                    CreatePlayer.isInCharCreation = false;
                    CreatePlayer.SaveChanges();
                    mainMenu.CloseMenu();
                }
            };
        }
コード例 #21
0
        private static void OnLoaded(EventArgs args)
        {
            if (Player.Instance.ChampionName != "Kassadin")
            {
                return;
            }
            Bootstrap.Init(null);
            Q = new Spell.Targeted(SpellSlot.Q, 650);
            W = new Spell.Active(SpellSlot.W);
            E = new Spell.Skillshot(SpellSlot.E, 400, SkillShotType.Cone, 500, int.MaxValue, 10);
            R = new Spell.Skillshot(SpellSlot.R, 700, SkillShotType.Circular, 500, int.MaxValue, 150);
            _abilitySequence = new[] { 1, 2, 3, 1, 1, 4, 1, 3, 1, 3, 4, 3, 3, 2, 2, 4, 2, 2 };
            if (HasSpell("summonerdot"))
            {
                Ignite = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerdot"), 600);
            }
            var flashSlot = Kassawin.GetSpellSlotFromName("summonerflash");

            Flash = new Spell.Skillshot(flashSlot, 32767, SkillShotType.Linear);

            KassaMenu = MainMenu.AddMenu("BloodimirKassadin", "bloodimirkassa");
            KassaMenu.AddGroupLabel("Bloodimir Kassadin v1.0.0.1");
            KassaMenu.AddSeparator();
            KassaMenu.AddLabel("Bloodimir Kassadin v1.0.0.1");

            ComboMenu = KassaMenu.AddSubMenu("Combo", "sbtw");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.AddSeparator();
            ComboMenu.Add("usecomboq", new CheckBox("Use Q"));
            ComboMenu.Add("usecomboe", new CheckBox("Use E"));
            ComboMenu.Add("usecombow", new CheckBox("Use W"));
            ComboMenu.Add("usecombor", new CheckBox("Use R"));
            ComboMenu.Add("useignite", new CheckBox("Use Ignite"));
            ComboMenu.AddSeparator();
            ComboMenu.Add("rslider", new Slider("Maximum enemy to R", 2, 0, 5));

            HarassMenu = KassaMenu.AddSubMenu("HarassMenu", "Harass");
            HarassMenu.Add("useQHarass", new CheckBox("Use Q"));
            HarassMenu.Add("useEHarass", new CheckBox("Use E"));

            LaneJungleClear = KassaMenu.AddSubMenu("Lane Jungle Clear", "lanejungleclear");
            LaneJungleClear.AddGroupLabel("Lane Jungle Clear Settings");
            LaneJungleClear.Add("LCQ", new CheckBox("Use Q"));
            LaneJungleClear.Add("LCE", new CheckBox("Use E"));
            LaneJungleClear.Add("LCR", new CheckBox("Use R"));

            LastHitMenu = KassaMenu.AddSubMenu("Last Hit", "lasthit");
            LastHitMenu.AddGroupLabel("Last Hit Settings");
            LastHitMenu.Add("LHQ", new CheckBox("Use Q"));
            LastHitMenu.Add("LHW", new CheckBox("Use W"));

            DrawMenu = KassaMenu.AddSubMenu("Drawings", "drawings");
            DrawMenu.AddGroupLabel("Drawings");
            DrawMenu.AddSeparator();
            DrawMenu.Add("drawq", new CheckBox("Draw Q"));
            DrawMenu.Add("drawe", new CheckBox("Draw E"));
            DrawMenu.Add("drawr", new CheckBox("Draw R"));

            MiscMenu = KassaMenu.AddSubMenu("Misc Menu", "miscmenu");
            MiscMenu.AddGroupLabel("KS");
            MiscMenu.AddSeparator();
            MiscMenu.Add("ksq", new CheckBox("KS using Q"));
            MiscMenu.Add("int", new CheckBox("TRY to Interrupt Channeled Spells"));
            MiscMenu.Add("gape", new CheckBox("Anti Gapcloser E"));
            MiscMenu.Add("lvlup", new CheckBox("Auto Level Up Spells"));
            MiscMenu.Add("resetaa", new CheckBox("Auto Reset AA with W"));


            FleeMenu = KassaMenu.AddSubMenu("Flee", "Flee");
            FleeMenu.Add("fleer", new CheckBox("Use R to Mouse Pos"));

            SkinMenu = KassaMenu.AddSubMenu("Skin Changer", "skin");
            SkinMenu.AddGroupLabel("Choose the desired skin");

            var skinchange = SkinMenu.Add("sID", new Slider("Skin", 5, 0, 5));
            var sid        = new[] { "Default", "Festival", "Deep One", "Pre-Void", "Harbinger", "Cosmic Reaver" };

            skinchange.DisplayName    = sid[skinchange.CurrentValue];
            skinchange.OnValueChange +=
                delegate(ValueBase <int> sender, ValueBase <int> .ValueChangeArgs changeArgs)
            {
                sender.DisplayName = sid[changeArgs.NewValue];
            };
            Game.OnUpdate                    += Game_OnTick;
            Gapcloser.OnGapcloser            += Gapcloser_OnGapCloser;
            Interrupter.OnInterruptableSpell += Interruptererer;
            Orbwalker.OnPostAttack           += Reset;
            Drawing.OnDraw                   += OnDraw;
        }
コード例 #22
0
        private static void OnLoaded(EventArgs args)
        {
            if (Player.Instance.ChampionName != Hero)
            {
                return;
            }
            Bootstrap.Init(null);
            Q       = new Spell.Skillshot(SpellSlot.Q, 1175, SkillShotType.Linear, 250, 1200, 80);
            W       = new Spell.Skillshot(SpellSlot.W, 900, SkillShotType.Circular, 250, 2200, 350);
            E       = new Spell.Targeted(SpellSlot.E, 800);
            R       = new Spell.Active(SpellSlot.R, 600);
            Exhaust = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerexhaust"), 650);

            Talisman        = new Item((int)ItemId.Talisman_of_Ascension);
            Randuin         = new Item((int)ItemId.Randuins_Omen);
            Zhonia          = new Item((int)ItemId.Zhonyas_Hourglass);
            AbilitySequence = new[] { 1, 3, 2, 1, 1, 4, 1, 2, 1, 2, 4, 2, 2, 3, 3, 4, 3, 3 };

            MorgMenu = MainMenu.AddMenu("Bloodimir Morgana", "bmorgana");
            MorgMenu.AddGroupLabel("Bloodimir Morgana");
            MorgMenu.AddSeparator();
            MorgMenu.AddLabel("Bloodimir Morgana v2.1.0.0");

            ComboMenu = MorgMenu.AddSubMenu("Combo", "sbtw");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.AddSeparator();
            ComboMenu.Add("usecomboq", new CheckBox("Use Q"));
            ComboMenu.Add("usecombow", new CheckBox("Use W"));

            AutoCastMenu = MorgMenu.AddSubMenu("Auto Cast", "ac");
            AutoCastMenu.AddGroupLabel("Auto Cast");
            AutoCastMenu.AddSeparator();
            AutoCastMenu.Add("qd", new CheckBox("Auto Q Dashing"));
            AutoCastMenu.Add("qi", new CheckBox("Auto Q Immobile"));
            AutoCastMenu.Add("ar", new CheckBox("Auto R"));
            AutoCastMenu.Add("rslider", new Slider("Minimum people for Auto R", 2, 0, 5));

            QMenu = MorgMenu.AddSubMenu("Q Settings", "qsettings");
            QMenu.AddGroupLabel("Q Settings");
            QMenu.AddSeparator();
            QMenu.Add("qmin", new Slider("Min Range", 150, 0, (int)Q.Range));
            QMenu.Add("qmax", new Slider("Max Range", (int)Q.Range, 0, (int)Q.Range));
            QMenu.AddSeparator();
            foreach (var obj in ObjectManager.Get <AIHeroClient>().Where(obj => obj.Team != Me.Team))
            {
                QMenu.Add("bind" + obj.ChampionName.ToLower(), new CheckBox("Bind " + obj.ChampionName));
            }
            QMenu.AddSeparator();
            QMenu.Add("mediumpred", new CheckBox("MEDIUM Bind Hitchance Prediction", false));
            QMenu.AddSeparator();
            QMenu.Add("intq", new CheckBox("Q to Interrupt"));

            SkinMenu = MorgMenu.AddSubMenu("Skin Changer", "skin");
            SkinMenu.AddGroupLabel("Choose the desired skin");

            var skinchange = SkinMenu.Add("sID", new Slider("Skin", 5, 0, 7));
            var sid        = new[] { "Default", "Exiled", "Sinful Succulence", "Blade Mistress", "Blackthorn", "Ghost Bride", "Victorius", "Lunar Wraith" };

            skinchange.DisplayName    = sid[skinchange.CurrentValue];
            skinchange.OnValueChange +=
                delegate(ValueBase <int> sender, ValueBase <int> .ValueChangeArgs changeArgs)
            {
                sender.DisplayName = sid[changeArgs.NewValue];
            };

            MiscMenu = MorgMenu.AddSubMenu("Misc", "misc");
            MiscMenu.AddGroupLabel("Misc");
            MiscMenu.AddSeparator();
            MiscMenu.Add("ksq", new CheckBox("KS with Q"));
            MiscMenu.Add("antigapcloser", new CheckBox("Anti Gapcloser"));
            MiscMenu.Add("talisman", new CheckBox("Use Talisman of Ascension"));
            MiscMenu.Add("randuin", new CheckBox("Use Randuin"));
            MiscMenu.Add("szhonya", new CheckBox("Smart Zhonya"));
            MiscMenu.Add("lvlup", new CheckBox("Auto Level Up Spells", false));
            MiscMenu.AddSeparator();
            MiscMenu.Add("EAllies", new CheckBox("Auto E"));
            foreach (var obj in ObjectManager.Get <AIHeroClient>().Where(obj => obj.Team == Me.Team))
            {
                MiscMenu.Add("shield" + obj.ChampionName.ToLower(), new CheckBox("Shield " + obj.ChampionName));
            }
            MiscMenu.AddSeparator();
            MiscMenu.Add("support", new CheckBox("Support Mode", false));
            MiscMenu.Add("useexhaust", new CheckBox("Use Exhaust"));
            foreach (var source in ObjectManager.Get <AIHeroClient>().Where(a => a.IsEnemy))
            {
                MiscMenu.Add(source.ChampionName + "exhaust",
                             new CheckBox("Exhaust " + source.ChampionName, false));
            }

            DrawMenu = MorgMenu.AddSubMenu("Drawings", "drawings");
            DrawMenu.AddGroupLabel("Drawings");
            DrawMenu.AddSeparator();
            DrawMenu.Add("drawq", new CheckBox("Draw Q"));
            DrawMenu.Add("draww", new CheckBox("Draw W"));
            DrawMenu.Add("drawe", new CheckBox("Draw E"));
            DrawMenu.Add("drawr", new CheckBox("Draw R"));
            DrawMenu.Add("drawaa", new CheckBox("Draw AA"));
            DrawMenu.Add("predictions", new CheckBox("Visualize Q Prediction"));

            LaneClear = MorgMenu.AddSubMenu("Lane Clear", "laneclear");
            LaneClear.AddGroupLabel("Lane Clear Settings");
            LaneClear.Add("LCW", new CheckBox("Use W"));

            LastHit = MorgMenu.AddSubMenu("Last Hit", "lasthit");
            LastHit.AddGroupLabel("Last Hit Settings");
            LastHit.Add("LHQ", new CheckBox("Use Q", false));

            Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell;
            Game.OnUpdate                  += OnUpdate;
            Orbwalker.OnPreAttack          += Orbwalker_OnPreAttack;
            Obj_AI_Base.OnProcessSpellCast += Auto_EOnProcessSpell;
            Gapcloser.OnGapcloser          += Gapcloser_OnGapcloser;
            Drawing.OnDraw                 += delegate
            {
                if (!Me.IsDead)
                {
                    if (DrawMenu["drawr"].Cast <CheckBox>().CurrentValue&& R.IsLearned)
                    {
                        Circle.Draw(Color.Red, R.Range, Player.Instance.Position);
                    }
                    if (DrawMenu["draww"].Cast <CheckBox>().CurrentValue&& W.IsLearned)
                    {
                        Circle.Draw(Color.Purple, W.Range, Player.Instance.Position);
                    }
                    if (DrawMenu["drawe"].Cast <CheckBox>().CurrentValue&& E.IsLearned)
                    {
                        Circle.Draw(Color.Green, E.Range, Player.Instance.Position);
                    }
                    if (DrawMenu["drawaa"].Cast <CheckBox>().CurrentValue)
                    {
                        Circle.Draw(Color.Blue, Q.Range, Player.Instance.Position);
                    }
                    var predictedPositions = new Dictionary <int, Tuple <int, PredictionResult> >();
                    var predictions        = DrawMenu["predictions"].Cast <CheckBox>().CurrentValue;
                    var qRange             = DrawMenu["drawq"].Cast <CheckBox>().CurrentValue;

                    foreach (
                        var enemy in
                        EntityManager.Heroes.Enemies.Where(
                            enemy => QMenu["bind" + enemy.ChampionName].Cast <CheckBox>().CurrentValue&&
                            enemy.IsValidTarget(Q.Range + 150) &&
                            !enemy.HasBuffOfType(BuffType.SpellShield)))
                    {
                        var predictionsq = Q.GetPrediction(enemy);
                        predictedPositions[enemy.NetworkId] = new Tuple <int, PredictionResult>(Environment.TickCount,
                                                                                                predictionsq);
                        if (qRange && Q.IsLearned)
                        {
                            Circle.Draw(Q.IsReady() ? Color.Blue : Color.Red, Q.Range,
                                        Player.Instance.Position);
                        }

                        if (!predictions)
                        {
                            return;
                        }

                        foreach (var prediction in predictedPositions.ToArray())
                        {
                            if (Environment.TickCount - prediction.Value.Item1 > 2000)
                            {
                                predictedPositions.Remove(prediction.Key);
                                continue;
                            }

                            Circle.Draw(Color.Red, 75, prediction.Value.Item2.CastPosition);
                            Line.DrawLine(System.Drawing.Color.GreenYellow, Player.Instance.Position,
                                          prediction.Value.Item2.CastPosition);
                            Line.DrawLine(System.Drawing.Color.CornflowerBlue,
                                          EntityManager.Heroes.Enemies.Find(o => o.NetworkId == prediction.Key).Position,
                                          prediction.Value.Item2.CastPosition);
                            Drawing.DrawText(prediction.Value.Item2.CastPosition.WorldToScreen() + new Vector2(0, -20),
                                             System.Drawing.Color.LimeGreen,
                                             string.Format("Hitchance: {0}%", Math.Ceiling(prediction.Value.Item2.HitChancePercent)),
                                             10);
                        }
                    }
                    ;
                }
                ;
            };
        }
コード例 #23
0
ファイル: Program.cs プロジェクト: Bloodimir/Projects
        private static void OnLoaded(EventArgs args)
        {
            if (Player.Instance.ChampionName != "Sona")
            {
                return;
            }
            Bootstrap.Init(null);
            Q          = new Spell.Active(SpellSlot.Q, 850);
            W          = new Spell.Active(SpellSlot.W, 1000);
            E          = new Spell.Active(SpellSlot.E, 350);
            R          = new Spell.Skillshot(SpellSlot.R, 1000, SkillShotType.Circular, 250, 2400, 140);
            FrostQueen = new Item(3092, 850f);
            Exhaust    = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerexhaust"), 650);

            SonaMenu = MainMenu.AddMenu("BloodimirSona", "bloodimirsona");
            SonaMenu.AddGroupLabel("Bloodimir Sona v1.0.0.0");
            SonaMenu.AddSeparator();
            SonaMenu.AddLabel("Bloodimir Sona v1.0.0.0");

            ComboMenu = SonaMenu.AddSubMenu("Combo", "sbtw");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.AddSeparator();
            ComboMenu.Add("usecomboq", new CheckBox("Use Q"));
            ComboMenu.Add("usecombor", new CheckBox("Use R"));
            ComboMenu.Add("comboOnlyExhaust", new CheckBox("Use Exhaust (Combo Only)"));
            ComboMenu.Add("useitems", new CheckBox("Use Items"));
            ComboMenu.AddSeparator();
            ComboMenu.Add("rslider", new Slider("Minimum people for R", 1, 0, 5));
            ComboMenu.Add("waitAA", new CheckBox("wait for AA to finish", false));

            HarassMenu = SonaMenu.AddSubMenu("HarassMenu", "Harass");
            HarassMenu.Add("useQHarass", new CheckBox("Use Q"));
            HarassMenu.Add("waitAA", new CheckBox("wait for AA to finish", false));

            LaneJungleClear = SonaMenu.AddSubMenu("Lane Jungle Clear", "lanejungleclear");
            LaneJungleClear.AddGroupLabel("Lane Jungle Clear Settings");
            LaneJungleClear.Add("LCQ", new CheckBox("Use Q"));

            DrawMenu = SonaMenu.AddSubMenu("Drawings", "drawings");
            DrawMenu.AddGroupLabel("Drawings");
            DrawMenu.AddSeparator();
            DrawMenu.Add("drawq", new CheckBox("Draw Q"));
            DrawMenu.Add("draww", new CheckBox("Draw W"));
            DrawMenu.Add("drawe", new CheckBox("Draw E"));
            DrawMenu.Add("drawr", new CheckBox("Draw R"));
            DrawMenu.Add("drawaa", new CheckBox("Draw AA"));

            MiscMenu = SonaMenu.AddSubMenu("Misc Menu", "miscmenu");
            MiscMenu.AddGroupLabel("Misc");
            MiscMenu.AddSeparator();
            MiscMenu.Add("ks", new CheckBox("KS"));
            MiscMenu.Add("int", new CheckBox("TRY to Interrupt spells"));
            MiscMenu.Add("support", new CheckBox("Support Mode", false));
            MiscMenu.Add("HPLowAllies", new CheckBox("Use W on % HP Allies to Heal", false));
            MiscMenu.Add("wslider", new Slider("Ally Health Percentage to use W", 60));
            MiscMenu.Add("useexhaust", new CheckBox("Use Exhaust"));
            foreach (var source in ObjectManager.Get <AIHeroClient>().Where(a => a.IsEnemy))
            {
                MiscMenu.Add(source.ChampionName + "exhaust",
                             new CheckBox("Exhaust " + source.ChampionName, false));
            }

            FleeMenu = SonaMenu.AddSubMenu("Flee", "Flee");
            FleeMenu.Add("fleee", new CheckBox("Use E"));

            SkinMenu = SonaMenu.AddSubMenu("Skin Changer", "skin");
            SkinMenu.AddGroupLabel("Choose the desired skin");

            var skinchange = SkinMenu.Add("sID", new Slider("Skin", 3, 0, 5));
            var sid        = new[] { "Default", "Muse", "Pentakill", "Silent Night", "Guqin", "Arcade" };

            skinchange.DisplayName    = sid[skinchange.CurrentValue];
            skinchange.OnValueChange +=
                delegate(ValueBase <int> sender, ValueBase <int> .ValueChangeArgs changeArgs)
            {
                sender.DisplayName = sid[changeArgs.NewValue];
            };
            Game.OnUpdate += Game_OnTick;
            Interrupter.OnInterruptableSpell += Interruptererer;
            Orbwalker.OnPreAttack            += Orbwalker_OnPreAttack;
            Game.OnWndProc += Game_OnWndProc;
            Drawing.OnDraw += OnDraw;
        }
コード例 #24
0
        private static void OnLoaded(EventArgs args)
        {
            if (Player.Instance.ChampionName != "Sona")
            {
                return;
            }
            Bootstrap.Init(null);
            Q          = new Spell.Active(SpellSlot.Q, 850);
            W          = new Spell.Active(SpellSlot.W, 1000);
            E          = new Spell.Active(SpellSlot.E, 350);
            R          = new Spell.Skillshot(SpellSlot.R, 1000, SkillShotType.Circular, 250, 2400, 140);
            FrostQueen = new Item(3092, 850f);
            Exhaust    = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerexhaust"), 650);

            SonaMenu = MainMenu.AddMenu("BloodimirSona", "bloodimirsona");
            SonaMenu.AddGroupLabel("Bloodimir Sona v1.0.0.0");
            SonaMenu.AddSeparator();
            SonaMenu.AddLabel("Bloodimir Sona v1.0.0.0");

            ComboMenu = SonaMenu.AddSubMenu("Combo", "sbtw");
            ComboMenu.AddGroupLabel("Kombo Ayarları");
            ComboMenu.AddSeparator();
            ComboMenu.Add("usecomboq", new CheckBox("Q Kullan"));
            ComboMenu.Add("usecombor", new CheckBox("R Kullan"));
            ComboMenu.Add("comboOnlyExhaust", new CheckBox("Use Exhaust (Combo Only)"));
            ComboMenu.Add("useitems", new CheckBox("İtemleri Kullan"));
            ComboMenu.AddSeparator();
            ComboMenu.Add("rslider", new Slider("R için gerekli kişi sayısı", 1, 0, 5));
            ComboMenu.Add("waitAA", new CheckBox("AA tamamlanmasını bekle", false));

            HarassMenu = SonaMenu.AddSubMenu("Dürtme", "Harass");
            HarassMenu.Add("useQHarass", new CheckBox("Q Kullan"));
            HarassMenu.Add("waitAA", new CheckBox("AA tamamlanmasını bekle", false));

            LaneJungleClear = SonaMenu.AddSubMenu("Lane Jungle Clear", "lanejungleclear");
            LaneJungleClear.AddGroupLabel("Lane Jungle Clear Ayarları");
            LaneJungleClear.Add("LCQ", new CheckBox("Q Kullan"));

            DrawMenu = SonaMenu.AddSubMenu("Gösterge", "drawings");
            DrawMenu.AddGroupLabel("Gösterge");
            DrawMenu.AddSeparator();
            DrawMenu.Add("drawq", new CheckBox("Göster Q"));
            DrawMenu.Add("draww", new CheckBox("Göster W"));
            DrawMenu.Add("drawe", new CheckBox("Göster E"));
            DrawMenu.Add("drawr", new CheckBox("Göster R"));
            DrawMenu.Add("drawaa", new CheckBox("Göster AA"));

            MiscMenu = SonaMenu.AddSubMenu("Misc Menu", "miscmenu");
            MiscMenu.AddGroupLabel("Ek");
            MiscMenu.AddSeparator();
            MiscMenu.Add("ks", new CheckBox("KS"));
            MiscMenu.Add("int", new CheckBox("Interrupt Büyüleri"));
            MiscMenu.Add("support", new CheckBox("Destek Modu", false));
            MiscMenu.Add("HPLowAllies", new CheckBox("W kullan % Dostların canı şu kadar", false));
            MiscMenu.Add("wslider", new Slider("W kullanmak için dostların canları şundan az", 60));
            MiscMenu.Add("useexhaust", new CheckBox("Bitkinlik Kullan"));
            foreach (var source in ObjectManager.Get <AIHeroClient>().Where(a => a.IsEnemy))
            {
                MiscMenu.Add(source.ChampionName + "exhaust",
                             new CheckBox("Bitkinlik " + source.ChampionName, false));
            }

            FleeMenu = SonaMenu.AddSubMenu("Flee", "Flee");
            FleeMenu.Add("fleee", new CheckBox("Kullan E"));

            SkinMenu = SonaMenu.AddSubMenu("Skin Changer", "skin");
            SkinMenu.AddGroupLabel("İstediğiniz Görünümü Seçin");

            var skinchange = SkinMenu.Add("sID", new Slider("Skin", 3, 0, 5));
            var sid        = new[] { "Default", "Muse", "Pentakill", "Silent Night", "Guqin", "Arcade" };

            skinchange.DisplayName    = sid[skinchange.CurrentValue];
            skinchange.OnValueChange +=
                delegate(ValueBase <int> sender, ValueBase <int> .ValueChangeArgs changeArgs)
            {
                sender.DisplayName = sid[changeArgs.NewValue];
            };
            Game.OnUpdate += Game_OnTick;
            Interrupter.OnInterruptableSpell += Interruptererer;
            Orbwalker.OnPreAttack            += Orbwalker_OnPreAttack;
            Game.OnWndProc += Game_OnWndProc;
            Drawing.OnDraw += OnDraw;
        }
コード例 #25
0
ファイル: Program.cs プロジェクト: Bloodimir/Projects
        private static void OnLoaded(EventArgs args)
        {
            if (Player.Instance.ChampionName != "Vladimir")
                return;
            Bootstrap.Init(null);
            Q = new Spell.Targeted(SpellSlot.Q, 600);
            W = new Spell.Active(SpellSlot.W);
            E = new Spell.Active(SpellSlot.E, 610);
            R = new Spell.Skillshot(SpellSlot.R, 700, SkillShotType.Circular, 250, 1200, 150);
            if (HasSpell("summonerdot"))
                Ignite = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerdot"), 600);
            Zhonia = new Item((int) ItemId.Zhonyas_Hourglass);
            var flashSlot = Vlad.GetSpellSlotFromName("summonerflash");
            Flash = new Spell.Skillshot(flashSlot, 32767, SkillShotType.Linear);

            VladMenu = MainMenu.AddMenu("Bloodimir", "bloodimir");
            VladMenu.AddGroupLabel("Bloodimir.Bloodimir");
            VladMenu.AddSeparator();
            VladMenu.AddLabel("Bloodimir c what i did there? version 1.0.5.2");

            ComboMenu = VladMenu.AddSubMenu("Combo", "sbtw");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.AddSeparator();
            ComboMenu.Add("usecomboq", new CheckBox("Use Q"));
            ComboMenu.Add("usecomboe", new CheckBox("Use E"));
            ComboMenu.Add("usecombor", new CheckBox("Use R"));
            ComboMenu.Add("useignite", new CheckBox("Use Ignite"));
            ComboMenu.AddSeparator();
            ComboMenu.Add("rslider", new Slider("Minimum people for Combo R", 2, 0, 5));
            DrawMenu = VladMenu.AddSubMenu("Drawings", "drawings");
            DrawMenu.AddGroupLabel("Drawings");
            DrawMenu.AddSeparator();
            DrawMenu.Add("drawq", new CheckBox("Draw Q Range"));
            DrawMenu.Add("drawe", new CheckBox("Draw E Range"));
            DrawMenu.Add("drawr", new CheckBox("Draw R Range"));
            DrawMenu.Add("drawaa", new CheckBox("Draw AA Range"));

            LaneClear = VladMenu.AddSubMenu("Lane Clear", "laneclear");
            LaneClear.AddGroupLabel("Lane Clear Settings");
            LaneClear.Add("LCE", new CheckBox("Use E"));
            LaneClear.Add("LCQ", new CheckBox("Use Q"));

            LastHit = VladMenu.AddSubMenu("Last Hit", "lasthit");
            LastHit.AddGroupLabel("Last Hit Settings");
            LastHit.Add("LHQ", new CheckBox("Use Q"));

            HarassMenu = VladMenu.AddSubMenu("Harass Menu", "harass");
            HarassMenu.AddGroupLabel("Harass Settings");
            HarassMenu.Add("hq", new CheckBox("Harass Q"));
            HarassMenu.Add("he", new CheckBox("Harass E"));
            HarassMenu.Add("autoh", new CheckBox("Auto Harass"));
            HarassMenu.Add("autohq", new CheckBox("Use Q on Auto Harass"));
            HarassMenu.Add("autohe", new CheckBox("Use E on Auto Harass"));


            MiscMenu = VladMenu.AddSubMenu("Misc Menu", "miscmenu");
            MiscMenu.AddGroupLabel("Misc");
            MiscMenu.AddSeparator();
            MiscMenu.Add("ksq", new CheckBox("KS with Q"));
            MiscMenu.Add("kse", new CheckBox("KS with E"));
            MiscMenu.Add("zhonias", new CheckBox("Use Zhonia"));
            MiscMenu.Add("zhealth", new Slider("Auto Zhonia Health %", 8));
            MiscMenu.AddSeparator();
            MiscMenu.Add("gapcloserw", new CheckBox("Anti Gapcloser W"));
            MiscMenu.Add("gapcloserhp", new Slider("Gapcloser W Health %", 25));
            MiscMenu.AddSeparator();

            SkinMenu = VladMenu.AddSubMenu("Skin Changer", "skin");
            SkinMenu.AddGroupLabel("Choose the desired skin");

            var skinchange = SkinMenu.Add("sID", new Slider("Skin", 5, 0, 7));
            var sid = new[]
            {"Default", "Count", "Marquius", "Nosferatu", "Vandal", "Blood Lord", "Soulstealer", "Academy"};
            skinchange.DisplayName = sid[skinchange.CurrentValue];
            skinchange.OnValueChange +=
                delegate(ValueBase<int> sender, ValueBase<int>.ValueChangeArgs changeArgs)
                {
                    sender.DisplayName = sid[changeArgs.NewValue];
                };

            Game.OnUpdate += Tick;
            Drawing.OnDraw += OnDraw;
            Gapcloser.OnGapcloser += Gapcloser_OnGapCloser;
        }
コード例 #26
0
ファイル: Program.cs プロジェクト: Bloodimir/Projects
        private static void OnLoaded(EventArgs args)
        {
            if (Player.Instance.ChampionName != "Ziggs")
            {
                return;
            }
            Bootstrap.Init(null);
            Q  = new Spell.Skillshot(SpellSlot.Q, 850, SkillShotType.Circular, 300, 1700, 130);
            Q2 = new Spell.Skillshot(SpellSlot.Q, 1125, SkillShotType.Circular, 250 + Q.CastDelay, 1700, 130);
            Q3 = new Spell.Skillshot(SpellSlot.Q, 1400, SkillShotType.Circular, 300 + Q2.CastDelay, 1700, 140);
            W  = new Spell.Skillshot(SpellSlot.W, 1000, SkillShotType.Circular, 250, 1750, 275);
            E  = new Spell.Skillshot(SpellSlot.E, 900, SkillShotType.Circular, 500, 1750, 100);
            R  = new Spell.Skillshot(SpellSlot.R, 5300, SkillShotType.Circular, 2000, 1500, 500);

            if (HasSpell("summonerdot"))
            {
                Ignite = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerdot"), 600);
            }

            ZiggsMenu = MainMenu.AddMenu("BloodimirZiggs", "bloodimirziggs");
            ZiggsMenu.AddGroupLabel("Bloodimir Ziggs v2.0.2.0");
            ZiggsMenu.AddSeparator();
            ZiggsMenu.AddLabel("Bloodimir Ziggs v2.0.2.0");

            ComboMenu = ZiggsMenu.AddSubMenu("Combo", "sbtw");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.AddSeparator();
            ComboMenu.Add("usecomboq", new CheckBox("Use Q"));
            ComboMenu.Add("usecomboe", new CheckBox("Use E"));
            ComboMenu.Add("usecombow", new CheckBox("Use W"));
            ComboMenu.Add("usecombor", new CheckBox("Use R"));
            ComboMenu.Add("useignite", new CheckBox("Use Ignite"));
            ComboMenu.AddSeparator();
            ComboMenu.Add("rslider", new Slider("Minimum people for R", 1, 0, 5));
            ComboMenu.Add("wslider", new Slider("Enemy Health Percentage to use W", 15));
            ComboMenu.Add("waitAA", new CheckBox("wait for AA to finish", false));

            HarassMenu = ZiggsMenu.AddSubMenu("HarassMenu", "Harass");
            HarassMenu.Add("useQHarass", new CheckBox("Use Q"));
            HarassMenu.Add("waitAA", new CheckBox("wait for AA to finish", false));

            LaneJungleClear = ZiggsMenu.AddSubMenu("Lane Jungle Clear", "lanejungleclear");
            LaneJungleClear.AddGroupLabel("Lane Jungle Clear Settings");
            LaneJungleClear.Add("LCE", new CheckBox("Use E"));
            LaneJungleClear.Add("LCQ", new CheckBox("Use Q"));

            LastHitMenu = ZiggsMenu.AddSubMenu("Last Hit", "lasthit");
            LastHitMenu.AddGroupLabel("Last Hit Settings");
            LastHitMenu.Add("LHQ", new CheckBox("Use Q"));

            DrawMenu = ZiggsMenu.AddSubMenu("Drawings", "drawings");
            DrawMenu.AddGroupLabel("Drawings");
            DrawMenu.AddSeparator();
            DrawMenu.Add("drawq", new CheckBox("Draw Q"));
            DrawMenu.Add("draww", new CheckBox("Draw W"));
            DrawMenu.Add("drawe", new CheckBox("Draw E"));
            DrawMenu.Add("drawaa", new CheckBox("Draw AA"));

            MiscMenu = ZiggsMenu.AddSubMenu("Misc Menu", "miscmenu");
            MiscMenu.AddGroupLabel("KS");
            MiscMenu.AddSeparator();
            MiscMenu.Add("ksq", new CheckBox("KS using Q"));
            MiscMenu.Add("int", new CheckBox("TRY to Interrupt spells"));
            MiscMenu.Add("gapw", new CheckBox("Anti Gapcloser W"));
            MiscMenu.Add("peel", new CheckBox("Peel From Melees"));

            FleeMenu = ZiggsMenu.AddSubMenu("Flee", "Flee");
            FleeMenu.Add("fleew", new CheckBox("Use W to mousePos"));

            PredMenu = ZiggsMenu.AddSubMenu("Prediction", "pred");
            PredMenu.AddGroupLabel("Q Hitchance");
            var qslider = PredMenu.Add("hQ", new Slider("Q HitChance", 2, 0, 2));
            var qMode   = new[] { "Low (Fast Casting)", "Medium", "High (Slow Casting)" };

            qslider.DisplayName = qMode[qslider.CurrentValue];

            qslider.OnValueChange +=
                delegate(ValueBase <int> sender, ValueBase <int> .ValueChangeArgs changeArgs)
            {
                sender.DisplayName = qMode[changeArgs.NewValue];
            };
            PredMenu.AddGroupLabel("E Hitchance");
            var eslider = PredMenu.Add("hE", new Slider("E HitChance", 2, 0, 2));
            var eMode   = new[] { "Low (Fast Casting)", "Medium", "High (Slow Casting)" };

            eslider.DisplayName = eMode[eslider.CurrentValue];

            eslider.OnValueChange +=
                delegate(ValueBase <int> sender, ValueBase <int> .ValueChangeArgs changeArgs)
            {
                sender.DisplayName = eMode[changeArgs.NewValue];
            };
            PredMenu.AddGroupLabel("W Hitchance");
            var wslider = PredMenu.Add("hW", new Slider("W HitChance", 1, 0, 2));
            var wMode   = new[] { "Low (Fast Casting)", "Medium", "High (Slow Casting)" };

            wslider.DisplayName = wMode[wslider.CurrentValue];

            wslider.OnValueChange +=
                delegate(ValueBase <int> sender, ValueBase <int> .ValueChangeArgs changeArgs)
            {
                sender.DisplayName = wMode[changeArgs.NewValue];
            };
            SkinMenu = ZiggsMenu.AddSubMenu("Skin Changer", "skin");
            SkinMenu.AddGroupLabel("Choose the desired skin");

            var skinchange = SkinMenu.Add("sID", new Slider("Skin", 4, 0, 5));
            var sID        = new[] { "Default", "Mad Scientist", "Major", "Pool Party", "Snow Day", "Master Arcanist" };

            skinchange.DisplayName    = sID[skinchange.CurrentValue];
            skinchange.OnValueChange +=
                delegate(ValueBase <int> sender, ValueBase <int> .ValueChangeArgs changeArgs)
            {
                sender.DisplayName = sID[changeArgs.NewValue];
            };
            Game.OnUpdate                    += Game_OnTick;
            Gapcloser.OnGapcloser            += Gapcloser_OnGapCloser;
            Interrupter.OnInterruptableSpell += Interruptererer;
            Game.OnWndProc                   += Game_OnWndProc;
            Drawing.OnDraw                   += OnDraw;
        }
コード例 #27
0
        private static void OnLoaded(EventArgs args)
        {
            if (Player.Instance.ChampionName != "Evelynn")
            {
                return;
            }
            Bootstrap.Init(null);
            Q = new Spell.Active(SpellSlot.Q, 475);
            W = new Spell.Active(SpellSlot.W);
            E = new Spell.Targeted(SpellSlot.E, 225);
            R = new Spell.Skillshot(SpellSlot.R, 900, SkillShotType.Circular, 250, 1200, 150);

            EveMenu = MainMenu.AddMenu("BloodimirEve", "bloodimireve");
            EveMenu.AddGroupLabel("Bloodimir.Evelynn");
            EveMenu.AddSeparator();
            EveMenu.AddLabel("Bloodimir Evelynn V1.0.1.0");

            ComboMenu = EveMenu.AddSubMenu("Combo", "sbtw");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.AddSeparator();
            ComboMenu.Add("usecomboq", new CheckBox("Use Q"));
            ComboMenu.Add("usecombow", new CheckBox("Use W"));
            ComboMenu.Add("usecomboe", new CheckBox("Use E"));
            ComboMenu.Add("usecombor", new CheckBox("Use R"));
            ComboMenu.Add("useignite", new CheckBox("Use Ignite"));
            ComboMenu.AddSeparator();
            ComboMenu.Add("rslider", new Slider("Minimum people for R", 1, 0, 5));

            DrawMenu = EveMenu.AddSubMenu("Drawings", "drawings");
            DrawMenu.AddGroupLabel("Drawings");
            DrawMenu.AddSeparator();
            DrawMenu.Add("drawq", new CheckBox("Draw Q"));
            DrawMenu.Add("drawr", new CheckBox("Draw R"));
            DrawMenu.Add("drawe", new CheckBox("Draw R"));

            LaneJungleClear = EveMenu.AddSubMenu("Lane Jungle Clear", "lanejungleclear");
            LaneJungleClear.AddGroupLabel("Lane Jungle Clear Settings");
            LaneJungleClear.Add("LCE", new CheckBox("Use E"));
            LaneJungleClear.Add("LCQ", new CheckBox("Use Q"));

            LastHitMenu = EveMenu.AddSubMenu("Last Hit", "lasthit");
            LastHitMenu.AddGroupLabel("Last Hit Settings");
            LastHitMenu.Add("LHQ", new CheckBox("Use Q"));

            MiscMenu = EveMenu.AddSubMenu("Misc Menu", "miscmenu");
            MiscMenu.AddGroupLabel("KS");
            MiscMenu.AddSeparator();
            MiscMenu.Add("kse", new CheckBox("KS using E"));
            MiscMenu.AddSeparator();
            MiscMenu.Add("ksq", new CheckBox("KS using Q"));
            MiscMenu.Add("asw", new CheckBox("Auto/Smart W"));

            SkinMenu = EveMenu.AddSubMenu("Skin Changer", "skin");
            SkinMenu.AddGroupLabel("Choose the desired skin");

            var skinchange = SkinMenu.Add("sID", new Slider("Skin", 2, 0, 4));
            var sid        = new[] { "Default", "Shadow", "Masquerade", "Tango", "Safecracker" };

            skinchange.DisplayName    = sid[skinchange.CurrentValue];
            skinchange.OnValueChange +=
                delegate(ValueBase <int> sender, ValueBase <int> .ValueChangeArgs changeArgs)
            {
                sender.DisplayName = sid[changeArgs.NewValue];
            };

            Game.OnUpdate  += Tick;
            Drawing.OnDraw += OnDraw;
        }
コード例 #28
0
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (Player.Instance.Hero != Champion.Ashe)
            {
                return;
            }


            _q = new Spell.Active(SpellSlot.Q);
            _w = new Spell.Skillshot(SpellSlot.W, 1200, SkillShotType.Linear, 0, int.MaxValue, 60);
            {
                _w.AllowedCollisionCount = 0;
            }
            _e = new Spell.Skillshot(SpellSlot.E, 15000, SkillShotType.Linear, 0, int.MaxValue, 0);
            _r = new Spell.Skillshot(SpellSlot.R, 15000, SkillShotType.Linear, 500, 1000, 250);
            _r.AllowedCollisionCount = int.MaxValue;
            var slot = _Player.GetSpellSlotFromName("summonerheal");

            if (slot != SpellSlot.Unknown)
            {
                Heal = new Spell.Active(slot, 600);
            }
            HealthPotion         = new Item(2003, 0);
            TotalBiscuit         = new Item(2010, 0);
            CorruptingPotion     = new Item(2033, 0);
            RefillablePotion     = new Item(2031, 0);
            HuntersPotion        = new Item(2032, 0);
            Teleport.OnTeleport += Teleport_OnTeleport;


            Chat.Print(
                "<font color=\"#4dd5ea\" >MeLoDag Presents </font><font color=\"#ffffff\" >AsheTheToLL </font><font color=\"#4dd5ea\" >Kappa Kippo</font>");


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

            ComboMenu = Menu.AddSubMenu("Combo Settings", "Combo");
            ComboMenu.AddGroupLabel("Q Ayarları:");
            ComboMenu.Add("useQCombo", new CheckBox("Kullan Q"));
            ComboMenu.Add("UseQAAcombo", new CheckBox("Qdan sonra düz vuruş", false));
            ComboMenu.AddLabel("W Ayarları:");
            ComboMenu.Add("useWCombo", new CheckBox("Kullan W"));
            ComboMenu.Add("UseWAAcombo", new CheckBox("W den sonra düz vuruş", false));
            ComboMenu.Add("CCE", new CheckBox("W hedefe vuracaksa otomatik at"));
            ComboMenu.Add("Wpred", new Slider("İsabet oranını seç %", 70, 0, 100));
            ComboMenu.AddLabel("Higher % ->Daha yüksek ayarlarsan hedefi vurma oranın artar fakat daha az W kullanır");
            ComboMenu.AddLabel("Lower % ->Ne kadar düşük olursa o kadar fazla kullanır W skilini ama mana sorunu yaşayabilirsin. ");
            ComboMenu.AddLabel("R Ayarları:");
            ComboMenu.Add("useRCombo", new CheckBox("Kullan R [Hp%]"));
            ComboMenu.Add("Hp", new Slider("R kullan eğer düşmanın canı şundan azsa %", 45, 0, 100));
            ComboMenu.Add("useRComboENEMIES", new CheckBox("Kullan R[Düşman Say]"));
            ComboMenu.Add("Rcount", new Slider("R Kaç hedefi Stunlasın >= ", 2, 1, 5));
            ComboMenu.AddLabel("R kullanma menzili ayarını Tüm mantıksal hesaplamalar için kullan:");
            ComboMenu.Add("useRRange", new Slider("Ultinin menzilini ayarla", 1800, 500, 2000));
            ComboMenu.Add("ForceR", new KeyBind("Hedefe R Kullanma Tuşu", false, KeyBind.BindTypes.HoldActive, "T".ToCharArray()[0]));


            VolleyMenu = Menu.AddSubMenu("Volley Settings", "Volley");
            VolleyMenu.AddGroupLabel("Şahin Atışı Ayarları:");
            VolleyMenu.Add("Volley.castDragon",
                           new KeyBind("Ejdere şahin atışı yolla", false, KeyBind.BindTypes.HoldActive, 'U'));
            VolleyMenu.Add("Volley.castBaron",
                           new KeyBind("Barona şahin atışı gönder", false, KeyBind.BindTypes.HoldActive, 'I'));
            VolleyMenu.Add("Volley.sep1", new Separator());
            VolleyMenu.Add("Volley.enable", new CheckBox("Şahin atışını otomatik yolla", false));
            VolleyMenu.Add("Volley.noMode", new CheckBox("Hiçbir mod (lanetemizleme gibi)aktif değilken yap"));
            VolleyMenu.Add("Volley.mana", new Slider("En az {0}% Şu kadar manan varsa E kullan", 40));
            VolleyMenu.Add("Volley.locationLabel", new Label("Şunlara şahin atışı yap:"));
            (VolleyMenu.Add("Volley.baron", new CheckBox("Baron"))).OnValueChange  += VolleyLocation;
            (VolleyMenu.Add("Volley.dragon", new CheckBox("Ejder"))).OnValueChange += VolleyLocation;

            HarassMenu = Menu.AddSubMenu("Harass Settings", "Harass");
            HarassMenu.AddGroupLabel("Dürtme Ayarları:");
            HarassMenu.Add("useQHarass", new CheckBox("Kullan Q"));
            HarassMenu.Add("useWHarass", new CheckBox("Kullan W"));
            HarassMenu.Add("useWHarassMana", new Slider("W en az mana > %", 70, 0, 100));
            HarassMenu.AddLabel("Otomatik Dürtme Ayarları:");
            HarassMenu.Add("autoWHarass", new CheckBox("Dürtmede otomatik W Kullan", false));
            HarassMenu.Add("autoWHarassMana", new Slider("W en az mana > %", 70, 0, 100));

            JungleLaneMenu = Menu.AddSubMenu("Lane Clear Settings", "FarmSettings");
            JungleLaneMenu.AddGroupLabel("Lane Temizleme Ayarları:");
            JungleLaneMenu.Add("useWFarm", new CheckBox("Kullan W"));
            JungleLaneMenu.Add("useWManalane", new Slider("W en az mana > %", 70, 0, 100));
            JungleLaneMenu.AddLabel("Orman Temizleme Ayarları:");
            // JungleLaneMenu.Add("useQJungle", new CheckBox("Kullan Q"));
            JungleLaneMenu.Add("useWJungle", new CheckBox("Kullan W"));
            JungleLaneMenu.Add("useWMana", new Slider("W en az mana > %", 70, 0, 100));

            FleeMenu = Menu.AddSubMenu("Flee Settings", "FleeSettings");
            FleeMenu.Add("FleeQ", new CheckBox("Kullan W"));

            MiscMenu = Menu.AddSubMenu("Misc Settings", "MiscSettings");
            MiscMenu.AddGroupLabel("Gapcloser Ayarları:");
            MiscMenu.Add("gapcloser", new CheckBox("Gapcloser için Otomatik W"));
            MiscMenu.AddLabel("Interrupt Ayarları:");
            MiscMenu.Add("interrupter", new CheckBox("Enable Interrupter Using R"));
            MiscMenu.Add("interrupt.value", new ComboBox("Interrupter DangerLevel", 0, "High", "Medium", "Low"));
            MiscMenu.AddGroupLabel("Ks Ayarları:");
            MiscMenu.Add("UseWks", new CheckBox("Use W ks"));
            MiscMenu.Add("UseRks", new CheckBox("Use R ks"));

            AutoPotHealMenu = Menu.AddSubMenu("Potion & HeaL", "Potion & HeaL");
            AutoPotHealMenu.AddGroupLabel("Otomatik İksir Kullanma");
            AutoPotHealMenu.Add("potion", new CheckBox("İksir Kullan"));
            AutoPotHealMenu.Add("potionminHP", new Slider("Can iksiri için en az şu kadar can%", 40));
            AutoPotHealMenu.Add("potionMinMP", new Slider("Mana iksiri için en az şu kadar mana %", 20));
            AutoPotHealMenu.AddGroupLabel("Otomatik İyileştirme kullanımı");
            AutoPotHealMenu.Add("UseHeal", new CheckBox("İyileştirme Kullan"));
            AutoPotHealMenu.Add("useHealHP", new Slider("İyileştirme(Heal) için en az canım şu kadar %", 20));

            ItemMenu = Menu.AddSubMenu("Item Settings", "ItemMenuettings");
            ItemMenu.Add("useBOTRK", new CheckBox("Mahvolmuş kılıç Kullan"));
            ItemMenu.Add("useBotrkMyHP", new Slider("Benim canım < ", 60, 1, 100));
            ItemMenu.Add("useBotrkEnemyHP", new Slider("Düşmanın canı < ", 60, 1, 100));
            ItemMenu.Add("useYoumu", new CheckBox("Kullan Youmu"));
            ItemMenu.AddLabel("QQs Ayarları");
            ItemMenu.Add("useQSS", new CheckBox("Kullan QSS"));
            ItemMenu.Add("Qssmode", new ComboBox(" ", 0, "Auto", "Combo"));
            ItemMenu.Add("Stun", new CheckBox("Sersemlemişse", true));
            ItemMenu.Add("Blind", new CheckBox("Körse", true));
            ItemMenu.Add("Charm", new CheckBox("Çekilmişse(Ahri)", true));
            ItemMenu.Add("Suppression", new CheckBox("WW,Urgot RS(Suppression)", true));
            ItemMenu.Add("Polymorph", new CheckBox("Polymorph(Lulu W)", true));
            ItemMenu.Add("Fear", new CheckBox("Korkmuşsa", true));
            ItemMenu.Add("Taunt", new CheckBox("Alay etme", true));
            ItemMenu.Add("Silence", new CheckBox("Susturulmuşsa", false));
            ItemMenu.Add("QssDelay", new Slider("Kullan QSS Gecikme(ms)", 250, 0, 1000));


            SkinMenu = Menu.AddSubMenu("Skin Changer", "SkinChanger");
            SkinMenu.Add("checkSkin", new CheckBox("Kostüm hilesi kullan"));
            SkinMenu.Add("skin.Id", new Slider("Kostüm", 1, 0, 9));

            DrawMenu = Menu.AddSubMenu("Drawing Settings");
            DrawMenu.Add("drawRange", new CheckBox("Göster Q Menzili"));
            DrawMenu.Add("drawW", new CheckBox("Göster W Menzili"));
            DrawMenu.Add("drawR", new CheckBox("Göster R Menzili"));
            DrawMenu.AddLabel("Baseye dönüş takip et");
            DrawMenu.Add("draw.Recall", new CheckBox("Chatte Yaz"));

            Game.OnTick            += Game_OnTick;
            Game.OnUpdate          += OnGameUpdate;
            Obj_AI_Base.OnBuffGain += OnBuffGain;
            Gapcloser.OnGapcloser  += Gapcloser_OnGapCloser;
            //    Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell;
            Drawing.OnDraw         += Drawing_OnDraw;
            Orbwalker.OnPostAttack += OnAfterAttack;
        }
コード例 #29
0
        private static void OnLoaded(EventArgs args)
        {
            if (Player.Instance.ChampionName != "Shen")
            {
                return;
            }
            Bootstrap.Init(null);
            Q = new Spell.Targeted(SpellSlot.Q, 475);
            W = new Spell.Active(SpellSlot.W);
            E = new Spell.Skillshot(SpellSlot.E, 600, SkillShotType.Linear, 250, 1600, 50);
            R = new Spell.Targeted(SpellSlot.R, 31000);
            if (HasSpell("summonerdot"))
            {
                Ignite = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerdot"), 600);
            }
            Exhaust = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerexhaust"), 650);
            var FlashSlot = Shen.GetSpellSlotFromName("summonerflash");

            Flash           = new Spell.Skillshot(FlashSlot, 32767, SkillShotType.Linear);
            Randuin         = new Item((int)ItemId.Randuins_Omen);
            AbilitySequence = new int[] { 1, 3, 2, 1, 1, 4, 1, 2, 1, 2, 4, 2, 2, 3, 3, 4, 3, 3 };

            ShenMenu = MainMenu.AddMenu("BloodimirShen", "bloodimirshen");
            ShenMenu.AddGroupLabel("Bloodimir Shen");
            ShenMenu.AddSeparator();
            ShenMenu.AddLabel("Bloodimir Shen v1.0.0.0");

            ComboMenu = ShenMenu.AddSubMenu("Combo", "sbtw");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.AddSeparator();
            ComboMenu.Add("usecomboq", new CheckBox("Use Q"));
            ComboMenu.Add("usecombow", new CheckBox("Use W"));
            ComboMenu.Add("usecomboe", new CheckBox("Use E"));
            ComboMenu.Add("useignite", new CheckBox("Use Ignite"));

            SkinMenu = ShenMenu.AddSubMenu("Skin Changer", "skin");
            SkinMenu.AddGroupLabel("Choose the desired skin");

            var skinchange = SkinMenu.Add("sID", new Slider("Skin", 5, 0, 6));
            var sID        = new[]
            {
                "Default", "Frozen", "Yellow Jacket", "Surgeon", "Blood Moon", "Warlord", "TPA"
            };

            skinchange.DisplayName    = sID[skinchange.CurrentValue];
            skinchange.OnValueChange +=
                delegate(ValueBase <int> sender, ValueBase <int> .ValueChangeArgs changeArgs)
            {
                sender.DisplayName = sID[changeArgs.NewValue];
            };

            EMenu = ShenMenu.AddSubMenu("Taunt", "etaunt");
            EMenu.AddGroupLabel("E Settings");
            EMenu.Add("eslider", new Slider("Minimum Enemy to Taunt", 1, 0, 5));
            EMenu.Add("fleee", new CheckBox("Use E Flee"));
            EMenu.AddSeparator();
            foreach (var obj in ObjectManager.Get <AIHeroClient>().Where(obj => obj.Team != Shen.Team))
            {
                EMenu.Add("taunt" + obj.ChampionName.ToLower(), new CheckBox("Taunt " + obj.ChampionName));
            }
            EMenu.Add("flashe", new KeyBind("Flash E", false, KeyBind.BindTypes.HoldActive, 'Y'));
            EMenu.Add("e", new KeyBind("E", false, KeyBind.BindTypes.HoldActive, 'E'));

            UltMenu = ShenMenu.AddSubMenu("ULT", "ultmenu");
            UltMenu.AddGroupLabel("ULT");
            UltMenu.AddSeparator();
            UltMenu.Add("autoult", new CheckBox("Auto Ult on Key Press"));
            UltMenu.Add("rslider", new Slider("Health Percent for Ult", 20));
            UltMenu.AddSeparator();
            UltMenu.Add("ult", new KeyBind("ULT", false, KeyBind.BindTypes.HoldActive, 'R'));

            MiscMenu = ShenMenu.AddSubMenu("Misc", "misc");
            MiscMenu.AddGroupLabel("Misc");
            MiscMenu.AddSeparator();
            MiscMenu.Add("ksq", new CheckBox("KS with Q"));
            MiscMenu.Add("LHQ", new CheckBox("Last Hit Q"));
            MiscMenu.Add("LCQ", new CheckBox("LaneClear Q"));
            MiscMenu.Add("int", new CheckBox("Interrupt Spells"));
            MiscMenu.AddSeparator();
            MiscMenu.Add("support", new CheckBox("Support Mode", false));
            MiscMenu.Add("useexhaust", new CheckBox("Use Exhaust"));
            MiscMenu.Add("randuin", new CheckBox("Use Randuin"));
            MiscMenu.Add("autow", new CheckBox("Auto W"));
            MiscMenu.AddSeparator();
            MiscMenu.Add("WHPPercent", new Slider("Auto W HP %", 45));
            MiscMenu.AddSeparator();
            MiscMenu.Add("lvlup", new CheckBox("Auto Level Up Spells", false));
            foreach (var source in ObjectManager.Get <AIHeroClient>().Where(a => a.IsEnemy))
            {
                MiscMenu.Add(source.ChampionName + "exhaust",
                             new CheckBox("Exhaust " + source.ChampionName, false));
            }


            DrawMenu = ShenMenu.AddSubMenu("Drawings", "drawings");
            DrawMenu.AddGroupLabel("Drawings");
            DrawMenu.AddSeparator();
            DrawMenu.Add("drawq", new CheckBox("Draw Q"));
            DrawMenu.Add("drawe", new CheckBox("Draw E"));
            DrawMenu.Add("drawfq", new CheckBox("Draw FlashQ"));

            Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell;
            Game.OnUpdate                  += OnUpdate;
            Drawing.OnDraw                 += OnDraw;
            Orbwalker.OnPreAttack          += Orbwalker_OnPreAttack;
            Obj_AI_Base.OnProcessSpellCast += Auto_WOnProcessSpell;
            Core.DelayAction(FlashE, 60);
        }
コード例 #30
0
ファイル: Program.cs プロジェクト: chienhao10/Elobuddy-11
        public static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (Player.Instance.Hero != Champion.Nasus)
            {
                return;
            }

            Q = new Spell.Active(SpellSlot.Q, 150);
            W = new Spell.Targeted(SpellSlot.W, 600);
            E = new Spell.Skillshot(SpellSlot.E, 650, SkillShotType.Circular, 500, 20, 380)
            {
                AllowedCollisionCount = int.MaxValue
            };
            R = new Spell.Active(SpellSlot.R);


            var slot = _Player.GetSpellSlotFromName("summonerheal");

            if (slot != SpellSlot.Unknown)
            {
                Heal = new Spell.Active(slot, 600);
            }
            HealthPotion     = new Item(2003, 0);
            TotalBiscuit     = new Item(2010, 0);
            CorruptingPotion = new Item(2033, 0);
            RefillablePotion = new Item(2031, 0);
            HuntersPotion    = new Item(2032, 0);

            Chat.Print("Nasus The Troll Loaded! Version 1", Color.Gold);
            Chat.Print("Have Fun And Dont Feed Kappa!", Color.Gold);

            Menu = MainMenu.AddMenu("Nasus The Troll", "NasusTheTroll");
            Menu.AddGroupLabel("Nasus The Troll Version 1");
            Menu.AddLabel("Last Update 2/6/2016");
            Menu.AddLabel("Made By MeLoDaG");

            ComboMenu = Menu.AddSubMenu("Combo Settings", "Combo");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.Add("useQCombo", new CheckBox("Use Q"));
            ComboMenu.Add("useWCombo", new CheckBox("Use W"));
            ComboMenu.AddLabel("E settings");
            ComboMenu.Add("useECombo", new CheckBox("Use E"));
            ComboMenu.AddLabel("For Max Range Set Slider pred 10% - 30%");
            ComboMenu.Add("Prediction", new Slider("Use E Pred %", 30, 0, 100));
            ComboMenu.AddLabel("Ulty settings");
            ComboMenu.Add("useRcombo", new CheckBox("Use R"));
            ComboMenu.Add("combo.Hp", new Slider("Use Ulty If Hp", 30, 0, 100));

            HarassMenu = Menu.AddSubMenu("Harass Settings", "Harass");
            HarassMenu.AddGroupLabel("Harass Settings");
            HarassMenu.Add("useEHarass", new CheckBox("Use E"));
            HarassMenu.Add("useWHarassMana", new Slider("Min. Mana for Harass %", 70, 0, 100));

            JungleLaneMenu = Menu.AddSubMenu("Lane Jungle Clear Settings", "FarmSettings");
            JungleLaneMenu.AddGroupLabel("Lane Clear");
            JungleLaneMenu.AddLabel("Q stuck work for laneclear lasthit mode!");
            JungleLaneMenu.Add("useQFarm", new CheckBox("Use Q Stuck"));
            JungleLaneMenu.Add("useWManalane", new Slider("Min. Mana for Laneclear Spells %", 70, 0, 100));
            JungleLaneMenu.AddLabel("Jungle Clear");
            JungleLaneMenu.Add("useQJungle", new CheckBox("Use Q"));
            JungleLaneMenu.Add("useWMana", new Slider("Min. Mana for Jungleclear Spells %", 70, 0, 100));

            ItemMenu = Menu.AddSubMenu("Item Settings", "ItemMenuettings");
            ItemMenu.AddGroupLabel("Botrk Settings");
            ItemMenu.Add("useBOTRK", new CheckBox("Use BOTRK"));
            ItemMenu.Add("useBotrkMyHP", new Slider("My Health < ", 60, 1, 100));
            ItemMenu.Add("useBotrkEnemyHP", new Slider("Enemy Health < ", 60, 1, 100));
            ItemMenu.Add("useYoumu", new CheckBox("Use Youmu"));
            ItemMenu.AddGroupLabel("Auto QSS if :");
            ItemMenu.Add("Blind",
                         new CheckBox("Blind", false));
            ItemMenu.Add("Charm",
                         new CheckBox("Charm"));
            ItemMenu.Add("Fear",
                         new CheckBox("Fear"));
            ItemMenu.Add("Polymorph",
                         new CheckBox("Polymorph"));
            ItemMenu.Add("Stun",
                         new CheckBox("Stun"));
            ItemMenu.Add("Snare",
                         new CheckBox("Snare"));
            ItemMenu.Add("Silence",
                         new CheckBox("Silence", false));
            ItemMenu.Add("Taunt",
                         new CheckBox("Taunt"));
            ItemMenu.Add("Suppression",
                         new CheckBox("Suppression"));

            AutoPotHealMenu = Menu.AddSubMenu("Potion & HeaL", "Potion & HeaL");
            AutoPotHealMenu.AddGroupLabel("Auto pot usage");
            AutoPotHealMenu.Add("potion", new CheckBox("Use potions"));
            AutoPotHealMenu.Add("potionminHP", new Slider("Minimum Health % to use potion", 40));
            AutoPotHealMenu.Add("potionMinMP", new Slider("Minimum Mana % to use potion", 20));
            AutoPotHealMenu.AddGroupLabel("AUto Heal Usage");
            AutoPotHealMenu.Add("UseHeal", new CheckBox("Use Heal"));
            AutoPotHealMenu.Add("useHealHP", new Slider("Minimum Health % to use Heal", 20));

            MiscMenu = Menu.AddSubMenu("Misc Settings", "MiscSettings");
            MiscMenu.AddGroupLabel("Ks Settings");
            MiscMenu.Add("UseQks", new CheckBox("Use Q ks"));

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


            DrawMenu = Menu.AddSubMenu("Drawing Settings");
            DrawMenu.AddGroupLabel("Draw Settings");
            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"));
            DrawMenu.AddLabel("Damage indicators");
            DrawMenu.Add("healthbar", new CheckBox("Healthbar overlay"));
            DrawMenu.Add("percent", new CheckBox("Damage percent info"));

            DamageIndicator.Initialize(ComboDamage);
            Game.OnTick            += Game_OnTick;
            Game.OnUpdate          += OnGameUpdate;
            Obj_AI_Base.OnBuffGain += OnBuffGain;
            Drawing.OnDraw         += Drawing_OnDraw;
        }