Пример #1
0
        private void CriarMenu()
        {
            Menu = new Menu("Stack OverFlow", "stackoverflow", true);

            var tsMenu = new Menu("Target Selector", "stackoverflowTS");

            TargetSelector.AddToMenu(tsMenu);
            Menu.AddSubMenu(tsMenu);

            var orbwalkMenu = new Menu("Orbwalker", "stackoverflowOrbwalker");

            Orbwalker = new Orbwalking.Orbwalker(orbwalkMenu);
            Menu.AddSubMenu(orbwalkMenu);

            var comboMenu = new Menu("Combo", "stackoverflowCombo");

            Combo(comboMenu);
            Menu.AddSubMenu(comboMenu);

            var harassMenu = new Menu("Harass", "stackoverflowHarass");

            Harass(harassMenu);
            Menu.AddSubMenu(harassMenu);

            var itemsMenu = new Menu("Items", "stackoverflowItems");

            ItemMenu(itemsMenu);
            Menu.AddSubMenu(itemsMenu);

            var miscMenu = new Menu("Misc", "stackoverflowMisc");

            miscMenu.AddItem(new MenuItem("packets", "Use packets / Pacotes").SetValue(true));
            Misc(miscMenu);
            Menu.AddSubMenu(miscMenu);

            var itemMenu = new Menu("Items and Summoners", "Items");

            ItemManager.AddToMenu(itemMenu);
            Menu.AddSubMenu(itemMenu);


            if (Player.GetSpellSlot("SummonerDot") != SpellSlot.Unknown)
            {
                var igniteMenu = new Menu("Ignite/Incendiar", "stackoverflowIgnite");
                new AutoIgnite().Load(igniteMenu);
                Menu.AddSubMenu(igniteMenu);
            }

            var pmUtilitario = new Menu("Potion Control/Controle", "stackoverflowPM");

            new PotionUtilitario().Load(pmUtilitario);
            Menu.AddSubMenu(pmUtilitario);

            var drawingMenu = new Menu("Drawings / Desenhos", "stackoverflowDrawing");

            Drawings(drawingMenu);
            Menu.AddSubMenu(drawingMenu);

            Menu.AddToMainMenu();
        }
Пример #2
0
        private void GameOnLoad()
        {
            Game.PrintChat("<font color = \"#FFB6C1\">xSalice's Ressurected AIO</font> by <font color = \"#00FFFF\">xSalice</font>, imsosharp Fix, NightMoon Rework!");
            Game.PrintChat("---------------------------------");
            Game.PrintChat("Change Log: Rewrite Done! Now just need to fix the question.(Prediction Change in Next Update)");

            Menu = new Menu("xSalice's " + Player.ChampionName, Player.ChampionName, true);

            Menu.AddSubMenu(new Menu("Orbwalker", "Orbwalker"));
            Orbwalker = new xSaliceResurrected_Rework.Orbwalking.Orbwalker(Menu.SubMenu("Orbwalker"));

            var itemMenu = new Menu("Activator", "Items");

            ItemManager.AddToMenu(itemMenu);
            Menu.AddSubMenu(itemMenu);

            var predMenu = new Menu("Prediction", "Prediction");

            predMenu.AddItem(new MenuItem("(Now Not Work)", "Now Not Work!!!!!"));
            predMenu.AddItem(new MenuItem("SelectPred", "Select Prediction: ", true).SetValue(new StringList(new[] { "Common Prediction", "OKTW Prediction", "SDK Prediction", "SPrediction(Need F5 Reload)", "xcsoft AIO Prediction" }, 1)));
            predMenu.AddItem(new MenuItem("AboutCommonPred", "Common Prediction -> LeagueSharp.Commmon Prediction"));
            predMenu.AddItem(new MenuItem("AboutOKTWPred", "OKTW Prediction -> Sebby' Prediction"));
            predMenu.AddItem(new MenuItem("AboutSDKPred", "SDK Prediction -> LeagueSharp.SDKEx Prediction"));
            predMenu.AddItem(new MenuItem("AboutSPred", "SPrediction -> Shine' Prediction"));
            predMenu.AddItem(new MenuItem("AboutxcsoftAIOPred", "xcsoft AIO Prediction -> xcsoft ALL In One Prediction"));
            Menu.AddSubMenu(predMenu);

            Menu.AddToMainMenu();

            var pluginLoader = new PluginLoader();
        }
Пример #3
0
        private void GameOnLoad()
        {
            Game.PrintChat("<font color = \"#FFB6C1\">xSalice's Ressurected AIO</font> by <font color = \"#00FFFF\">xSalice</font>, imsosharp version");

            menu = new Menu(Player.ChampionName, Player.ChampionName, true);

            //Orbwalker submenu
            if (Player.ChampionName.ToLower() == "azir")
            {
                menu.AddSubMenu(OrbwalkerMenu);
                AzirOrb = new AzirManager(OrbwalkerMenu);
            }
            else
            {
                menu.AddSubMenu(OrbwalkerMenu);
                Orbwalker = new Orbwalking.Orbwalker(OrbwalkerMenu);
            }

            //Item Menu
            var itemMenu = new Menu("Activator", "Items");

            ItemManager.AddToMenu(itemMenu);
            menu.AddSubMenu(itemMenu);

            menu.AddToMainMenu();
            new PluginLoader();

            //debug
            //Obj_AI_Base.OnProcessSpellCast += Obj_AI_Base_OnProcessSpellCastEvent;
            //Obj_AI_Base.OnBuffAdd += ObjAiBaseOnOnBuffAdd;
            //Obj_AI_Base.OnBuffRemove += ObjAiBaseOnOnBuffRemove;
            //GameObject.OnCreate += GameObject_OnCreateEvent;
            //GameObject.OnDelete += GameObject_OnDeleteEvent;
        }
Пример #4
0
        private void GameOnLoad()
        {
            Game.PrintChat("<font color = \"#FFB6C1\">xSalice's Ressurected AIO</font> by <font color = \"#00FFFF\">xSalice</font>");
            Game.PrintChat("<font color = \"#87CEEB\">Feel free to donate via Paypal to:</font> <font color = \"#FFFF00\">[email protected]</font>");

            menu = new Menu(Player.ChampionName, Player.ChampionName, true);

            //Info
            menu.AddSubMenu(new Menu("General", "General"));
            menu.SubMenu("General").AddItem(new MenuItem("Author", "By xSalice"));
            menu.SubMenu("General").AddItem(new MenuItem("Paypal", "Donate: [email protected]"));
            menu.SubMenu("General").AddItem(new MenuItem("OrbwalkingMode", "Mode (Require f5 reload): ").SetValue(new StringList(new[] { "xSaliceWalker", "Common" })));

            //Target selector
            var targetSelectorMenu = new Menu("Target Selector", "Target Selector");

            TargetSelector.AddToMenu(targetSelectorMenu);
            menu.AddSubMenu(targetSelectorMenu);

            //Orbwalker submenu
            if (Player.ChampionName.ToLower() == "azir")
            {
                menu.AddSubMenu(OrbwalkerMenu);
                AzirOrb = new AzirManager(OrbwalkerMenu);
            }
            else
            {
                menu.AddSubMenu(OrbwalkerMenu);

                if (menu.Item("OrbwalkingMode").GetValue <StringList>().SelectedIndex == 1)
                {
                    Orbwalker = new Orbwalking.Orbwalker(OrbwalkerMenu);
                }
                else
                {
                    xSaliceWalker.AddToMenu(OrbwalkerMenu);
                }
            }

            //Item Menu
            var itemMenu = new Menu("Items and Summoners", "Items");

            ItemManager.AddToMenu(itemMenu);
            menu.AddSubMenu(itemMenu);

            //Gank Alerter
            GankAlerter gank = new GankAlerter(menu);

            menu.AddToMainMenu();
            new PluginLoader();

            //debug
            //Obj_AI_Base.OnProcessSpellCast += Obj_AI_Base_OnProcessSpellCastEvent;
            //Obj_AI_Base.OnBuffAdd += ObjAiBaseOnOnBuffAdd;
            //Obj_AI_Base.OnBuffRemove += ObjAiBaseOnOnBuffRemove;
            //GameObject.OnCreate += GameObject_OnCreateEvent;
            //GameObject.OnDelete += GameObject_OnDeleteEvent;
        }
Пример #5
0
        private void SetupMenu()
        {
            try
            {
                SFXMenu = new Menu(Global.Name, "sfx", true);

                Menu = SFXMenu.AddSubMenu(new Menu(Player.ChampionName, "." + Player.ChampionName));

                DrawingManager.AddToMenu(
                    Menu.AddSubMenu(new Menu(Global.Lang.Get("G_Drawing"), Menu.Name + ".drawing")), this);

                TargetSelector.AddToMenu(
                    SFXMenu.AddSubMenu(new Menu(Global.Lang.Get("F_TargetSelector"), SFXMenu.Name + ".ts")));

                Orbwalker =
                    new Orbwalking.Orbwalker(
                        SFXMenu.AddSubMenu(new Menu(Global.Lang.Get("F_Orbwalker"), SFXMenu.Name + ".orb")));
                KillstealManager.AddToMenu(
                    SFXMenu.AddSubMenu(new Menu(Global.Lang.Get("F_MK"), SFXMenu.Name + ".killsteal")));
                ItemManager.AddToMenu(
                    SFXMenu.AddSubMenu(new Menu(Global.Lang.Get("F_MI"), SFXMenu.Name + ".items")), ItemFlags);
                SummonerManager.AddToMenu(
                    SFXMenu.AddSubMenu(new Menu(Global.Lang.Get("F_MS"), SFXMenu.Name + ".summoners")));

                LanguageMenu.AddToMenu(
                    SFXMenu.AddSubMenu(new Menu(Global.Lang.Get("F_Settings"), SFXMenu.Name + ".settings")));

                InfoMenu.AddToMenu(SFXMenu.AddSubMenu(new Menu(Global.Lang.Get("F_Info"), SFXMenu.Name + ".info")));

                DebugMenu.AddToMenu(SFXMenu, Spells);

                TickMenu.AddToMenu(SFXMenu);

                SFXMenu.AddToMainMenu();

                try
                {
                    AddToMenu();
                }
                catch (Exception ex)
                {
                    Global.Logger.AddItem(new LogItem(ex));
                }
            }
            catch (Exception ex)
            {
                Global.Logger.AddItem(new LogItem(ex));
            }
        }
Пример #6
0
        private void SetupMenu()
        {
            try
            {
                SFXMenu = new Menu(Global.Name, "sfx", true);

                Menu = new Menu(Global.Prefix + Player.ChampionName, SFXMenu.Name + "." + Player.ChampionName, true);

                DrawingManager.AddToMenu(Menu.AddSubMenu(new Menu("Drawings", Menu.Name + ".drawing")), this);

                TargetSelector.AddToMenu(SFXMenu.AddSubMenu(new Menu("Target Selector", SFXMenu.Name + ".ts")));

                Orbwalker = new Orbwalking.Orbwalker(SFXMenu.AddSubMenu(new Menu("Orbwalker", SFXMenu.Name + ".orb")));

                KillstealManager.AddToMenu(SFXMenu.AddSubMenu(new Menu("Killsteal", SFXMenu.Name + ".killsteal")));

                var itemMenu = SFXMenu.AddSubMenu(new Menu("Items", SFXMenu.Name + ".items"));
                TearStackManager.AddToMenu(
                    itemMenu.AddSubMenu(new Menu("Tear Stacking", SFXMenu.Name + ".tear-stack." + Player.ChampionName)),
                    Spells);
                ItemManager.AddToMenu(itemMenu, ItemFlags);
                SummonerManager.AddToMenu(SFXMenu.AddSubMenu(new Menu("Summoners", SFXMenu.Name + ".summoners")));

                InfoMenu.AddToMenu(SFXMenu.AddSubMenu(new Menu("Info", SFXMenu.Name + ".info")));
                DebugMenu.AddToMenu(SFXMenu, Spells);

                Menu.AddToMainMenu();
                SFXMenu.AddToMainMenu();

                try
                {
                    AddToMenu();
                }
                catch (Exception ex)
                {
                    Global.Logger.AddItem(new LogItem(ex));
                }
            }
            catch (Exception ex)
            {
                Global.Logger.AddItem(new LogItem(ex));
            }
        }
Пример #7
0
        private void GameOnLoad()
        {
            Chat.Print(
                "<font color = \"#FFB6C1\">xSalice's Ressurected AIO</font> by <font color = \"#00FFFF\">xSalice</font>, imsosharp Update, NightMoon Rework!");

            Menu = new Menu("xSalice's " + Player.ChampionName, Player.ChampionName, true);

            Menu.AddSubMenu(new Menu("Orbwalker", "Orbwalker"));
            Orbwalker = new Orbwalking.Orbwalker(Menu.SubMenu("Orbwalker"));

            var itemMenu = new Menu("Activator", "Items");

            ItemManager.AddToMenu(itemMenu);
            Menu.AddSubMenu(itemMenu);

            Menu.AddToMainMenu();

            var pluginLoader = new PluginLoader();
        }
Пример #8
0
        private void InitializeMenu()
        {
            //Champmenu
            // create root menu
            // Constructor Menu(string displayName, string name, bool root)
            menu = new Menu(Player.ChampionName, Player.ChampionName, true);

            //Target selector
            // create submenu for TargetSelector used by Orbwalker
            var targetSelectorMenu = new Menu("Target Selector", "Target Selector");

            TargetSelector.AddToMenu(targetSelectorMenu);
            menu.AddSubMenu(targetSelectorMenu);

            //Orbwalkermenu
            // create and add submenu 'Orbwalker'
            // Menu.AddSubMenu(Menu menu) returns added Menu
            menu.AddSubMenu(OrbwalkerMenu);
            Orbwalker = new Orbwalking.Orbwalker(OrbwalkerMenu);

            //Item Menu
            var itemMenu = new Menu("Items and Summoners", "Items");

            ItemManager.AddToMenu(itemMenu);
            menu.AddSubMenu(itemMenu);

            //Spells menu
            Menu spellMenu = new Menu("Spells", "Spells");

            menu.AddSubMenu(spellMenu);

            // create MenuItem 'LaughButton' as Keybind
            // Constructor KeyBind(int keyCode, KeyBindType type)
            spellMenu.AddItem(new MenuItem("LaughButton", "Combo").SetValue(new KeyBind(32, KeyBindType.Press)));



            // attach to 'Shift/F9' Menu
            menu.AddToMainMenu();
        }
Пример #9
0
        internal static void Init()
        {
            Menu = new Menu("mySeries: " + Me.ChampionName, "mySeries: " + Me.ChampionName, true);

            var targetSelectMenu = Menu.AddSubMenu(new Menu("Target Selector", "Target Selector"));
            {
                TargetSelector.AddToMenu(targetSelectMenu);
            }

            var orbMenu = Menu.AddSubMenu(new Menu("Orbwalking", "Orbwalking"));
            {
                Orbwalker = new Orbwalking.Orbwalker(orbMenu);
            }

            var comboMenu = Menu.AddSubMenu(new Menu("Combo", "Combo"));
            {
                comboMenu.AddItem(new MenuItem("ComboQ", "Use Q", true).SetValue(true));
                comboMenu.AddItem(new MenuItem("ComboW", "Use W", true).SetValue(true));
                comboMenu.AddItem(new MenuItem("ComboE", "Use E", true).SetValue(true));
                comboMenu.AddItem(
                    new MenuItem("ComboMode", "Combo Mode: ", true).SetValue(new StringList(new[] { "QEW", "EQW" })));
                comboMenu.AddItem(new MenuItem("ComboR", "Use R", true).SetValue(true));
                comboMenu.AddItem(new MenuItem("ComboRalways", "Use R| Always Cast", true).SetValue(false));
                comboMenu.AddItem(new MenuItem("ComboRcanKill", "Use R| Can Killable Target", true).SetValue(true));
                comboMenu.AddItem(new MenuItem("ComboRhitCount", "Use R| Hit Count Ememies (AOE)", true).SetValue(true));
                comboMenu.AddItem(
                    new MenuItem("ComboRhitCountcount", "Use R| Hit Count Ememies >= x", true).SetValue(new Slider(3, 1,
                                                                                                                   5)));
                comboMenu.AddItem(new MenuItem("ComboDot", "Use Ignite", true).SetValue(true));
            }

            var harassMenu = Menu.AddSubMenu(new Menu("Harass", "Harass"));
            {
                harassMenu.AddItem(new MenuItem("HarassQ", "Use Q", true).SetValue(true));
                harassMenu.AddItem(new MenuItem("HarassW", "Use W", true).SetValue(true));
                harassMenu.AddItem(new MenuItem("HarassE", "Use E", true).SetValue(true));
                harassMenu.AddItem(
                    new MenuItem("HarassMode", "Harass Mode: ", true).SetValue(new StringList(new[] { "QEW", "EQW" })));
            }

            var clearMenu = Menu.AddSubMenu(new Menu("Clear", "Clear"));
            {
                var laneClearMenu = clearMenu.AddSubMenu(new Menu("LaneClear", "LaneClear"));
                {
                    laneClearMenu.AddItem(new MenuItem("LaneClearQ", "Use Q", true).SetValue(true));
                    laneClearMenu.AddItem(new MenuItem("LaneClearQLH", "Use Q|Only Last Hit", true).SetValue(false));
                    laneClearMenu.AddItem(new MenuItem("LaneClearW", "Use W", true).SetValue(true));
                    laneClearMenu.AddItem(
                        new MenuItem("LaneClearWCount", "Use W| Hit Count >= x", true).SetValue(new Slider(3, 1, 10)));
                }

                var jungleClearMenu = clearMenu.AddSubMenu(new Menu("JungleClear", "JungleClear"));
                {
                    jungleClearMenu.AddItem(new MenuItem("JungleClearQ", "Use Q", true).SetValue(true));
                    jungleClearMenu.AddItem(new MenuItem("JungleClearW", "Use W", true).SetValue(true));
                    jungleClearMenu.AddItem(new MenuItem("JungleClearE", "Use E", true).SetValue(true));
                }

                clearMenu.AddItem(new MenuItem("asdqweqwe", " ", true));
                ManaManager.AddSpellFarm(clearMenu);
            }

            var lastHitMenu = Menu.AddSubMenu(new Menu("LastHit", "LastHit"));
            {
                lastHitMenu.AddItem(new MenuItem("LastHitQ", "Use Q", true).SetValue(true));
            }

            var killStealMenu = Menu.AddSubMenu(new Menu("KillSteal", "KillSteal"));
            {
                killStealMenu.AddItem(new MenuItem("KillStealQ", "Use Q", true).SetValue(true));
                killStealMenu.AddItem(new MenuItem("KillStealE", "Use E", true).SetValue(true));
                killStealMenu.AddItem(new MenuItem("KillStealCancel", "Cancel Ult", true).SetValue(true));
            }

            var fleeMenu = Menu.AddSubMenu(new Menu("Flee", "Flee"));
            {
                fleeMenu.AddItem(new MenuItem("FleeW", "Use W", true).SetValue(true));
                fleeMenu.AddItem(new MenuItem("FleeE", "Use E", true).SetValue(true));
            }

            var miscMenu = Menu.AddSubMenu(new Menu("Misc", "Misc"));
            {
                var eSettings = miscMenu.AddSubMenu(new Menu("E Settings", "E Settings"));
                {
                    eSettings.AddItem(new MenuItem("LogicE", "Enabled Logic E(Not work in EQW Mode)", true).SetValue(true));
                    eSettings.AddItem(new MenuItem("Humanizer", "Enabled Humanizer", true).SetValue(false));
                    eSettings.AddItem(new MenuItem("HumanizerD", "Humanizer Delay", true).SetValue(new Slider(0, 0, 1000)));
                    eSettings.AddItem(
                        new MenuItem("Eturret", "Dont Use E to Turret", true).SetValue(
                            new StringList(new[] { "Always", "Smart", "Off" }, 1)));
                    eSettings.AddItem(
                        new MenuItem("EturretHP", "Smart Mode| When Player HealthPercent", true).SetValue(new Slider(50))
                        .SetTooltip(
                            "just when player HealthPercent <= Settings, will enabled my setting, if High than percent it will can dash to turret"));
                }

                var skinMenu = miscMenu.AddSubMenu(new Menu("SkinChange", "SkinChange"));
                {
                    SkinManager.AddToMenu(skinMenu, 9);
                }

                var autoLevelMenu = miscMenu.AddSubMenu(new Menu("Auto Levels", "Auto Levels"));
                {
                    LevelsManager.AddToMenu(autoLevelMenu);
                }

                var itemsMeun = miscMenu.AddSubMenu(new Menu("Items", "Items"));
                {
                    ItemManager.AddToMenu(itemsMeun);
                }

                miscMenu.AddItem(
                    new MenuItem("AutoCancel", "Auto Cancel Ult", true).SetValue(true)
                    .SetTooltip("When No Ememies in R range auto cancel r"));
            }

            var drawMenu = Menu.AddSubMenu(new Menu("Drawings", "Drawings"));

            {
                drawMenu.AddItem(new MenuItem("DrawQ", "Draw Q Range", true).SetValue(false));
                drawMenu.AddItem(new MenuItem("DrawE", "Draw E Range", true).SetValue(false));
                drawMenu.AddItem(new MenuItem("DrawR", "Draw R Range", true).SetValue(false));
                ManaManager.AddDrawFarm(drawMenu);
                //DamageIndicator.AddToMenu(drawMenu, DamageCalculate.GetComboDamage);
            }

            Menu.AddItem(new MenuItem("asd ad asd ", " ", true));
            Menu.AddItem(new MenuItem("Credit", "Credit: NightMoon", true));

            Menu.AddToMainMenu();
        }