Ejemplo n.º 1
0
        internal static void Initializer()
        {
            try
            {
                MyLogic.Menu = new Menu("FlowersRyze", "Flowers Ryze", true);
                {
                    MyLogic.Menu.Add(new MenuSeperator("CreditName", "Made by NightMoon"));
                    MyLogic.Menu.Add(new MenuSeperator("IfFPSDrop", "If you have FPS Drop Try F5 reload"));
                    MyLogic.Menu.Add(new MenuSeperator("ASDASDF"));
                }

                MyLogic.Orbwalker = new Aimtec.SDK.Orbwalking.Orbwalker();
                MyLogic.Orbwalker.Attach(MyLogic.Menu);

                MyLogic.ComboMenu = new Menu("FlowersRyze.ComboMenu", ":: Combo Settings");
                {
                    MyLogic.ComboMenu.Add(new MenuSeperator("FlowersRyze.ComboMenu.QSettings", "-- Q Settings"));
                    MyLogic.ComboMenu.Add(new MenuBool("FlowersRyze.ComboMenu.Q", "Use Q"));
                    MyLogic.ComboMenu.Add(new MenuBool("FlowersRyze.ComboMenu.QSmart", "Use Q| Smart Ignore Collsion"));

                    MyLogic.ComboMenu.Add(new MenuSeperator("FlowersRyze.ComboMenu.WSettings", "-- W Settings"));
                    MyLogic.ComboMenu.Add(new MenuBool("FlowersRyze.ComboMenu.W", "Use W"));

                    MyLogic.ComboMenu.Add(new MenuSeperator("FlowersRyze.ComboMenu.ESettings", "-- E Settings"));
                    MyLogic.ComboMenu.Add(new MenuBool("FlowersRyze.ComboMenu.E", "Use E"));

                    MyLogic.ComboMenu.Add(new MenuSeperator("FlowersRyze.ComboMenu.ModeSettings", "-- Mode Settings"));
                    MyLogic.ComboMenu.Add(new MenuList("FlowersRyze.ComboMenu.Mode", "Combo Mode: ",
                                                       new[] { "Smart", "Shield", "Burst" }, 0));
                    MyLogic.ComboMenu.Add(new MenuKeyBind("FlowersRyze.ComboMenu.ModeKey", "Switch Mode Key: ",
                                                          Aimtec.SDK.Util.KeyCode.G, KeybindType.Press)).OnValueChanged +=
                        delegate(MenuComponent iMenuComponent, ValueChangedArgs Args)
                    {
                        if (Args.GetNewValue <MenuKeyBind>().Enabled)
                        {
                            switch (MyLogic.ComboMenu["FlowersRyze.ComboMenu.Mode"].As <MenuList>().Value)
                            {
                            case 0:
                                MyLogic.ComboMenu["FlowersRyze.ComboMenu.Mode"].As <MenuList>().Value = 1;
                                break;

                            case 1:
                                MyLogic.ComboMenu["FlowersRyze.ComboMenu.Mode"].As <MenuList>().Value = 2;
                                break;

                            case 2:
                                MyLogic.ComboMenu["FlowersRyze.ComboMenu.Mode"].As <MenuList>().Value = 0;
                                break;
                            }
                        }
                    };
                    MyLogic.ComboMenu.Add(new MenuSliderBool("FlowersRyze.ComboMenu.ShieldHP",
                                                             "Smart Mode Auto Shield| When Player HealthPercent <= x%", true, 60, 0, 100));

                    MyLogic.ComboMenu.Add(new MenuSeperator("FlowersRyze.ComboMenu.OtherSettings", "-- Other Settings"));
                    MyLogic.ComboMenu.Add(new MenuBool("FlowersRyze.ComboMenu.Ignite", "Use Ignite"));
                    MyLogic.ComboMenu.Add(new MenuList("FlowersRyze.ComboMenu.DisableAttack",
                                                       "Disable Attack in Combo: ",
                                                       new[] { "Smart Mode", "Always", "No" }, 0));
                }
                MyLogic.Menu.Add(MyLogic.ComboMenu);

                MyLogic.HarassMenu = new Menu("FlowersRyze.HarassMenu", ":: Harass Settings");
                {
                    MyLogic.HarassMenu.Add(new MenuSeperator("FlowersRyze.HarassMenu.QSettings", "-- Q Settings"));
                    MyLogic.HarassMenu.Add(new MenuBool("FlowersRyze.HarassMenu.Q", "Use Q"));

                    MyLogic.HarassMenu.Add(new MenuSeperator("FlowersRyze.HarassMenu.WSettings", "-- W Settings"));
                    MyLogic.HarassMenu.Add(new MenuBool("FlowersRyze.HarassMenu.W", "Use W", false));

                    MyLogic.HarassMenu.Add(new MenuSeperator("FlowersRyze.HarassMenu.ESettings", "-- E Settings"));
                    MyLogic.HarassMenu.Add(new MenuBool("FlowersRyze.HarassMenu.E", "Use E"));

                    MyLogic.HarassMenu.Add(new MenuSeperator("FlowersRyze.HarassMenu.ManaSettings", "-- Mana Settings"));
                    MyLogic.HarassMenu.Add(new MenuSlider("FlowersRyze.HarassMenu.Mana",
                                                          "When Player ManaPercent >= x%", 60, 1, 99));
                }
                MyLogic.Menu.Add(MyLogic.HarassMenu);

                MyLogic.ClearMenu = new Menu("FlowersRyze.ClearMenu", ":: Clear Settings");
                {
                    MyLogic.ClearMenu.Add(new MenuSeperator("FlowersRyze.ClearMenu.LaneClearSettings", "-- LaneClear Settings"));
                    MyLogic.ClearMenu.Add(new MenuBool("FlowersRyze.ClearMenu.LaneClearQ", "Use Q"));
                    MyLogic.ClearMenu.Add(new MenuBool("FlowersRyze.ClearMenu.LaneClearW", "Use W"));
                    MyLogic.ClearMenu.Add(new MenuBool("FlowersRyze.ClearMenu.LaneClearE", "Use E"));
                    MyLogic.ClearMenu.Add(new MenuSlider("FlowersRyze.ClearMenu.LaneClearMana",
                                                         "When Player ManaPercent >= x%", 30, 1, 99));

                    MyLogic.ClearMenu.Add(new MenuSeperator("FlowersRyze.ClearMenu.JungleClearSettings", "-- JungleClear Settings"));
                    MyLogic.ClearMenu.Add(new MenuBool("FlowersRyze.ClearMenu.JungleClearQ", "Use Q"));
                    MyLogic.ClearMenu.Add(new MenuBool("FlowersRyze.ClearMenu.JungleClearW", "Use W"));
                    MyLogic.ClearMenu.Add(new MenuBool("FlowersRyze.ClearMenu.JungleClearE", "Use E"));
                    MyLogic.ClearMenu.Add(new MenuSlider("FlowersRyze.ClearMenu.JungleClearMana",
                                                         "When Player ManaPercent >= x%", 30, 1, 99));
                }
                MyLogic.Menu.Add(MyLogic.ClearMenu);

                MyLogic.LastHitMenu = new Menu("FlowersRyze.LastHitMenu", ":: LastHit Settings");
                {
                    MyLogic.LastHitMenu.Add(new MenuSeperator("FlowersRyze.LastHitMenu.QSettings", "-- Q Settings"));
                    MyLogic.LastHitMenu.Add(new MenuBool("FlowersRyze.LastHitMenu.LastHitQ", "Use Q"));
                    MyLogic.LastHitMenu.Add(new MenuSlider("FlowersRyze.LastHitMenu.LastHitMana",
                                                           "When Player ManaPercent >= x%", 30, 1, 99));
                }
                MyLogic.Menu.Add(MyLogic.LastHitMenu);

                MyLogic.KillStealMenu = new Menu("FlowersRyze.KillStealMenu", ":: KillSteal Settings");
                {
                    MyLogic.KillStealMenu.Add(new MenuSeperator("FlowersRyze.KillStealMenu.QSettings", "-- Q Settings"));
                    MyLogic.KillStealMenu.Add(new MenuBool("FlowersRyze.KillStealMenu.Q", "Use Q"));

                    MyLogic.KillStealMenu.Add(new MenuSeperator("FlowersRyze.KillStealMenu.WSettings", "-- W Settings"));
                    MyLogic.KillStealMenu.Add(new MenuBool("FlowersRyze.KillStealMenu.W", "Use W"));

                    MyLogic.KillStealMenu.Add(new MenuSeperator("FlowersRyze.KillStealMenu.ESettings", "-- E Settings"));
                    MyLogic.KillStealMenu.Add(new MenuBool("FlowersRyze.KillStealMenu.E", "Use E"));
                }
                MyLogic.Menu.Add(MyLogic.KillStealMenu);

                MyLogic.MiscMenu = new Menu("FlowersRyze.MiscMenu", ":: Misc Settings");
                {
                    MyManaManager.AddFarmToMenu(MyLogic.MiscMenu);
                    MyLogic.MiscMenu.Add(new MenuSeperator("FlowersRyze.MiscMenu.WSettings", "-- W Settings"));
                    MyLogic.MiscMenu.Add(new MenuBool("FlowersRyze.MiscMenu.WMelee", "Auto W| Anti Melee"));
                    MyLogic.MiscMenu.Add(new MenuBool("FlowersRyze.MiscMenu.WRengar", "Auto W| Anti Rengar"));
                    MyLogic.MiscMenu.Add(new MenuBool("FlowersRyze.MiscMenu.WKhazix", "Auto W| Anti Khazix"));
                }
                MyLogic.Menu.Add(MyLogic.MiscMenu);

                MyLogic.DrawMenu = new Menu("FlowersRyze.DrawMenu", ":: Draw Settings");
                {
                    MyManaManager.AddDrawToMenu(MyLogic.DrawMenu);
                    MyLogic.DrawMenu.Add(new MenuSeperator("FlowersRyze.DrawMenu.RangeSettings", "-- Spell Range"));
                    MyLogic.DrawMenu.Add(new MenuBool("FlowersRyze.DrawMenu.Q", "Draw Q Range", false));
                    MyLogic.DrawMenu.Add(new MenuBool("FlowersRyze.DrawMenu.W", "Draw W Range", false));
                    MyLogic.DrawMenu.Add(new MenuBool("FlowersRyze.DrawMenu.E", "Draw E Range", false));
                    MyLogic.DrawMenu.Add(new MenuBool("FlowersRyze.DrawMenu.R", "Draw R Range", false));

                    MyLogic.DrawMenu.Add(new MenuSeperator("FlowersRyze.DrawMenu.StatusSettings", "-- Logic Status"));
                    MyLogic.DrawMenu.Add(new MenuBool("FlowersRyze.DrawMenu.Combo", "Draw Combo Status"));
                }
                MyLogic.Menu.Add(MyLogic.DrawMenu);

                MyLogic.Menu.Attach();
            }
            catch (Exception ex)
            {
                Console.WriteLine("Error in MyMenuManager.Initializer." + ex);
            }
        }
Ejemplo n.º 2
0
        internal static void Initializer()
        {
            try
            {
                MyLogic.Menu = MainMenu.AddMenu("Flowers Ryze", "Flowers Ryze");
                {
                    MyLogic.Menu.AddGroupLabel("Made by NightMoon");
                    MyLogic.Menu.AddSeparator();
                    MyLogic.Menu.AddGroupLabel("For Yukki Request");
                }

                MyLogic.ComboMenu = MyLogic.Menu.AddSubMenu(":: Combo Settings", "FlowersRyze.ComboMenu");
                {
                    MyLogic.ComboMenu.AddGroupLabel("-- Q Settings");
                    MyLogic.ComboMenu.Add("FlowersRyze.ComboMenu.Q", new CheckBox("Use Q"));
                    MyLogic.ComboMenu.Add("FlowersRyze.ComboMenu.QSmart", new CheckBox("Use Q| Smart Ignore Collsion"));

                    MyLogic.ComboMenu.AddGroupLabel("-- W Settings");
                    MyLogic.ComboMenu.Add("FlowersRyze.ComboMenu.W", new CheckBox("Use W"));

                    MyLogic.ComboMenu.AddGroupLabel("-- E Settings");
                    MyLogic.ComboMenu.Add("FlowersRyze.ComboMenu.E", new CheckBox("Use E"));

                    MyLogic.ComboMenu.AddGroupLabel("-- Mode Settings");
                    MyLogic.ComboMenu.Add("FlowersRyze.ComboMenu.Mode", new ComboBox(
                                              "Combo Mode: ", new[] { "Smart", "Shield", "Burst" }));
                    MyLogic.ComboMenu.Add("FlowersRyze.ComboMenu.ModeKey", new KeyBind(
                                              "Switch Mode Key: ", false, KeyBind.BindTypes.HoldActive, 'G')).OnValueChange +=
                        delegate(ValueBase <bool> sender, ValueBase <bool> .ValueChangeArgs Args)
                    {
                        if (Args.NewValue)
                        {
                            switch (MyLogic.ComboMenu["FlowersRyze.ComboMenu.Mode"].Cast <ComboBox>().CurrentValue)
                            {
                            case 0:
                                MyLogic.ComboMenu["FlowersRyze.ComboMenu.Mode"].Cast <ComboBox>().CurrentValue = 1;
                                break;

                            case 1:
                                MyLogic.ComboMenu["FlowersRyze.ComboMenu.Mode"].Cast <ComboBox>().CurrentValue = 2;
                                break;

                            case 2:
                                MyLogic.ComboMenu["FlowersRyze.ComboMenu.Mode"].Cast <ComboBox>().CurrentValue = 0;
                                break;
                            }
                        }
                    };
                    MyLogic.ComboMenu.Add("FlowersRyze.ComboMenu.ShieldHP", new Slider(
                                              "Smart Mode Auto Shield| When Player HealthPercent <= x%", 60));

                    MyLogic.ComboMenu.AddGroupLabel("-- Other Settings");
                    MyLogic.ComboMenu.Add("FlowersRyze.ComboMenu.Ignite", new CheckBox("Use Ignite"));
                    MyLogic.ComboMenu.Add("FlowersRyze.ComboMenu.DisableAttack", new ComboBox(
                                              "Disable Attack in Combo: ", new[] { "Smart Mode", "Always", "No" }));
                }

                MyLogic.HarassMenu = MyLogic.Menu.AddSubMenu(":: Harass Settings", "FlowersRyze.HarassMenu");
                {
                    MyLogic.HarassMenu.AddGroupLabel("-- Q Settings");
                    MyLogic.HarassMenu.Add("FlowersRyze.HarassMenu.Q", new CheckBox("Use Q"));

                    MyLogic.HarassMenu.AddGroupLabel("-- W Settings");
                    MyLogic.HarassMenu.Add("FlowersRyze.HarassMenu.W", new CheckBox("Use W", false));

                    MyLogic.HarassMenu.AddGroupLabel("-- E Settings");
                    MyLogic.HarassMenu.Add("FlowersRyze.HarassMenu.E", new CheckBox("Use E"));

                    MyLogic.HarassMenu.AddGroupLabel("-- Mana Settings");
                    MyLogic.HarassMenu.Add("FlowersRyze.HarassMenu.Mana", new Slider(
                                               "When Player ManaPercent >= x%", 60, 1, 99));
                }

                MyLogic.ClearMenu = MyLogic.Menu.AddSubMenu(":: Clear Settings", "FlowersRyze.ClearMenu");
                {
                    MyLogic.ClearMenu.AddGroupLabel("-- LaneClear Settings");
                    MyLogic.ClearMenu.Add("FlowersRyze.ClearMenu.LaneClearQ", new CheckBox("Use Q"));
                    MyLogic.ClearMenu.Add("FlowersRyze.ClearMenu.LaneClearW", new CheckBox("Use W"));
                    MyLogic.ClearMenu.Add("FlowersRyze.ClearMenu.LaneClearE", new CheckBox("Use E"));
                    MyLogic.ClearMenu.Add("FlowersRyze.ClearMenu.LaneClearMana", new Slider(
                                              "When Player ManaPercent >= x%", 30, 1, 99));

                    MyLogic.ClearMenu.AddGroupLabel("-- JungleClear Settings");
                    MyLogic.ClearMenu.Add("FlowersRyze.ClearMenu.JungleClearQ", new CheckBox("Use Q"));
                    MyLogic.ClearMenu.Add("FlowersRyze.ClearMenu.JungleClearW", new CheckBox("Use W"));
                    MyLogic.ClearMenu.Add("FlowersRyze.ClearMenu.JungleClearE", new CheckBox("Use E"));
                    MyLogic.ClearMenu.Add("FlowersRyze.ClearMenu.JungleClearMana", new Slider(
                                              "When Player ManaPercent >= x%", 30, 1, 99));
                }

                MyLogic.LastHitMenu = MyLogic.Menu.AddSubMenu(":: LastHit Settings", "FlowersRyze.LastHitMenu");
                {
                    MyLogic.LastHitMenu.AddGroupLabel("-- Q Settings");
                    MyLogic.LastHitMenu.Add("FlowersRyze.LastHitMenu.LastHitQ", new CheckBox("Use Q"));
                    MyLogic.LastHitMenu.Add("FlowersRyze.LastHitMenu.LastHitMana", new Slider(
                                                "When Player ManaPercent >= x%", 30, 1, 99));
                }

                MyLogic.KillStealMenu = MyLogic.Menu.AddSubMenu(":: KillSteal Settings", "FlowersRyze.KillStealMenu");
                {
                    MyLogic.KillStealMenu.AddGroupLabel("-- Q Settings");
                    MyLogic.KillStealMenu.Add("FlowersRyze.KillStealMenu.Q", new CheckBox("Use Q"));

                    MyLogic.KillStealMenu.AddGroupLabel("-- W Settings");
                    MyLogic.KillStealMenu.Add("FlowersRyze.KillStealMenu.W", new CheckBox("Use W"));

                    MyLogic.KillStealMenu.AddGroupLabel("-- E Settings");
                    MyLogic.KillStealMenu.Add("FlowersRyze.KillStealMenu.E", new CheckBox("Use E"));
                }

                MyLogic.MiscMenu = MyLogic.Menu.AddSubMenu(":: Misc Settings", "FlowersRyze.MiscMenu");
                {
                    MyManaManager.AddFarmToMenu(MyLogic.MiscMenu);
                    MyLogic.MiscMenu.AddGroupLabel("-- W Settings");
                    MyLogic.MiscMenu.Add("FlowersRyze.MiscMenu.WMelee", new CheckBox("Auto W| Anti Melee"));
                    MyLogic.MiscMenu.Add("FlowersRyze.MiscMenu.WRengar", new CheckBox("Auto W| Anti Rengar"));
                    MyLogic.MiscMenu.Add("FlowersRyze.MiscMenu.WKhazix", new CheckBox("Auto W| Anti Khazix"));
                }

                MyLogic.DrawMenu = MyLogic.Menu.AddSubMenu(":: Draw Settings", "FlowersRyze.DrawMenu");
                {
                    MyLogic.DrawMenu.AddGroupLabel("-- Spell Range");
                    MyLogic.DrawMenu.Add("FlowersRyze.DrawMenu.Q", new CheckBox("Draw Q Range", false));
                    MyLogic.DrawMenu.Add("FlowersRyze.DrawMenu.W", new CheckBox("Draw W Range", false));
                    MyLogic.DrawMenu.Add("FlowersRyze.DrawMenu.E", new CheckBox("Draw E Range", false));
                    MyLogic.DrawMenu.Add("FlowersRyze.DrawMenu.R", new CheckBox("Draw R Range", false));

                    MyLogic.DrawMenu.AddGroupLabel("-- Logic Status");
                    MyLogic.DrawMenu.Add("FlowersRyze.DrawMenu.Combo", new CheckBox("Draw Combo Status"));
                    MyManaManager.AddDrawToMenu(MyLogic.DrawMenu);
                }
            }
            catch (Exception ex)
            {
                Console.WriteLine("Error in MyMenuManager.Initializer." + ex);
            }
        }