Ejemplo n.º 1
0
        private void InitMenu()
        {
            ComboMenu = MainMenu.AddSubMenu("Combo Settings:", "Combo Settings: ");
            ComboMenu.Add("useq", new CheckBox("Auto Q", true));
            ComboMenu.AddSeparator();
            ComboMenu.AddLabel("1 : PRADA | 2 : MARKSMAN | 3 : VHR | 4: SharpShooter");
            ComboMenu.Add("qmode", new Slider("Q Mode: ", 1, 1, 4));
            ComboMenu.AddSeparator();
            ComboMenu.AddLabel("1 : NEVER | 2 : E-NOT-READY | 3 : ALWAYS ");
            ComboMenu.Add("qantigc", new Slider("Use Q Antigapcloser ", 1, 1, 3));
            ComboMenu.AddSeparator();
            ComboMenu.Add("focus2w", new CheckBox("Try To Focus 2W", false));
            ComboMenu.Add("dontattackwhileinvisible", new CheckBox("Smart Invisible Attacking", true));
            ComboMenu.Add("user", new CheckBox("Use R In Combo", false));

            CondemnMenu = MainMenu.AddSubMenu("Condemn Settings:", "Condemn Settings:");
            CondemnMenu.Add("usee", new CheckBox("Auto E", true));
            CondemnMenu.Add("edelay", new Slider("E Delay (in ms) ", 0, 0, 100));
            CondemnMenu.AddSeparator();
            CondemnMenu.AddLabel("1 : PRADASMART | 2 : PRADAPERFECT | 3 : MARKSMAN");
            CondemnMenu.AddLabel("4 : SHARPSHOOTER | 5 : GOSU | 6 : VHR");
            CondemnMenu.AddLabel("7 : PRADALEGACY | 8 : FASTEST | 9 : OLDPRADA");
            CondemnMenu.Add("emode", new Slider("E Mode : ", 8, 1, 9));
            CondemnMenu.AddSeparator();
            CondemnMenu.Add("useeinterrupt", new CheckBox("Use E To Interrupt", true));
            CondemnMenu.Add("useeantigapcloser", new CheckBox("Use E AntiGapcloser", true));
            CondemnMenu.Add("ewhenmeleesnear", new CheckBox("Use E when Melee near", false));
            CondemnMenu.Add("epushdist", new Slider("E Push Distance : ", 425, 300, 470));
            CondemnMenu.Add("ehitchance", new Slider("Condemn Hitchance : ", 50, 0, 100));
            CondemnMenu.Add("semiautoekey", new KeyBind("Semi Automatic Condemn", false, KeyBind.BindTypes.HoldActive, "E".ToCharArray()[0]));

            HarassMenu = MainMenu.AddSubMenu("Harass Settings:", "Harass Settings: ");
            HarassMenu.Add("usee3rdwproc", new CheckBox("Use E as 3rd W Proc", false));
            HarassMenu.Add("useqonlyon2stackedenemies", new CheckBox("Use Q If Enemy Have 2W Stacks", false));
            HarassMenu.Add("useqonenemiesnotcs", new CheckBox("Use Q Bonus On ENEMY not CS", false));

            FarmMenu = MainMenu.AddSubMenu("Farm Settings:", "Farm Settings: ");
            FarmMenu.Add("useqfarm", new CheckBox("Use Q", true));
            FarmMenu.Add("useejgfarm", new CheckBox("Use E Jungle", true));

            DrawMenu = MainMenu.AddSubMenu("Drawing Settings:", "Drawing Settings: ");
            DrawMenu.Add("drawwstacks", new CheckBox("Draw W Stacks", true));
        }
Ejemplo n.º 2
0
        private static void Game_OnStart(EventArgs args)
        {
            if (!_Player.ChampionName.ToLower().Contains("vayne"))
            {
                return;
            }

            Q = new Spell.Skillshot(SpellSlot.Q, int.MaxValue, SkillShotType.Linear);
            E = new Spell.Targeted(SpellSlot.E, 550);
            Condemn.ESpell = new Spell.Skillshot(SpellSlot.E, 550, SkillShotType.Linear, 250, 1200);
            R = new Spell.Active(SpellSlot.R);


            Menu = MainMenu.AddMenu("Crayz Vayne", "CrayzVayne");

            Menu.AddGroupLabel("Crayz Vayne");
            Menu.AddLabel("Version: " + "7.5.179.44");
            Menu.AddSeparator();
            Menu.AddLabel("By Crayz Turkis ;)");
            Menu.AddSeparator();
            Menu.AddLabel("Have Fun !");

            ComboMenu = Menu.AddSubMenu("Combo", "Combo");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.Add("useQCombo", new CheckBox("Use Q"));
            ComboMenu.Add("useQKite", new CheckBox("Use Q to Kite Melee", false));
            ComboMenu.Add("useECombo", new CheckBox("Use E (Execute)"));
            ComboMenu.AddLabel("R Settings");
            ComboMenu.Add("useRCombo", new CheckBox("Use R", false));
            ComboMenu.Add("noRUnderTurret", new CheckBox("Disable R if Target is under enemy turret"));

            CondemnPriorityMenu = Menu.AddSubMenu("Auto Condemn", "AutoCondemn");
            CondemnPriorityMenu.AddGroupLabel("Condemn Priority");
            foreach (var enem in ObjectManager.Get <AIHeroClient>().Where(a => a.IsEnemy))
            {
                var champValue = CondemnPriorityMenu.Add(enem.ChampionName + "priority",
                                                         new Slider(enem.ChampionName + ": ", 1, 1, 5));
                var enem1 = enem;
                champValue.OnValueChange += delegate
                {
                    champValue.DisplayName = enem1.ChampionName + ": " + PriorityValues[champValue.CurrentValue];
                };
                champValue.DisplayName = enem1.ChampionName + ": " + PriorityValues[champValue.CurrentValue];
            }
            CondemnPriorityMenu.AddSeparator();
            var sliderValue = CondemnPriorityMenu.Add("minSliderAutoCondemn",
                                                      new Slider("Min Priority for Auto Condemn: ", 2, 1, 5));

            sliderValue.OnValueChange += delegate
            {
                sliderValue.DisplayName = "Min Priority for Auto Condemn: " + PriorityValues[sliderValue.CurrentValue];
            };
            sliderValue.DisplayName = "Min Priority for Auto Condemn: " + PriorityValues[sliderValue.CurrentValue];
            CondemnPriorityMenu.Add("autoCondemnToggle",
                                    new KeyBind("Auto Condemn", false, KeyBind.BindTypes.PressToggle, 'H'));
            CondemnPriorityMenu.AddSeparator();

            CondemnMenu = Menu.AddSubMenu("Condemn", "Condemn");
            CondemnMenu.AddGroupLabel("Condemn Settings");
            CondemnMenu.AddSeparator();
            CondemnMenu.Add("pushDistance", new Slider("Push Distance", 410, 350, 420));
            CondemnMenu.Add("condemnPercent", new Slider("Condemn Percent", 33, 1));
            CondemnMenu.AddSeparator();
            CondemnMenu.AddLabel("Active Mode Settings");
            CondemnMenu.Add("smartVsCheap",
                            new CheckBox("On (saves fps) OFF (360 degree check)", true));
            CondemnMenu.AddSeparator();
            CondemnMenu.Add("condemnCombo", new CheckBox("Condemn in Combo", true));
            CondemnMenu.Add("condemnComboTrinket", new CheckBox("Trinket Bush After E", true));
            CondemnMenu.Add("condemnHarass", new CheckBox("Condemn in Harass", true));

            HarassMenu = Menu.AddSubMenu("Harass", "Harass");
            HarassMenu.AddGroupLabel("Harass Settings");
            HarassMenu.Add("useQHarass", new CheckBox("Use Q", true));

            FarmMenu = Menu.AddSubMenu("Farming", "Farming");
            FarmMenu.AddGroupLabel("Farming Settings");
            FarmMenu.Add("onlyTumbleToCursor", new CheckBox("Only Tumble To Cursor", false));
            FarmMenu.AddLabel("Last Hit");
            FarmMenu.Add("useQLastHit", new CheckBox("Use Q Last", true));
            FarmMenu.AddLabel("WaveClear");
            FarmMenu.Add("useQWaveClear", new CheckBox("Use Q WaveClear", true));

            DrawMenu = Menu.AddSubMenu("Misc Menu", "Misc");
            DrawMenu.AddGroupLabel("Draw Settings");
            DrawMenu.Add("drawERange", new CheckBox("Draw E Range", false));
            DrawMenu.Add("condemnVisualiser", new CheckBox("Draw Condemn", false));
            DrawMenu.Add("drawStacks", new CheckBox("Draw W Stacks", false));
            DrawMenu.AddLabel("Misc");
            DrawMenu.Add("wallJumpKey", new KeyBind("Tumble Walls", false, KeyBind.BindTypes.HoldActive, 'Z'));
            DrawMenu.Add("condemnNextAA", new KeyBind("Condemn Next AA", false, KeyBind.BindTypes.PressToggle, 'E'));
            DrawMenu.AddLabel("Anti-Champions");
            DrawMenu.Add("antiKalista", new CheckBox("Anti-Kalista"));
            DrawMenu.Add("antiRengar", new CheckBox("Anti-Rengar"));

            InterruptorMenu = Menu.AddSubMenu("Interrupter", "Interrupter");
            InterruptorMenu.AddGroupLabel("Interrupter Menu");
            InterruptorMenu.Add("enableInterrupter", new CheckBox("Enable Interrupter"));
            InterruptorMenu.AddSeparator();
            var dangerSlider        = InterruptorMenu.Add("dangerLevel", new Slider("Set Your Danger Level: ", 3, 1, 3));
            var dangerSliderDisplay = InterruptorMenu.Add("dangerLevelDisplay",
                                                          new Label("Danger Level: " + DangerSliderValues[dangerSlider.Cast <Slider>().CurrentValue - 1]));

            dangerSlider.Cast <Slider>().OnValueChange += delegate
            {
                dangerSliderDisplay.Cast <Label>().DisplayName =
                    "Danger Level: " + DangerSliderValues[dangerSlider.Cast <Slider>().CurrentValue - 1];
            };

            GapCloserMenu = Menu.AddSubMenu("Anti-GapClosers", "Anti-GapClosers");
            GapCloserMenu.AddGroupLabel("Anti-GapCloser Menu");
            GapCloserMenu.Add("enableGapCloser", new CheckBox("Enable Anti-GapCloser"));

            Orbwalker.OnPreAttack            += Events.Orbwalker_OnPreAttack;
            Game.OnUpdate                    += Game_OnUpdate;
            Drawing.OnDraw                   += Drawing_OnDraw;
            Gapcloser.OnGapcloser            += Events.Gapcloser_OnGapCloser;
            Interrupter.OnInterruptableSpell += Events.Interrupter_OnInterruptableSpell;
            Obj_AI_Base.OnProcessSpellCast   += AIHeroClient_OnProcessSpellCast;
            Obj_AI_Base.OnSpellCast          += Obj_AI_Base_OnSpellCast;
            Obj_AI_Base.OnBasicAttack        += Events.ObjAiBaseOnOnBasicAttack;
            GameObject.OnCreate              += Events.GameObject_OnCreate;
        }