Esempio n. 1
0
        private void BuildChroma()
        {
            ChromaId                = SkinHackMenu.Add("ChromaId." + Player.Instance.ChampionName, new Slider("Chroma : "));
            ChromaId.IsVisible      = false;
            ChromaId.OnValueChange += ChromaId_OnValueChange;
            SkinId.OnValueChange   += SkinId_OnValueChange;

            if (HasChromaPack(SkinId.CurrentValue))
            {
                var dictionary = GetChromaList(SkinId.CurrentValue);

                if (dictionary == null)
                {
                    ChangeSkin(SkinId.CurrentValue);

                    return;
                }
                var maxValue = dictionary.Select(x => x.Key).Count();

                ChromaId.MaxValue = maxValue - 1;

                ChromaId.DisplayName = GetChromaName(SkinId.CurrentValue, ChromaId.CurrentValue);

                ChromaId.IsVisible = true;

                if (Player.Instance.SkinId == 0)
                {
                    ChangeSkin(SkinId.CurrentValue, ChromaId.CurrentValue);
                }
            }
            else if (Player.Instance.SkinId == 0)
            {
                ChangeSkin(SkinId.CurrentValue);
            }
        }
Esempio n. 2
0
        private static void Loadmenu()
        {
            menu            = MainMenu.AddMenu("Swain", "Swain");
            ComboMenu       = menu.AddSubMenu("Combo", "Combomenu");
            HarrassMenu     = menu.AddSubMenu("Harrass", "Harrassmenu");
            LaneclearMenu   = menu.AddSubMenu("Laneclear", "Laneclearmenu");
            JungleclearMenu = menu.AddSubMenu("Jungleclear", "Jungleclearmenu");
            MiscMenu        = menu.AddSubMenu("Misc", "Miscmenu");
            DrawingsMenu    = menu.AddSubMenu("Drawings", "Drawingsmenu");
            ItemMenu        = menu.AddSubMenu("Items", "ItemMenu");


            ComboMenu.Add("CQ", new CheckBox("Use Q"));
            ComboMenu.Add("CW", new CheckBox("Use W"));
            ComboMenu.Add("CE", new CheckBox("Use E"));
            ComboMenu.Add("CR", new CheckBox("Use R"));
            ComboMenu.Add("StopRMana%", new Slider("Stop R when ur MP %", 1, 0, 100));
            ComboMenu.Add("ManualR", new CheckBox("Manual off R"));
            HarrassMenu.Add("HQ", new CheckBox("Use Q"));
            HarrassMenu.Add("HE", new CheckBox("Use E"));
            HarrassMenu.Add("HR", new CheckBox("Use R"));
            LaneclearMenu.Add("LQ", new CheckBox("Use Q"));
            LaneclearMenu.Add("Lw", new CheckBox("Use W"));
            LaneclearMenu.Add("LE", new CheckBox("Use E"));
            LaneclearMenu.Add("LR", new CheckBox("Use R"));
            LaneclearMenu.Add("Use laneclear if", new Slider("Use if", 0, 3, 6));
            ComboMenu.Add("ManualLR", new CheckBox("Manual off R"));
            JungleclearMenu.Add("JQ", new CheckBox("Use Q"));
            JungleclearMenu.Add("JW", new CheckBox("Use W"));
            JungleclearMenu.Add("JE", new CheckBox("Use E"));
            JungleclearMenu.Add("JR", new CheckBox("Use R"));
            MiscMenu.Add("Antigapclosers", new CheckBox("Use W Antigapclosers"));
            MiscMenu.Add("RecoverHp", new Slider("Use R when ur HP % ", 1, 0, 100));
            DrawingsMenu.Add("Draw Q", new CheckBox("Draw Q"));
            DrawingsMenu.Add("Draw W", new CheckBox("Draw W"));
            DrawingsMenu.Add("Draw E", new CheckBox("Draw E"));
            DrawingsMenu.Add("Draw R", new CheckBox("Draw R"));
            ItemMenu.Add("Use Zhonya", new CheckBox("Use Zhonya if u are dead"));
            ItemMenu.Add("use Z HP", new Slider("Use Zhonya when ur HP %", 1, 0, 100));
            ItemMenu.Add("Use Seraph", new Slider("Use Zhonya when ur HP %", 1, 0, 100));

            SkinHackMenu = menu.AddSubMenu("SkinHack", "SkinHack");
            var slid = SkinHackMenu.Add("Skin", new Slider("SkinHack", 0, 0, 3));

            Player.SetSkinId(slid.CurrentValue);
            _SkinVals.Add(ObjectManager.Player, slid);
        }
Esempio n. 3
0
        private void BuildMenu()
        {
            var skins =
                Skins.Select(x => x.Key)
                .ToList();

            if (!skins.Any())
            {
                return;
            }

            SkinHackMenu.AddGroupLabel("Skin hack settings : ");

            SkinId = SkinHackMenu.Add("SkinId." + Player.Instance.ChampionName, new ComboBox("Skin : ", skins));
            SkinHackMenu.AddSeparator(5);

            BuildChroma();
        }
Esempio n. 4
0
        public static void LoadMenu()
        {
            menu         = MainMenu.AddMenu("Ryze", "Ryze");
            ComboMenu    = menu.AddSubMenu("Combo", "combo");
            SkinHackMenu = menu.AddSubMenu("SkinHack", "SkinHack");
            HarrashMenu  = menu.AddSubMenu("Harrash", "Harrash");
            HarrashMenu.Add("HMANA", new Slider("Min. mana for harrash :", 40, 0, 100));
            LaneClearMenu   = menu.AddSubMenu("Laneclear", "Laneclear");
            JungleclearMenu = menu.AddSubMenu("Jungleclear", "Jungleclear");
            JungleclearMenu.Add("JQ", new CheckBox("Use Q"));
            JungleclearMenu.Add("JW", new CheckBox("Use W"));
            JungleclearMenu.Add("JE", new CheckBox("Use E"));
            JungleclearMenu.Add("JR", new CheckBox("Use R"));
            LaneClearMenu.Add("LQ", new CheckBox("Use Q"));
            LaneClearMenu.Add("LW", new CheckBox("Use W"));
            LaneClearMenu.Add("LE", new CheckBox("Use E"));
            LaneClearMenu.Add("LR", new CheckBox("Use R"));
            LaneClearMenu.Add("LMANA", new Slider("Min. mana for laneclear :", 0, 0, 100));
            DrawMenu = menu.AddSubMenu("Draw", "draw");
            HarrashMenu.Add("HQ", new CheckBox("Use Q"));
            HumanizerMenu = menu.AddSubMenu("Humanizer", "Humanizer");

            HumanizerMenu.Add("MinDelay", new Slider("Min Delay For Cast", 150, 0, 400));
            HumanizerMenu.Add("MaxDelay", new Slider("Max Delay For Cast", 250, 0, 500));
            HumanizerMenu.Add("Humanizer", new CheckBox("Humanizer Active", false));
            ComboMenu.Add("CQ", new CheckBox("Use Q"));
            ComboMenu.Add("CE", new CheckBox("Use E"));
            ComboMenu.Add("CW", new CheckBox("Use W"));
            ComboMenu.Add("CR", new CheckBox("Use R"));
            ComboMenu.Add("CRo", new CheckBox("Use R only on Root"));
            ComboMenu.Add("BlockAA", new CheckBox("Block AutoAttacks on combo"));
            ItemsMenu = menu.AddSubMenu("Items Menu", "Items");
            //      ItemsMenu.Add("TEAR", new CheckBox("Use Tear"));
            //      ItemsMenu.Add("TEARFO", new CheckBox("Use Tear only on fountain"));
            //        ItemsMenu.Add("tearSM", new Slider("Min % Mana to Stack Tear",40,0,100));
            //      ItemsMenu.AddSeparator(25);
            ItemsMenu.Add("SERAPH", new CheckBox("Use Serapth"));
            ItemsMenu.Add("seraphHP", new Slider("Hp% for Serapth", 40, 0, 100));

            /*  PotionMenu = ItemsMenu.AddSubMenu("PotionsMenu", "Potions Menu");
             * PotionMenu.Add("autoPO", new CheckBox("Use AutoPot"));
             * PotionMenu.Add("UsePotion", new CheckBox("Use Potion"));
             * PotionMenu.Add("PotionHP", new Slider("Potion HP", 50, 0, 0));
             * PotionMenu.Add("UseManaPotion", new CheckBox("Use Potion"));
             * PotionMenu.Add("ManaPotionHP", new Slider("Mana % ", 50, 0, 0));
             * PotionMenu.Add("UseBiscuit", new CheckBox("Use Potion"));
             * PotionMenu.Add("BiscuitHP", new Slider("Biscuit HP", 50, 0, 0));
             * PotionMenu.Add("flask", new CheckBox("Use flask"));
             * PotionMenu.Add("flaskHP", new Slider("flask HP", 50, 0, 0));*/
            DrawMenu.Add("DQ", new CheckBox("Draw Q"));
            DrawMenu.Add("DW", new CheckBox("Draw W"));
            DrawMenu.Add("DE", new CheckBox("Draw E"));
            DrawMenu.Add("DD", new CheckBox("Draw Damage"));
            miscMenu = menu.AddSubMenu("Misc", "Misc");
            miscMenu.Add("WGapCloser", new CheckBox("Use W Gapcloser"));
            miscMenu.Add("WInterrupt", new CheckBox("Use W Interrupt"));
            miscMenu.Add("LockTar", new CheckBox("Active focus Selected Target"));
            var slid = SkinHackMenu.Add(ObjectManager.Player.BaseSkinName, new Slider("Select Ryze skin : ", 0, 0, 8));

            Player.SetSkinId(slid.CurrentValue);
            _SkinVals.Add(ObjectManager.Player, slid);
            _SkinVals[ObjectManager.Player].OnValueChange += Program_OnValueChange;
        }