예제 #1
0
파일: Heart.cs 프로젝트: Bloodimir/Projects
        private static void StartHeartBeat()
        {
            Bootstrap.Init(null);
            Hacks.RenderWatermark = false;
            Chat.Print(
                "Starting <font color = \"#740000\">Volatile AIO</font> <font color = \"#B87F7F\">Heart.cs</font>:");
            VolatileMenu    = MainMenu.AddMenu("V." + Player.ChampionName, "volatilemenu", "Volatile " + Player.ChampionName);
            ExtensionLoader = new ExtensionLoader();

            //InfoBoard
            VolatileMenu.AddGroupLabel("Heart.cs");
            VolatileMenu.AddLabel("\"I.. I'm alive.. I can feel my heart beating.\"");
            VolatileMenu.AddSeparator();
            VolatileMenu.AddLabel("Welcome to Volatile AIO." + Environment.NewLine +
                                  "Volatile is an intelligent and aware AIO." + Environment.NewLine +
                                  "It strives to include the most thorough logic" + Environment.NewLine +
                                  "and the most pleasant game experience" + Environment.NewLine);
            VolatileMenu.AddSeparator();
            VolatileMenu.AddLabel("I hope you'll like it.");
            VolatileMenu.AddSeparator();
            VolatileMenu.AddGroupLabel("Supported Champions:");
            foreach (var champion in ExtensionLoader.Champions)
            {
                var label = champion.Name + " by " + champion.Developer;
                for (var i = champion.Name.Length; i < 20; i++)
                {
                    label += " ";
                }
                label += "Status: " + champion.State;
                VolatileMenu.AddLabel(label);
            }
            VolatileMenu.AddSeparator();
            VolatileMenu.AddLabel("AIO Options:");
            VolatileMenu.Add("debug", new CheckBox("Debug", false));
            VolatileMenu.Add("vpred", new CheckBox("Super Secret Option", false));
            //VolatileMenu.Add("vpred2", new Slider("Super Ultra Secret Dont Even Look", 0, 0, 2));
            if (ExtensionLoader.Champions.All(c => c.Name != Player.ChampionName))
            {
                return;
            }
            TargetMenu = VolatileMenu.AddSubMenu("Target Manager", "targetmenu", "Volatile TargetManager");
            TargetMenu.Add("chosenignores", new CheckBox("Ignore all other champions if Selected Target", false));
            ManaManager = new ManaManager();
            AutoLeveler = new AutoLeveler();
            DrawManager = new DrawManager();
            HackMenu    = VolatileMenu.AddSubMenu("Hacks", "hacks", "Volatile Hacks");
            SkinManager.Initialize();
            RecallTracker     = new RecallTracker();
            Activator         = new Activator();
            _championProfiles = new ChampionProfiles();
            if (!AutoLeveler.PrioritiesAreSet() &&
                AutoLeveler.AutoLevelMenu["autolevel"].Cast <CheckBox>().CurrentValue)
            {
                Chat.Print("Auto-Leveler: Priorities not Set!");
            }
            if (!ManaManager.PrioritiesAreSet() && ManaManager.MmMenu["manamanager"].Cast <CheckBox>().CurrentValue)
            {
                Chat.Print("Mana Manager: Priorities not Set!");
            }
        }
예제 #2
0
 private static void StartHeartBeat()
 {
     Bootstrap.Init(null);
     Hacks.RenderWatermark = false;
     Chat.Print(
         "Starting <font color = \"#740000\">Volatile AIO</font> <font color = \"#B87F7F\">Heart.cs</font>:");
     if (!Directory.Exists(ChampionProfiles.VolatileDir))
     {
         Directory.CreateDirectory(ChampionProfiles.VolatileDir);
     }
     if (!File.Exists(Path.Combine(
                          ChampionProfiles.VolatileDir, "Volatile.json")))
     {
         SaveSettings(false);
     }
     else if (LoadSettings())
     {
         UsingVorb = true;
         Volkswagen.AddToMenu();
     }
     else
     {
         UsingVorb = false;
     }
     VolatileMenu = MainMenu.AddMenu("V." + Player.ChampionName, "volatilemenu",
                                     "Volatile " + Player.ChampionName);
     ExtensionLoader = new ExtensionLoader();
     //InfoBoard
     VolatileMenu.AddGroupLabel("Heart.cs");
     VolatileMenu.AddLabel("\"I.. I'm alive.. I can feel my heart beating.\"");
     VolatileMenu.AddSeparator();
     VolatileMenu.AddLabel("Welcome to Volatile AIO." + Environment.NewLine +
                           "Volatile is an intelligent and aware AIO." + Environment.NewLine +
                           "It strives to include the most thorough logic" + Environment.NewLine +
                           "and the most pleasant game experience" + Environment.NewLine);
     VolatileMenu.AddSeparator();
     VolatileMenu.AddLabel("I hope you'll like it.");
     VolatileMenu.AddSeparator();
     VolatileMenu.AddGroupLabel("Supported Champions:");
     foreach (var champion in ExtensionLoader.Champions)
     {
         var label = champion.Name + " by " + champion.Developer;
         for (var i = champion.Name.Length; i < 20; i++)
         {
             label += " ";
         }
         label += "Status: " + champion.State;
         VolatileMenu.AddLabel(label);
     }
     VolatileMenu.AddSeparator();
     VolatileMenu.AddLabel("AIO Options:");
     VolatileMenu.Add("debug", new CheckBox("Debug", false));
     VolatileMenu.Add("golf", new CheckBox("Use Volatile Orbwalker", false)).OnValueChange +=
         Secret_OnValueChange;
     VolatileMenu.AddLabel(
         "*Orbwalker requires reload. Press f5 to reload, and please turn off EB Orbwalker Drawings");
     OrbHandler();
     if (!ExtensionLoader.IncludesChampion(Player.ChampionName) && Player.ChampionName.ToLower() != "leesin")
     {
         return;
     }
     CastManager.MenuInit();
     ManaManager = new ManaManager();
     AutoLeveler = new AutoLeveler();
     DrawManager = new DrawManager();
     // ReSharper disable once UseNullPropagation
     if (OnDraw != null)
     {
         OnDraw.Invoke();
     }
     Drawinit = true;
     HackMenu = VolatileMenu.AddSubMenu("Hacks", "hacks", "Volatile Hacks");
     SkinManager.Initialize();
     //RecallTracker = new RecallTracker();
     ChampionProfiles = new ChampionProfiles();
     Profileinit      = true;
     Activator        = new Activator();
     if (!AutoLeveler.PrioritiesAreSet() &&
         AutoLeveler.AutoLevelMenu["autolevel"].Cast <CheckBox>().CurrentValue)
     {
         Chat.Print("Auto-Leveler: Priorities not Set!");
     }
     if (!ManaManager.PrioritiesAreSet() && ManaManager.MmMenu["manamanager"].Cast <CheckBox>().CurrentValue)
     {
         Chat.Print("Mana Manager: Priorities not Set!");
     }
 }
예제 #3
0
파일: Heart.cs 프로젝트: globalik/EloBuddy
        private static void StartHeartBeat()
        {
            Bootstrap.Init(null);
            Hacks.RenderWatermark = false;
            Chat.Print(
                "Starting <font color = \"#740000\">Volatile AIO</font> <font color = \"#B87F7F\">Heart.cs</font>:");
            VolatileMenu = MainMenu.AddMenu("V." + Player.ChampionName, "volatilemenu", "Volatile " + Player.ChampionName);
            ExtensionLoader = new ExtensionLoader();

            //InfoBoard
            VolatileMenu.AddGroupLabel("Heart.cs");
            VolatileMenu.AddLabel("\"I.. I'm alive.. I can feel my heart beating.\"");
            VolatileMenu.AddSeparator();
            VolatileMenu.AddLabel("Welcome to Volatile AIO." + Environment.NewLine +
                                  "Volatile is an intelligent and aware AIO." + Environment.NewLine +
                                  "It strives to include the most thorough logic" + Environment.NewLine +
                                  "and the most pleasant game experience" + Environment.NewLine);
            VolatileMenu.AddSeparator();
            VolatileMenu.AddLabel("I hope you'll like it.");
            VolatileMenu.AddSeparator();
            VolatileMenu.AddGroupLabel("Supported Champions:");
            foreach (var champion in ExtensionLoader.Champions)
            {
                var label = champion.Name + " by " + champion.Developer;
                for (var i = champion.Name.Length; i < 20; i++)
                    label += " ";
                label += "Status: " + champion.State;
                VolatileMenu.AddLabel(label);
            }
            VolatileMenu.AddSeparator();
            VolatileMenu.AddLabel("AIO Options:");
            VolatileMenu.Add("debug", new CheckBox("Debug", false));
            VolatileMenu.Add("vpred", new CheckBox("Super Secret Option", false));
            //VolatileMenu.Add("vpred2", new Slider("Super Ultra Secret Dont Even Look", 0, 0, 2));
            if (ExtensionLoader.Champions.All(c => c.Name != Player.ChampionName)) return;
            TargetMenu = VolatileMenu.AddSubMenu("Target Manager", "targetmenu", "Volatile TargetManager");
            TargetMenu.Add("chosenignores", new CheckBox("Ignore all other champions if Selected Target", false));
            ManaManager = new ManaManager();
            AutoLeveler = new AutoLeveler();
            DrawManager = new DrawManager();
            HackMenu = VolatileMenu.AddSubMenu("Hacks", "hacks", "Volatile Hacks");
            SkinManager.Initialize();
            RecallTracker = new RecallTracker();
            Activator = new Activator();
            _championProfiles = new ChampionProfiles();
            if (!AutoLeveler.PrioritiesAreSet() &&
                AutoLeveler.AutoLevelMenu["autolevel"].Cast<CheckBox>().CurrentValue)
                Chat.Print("Auto-Leveler: Priorities not Set!");
            if (!ManaManager.PrioritiesAreSet() && ManaManager.MmMenu["manamanager"].Cast<CheckBox>().CurrentValue)
                Chat.Print("Mana Manager: Priorities not Set!");
        }
예제 #4
0
 private static void StartHeartBeat()
 {
     Bootstrap.Init(null);
     Hacks.RenderWatermark = false;
     Chat.Print(
         "Starting <font color = \"#740000\">Volatile AIO</font> <font color = \"#B87F7F\">Heart.cs</font>:");
     if (!Directory.Exists(ChampionProfiles.VolatileDir))
         Directory.CreateDirectory(ChampionProfiles.VolatileDir);
     if (!File.Exists(Path.Combine(
         ChampionProfiles.VolatileDir, "Volatile.json")))
         SaveSettings(false);
     else if (LoadSettings())
     {
         UsingVorb = true;
         Volkswagen.AddToMenu();
     }
     else
     {
         UsingVorb = false;
     }
     VolatileMenu = MainMenu.AddMenu("V." + Player.ChampionName, "volatilemenu",
         "Volatile " + Player.ChampionName);
     ExtensionLoader = new ExtensionLoader();
     //InfoBoard
     VolatileMenu.AddGroupLabel("Heart.cs");
     VolatileMenu.AddLabel("\"I.. I'm alive.. I can feel my heart beating.\"");
     VolatileMenu.AddSeparator();
     VolatileMenu.AddLabel("Welcome to Volatile AIO." + Environment.NewLine +
                           "Volatile is an intelligent and aware AIO." + Environment.NewLine +
                           "It strives to include the most thorough logic" + Environment.NewLine +
                           "and the most pleasant game experience" + Environment.NewLine);
     VolatileMenu.AddSeparator();
     VolatileMenu.AddLabel("I hope you'll like it.");
     VolatileMenu.AddSeparator();
     VolatileMenu.AddGroupLabel("Supported Champions:");
     foreach (var champion in ExtensionLoader.Champions)
     {
         var label = champion.Name + " by " + champion.Developer;
         for (var i = champion.Name.Length; i < 20; i++)
             label += " ";
         label += "Status: " + champion.State;
         VolatileMenu.AddLabel(label);
     }
     VolatileMenu.AddSeparator();
     VolatileMenu.AddLabel("AIO Options:");
     VolatileMenu.Add("debug", new CheckBox("Debug", false));
     VolatileMenu.Add("golf", new CheckBox("Use Volatile Orbwalker", false)).OnValueChange +=
         Secret_OnValueChange;
     VolatileMenu.AddLabel(
         "*Orbwalker requires reload. Press f5 to reload, and please turn off EB Orbwalker Drawings");
     OrbHandler();
     if (!ExtensionLoader.IncludesChampion(Player.ChampionName) && Player.ChampionName.ToLower() != "leesin") return;
     CastManager.MenuInit();
     ManaManager = new ManaManager();
     AutoLeveler = new AutoLeveler();
     DrawManager = new DrawManager();
     // ReSharper disable once UseNullPropagation
     if (OnDraw != null) OnDraw.Invoke();
     Drawinit = true;
     HackMenu = VolatileMenu.AddSubMenu("Hacks", "hacks", "Volatile Hacks");
     SkinManager.Initialize();
     //RecallTracker = new RecallTracker();
     ChampionProfiles = new ChampionProfiles();
     Profileinit = true;
     Activator = new Activator();
     if (!AutoLeveler.PrioritiesAreSet() &&
         AutoLeveler.AutoLevelMenu["autolevel"].Cast<CheckBox>().CurrentValue)
         Chat.Print("Auto-Leveler: Priorities not Set!");
     if (!ManaManager.PrioritiesAreSet() && ManaManager.MmMenu["manamanager"].Cast<CheckBox>().CurrentValue)
         Chat.Print("Mana Manager: Priorities not Set!");
 }