Esempio n. 1
0
        /// <summary>
        /// Called when Loading is Completed
        /// </summary>
        /// <param name="args">The Args</param>
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (Player.Instance.Hero != Champion.Nidalee)
            {
                return;
            }

            // Human Form
            QHuman = new Spell.Skillshot(SpellSlot.Q, 1500, SkillShotType.Linear, 250, 1300, 40)
            {
                AllowedCollisionCount = 0
            };
            WHuman = new Spell.Skillshot(SpellSlot.W, 875, SkillShotType.Circular, 250, int.MaxValue, 100);
            EHuman = new Spell.Targeted(SpellSlot.E, 600);
            R      = new Spell.Active(SpellSlot.R, int.MaxValue);

            // Javelin Toss -> Pounce
            WExtended = new Spell.Skillshot(SpellSlot.W, 740, SkillShotType.Circular, 500, int.MaxValue, 400);

            // Cougar Form
            QCat = new Spell.Targeted(SpellSlot.Q, 400);
            WCat = new Spell.Skillshot(SpellSlot.W, 375, SkillShotType.Circular, 500, int.MaxValue, 400);
            ECat = new Spell.Skillshot(SpellSlot.E, 300, SkillShotType.Cone, 250, int.MaxValue, (int)(15.00 * Math.PI / 180.00));

            // Ignite
            if (Essentials.HasSpell("ignite"))
            {
                Ignite = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerdot"), 600);
            }

            // Smite
            if (Essentials.HasSpell("smite"))
            {
                //Essentials.SetSmiteSlot();
            }

            // Initializes the Menu
            NidaleeMenu.Create();

            // Initializes the DamageIndicator
            Indicator = new DamageIndicator.DamageIndicator();

            // Prints Success Message
            Chat.Print("Sucessfully Injected NidaleeBuddy Evolution", System.Drawing.Color.Green);

            // Events
            Game.OnUpdate                  += Game_OnUpdate;
            Game.OnUpdate                  += Events.SpellsOnUpdate;
            Game.OnUpdate                  += Events.KillSteal;
            Game.OnUpdate                  += Events.JungleSteal;
            Game.OnUpdate                  += Events.AutoE;
            Orbwalker.OnPostAttack         += Orbwalker_OnPostAttack;
            Orbwalker.OnPreAttack          += Orbwalker_OnPreAttack;
            Orbwalker.OnUnkillableMinion   += Orbwalker_OnUnkillableMinion;
            Obj_AI_Base.OnProcessSpellCast += Obj_AI_Base_OnProcessSpellCast;
            GameObject.OnDelete            += GameObject_OnDelete;
            Drawing.OnDraw                 += Drawing_OnDraw;
        }
Esempio n. 2
0
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (_Player.Hero != Champion.Talon)
            {
                Chat.Print("<font color='#ff0000'>ERROR 0: FAILED TO LAUNCH</font>");
                return;
            }

            _Q = new Spell.Active(SpellSlot.Q);
            _W = new Spell.Skillshot(SpellSlot.W, 600, SkillShotType.Cone, 250, null, 25);
            _E = new Spell.Targeted(SpellSlot.E, 700);
            _R = new Spell.Skillshot(SpellSlot.R, 500, SkillShotType.Circular);

            IgniteSlot = _Player.GetSpellSlotFromName("SummonerDot");

            _bilge   = new Item(3144, 475f);
            _blade   = new Item(3153, 425f);
            _hydra   = new Item(3074, 250f);
            _tiamat  = new Item(3077, 250f);
            _rand    = new Item(3143, 490f);
            _lotis   = new Item(3190, 590f);
            _youmuu  = new Item(3142, 10);
            _botrk   = new Item(3153, 550f);
            _manapot = new Item(2004, 10);

            Menu = MainMenu.AddMenu("Talon", "talon");

            Menu.AddGroupLabel("Talon");
            Menu.AddLabel("By Buddy - Feel free to donate me a monitor :^)");

            Menu.AddSeparator();

            Menu.Add("gobalDelay", new Slider("Gobal Delay (ms)", 5, 0, 100));

            ComboMenu = Menu.AddSubMenu("::Combo Menu", "combomenu");

            ComboMenu.AddGroupLabel("Combo Menu");
            ComboMenu.Add("cUseQ", new CheckBox("Use Q"));
            ComboMenu.Add("cUseW", new CheckBox("Use W"));
            ComboMenu.Add("cUseE", new CheckBox("Use E"));
            ComboMenu.Add("cUseR", new CheckBox("Use R"));

            ComboMenu.AddSeparator();

            ComboMenu.Add("cUseYoumuu", new CheckBox("Use Youmuu's"));
            ComboMenu.Add("cUseTiamat", new CheckBox("Use Tiamat"));
            ComboMenu.Add("cUseHydra", new CheckBox("Use Hydra"));
            ComboMenu.Add("cUseBilge", new CheckBox("Use Bilge"));
            ComboMenu.Add("cUseBotrk", new CheckBox("Use Botrk"));

            HarassMenu = Menu.AddSubMenu("::Harass Menu", "harassmenu");

            HarassMenu.AddGroupLabel("Harass Menu");
            HarassMenu.Add("hUseW", new CheckBox("Use W"));
            HarassMenu.Add("hUseE", new CheckBox("Use E"));

            FleeMenu = Menu.AddSubMenu("::Flee Menu", "fleemenu");

            FleeMenu.AddGroupLabel("Flee Menu");
            FleeMenu.Add("fUseE", new CheckBox("Use E"));
            FleeMenu.Add("fUseR", new CheckBox("Use R", false));
            FleeMenu.Add("fUseYoumuu", new CheckBox("Use Youmuu's", false));

            FarmMenu = Menu.AddSubMenu("::Farm Menu", "farmmenu");

            FarmMenu.AddGroupLabel("Farm Menu");

            FarmMenu.AddLabel("Last Hit");
            FarmMenu.Add("fLHUseQ", new CheckBox("Use Q", true));
            FarmMenu.Add("fLHUseW", new CheckBox("Use W", true));
            FarmMenu.Add("fLHUseE", new CheckBox("Use E", true));

            FarmMenu.AddSeparator();

            FarmMenu.AddLabel("Lane Clear");
            FarmMenu.Add("fLCUseQ", new CheckBox("Use Q"));
            FarmMenu.Add("fLCUseW", new CheckBox("Use W"));
            FarmMenu.Add("fLCUseE", new CheckBox("Use E"));

            KSMenu = Menu.AddSubMenu("::KS Menu", "ksmenu");

            KSMenu.AddGroupLabel("Ks Menu");
            KSMenu.Add("ksUseQ", new CheckBox("Use Q"));
            KSMenu.Add("ksUseW", new CheckBox("Use W"));
            KSMenu.Add("ksUseE", new CheckBox("Use E"));
            KSMenu.Add("ksUseI", new CheckBox("Use Ignite"));

            DrawMenu = Menu.AddSubMenu("::Draw Menu", "drawmenu");

            DrawMenu.AddGroupLabel("Draw Menu");
            DrawMenu.Add("DrawW", new CheckBox("Draw W"));
            DrawMenu.Add("DrawE", new CheckBox("Draw E"));
            DrawMenu.Add("DrawR", new CheckBox("Draw R"));
            DrawMenu.Add("DrawComboCircle", new CheckBox("Draw Combo Circle"));
            DrawMenu.Add("DrawComboLine", new CheckBox("Draw Combo Line"));
            DrawMenu.Add("DrawHPBarCombo", new CheckBox("Draw HP Bar Combo Damage"));
            DrawMenu.Add("DrawText", new CheckBox("Draw Text Combo Ready"));
            DrawMenu.Add("DrawMana", new CheckBox("Draw Calculated Mana"));
            ItemMenu = Menu.AddSubMenu("::Item Menu", "itemmenu");

            ItemMenu.AddGroupLabel("Item Menu");
            ItemMenu.Add("useHydra", new CheckBox("Use Hydra"));
            ItemMenu.Add("useYoumuu", new CheckBox("Use Youmuu's"));
            ItemMenu.Add("useTiamat", new CheckBox("Use Tiamat"));
            ItemMenu.Add("useBilge", new CheckBox("Use Bilge"));
            ItemMenu.Add("useBotrk", new CheckBox("Use Botrk"));

            LogicMenu = Menu.AddSubMenu("::Logic Menu", "logicmenu");

            LogicMenu.AddGroupLabel("Logic Menu");
            LogicMenu.Add("eUseHealthCheck", new CheckBox("Only Use E if Health is Above Amount"));
            LogicMenu.Add("eUseHealthSlider", new Slider("Health:", 250, 50, 1250));

            LogicMenu.AddSeparator();

            LogicMenu.Add("DrawRCastCircle", new CheckBox("Draw R Recommended Cast Range Circle"));
            LogicMenu.Add("DrawRCastBufferRange", new Slider("Buffer Range:", 0, -100, 100));

            ManaMenu = Menu.AddSubMenu("::Mana Menu", "manamenu");

            ManaMenu.AddGroupLabel("Mana Menu");
            ManaMenu.Add("useManaPotion", new Slider("Use Mana Pot if Mana: --not working yet", 150, 0, (int)_Player.Mana));
            ManaMenu.Add("waveClearMana", new Slider("Dont Cast Waveclear Spells if Mana:", 75, 0, 150));

            //LogicMenu.AddSeparator();

            //LogicMenu.Add("DrawRecommendedRRange", new CheckBox("Draw Recommended R Cast Range"));

            Indicator = new DamageIndicator.DamageIndicator();
            Indicator.Add("Combo", new SpellData(0, DamageType.True, Color.Lime));

            //Calls...
            Game.OnTick    += Game_OnTick;
            Drawing.OnDraw += Draw.Drawing_OnDraw;

            //BladeObject = ObjectManager.Get<GameObject>().FirstOrDefault(obj => obj.Name != null && obj.IsValid && obj.Name.ToLower().Contains("doomball"));

            Chat.Print("Talon Initialized Succesfully - Version 0.2");
        }
Esempio n. 3
0
        /// <summary>
        /// Called when Loading is Completed
        /// </summary>
        /// <param name="args">The Args</param>
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (Player.Instance.Hero != Champion.Nidalee)
            {
                return;
            }

            // Human Form
            QHuman = new Spell.Skillshot(SpellSlot.Q, 1500, SkillShotType.Linear, 250, 1300, 40)
            {
                AllowedCollisionCount = 0
            };
            WHuman = new Spell.Skillshot(SpellSlot.W, 875, SkillShotType.Circular, 250, int.MaxValue, 100);
            EHuman = new Spell.Targeted(SpellSlot.E, 600);
            R = new Spell.Active(SpellSlot.R, int.MaxValue);

            // Javelin Toss -> Pounce
            WExtended = new Spell.Skillshot(SpellSlot.W, 740, SkillShotType.Circular, 500, int.MaxValue, 400);

            // Cougar Form
            QCat = new Spell.Targeted(SpellSlot.Q, 400);
            WCat = new Spell.Skillshot(SpellSlot.W, 375, SkillShotType.Circular, 500, int.MaxValue, 400);
            ECat = new Spell.Skillshot(SpellSlot.E, 300, SkillShotType.Cone, 250, int.MaxValue, (int)(15.00 * Math.PI / 180.00));

            // Ignite
            if (Essentials.HasSpell("ignite"))
            {
                Ignite = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerdot"), 600);
            }

            // Smite
            if (Essentials.HasSpell("smite"))
            {
                //Essentials.SetSmiteSlot();
            }

            // Initializes the Menu
            NidaleeMenu.Create();

            // Initializes the DamageIndicator
            Indicator = new DamageIndicator.DamageIndicator();

            // Prints Success Message
            Chat.Print("Sucessfully Injected NidaleeBuddy Evolution", System.Drawing.Color.Green);

            // Events
            Game.OnUpdate += Game_OnUpdate;
            Game.OnUpdate += Events.SpellsOnUpdate;
            Game.OnUpdate += Events.KillSteal;
            Game.OnUpdate += Events.JungleSteal;
            Game.OnUpdate += Events.AutoE;
            Orbwalker.OnPostAttack += Orbwalker_OnPostAttack;
            Orbwalker.OnPreAttack += Orbwalker_OnPreAttack;
            Orbwalker.OnUnkillableMinion += Orbwalker_OnUnkillableMinion;
            Obj_AI_Base.OnProcessSpellCast += Obj_AI_Base_OnProcessSpellCast;
            GameObject.OnDelete += GameObject_OnDelete;
            Drawing.OnDraw += Drawing_OnDraw;
        }
Esempio n. 4
0
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (_Player.Hero != Champion.Talon)
            {
                Chat.Print("<font color='#ff0000'>ERROR 0: FAILED TO LAUNCH</font>");
                return;
            }

            _Q = new Spell.Active(SpellSlot.Q);
            _W = new Spell.Skillshot(SpellSlot.W, 600, SkillShotType.Cone, 250, null, 25);
            _E = new Spell.Targeted(SpellSlot.E, 700);
            _R = new Spell.Skillshot(SpellSlot.R, 500, SkillShotType.Circular);

            IgniteSlot = _Player.GetSpellSlotFromName("SummonerDot");

            _bilge = new Item(3144, 475f);
            _blade = new Item(3153, 425f);
            _hydra = new Item(3074, 250f);
            _tiamat = new Item(3077, 250f);
            _rand = new Item(3143, 490f);
            _lotis = new Item(3190, 590f);
            _youmuu = new Item(3142, 10);
            _botrk = new Item(3153, 550f);
            _manapot = new Item(2004, 10);

            Menu = MainMenu.AddMenu("Talon", "talon");

            Menu.AddGroupLabel("Talon");
            Menu.AddLabel("By Buddy - Feel free to donate me a monitor :^)");

            Menu.AddSeparator();

            Menu.Add("gobalDelay", new Slider("Gobal Delay (ms)", 5, 0, 100));

            ComboMenu = Menu.AddSubMenu("::Combo Menu", "combomenu");

            ComboMenu.AddGroupLabel("Combo Menu");
            ComboMenu.Add("cUseQ", new CheckBox("Use Q"));
            ComboMenu.Add("cUseW", new CheckBox("Use W"));
            ComboMenu.Add("cUseE", new CheckBox("Use E"));
            ComboMenu.Add("cUseR", new CheckBox("Use R"));

            ComboMenu.AddSeparator();

            ComboMenu.Add("cUseYoumuu", new CheckBox("Use Youmuu's"));
            ComboMenu.Add("cUseTiamat", new CheckBox("Use Tiamat"));
            ComboMenu.Add("cUseHydra" , new CheckBox("Use Hydra"));
            ComboMenu.Add("cUseBilge" , new CheckBox("Use Bilge"));
            ComboMenu.Add("cUseBotrk" , new CheckBox("Use Botrk"));

            HarassMenu = Menu.AddSubMenu("::Harass Menu", "harassmenu");

            HarassMenu.AddGroupLabel("Harass Menu");
            HarassMenu.Add("hUseW", new CheckBox("Use W"));
            HarassMenu.Add("hUseE", new CheckBox("Use E"));

            FleeMenu = Menu.AddSubMenu("::Flee Menu", "fleemenu");

            FleeMenu.AddGroupLabel("Flee Menu");
            FleeMenu.Add("fUseE"     , new CheckBox("Use E"));
            FleeMenu.Add("fUseR"     , new CheckBox("Use R", false));
            FleeMenu.Add("fUseYoumuu", new CheckBox("Use Youmuu's", false));

            FarmMenu = Menu.AddSubMenu("::Farm Menu", "farmmenu");

            FarmMenu.AddGroupLabel("Farm Menu");

            FarmMenu.AddLabel("Last Hit");
            FarmMenu.Add("fLHUseQ", new CheckBox("Use Q", true));
            FarmMenu.Add("fLHUseW", new CheckBox("Use W", true));
            FarmMenu.Add("fLHUseE", new CheckBox("Use E", true));

            FarmMenu.AddSeparator();

            FarmMenu.AddLabel("Lane Clear");
            FarmMenu.Add("fLCUseQ", new CheckBox("Use Q"));
            FarmMenu.Add("fLCUseW", new CheckBox("Use W"));
            FarmMenu.Add("fLCUseE", new CheckBox("Use E"));
            
            KSMenu = Menu.AddSubMenu("::KS Menu", "ksmenu");

            KSMenu.AddGroupLabel("Ks Menu");
            KSMenu.Add("ksUseQ", new CheckBox("Use Q"));
            KSMenu.Add("ksUseW", new CheckBox("Use W"));
            KSMenu.Add("ksUseE", new CheckBox("Use E"));
            KSMenu.Add("ksUseI", new CheckBox("Use Ignite"));

            DrawMenu = Menu.AddSubMenu("::Draw Menu", "drawmenu");

            DrawMenu.AddGroupLabel("Draw Menu");
            DrawMenu.Add("DrawW"          , new CheckBox("Draw W"));
            DrawMenu.Add("DrawE"          , new CheckBox("Draw E"));
            DrawMenu.Add("DrawR"          , new CheckBox("Draw R"));
            DrawMenu.Add("DrawComboCircle", new CheckBox("Draw Combo Circle"));
            DrawMenu.Add("DrawComboLine"  , new CheckBox("Draw Combo Line"));
            DrawMenu.Add("DrawHPBarCombo" , new CheckBox("Draw HP Bar Combo Damage"));
            DrawMenu.Add("DrawText"       , new CheckBox("Draw Text Combo Ready"));
            DrawMenu.Add("DrawMana"       , new CheckBox("Draw Calculated Mana"));
            ItemMenu = Menu.AddSubMenu("::Item Menu", "itemmenu");

            ItemMenu.AddGroupLabel("Item Menu");
            ItemMenu.Add("useHydra" , new CheckBox("Use Hydra"));
            ItemMenu.Add("useYoumuu", new CheckBox("Use Youmuu's"));
            ItemMenu.Add("useTiamat", new CheckBox("Use Tiamat"));
            ItemMenu.Add("useBilge" , new CheckBox("Use Bilge"));
            ItemMenu.Add("useBotrk" , new CheckBox("Use Botrk"));

            LogicMenu = Menu.AddSubMenu("::Logic Menu", "logicmenu");
            
            LogicMenu.AddGroupLabel("Logic Menu");
            LogicMenu.Add("eUseHealthCheck" , new CheckBox("Only Use E if Health is Above Amount"));
            LogicMenu.Add("eUseHealthSlider", new Slider  ("Health:", 250, 50, 1250));

            LogicMenu.AddSeparator();

            LogicMenu.Add("DrawRCastCircle"     , new CheckBox("Draw R Recommended Cast Range Circle"));
            LogicMenu.Add("DrawRCastBufferRange", new Slider("Buffer Range:", 0, -100, 100));

            ManaMenu = Menu.AddSubMenu("::Mana Menu", "manamenu");

            ManaMenu.AddGroupLabel("Mana Menu");
            ManaMenu.Add("useManaPotion", new Slider("Use Mana Pot if Mana: --not working yet", 150, 0, (int) _Player.Mana));
            ManaMenu.Add("waveClearMana", new Slider("Dont Cast Waveclear Spells if Mana:", 75, 0, 150));
            
            //LogicMenu.AddSeparator();

            //LogicMenu.Add("DrawRecommendedRRange", new CheckBox("Draw Recommended R Cast Range"));

            Indicator = new DamageIndicator.DamageIndicator();
            Indicator.Add("Combo", new SpellData(0, DamageType.True, Color.Lime));

            //Calls...
            Game.OnTick += Game_OnTick;
            Drawing.OnDraw += Draw.Drawing_OnDraw;

            //BladeObject = ObjectManager.Get<GameObject>().FirstOrDefault(obj => obj.Name != null && obj.IsValid && obj.Name.ToLower().Contains("doomball"));

            Chat.Print("Talon Initialized Succesfully - Version 0.2");
        }
Esempio n. 5
0
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (Player.Instance.Hero != Champion.Riven) return;

            Menu = MainMenu.AddMenu("ClownRiven", "ClownRiven");
            Menu.AddGroupLabel("Clown Riven");
            Menu.AddSeparator();
            Menu.AddLabel("Made by: MrClown");
            Menu.AddLabel("HU3 > USA");
            Menu.AddLabel("Never Be Alone");

            ComboMenu = Menu.AddSubMenu("Settings ", "combosettingsRiven");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.Add("combo.useQGapClose", new CheckBox("Use Q to Gapclose", false));
            ComboMenu.Add("combo.useQ", new CheckBox("Use Q"));
            ComboMenu.Add("combo.useW", new CheckBox("Use W"));
            ComboMenu.Add("combo.useE", new CheckBox("Use E"));
            ComboMenu.Add("combo.useR", new CheckBox("Use R"));
            ComboMenu.Add("combo.useR2", new CheckBox("Use R2"));
            ComboMenu.Add("combo.hydra", new CheckBox("Use Hydra and Tiamat"));
            ComboMenu.Add("useR", new KeyBind("Force R", false, KeyBind.BindTypes.PressToggle, 'T'));
            ComboMenu.AddSeparator();
            ComboMenu.AddLabel("R1 Combos");
            ComboMenu.Add("combo.eR1", new CheckBox("E -> R1"));
            ComboMenu.Add("combo.R1", new CheckBox("R1"));
            ComboMenu.AddSeparator();
            ComboMenu.AddLabel("R2 Combos");
            ComboMenu.Add("combo.eR2", new CheckBox("E -> R2"));
            ComboMenu.Add("combo.qR2", new CheckBox("R2 -> Q"));
            ComboMenu.Add("combo.R2", new CheckBox("R2"));
            ComboMenu.AddSeparator();
            ComboMenu.AddGroupLabel("Burst Combo");
            ComboMenu.Add("burst.flash", new CheckBox("Use Flash in Burst"));
            ComboMenu.Add("burst", new KeyBind("Burst", false, KeyBind.BindTypes.HoldActive, 'Y'));
            ComboMenu.AddSeparator();
            ComboMenu.AddGroupLabel("Etc");
            ComboMenu.Add("combo.keepQAlive", new CheckBox("Keep Q"));
            ComboMenu.Add("combo.useRBeforeExpire", new CheckBox("Auto R in off"));
            ComboMenu.Add("combo.alwaysCancelQ", new CheckBox("Cancel Q", false));

            HarassMenu = Menu.AddSubMenu("Harass", "harasssettingsRiven");
            HarassMenu.AddGroupLabel("Harass Settings");
            HarassMenu.Add("harass.hydra", new CheckBox("Use Hydra & Tiamat"));
            HarassMenu.Add("harass.useQ", new CheckBox("Use Q"));
            HarassMenu.Add("harass.useW", new CheckBox("Use W"));
            HarassMenu.Add("harass.useE", new CheckBox("Use E"));

            MinionClear = Menu.AddSubMenu("LClear Settings", "farmettingsRiven");
            MinionClear.AddGroupLabel("LastHit Settings");
            MinionClear.Add("lasthit.useQ", new CheckBox("Use Q"));
            MinionClear.Add("lasthit.useW", new CheckBox("Use W"));
            MinionClear.AddSeparator();
            MinionClear.AddGroupLabel("Wave Clear Settings");
            MinionClear.Add("waveclear.hydra", new CheckBox("Use Hydra & Tiamat"));
            MinionClear.Add("waveclear.useQ", new CheckBox("Use Q"));
            MinionClear.Add("waveclear.useW", new CheckBox("Use W"));

            Jungle = Menu.AddSubMenu("Jungle Settings", "jungleettingsRiven");
            Jungle.AddGroupLabel("Jungle Clear Settings");
            Jungle.Add("jungle.hydra", new CheckBox("Use Hydra/Tiamat"));
            Jungle.Add("jungle.useQ", new CheckBox("Use Q"));
            Jungle.Add("jungle.useW", new CheckBox("Use W"));
            Jungle.Add("jungle.useE", new CheckBox("Use E"));

            DrawMenu = Menu.AddSubMenu("Draw Settings", "drawsettingsRiven");
            DrawMenu.AddGroupLabel("Draw Settings");
            DrawMenu.Add("draw.Q", new CheckBox("Draw Q", false));
            DrawMenu.Add("draw.W", new CheckBox("Draw W", false));
            DrawMenu.Add("draw.E", new CheckBox("Draw E", false));
            DrawMenu.Add("draw.R", new CheckBox("Draw R", false));
            DrawMenu.Add("draw.Damage", new CheckBox("Draw Damage"));
            DrawMenu.Add("draw.Combo", new CheckBox("Write Current Combo", false));
            DrawMenu.Add("draw.rState", new CheckBox("Write R State"));

            HumanizerMenu = Menu.AddSubMenu("Humanizer Settings");
            HumanizerMenu.Add("humanizerQSlow", new Slider("Humanizer Q Slow", 0, 0, 200));

            R2 = new Spell.Skillshot(SpellSlot.R, 900, SkillShotType.Cone, 250, 1600, 125);
            States.Flash = Player.Spells.FirstOrDefault(a => a.SData.Name == "summonerflash");

            Queuer.Tiamat =
                ObjectManager.Player.InventoryItems.FirstOrDefault(
                    a => a.Id == ItemId.Tiamat_Melee_Only || a.Id == ItemId.Ravenous_Hydra_Melee_Only);

            SpellEvents.Init();
            Drawing.OnDraw += Drawing_OnDraw;
            Player.OnIssueOrder += Player_OnIssueOrder;
            Indicator = new DamageIndicator.DamageIndicator();
            Shop.OnBuyItem += Shop_OnBuyItem;
            Shop.OnSellItem += Shop_OnSellItem;
            Shop.OnUndo += Shop_OnUndo;
            Player.OnSwapItem += Player_OnSwapItem;
            Game.OnUpdate += Game_OnUpdate;
        }
Esempio n. 6
0
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (Player.Instance.ChampionName != Champion.Riven.ToString()) return;

            Menu = MainMenu.AddMenu("RivenBuddy", "rivenbuddy");
            Menu.AddGroupLabel("Riven Buddy");
            Menu.AddSeparator();
            Menu.AddLabel("By Fluxy");
            Menu.AddLabel("nixi waz here");

            ComboMenu = Menu.AddSubMenu("Combo Settings", "combosettingsRiven");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.Add("combo.useQ", new CheckBox("Use Q"));
            ComboMenu.Add("combo.useQGapClose", new CheckBox("Use Q to Gapclose", false));
            ComboMenu.Add("combo.useW", new CheckBox("Use W"));
            ComboMenu.Add("combo.useE", new CheckBox("Use E"));
            ComboMenu.Add("combo.useR", new CheckBox("Use R"));
            ComboMenu.Add("combo.useR2", new CheckBox("Use R2"));
            ComboMenu.Add("combo.hydra", new CheckBox("Use Hydra/Tiamat"));
            ComboMenu.Add("useR", new KeyBind("Force R", false, KeyBind.BindTypes.PressToggle, 'T'));
            ComboMenu.AddSeparator();
            ComboMenu.AddLabel("R1 Combos");
            ComboMenu.Add("combo.eR1", new CheckBox("E -> R1"));
            ComboMenu.Add("combo.R1", new CheckBox("R1"));
            ComboMenu.AddSeparator();
            ComboMenu.AddLabel("R2 Combos");
            ComboMenu.Add("combo.eR2", new CheckBox("E -> R2"));
            ComboMenu.Add("combo.qR2", new CheckBox("R2 -> Q"));
            ComboMenu.Add("combo.R2", new CheckBox("R2"));
            ComboMenu.AddSeparator();
            ComboMenu.AddGroupLabel("Burst Combo");
            ComboMenu.Add("burst.flash", new CheckBox("Use Flash in Burst"));
            ComboMenu.Add("burst", new KeyBind("Burst", false, KeyBind.BindTypes.HoldActive, 'Y'));
            ComboMenu.AddSeparator();
            ComboMenu.AddGroupLabel("Misc");
            ComboMenu.Add("combo.keepQAlive", new CheckBox("Keep Q Alive"));
            ComboMenu.Add("combo.useRBeforeExpire", new CheckBox("Use R Before Expire"));
            ComboMenu.Add("combo.alwaysCancelQ", new CheckBox("Always Cancel Q", false));

            HarassMenu = Menu.AddSubMenu("Harass Settings", "harasssettingsRiven");
            HarassMenu.AddGroupLabel("Harass Settings");
            HarassMenu.Add("harass.hydra", new CheckBox("Use Hydra/Tiamat"));
            HarassMenu.Add("harass.useQ", new CheckBox("Use Q"));
            HarassMenu.Add("harass.useW", new CheckBox("Use W"));
            HarassMenu.Add("harass.useE", new CheckBox("Use E"));

            MinionClear = Menu.AddSubMenu("Minion Clear Settings", "farmettingsRiven");
            MinionClear.AddGroupLabel("LastHit Settings");
            MinionClear.Add("lasthit.useQ", new CheckBox("Use Q"));
            MinionClear.Add("lasthit.useW", new CheckBox("Use W"));
            MinionClear.AddSeparator();
            MinionClear.AddGroupLabel("Wave Clear Settings");
            MinionClear.Add("waveclear.hydra", new CheckBox("Use Hydra/Tiamat"));
            MinionClear.Add("waveclear.useQ", new CheckBox("Use Q"));
            MinionClear.Add("waveclear.useW", new CheckBox("Use W"));

            Jungle = Menu.AddSubMenu("Jungle Settings", "jungleettingsRiven");
            Jungle.AddGroupLabel("Jungle Clear Settings");
            Jungle.Add("jungle.hydra", new CheckBox("Use Hydra/Tiamat"));
            Jungle.Add("jungle.useQ", new CheckBox("Use Q"));
            Jungle.Add("jungle.useW", new CheckBox("Use W"));
            Jungle.Add("jungle.useE", new CheckBox("Use E"));

            DrawMenu = Menu.AddSubMenu("Draw Settings", "drawsettingsRiven");
            DrawMenu.AddGroupLabel("Draw Settings");
            DrawMenu.Add("draw.Q", new CheckBox("Draw Q", false));
            DrawMenu.Add("draw.W", new CheckBox("Draw W", false));
            DrawMenu.Add("draw.E", new CheckBox("Draw E", false));
            DrawMenu.Add("draw.R", new CheckBox("Draw R", false));
            DrawMenu.Add("draw.Damage", new CheckBox("Draw Damage"));
            DrawMenu.Add("draw.Combo", new CheckBox("Write Current Combo", false));
            DrawMenu.Add("draw.rState", new CheckBox("Write R State"));

            R2 = new Spell.Skillshot(SpellSlot.R, 900, SkillShotType.Cone, 250, 1600, 125);
            TargetSelector2.Init();
            SpellEvents.Init();
            Game.OnUpdate += Game_OnUpdate;
            Drawing.OnDraw += Drawing_OnDraw;
            Game.OnUpdate += delegate { SpellManager.UpdateSpells(); };
            Player.OnIssueOrder += Player_OnIssueOrder;
            Indicator = new DamageIndicator.DamageIndicator();

            //Chat.Print("RivenBuddy : Fully Loaded. by fluxy");
        }
Esempio n. 7
0
        /// <summary>
        /// Called when the game starts.
        /// </summary>
        /// <param name="args">The Args</param>
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (ChampionName != Player.Instance.BaseSkinName)
            {
                return;
            }

            Q = new Spell.Skillshot(SpellSlot.Q, 1175, SkillShotType.Linear, 250, 70, 1300)
            {
                AllowedCollisionCount = 1
            };
            W = new Spell.Skillshot(SpellSlot.W, 1075, SkillShotType.Linear, 250, 150, 1200);
            E = new Spell.Skillshot(SpellSlot.E, 1200, SkillShotType.Circular, 250, 275, 950);
            E2 = new Spell.Active(SpellSlot.E);
            R = new Spell.Skillshot(SpellSlot.R, 3300, SkillShotType.Circular, 1000, 150, int.MaxValue)
            {
                AllowedCollisionCount = int.MaxValue
            };

            LuxMenu = MainMenu.AddMenu("Lux", "Lux");
            LuxMenu.AddGroupLabel("This addon is made by KarmaPanda and should not be redistributed in any way.");
            LuxMenu.AddGroupLabel("Any unauthorized redistribution without credits will result in severe consequences.");
            LuxMenu.AddGroupLabel("Thank you for using this addon and have a fun time!");

            ComboMenu = LuxMenu.AddSubMenu("Combo", "Combo");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.Add("useQ", new CheckBox("Combo using Q"));
            ComboMenu.Add("useE", new CheckBox("Combo using E"));
            ComboMenu.Add("useR", new CheckBox("Combo using R"));
            ComboMenu.Add("sliderR", new Slider("Amount of Enemies before casting R", 3, 1, 5));
            ComboMenu.AddLabel("Prediction Settings");
            ComboMenu.Add("qSlider", new Slider("Cast Q if % HitChance", 75));
            ComboMenu.Add("eSlider", new Slider("Cast E if % HitChance", 75));
            ComboMenu.Add("rSlider", new Slider("Cast R if % HitChance", 75));

            HarassMenu = LuxMenu.AddSubMenu("Harass", "Harass");
            HarassMenu.AddGroupLabel("Harass Settings");
            HarassMenu.Add("useQ", new CheckBox("Harass using Q"));
            HarassMenu.Add("useE", new CheckBox("Harass using E"));
            HarassMenu.AddLabel("Prediction Settings");
            HarassMenu.Add("qSlider", new Slider("Cast Q if % HitChance", 75));
            HarassMenu.Add("eSlider", new Slider("Cast E if % HitChance", 75));
            HarassMenu.Add("rSlider", new Slider("Cast R if % HitChance", 75));

            LaneClearMenu = LuxMenu.AddSubMenu("LaneClear", "LaneClear");
            LaneClearMenu.AddGroupLabel("Lane Clear Settings");
            LaneClearMenu.Add("useQ", new CheckBox("Lane Clear using Q", false));
            LaneClearMenu.Add("useE", new CheckBox("Lane Clear using E"));
            LaneClearMenu.Add("useR", new CheckBox("Mentally Retarded Mode (Use R)", false));
            LaneClearMenu.Add("useQs", new Slider("Minions before Q", 1, 1, 2));
            LaneClearMenu.Add("useEs", new Slider("Minions before E", 3, 1, 6));
            LaneClearMenu.Add("useRs", new Slider("Minions before R", 4, 1, 10));

            KillStealMenu = LuxMenu.AddSubMenu("KillSteal", "KillSteal");
            KillStealMenu.AddGroupLabel("Kill Steal Settings");
            KillStealMenu.Add("useQ", new CheckBox("Kill Steal using Q"));
            KillStealMenu.Add("useE", new CheckBox("Kill Steal using E"));
            KillStealMenu.Add("useR", new CheckBox("Kill Steal using R"));
            KillStealMenu.AddLabel("Prediction Settings");
            KillStealMenu.Add("qSlider", new Slider("Cast Q if % HitChance", 75));
            KillStealMenu.Add("eSlider", new Slider("Cast E if % HitChance", 75));
            KillStealMenu.Add("rSlider", new Slider("Cast R if % HitChance", 75));

            MiscMenu = LuxMenu.AddSubMenu("Misc", "Misc");
            MiscMenu.AddGroupLabel("Mana Manager Settings");
            MiscMenu.Add("manaQ", new Slider("Mana Manager Q", 25));
            MiscMenu.Add("manaW", new Slider("Mana Manager W", 25));
            MiscMenu.Add("manaE", new Slider("Mana Manager E", 25));
            MiscMenu.Add("manaR", new Slider("Mana Manager R", 25));
            MiscMenu.Add("disableC", new CheckBox("Disable Mana Manager in Combo"));
            MiscMenu.AddGroupLabel("Misc Settings");
            MiscMenu.Add("useW", new CheckBox("Automatically Cast W"));
            MiscMenu.Add("useM", new CheckBox("Use W only on Modes"));
            MiscMenu.Add("hpW", new Slider("HP % before W", 25));
            MiscMenu.AddLabel("Who to use W on?");
            var allies = EntityManager.Heroes.Allies.Where(a => !a.IsMe).OrderBy(a => a.BaseSkinName);
            foreach (var a in allies)
            {
                MiscMenu.Add("autoW_" + a.BaseSkinName, new CheckBox("Auto W " + a.BaseSkinName));
            }
            MiscMenu.Add("autoW_" + Player.Instance.BaseSkinName, new CheckBox("Auto W Self"));

            DrawingMenu = LuxMenu.AddSubMenu("Drawing", "Drawing");
            DrawingMenu.AddGroupLabel("Drawing Settings");
            DrawingMenu.Add("drawQ", new CheckBox("Draw Q Range"));
            DrawingMenu.Add("drawW", new CheckBox("Draw W Range"));
            DrawingMenu.Add("drawE", new CheckBox("Draw E Range"));
            DrawingMenu.Add("drawR", new CheckBox("Draw R Range"));
            DrawingMenu.AddGroupLabel("DamageIndicator");
            DrawingMenu.Add("draw.Damage", new CheckBox("Use Damage Indicator"));
            DrawingMenu.Add("draw.Q", new CheckBox("Draw Q Damage"));
            DrawingMenu.Add("draw.W", new CheckBox("Draw W Damage", false));
            DrawingMenu.Add("draw.E", new CheckBox("Draw E Damage"));
            DrawingMenu.Add("draw.R", new CheckBox("Draw R Damage"));

            Chat.Print("StarBuddy - Lux by KarmaPanda", System.Drawing.Color.DeepPink);

            Indicator = new DamageIndicator.DamageIndicator();
            Game.OnUpdate += Game_OnUpdate;
            GameObject.OnCreate += GameObject_OnCreate;
            GameObject.OnDelete += GameObject_OnDelete;
            Drawing.OnDraw += Drawing_OnDraw;
        }
Esempio n. 8
0
        /// <summary>
        /// Called when the Game finishes loading
        /// </summary>
        /// <param name="args">The Args</param>
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (Player.Instance.BaseSkinName != ChampionName)
            {
                return;
            }

            Q = new Spell.Active(SpellSlot.Q);
            W = new Spell.Skillshot(SpellSlot.W, 1500, SkillShotType.Linear, 500, 3300, 60)
            {
                AllowedCollisionCount = 0
            };
            E = new Spell.Skillshot(SpellSlot.E, 900, SkillShotType.Circular, 250, 1750, 315)
            {
                AllowedCollisionCount = int.MaxValue
            };
            R = new Spell.Skillshot(SpellSlot.R, 25000, SkillShotType.Linear, 500, 1700, 140)
            {
                AllowedCollisionCount = int.MaxValue
            };

            Config.Initialize();
            Indicator = new DamageIndicator.DamageIndicator();

            Chat.Print("Jin-XXX: Loaded", System.Drawing.Color.Blue);

            Game.OnUpdate                    += Game_OnUpdate;
            Game.OnUpdate                    += ActiveStates.Game_OnUpdate;
            Orbwalker.OnPreAttack            += Orbwalker_OnPreAttack;
            Orbwalker.OnPostAttack           += Orbwalker_OnPostAttack;
            Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell;
            Gapcloser.OnGapcloser            += Gapcloser_OnGapcloser;
            Obj_AI_Base.OnProcessSpellCast   += Obj_AI_Base_OnProcessSpellCast;
            Drawing.OnDraw                   += Drawing_OnDraw;

            /*try
             * {
             *  var sandBox = SandboxConfig.DataDirectory + @"\JinXXX\";
             *
             *  if (!Directory.Exists(sandBox))
             *  {
             *      Directory.CreateDirectory(sandBox);
             *  }
             *
             *  // Credits to iRaxe for the Original Idea
             *  if (!File.Exists(sandBox + "Allahu_Akbar_Sound_Effect_Download_Link.wav"))
             *  {
             *      var client = new WebClient();
             *      client.DownloadFile("http://upload.karmapanda.org/cc9981d8638aa6617e5ee96130134c05.wav",
             *          sandBox + "Allahu_Akbar_Sound_Effect_Download_Link.wav");
             *      client.DownloadFileCompleted += Client_DownloadFileCompleted;
             *  }
             *
             *  if (File.Exists(sandBox + "Allahu_Akbar_Sound_Effect_Download_Link.wav"))
             *  {
             *      AllahAkbar = new SoundPlayer
             *      {
             *          SoundLocation =
             *              SandboxConfig.DataDirectory + @"\JinXXX\" + "Allahu_Akbar_Sound_Effect_Download_Link.wav"
             *      };
             *      AllahAkbar.Load();
             *  }
             * }
             * catch (Exception e)
             * {
             *  Chat.Print("Failed to load Allah Akbar: " + e);
             * }*/
        }
Esempio n. 9
0
        /// <summary>
        /// Called when the game starts.
        /// </summary>
        /// <param name="args">The Args</param>
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (ChampionName != Player.Instance.BaseSkinName)
            {
                return;
            }

            Q = new Spell.Skillshot(SpellSlot.Q, 1175, SkillShotType.Linear, 250, 70, 1300)
            {
                AllowedCollisionCount = 1
            };
            W  = new Spell.Skillshot(SpellSlot.W, 1075, SkillShotType.Linear, 250, 150, 1200);
            E  = new Spell.Skillshot(SpellSlot.E, 1200, SkillShotType.Circular, 250, 275, 950);
            E2 = new Spell.Active(SpellSlot.E);
            R  = new Spell.Skillshot(SpellSlot.R, 3300, SkillShotType.Circular, 1000, 150, int.MaxValue)
            {
                AllowedCollisionCount = int.MaxValue
            };

            LuxMenu = MainMenu.AddMenu("Lux", "Lux");
            LuxMenu.AddGroupLabel("This addon is made by KarmaPanda and should not be redistributed in any way.");
            LuxMenu.AddGroupLabel("Any unauthorized redistribution without credits will result in severe consequences.");
            LuxMenu.AddGroupLabel("Thank you for using this addon and have a fun time!");

            ComboMenu = LuxMenu.AddSubMenu("Combo", "Combo");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.Add("useQ", new CheckBox("Combo using Q"));
            ComboMenu.Add("useE", new CheckBox("Combo using E"));
            ComboMenu.Add("useR", new CheckBox("Combo using R"));
            ComboMenu.Add("sliderR", new Slider("Amount of Enemies before casting R", 3, 1, 5));
            ComboMenu.AddLabel("Prediction Settings");
            ComboMenu.Add("qSlider", new Slider("Cast Q if % HitChance", 75));
            ComboMenu.Add("eSlider", new Slider("Cast E if % HitChance", 75));
            ComboMenu.Add("rSlider", new Slider("Cast R if % HitChance", 75));

            HarassMenu = LuxMenu.AddSubMenu("Harass", "Harass");
            HarassMenu.AddGroupLabel("Harass Settings");
            HarassMenu.Add("useQ", new CheckBox("Harass using Q"));
            HarassMenu.Add("useE", new CheckBox("Harass using E"));
            HarassMenu.AddLabel("Prediction Settings");
            HarassMenu.Add("qSlider", new Slider("Cast Q if % HitChance", 75));
            HarassMenu.Add("eSlider", new Slider("Cast E if % HitChance", 75));
            HarassMenu.Add("rSlider", new Slider("Cast R if % HitChance", 75));

            LaneClearMenu = LuxMenu.AddSubMenu("LaneClear", "LaneClear");
            LaneClearMenu.AddGroupLabel("Lane Clear Settings");
            LaneClearMenu.Add("useQ", new CheckBox("Lane Clear using Q", false));
            LaneClearMenu.Add("useE", new CheckBox("Lane Clear using E"));
            LaneClearMenu.Add("useR", new CheckBox("Mentally Retarded Mode (Use R)", false));
            LaneClearMenu.Add("useQs", new Slider("Minions before Q", 1, 1, 2));
            LaneClearMenu.Add("useEs", new Slider("Minions before E", 3, 1, 6));
            LaneClearMenu.Add("useRs", new Slider("Minions before R", 4, 1, 10));

            KillStealMenu = LuxMenu.AddSubMenu("KillSteal", "KillSteal");
            KillStealMenu.AddGroupLabel("Kill Steal Settings");
            KillStealMenu.Add("useQ", new CheckBox("Kill Steal using Q"));
            KillStealMenu.Add("useE", new CheckBox("Kill Steal using E"));
            KillStealMenu.Add("useR", new CheckBox("Kill Steal using R"));
            KillStealMenu.AddLabel("Prediction Settings");
            KillStealMenu.Add("qSlider", new Slider("Cast Q if % HitChance", 75));
            KillStealMenu.Add("eSlider", new Slider("Cast E if % HitChance", 75));
            KillStealMenu.Add("rSlider", new Slider("Cast R if % HitChance", 75));

            MiscMenu = LuxMenu.AddSubMenu("Misc", "Misc");
            MiscMenu.AddGroupLabel("Mana Manager Settings");
            MiscMenu.Add("manaQ", new Slider("Mana Manager Q", 25));
            MiscMenu.Add("manaW", new Slider("Mana Manager W", 25));
            MiscMenu.Add("manaE", new Slider("Mana Manager E", 25));
            MiscMenu.Add("manaR", new Slider("Mana Manager R", 25));
            MiscMenu.Add("disableC", new CheckBox("Disable Mana Manager in Combo"));
            MiscMenu.AddGroupLabel("Misc Settings");
            MiscMenu.Add("useW", new CheckBox("Automatically Cast W"));
            MiscMenu.Add("useM", new CheckBox("Use W only on Modes"));
            MiscMenu.Add("hpW", new Slider("HP % before W", 25));
            MiscMenu.AddLabel("Who to use W on?");
            var allies = EntityManager.Heroes.Allies.Where(a => !a.IsMe).OrderBy(a => a.BaseSkinName);

            foreach (var a in allies)
            {
                MiscMenu.Add("autoW_" + a.BaseSkinName, new CheckBox("Auto W " + a.BaseSkinName));
            }
            MiscMenu.Add("autoW_" + Player.Instance.BaseSkinName, new CheckBox("Auto W Self"));

            DrawingMenu = LuxMenu.AddSubMenu("Drawing", "Drawing");
            DrawingMenu.AddGroupLabel("Drawing Settings");
            DrawingMenu.Add("drawQ", new CheckBox("Draw Q Range"));
            DrawingMenu.Add("drawW", new CheckBox("Draw W Range"));
            DrawingMenu.Add("drawE", new CheckBox("Draw E Range"));
            DrawingMenu.Add("drawR", new CheckBox("Draw R Range"));
            DrawingMenu.AddGroupLabel("DamageIndicator");
            DrawingMenu.Add("draw.Damage", new CheckBox("Use Damage Indicator"));
            DrawingMenu.Add("draw.Q", new CheckBox("Draw Q Damage"));
            DrawingMenu.Add("draw.W", new CheckBox("Draw W Damage", false));
            DrawingMenu.Add("draw.E", new CheckBox("Draw E Damage"));
            DrawingMenu.Add("draw.R", new CheckBox("Draw R Damage"));

            Chat.Print("StarBuddy - Lux by KarmaPanda", System.Drawing.Color.DeepPink);

            Indicator            = new DamageIndicator.DamageIndicator();
            Game.OnUpdate       += Game_OnUpdate;
            GameObject.OnCreate += GameObject_OnCreate;
            GameObject.OnDelete += GameObject_OnDelete;
            Drawing.OnDraw      += Drawing_OnDraw;
        }
Esempio n. 10
0
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (_Player.Hero != Champion.Azir)
            {
                return;
            }

            var slot = _Player.GetSpellSlotFromName("summonerdot");

            _Q = new Spell.Skillshot(SpellSlot.Q, 875, SkillShotType.Linear, 0, 1600, 70);
            _W = new Spell.Skillshot(SpellSlot.W, 450, SkillShotType.Circular, 0);
            _E = new Spell.Skillshot(SpellSlot.E, 1250, SkillShotType.Linear, 0, 1700, 100);
            _R = new Spell.Skillshot(SpellSlot.R, 450, SkillShotType.Linear, 1, 1400, 0);

            if (slot != SpellSlot.Unknown)
            {
                _Ignite = new Spell.Targeted(slot, 600);
            }

            //Just a placeholder...
            _SoldierAARange = new Spell.Skillshot(SpellSlot.Unknown, 320, SkillShotType.Linear);

            _Zhonyas   = new Item(3157);
            _ManaPot   = new Item(2004);
            _HealthPot = new Item(2003);

            Menu = MainMenu.AddMenu("Azir", "azir");

            Menu.AddGroupLabel("Azir");
            Menu.AddLabel("By Buddy");

            Menu.AddSeparator();

            //Menu.Add("mGobalDelay", new Slider("Gobal Delay (ms)", 5, 0, 100));

            //Menu.AddSeparator();

            //Menu.Add("mCheckHitChance", new CheckBox("Check Hitchance"));
            //Menu.Add("mMinimumHitChance", new Slider("HitChance: Low|Medium|High", 1, 1, 3));

            //Menu.AddSeparator();

            Menu.Add("mUseItems", new CheckBox("Use Items"));
            Menu.Add("mUseHealthPot", new Slider("Use Health Pot At %:", 20, 0, 100));

            Menu.AddSeparator();

            Menu.Add("mDamageBuffer", new Slider("Damage Calculations Buffer %:", 90, 10, 100));
            Menu.AddLabel("Only Change this if you know what you're doing");

            Menu.AddSeparator();

            //Menu.Add("mSkinID", new Slider("Skin ID", 1, 1, 2));
            Menu.Add("mUseROnInterrupt", new CheckBox("Use R To Interrupt"));
            Menu.Add("mAutoIgnite", new CheckBox("Auto Ignite Killable"));

            DrawMenu = Menu.AddSubMenu("Draw", "draw");

            DrawMenu.AddGroupLabel("Draw Menu");
            DrawMenu.Add("dDrawQ", new CheckBox("Draw Q"));
            DrawMenu.Add("dDrawLines", new CheckBox("Draw Lines"));
            DrawMenu.Add("dDrawW", new CheckBox("Draw W"));
            DrawMenu.Add("dDrawE", new CheckBox("Draw E"));
            DrawMenu.Add("dDrawR", new CheckBox("Draw R"));
            DrawMenu.Add("dDrawWRange", new CheckBox("Draw W Range"));
            DrawMenu.Add("dDrawWCommandRange", new CheckBox("Draw W Command Range"));
            DrawMenu.Add("dDrawComboIndicator", new CheckBox("Draw Combo Indicator"));
            DrawMenu.Add("dDrawText", new CheckBox("Draw Text"));
            DrawMenu.Add("dDrawManaUsage", new CheckBox("Draw Q-W-E-R Mana Usage"));

            ComboMenu = Menu.AddSubMenu("Combo", "combo");

            ComboMenu.AddGroupLabel("Combo Menu");
            ComboMenu.Add("cUseQ", new CheckBox("Use Q"));
            ComboMenu.Add("cUseW", new CheckBox("Use W"));
            ComboMenu.Add("cUseE", new CheckBox("Use E"));
            ComboMenu.Add("cUseEGC", new CheckBox("Use E To Gapclose"));
            ComboMenu.Add("cUseR", new CheckBox("Use R"));
            ComboMenu.Add("cUseAA", new CheckBox("Use AA"));
            ComboMenu.Add("cUseIgnite", new CheckBox("Use Ignite"));

            HarassMenu = Menu.AddSubMenu("Harass", "harass");

            HarassMenu.AddGroupLabel("Harass Menu");
            HarassMenu.Add("hUseQ", new CheckBox("Use Q"));
            HarassMenu.Add("hUseW", new CheckBox("Use W"));
            HarassMenu.Add("hUseAA", new CheckBox("Use AA"));

            FarmMenu = Menu.AddSubMenu("Farm", "farm");

            FarmMenu.AddGroupLabel("Farm Menu");

            FarmMenu.AddSeparator();

            FarmMenu.AddLabel("Last Hit");
            FarmMenu.Add("fLHUseQ", new CheckBox("Use Q"));
            FarmMenu.Add("fLHUseW", new CheckBox("Use W"));
            FarmMenu.Add("fLHUseWHealth", new Slider("Use W When Minion Healh %:", 50, 0, 100));

            FarmMenu.AddSeparator();

            FarmMenu.AddLabel("Lane Clear");
            FarmMenu.Add("fLCUseQ", new CheckBox("Use Q"));
            FarmMenu.Add("fLCUseW", new CheckBox("Use W"));
            FarmMenu.Add("fLCWaitHealth", new Slider("Wait for minion at %:", 10, 0, 100));
            FarmMenu.Add("fLCUseWHealth", new Slider("Use W When Minion Healh %:", 80, 0, 100));

            KSMenu = Menu.AddSubMenu("KillSteal", "killsteal");

            KSMenu.AddGroupLabel("KS Menu");
            KSMenu.Add("ksUseWQ", new CheckBox("Use W-Q"));
            KSMenu.Add("ksUseE", new CheckBox("Use E To Gapclose"));
            KSMenu.Add("ksUseR", new CheckBox("Use R"));
            KSMenu.Add("ksUseIgnite", new CheckBox("Use Ignite"));

            FleeMenu = Menu.AddSubMenu("Flee", "flee");

            FleeMenu.AddGroupLabel("Flee Menu");
            FleeMenu.Add("fUseWE", new CheckBox("Use W-E"));
            FleeMenu.Add("fUseQ", new CheckBox("Use W-Q-E"));
            FleeMenu.Add("fUseR", new CheckBox("Use R"));
            FleeMenu.Add("fUseRHealth", new Slider("Use R if Health <", 100, 0, 500));

            ItemMenu = Menu.AddSubMenu("Items", "items");

            ItemMenu.AddGroupLabel("Items Menu");
            ItemMenu.Add("iUseZhonyas", new CheckBox("Use Zhonya's"));
            ItemMenu.Add("iUseZhonyasHealth", new Slider("Use Zhonya's at Health:", 250, 50, 750));

            Indicator = new DamageIndicator.DamageIndicator();
            Indicator.Add("Combo", new SpellData(0, DamageType.True, Color.Lime));

            ManaMenu = Menu.AddSubMenu("Mana", "mana");

            ManaMenu.AddGroupLabel("Mana Menu");
            ManaMenu.Add("mUsePot", new Slider("Use Mana Pot At %:", 35, 0, 100));
            ManaMenu.Add("mManaCalculations", new CheckBox("Do Mana Calculations"));

            Game.OnTick += Game_OnTick;
            Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell;
            Drawing.OnDraw        += Draw.Drawing_OnDraw;
            Gapcloser.OnGapcloser += Gapcloser_OnGapcloser;

            Chat.Print("<font color='#32cd32'>Azir Built Successfully - {0} {1}</font>", DateTime.Now.ToString("h:mm:ss tt"), DateTime.Now.ToString("d/M/yyyy"));
        }
Esempio n. 11
0
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (_Player.Hero != Champion.Azir)
                return;

            var slot = _Player.GetSpellSlotFromName("summonerdot");

            _Q = new Spell.Skillshot(SpellSlot.Q, 875, SkillShotType.Linear, 0, 1600, 70);
            _W = new Spell.Skillshot(SpellSlot.W, 450, SkillShotType.Circular, 0);
            _E = new Spell.Skillshot(SpellSlot.E, 1250, SkillShotType.Linear, 0, 1700, 100);
            _R = new Spell.Skillshot(SpellSlot.R, 450, SkillShotType.Linear, 1, 1400, 0);

            if (slot != SpellSlot.Unknown)
            {
                _Ignite = new Spell.Targeted(slot, 600);
            }

            //Just a placeholder...
            _SoldierAARange = new Spell.Skillshot(SpellSlot.Unknown, 320, SkillShotType.Linear);

            _Zhonyas = new Item(3157);
            _ManaPot = new Item(2004);
            _HealthPot = new Item(2003);

            Menu = MainMenu.AddMenu("Azir", "azir");

            Menu.AddGroupLabel("Azir");
            Menu.AddLabel("By Buddy");

            Menu.AddSeparator();

            //Menu.Add("mGobalDelay", new Slider("Gobal Delay (ms)", 5, 0, 100));

            //Menu.AddSeparator();

            //Menu.Add("mCheckHitChance", new CheckBox("Check Hitchance"));
            //Menu.Add("mMinimumHitChance", new Slider("HitChance: Low|Medium|High", 1, 1, 3));

            //Menu.AddSeparator();

            Menu.Add("mUseItems", new CheckBox("Use Items"));
            Menu.Add("mUseHealthPot", new Slider("Use Health Pot At %:", 20, 0, 100));
            
            Menu.AddSeparator();

            Menu.Add("mDamageBuffer", new Slider("Damage Calculations Buffer %:", 90, 10, 100));
            Menu.AddLabel("Only Change this if you know what you're doing");

            Menu.AddSeparator();

            //Menu.Add("mSkinID", new Slider("Skin ID", 1, 1, 2));
            Menu.Add("mUseROnInterrupt", new CheckBox("Use R To Interrupt"));
            Menu.Add("mAutoIgnite", new CheckBox("Auto Ignite Killable"));

            DrawMenu = Menu.AddSubMenu("Draw", "draw");

            DrawMenu.AddGroupLabel("Draw Menu");
            DrawMenu.Add("dDrawQ", new CheckBox("Draw Q"));
            DrawMenu.Add("dDrawLines", new CheckBox("Draw Lines"));
            DrawMenu.Add("dDrawW", new CheckBox("Draw W"));
            DrawMenu.Add("dDrawE", new CheckBox("Draw E"));
            DrawMenu.Add("dDrawR", new CheckBox("Draw R"));
            DrawMenu.Add("dDrawWRange", new CheckBox("Draw W Range"));
            DrawMenu.Add("dDrawWCommandRange", new CheckBox("Draw W Command Range"));
            DrawMenu.Add("dDrawComboIndicator", new CheckBox("Draw Combo Indicator"));
            DrawMenu.Add("dDrawText", new CheckBox("Draw Text"));
            DrawMenu.Add("dDrawManaUsage", new CheckBox("Draw Q-W-E-R Mana Usage"));

            ComboMenu = Menu.AddSubMenu("Combo", "combo");

            ComboMenu.AddGroupLabel("Combo Menu");
            ComboMenu.Add("cUseQ", new CheckBox("Use Q"));
            ComboMenu.Add("cUseW", new CheckBox("Use W"));
            ComboMenu.Add("cUseE", new CheckBox("Use E"));
            ComboMenu.Add("cUseEGC", new CheckBox("Use E To Gapclose"));
            ComboMenu.Add("cUseR", new CheckBox("Use R"));
            ComboMenu.Add("cUseAA", new CheckBox("Use AA"));
            ComboMenu.Add("cUseIgnite", new CheckBox("Use Ignite"));

            HarassMenu = Menu.AddSubMenu("Harass", "harass");

            HarassMenu.AddGroupLabel("Harass Menu");
            HarassMenu.Add("hUseQ", new CheckBox("Use Q"));
            HarassMenu.Add("hUseW", new CheckBox("Use W"));
            HarassMenu.Add("hUseAA", new CheckBox("Use AA"));
            
            FarmMenu = Menu.AddSubMenu("Farm", "farm");

            FarmMenu.AddGroupLabel("Farm Menu");

            FarmMenu.AddSeparator();

            FarmMenu.AddLabel("Last Hit");
            FarmMenu.Add("fLHUseQ", new CheckBox("Use Q"));
            FarmMenu.Add("fLHUseW", new CheckBox("Use W"));
            FarmMenu.Add("fLHUseWHealth", new Slider("Use W When Minion Healh %:", 50, 0, 100));

            FarmMenu.AddSeparator();

            FarmMenu.AddLabel("Lane Clear");
            FarmMenu.Add("fLCUseQ", new CheckBox("Use Q"));
            FarmMenu.Add("fLCUseW", new CheckBox("Use W"));
            FarmMenu.Add("fLCWaitHealth", new Slider("Wait for minion at %:", 10, 0, 100));
            FarmMenu.Add("fLCUseWHealth", new Slider("Use W When Minion Healh %:", 80, 0, 100));

            KSMenu = Menu.AddSubMenu("KillSteal", "killsteal");

            KSMenu.AddGroupLabel("KS Menu");
            KSMenu.Add("ksUseWQ", new CheckBox("Use W-Q"));
            KSMenu.Add("ksUseE", new CheckBox("Use E To Gapclose"));
            KSMenu.Add("ksUseR", new CheckBox("Use R"));
            KSMenu.Add("ksUseIgnite", new CheckBox("Use Ignite"));

            FleeMenu = Menu.AddSubMenu("Flee", "flee");

            FleeMenu.AddGroupLabel("Flee Menu");
            FleeMenu.Add("fUseWE", new CheckBox("Use W-E"));
            FleeMenu.Add("fUseQ", new CheckBox("Use W-Q-E"));
            FleeMenu.Add("fUseR", new CheckBox("Use R"));
            FleeMenu.Add("fUseRHealth", new Slider("Use R if Health <", 100, 0, 500));

            ItemMenu = Menu.AddSubMenu("Items", "items");

            ItemMenu.AddGroupLabel("Items Menu");
            ItemMenu.Add("iUseZhonyas", new CheckBox("Use Zhonya's"));
            ItemMenu.Add("iUseZhonyasHealth", new Slider("Use Zhonya's at Health:", 250, 50, 750));

            Indicator = new DamageIndicator.DamageIndicator();
            Indicator.Add("Combo", new SpellData(0, DamageType.True, Color.Lime));

            ManaMenu = Menu.AddSubMenu("Mana", "mana");
            
            ManaMenu.AddGroupLabel("Mana Menu");
            ManaMenu.Add("mUsePot", new Slider("Use Mana Pot At %:", 35, 0, 100));
            ManaMenu.Add("mManaCalculations", new CheckBox("Do Mana Calculations"));

            Game.OnTick += Game_OnTick;
            Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell;
            Drawing.OnDraw += Draw.Drawing_OnDraw;
            Gapcloser.OnGapcloser += Gapcloser_OnGapcloser;

            Chat.Print("<font color='#32cd32'>Azir Built Successfully - {0} {1}</font>", DateTime.Now.ToString("h:mm:ss tt"), DateTime.Now.ToString("d/M/yyyy"));
        }
Esempio n. 12
0
        private static void OnLoadingComplete(EventArgs args)
        {
            // Verify the champion we made this addon for
            if (Player.Instance.ChampionName != ChampName)
            {
                return;
            }
            Indicator = new DamageIndicator.DamageIndicator();

            Indicator.Add("Q", new SpellData(SpellSlot.Q, true, DamageLibrary.SpellStages.Default, Color.Blue));
            Indicator.Add("E", new SpellData(SpellSlot.E, true, DamageLibrary.SpellStages.Default, Color.Blue));
            Indicator.Add("R", new SpellData(SpellSlot.R, true, DamageLibrary.SpellStages.Default, Color.Blue));
            Indicator.Add("Q2", new SpellData(SpellSlot.Q, true, DamageLibrary.SpellStages.WayBack, Color.Blue));
            Indicator.Add("P", new SpellData(SpellSlot.Unknown, true, DamageLibrary.SpellStages.Passive, Color.Red));

            Config.Initialize();
            SpellManager.Initialize();
            ModeManager.Initialize();
            var version = "1.2.1";
            var championname = Player.Instance.ChampionName;
            Chat.Print("ZiiM's " + championname + " " + version + " Loaded.");

            Drawing.OnDraw += OnDraw;
            Game.OnUpdate += Game_OnUpdate;
        }
Esempio n. 13
0
        private static void Game_OnStart(EventArgs args)
        {
            if (!_Player.ChampionName.Contains("Katarina")) return;
            Bootstrap.Init(null);
            uint level = (uint)Player.Instance.Level;
            Q = new Spell.Targeted(SpellSlot.Q, 675);
            W = new Spell.Active(SpellSlot.W, 375);
            E = new Spell.Targeted(SpellSlot.E, 700);
            R = new Spell.Active(SpellSlot.R, 550);
            if(Player.Spells.FirstOrDefault(o => o.SData.Name.Contains("summonerdot")) != null)
                _ignite = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerdot"), 600);

            Menu = MainMenu.AddMenu("Simple Katarina", "simpleKata");
            Menu.AddGroupLabel("Simple Katarina");
            Menu.AddLabel("Version: " + "1.0.0.0 - 15.10.15 09:00 GMT+2");
            Menu.AddLabel("First public release, report bugs in the forum!");
            Menu.AddSeparator();
            Menu.AddLabel("By Pataxx");
            Menu.AddSeparator();
            Menu.AddLabel("Thanks to: Finndev, Hellsing, Fluxy");
            Menu.AddSeparator();

            ComboMenu = Menu.AddSubMenu("Combo", "SimpleCombo");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.Add("useQCombo", new CheckBox("Use Q", true));
            ComboMenu.Add("useWCombo", new CheckBox("Use W", true));
            ComboMenu.Add("useECombo", new CheckBox("Use E", true));
            ComboMenu.Add("useETCombo", new CheckBox("Towerdive with E", true));
            ComboMenu.AddGroupLabel("R Settings");
            var rUsage = ComboMenu.Add("RSettings", new Slider("Select R Usage", 1, 0, 1));
            var diff = new[] { "Burst Mode", "Smart R" };
            rUsage.DisplayName = diff[rUsage.CurrentValue];
            rUsage.OnValueChange += delegate (ValueBase<int> sender, ValueBase<int>.ValueChangeArgs args2)
            {
                sender.DisplayName = diff[args2.NewValue];
            };

            HarassMenu = Menu.AddSubMenu("Harass", "SimpleHarass");
            HarassMenu.AddGroupLabel("Harass Settings");
            HarassMenu.Add("useQHarass", new CheckBox("Use Q", true));
            HarassMenu.Add("useWHarass", new CheckBox("Use W", true));
            HarassMenu.Add("useEHarass", new CheckBox("Use E", false));
            HarassMenu.AddGroupLabel("Auto Harass");
            HarassMenu.Add("autoQHarass", new CheckBox("Auto Q", true));
            HarassMenu.Add("autoWHarass", new CheckBox("Auto W", true));
            HarassMenu.Add("autoHToggle", new KeyBind("Auto Harass Toggle", false, KeyBind.BindTypes.PressToggle, 'Y'));

            KsMenu = Menu.AddSubMenu("Killsteal", "SimpleKS");
            KsMenu.AddGroupLabel("Killsteal Settings");
            KsMenu.Add("useQKs", new CheckBox("Use Q", true));
            KsMenu.Add("useWKs", new CheckBox("Use W", false));
            KsMenu.Add("useEKs", new CheckBox("Use E", true));
            KsMenu.Add("useIKs", new CheckBox("Use Ignite", true));
            KsMenu.Add("useUCKs", new CheckBox("Cancel Ult for KS", true));

            MiscMenu = Menu.AddSubMenu("Misc", "SimpleDraw");
            MiscMenu.AddGroupLabel("Draw Settings");
            MiscMenu.Add("drawQ", new CheckBox("Draw Q", true));
            MiscMenu.Add("drawW", new CheckBox("Draw W", true));
            MiscMenu.Add("drawE", new CheckBox("Draw E", true));
            MiscMenu.Add("drawR", new CheckBox("Draw R", false));
            MiscMenu.AddGroupLabel("Stuff");
            MiscMenu.Add("wardJump", new CheckBox("Ward Jump (use Flee mode)", true));
            MiscMenu.Add("isKillable", new CheckBox("Draw if Killable", true));
            //Activator.init();
            Indicator = new DamageIndicator.DamageIndicator();
            Indicator.Add("Combo", new SpellData(0, DamageType.True, Color.Aqua));

            Game.OnTick += Game_OnTick;
            Player.OnIssueOrder += Player_OnIssueOrder;
            Orbwalker.OnPreAttack += Orbwalker_OnPreAttack;
            Drawing.OnDraw += Drawing_OnDraw;
        }
Esempio n. 14
0
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (Player.Instance.ChampionName != Champion.Riven.ToString())
            {
                return;
            }

            Menu = MainMenu.AddMenu("RivenBuddy", "rivenbuddy");
            Menu.AddGroupLabel("Riven Buddy");
            Menu.AddSeparator();
            Menu.AddLabel("By Fluxy");
            Menu.AddLabel("nixi waz here");

            ComboMenu = Menu.AddSubMenu("Combo Settings", "combosettingsRiven");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.Add("combo.useQ", new CheckBox("Use Q"));
            ComboMenu.Add("combo.useQGapClose", new CheckBox("Use Q to Gapclose", false));
            ComboMenu.Add("combo.useW", new CheckBox("Use W"));
            ComboMenu.Add("combo.useE", new CheckBox("Use E"));
            ComboMenu.Add("combo.useR", new CheckBox("Use R"));
            ComboMenu.Add("combo.useR2", new CheckBox("Use R2"));
            ComboMenu.Add("combo.hydra", new CheckBox("Use Hydra/Tiamat"));
            ComboMenu.Add("useR", new KeyBind("Force R", false, KeyBind.BindTypes.PressToggle, 'T'));
            ComboMenu.AddSeparator();
            ComboMenu.AddLabel("R1 Combos");
            ComboMenu.Add("combo.eR1", new CheckBox("E -> R1"));
            ComboMenu.Add("combo.R1", new CheckBox("R1"));
            ComboMenu.AddSeparator();
            ComboMenu.AddLabel("R2 Combos");
            ComboMenu.Add("combo.eR2", new CheckBox("E -> R2"));
            ComboMenu.Add("combo.qR2", new CheckBox("R2 -> Q"));
            ComboMenu.Add("combo.R2", new CheckBox("R2"));
            ComboMenu.AddSeparator();
            ComboMenu.AddGroupLabel("Burst Combo");
            ComboMenu.Add("burst.flash", new CheckBox("Use Flash in Burst"));
            ComboMenu.Add("burst", new KeyBind("Burst", false, KeyBind.BindTypes.HoldActive, 'Y'));
            ComboMenu.AddSeparator();
            ComboMenu.AddGroupLabel("Misc");
            ComboMenu.Add("combo.keepQAlive", new CheckBox("Keep Q Alive"));
            ComboMenu.Add("combo.useRBeforeExpire", new CheckBox("Use R Before Expire"));
            ComboMenu.Add("combo.alwaysCancelQ", new CheckBox("Always Cancel Q", false));

            HarassMenu = Menu.AddSubMenu("Harass Settings", "harasssettingsRiven");
            HarassMenu.AddGroupLabel("Harass Settings");
            HarassMenu.Add("harass.hydra", new CheckBox("Use Hydra/Tiamat"));
            HarassMenu.Add("harass.useQ", new CheckBox("Use Q"));
            HarassMenu.Add("harass.useW", new CheckBox("Use W"));
            HarassMenu.Add("harass.useE", new CheckBox("Use E"));

            MinionClear = Menu.AddSubMenu("Minion Clear Settings", "farmettingsRiven");
            MinionClear.AddGroupLabel("LastHit Settings");
            MinionClear.Add("lasthit.useQ", new CheckBox("Use Q"));
            MinionClear.Add("lasthit.useW", new CheckBox("Use W"));
            MinionClear.AddSeparator();
            MinionClear.AddGroupLabel("Wave Clear Settings");
            MinionClear.Add("waveclear.hydra", new CheckBox("Use Hydra/Tiamat"));
            MinionClear.Add("waveclear.useQ", new CheckBox("Use Q"));
            MinionClear.Add("waveclear.useW", new CheckBox("Use W"));

            Jungle = Menu.AddSubMenu("Jungle Settings", "jungleettingsRiven");
            Jungle.AddGroupLabel("Jungle Clear Settings");
            Jungle.Add("jungle.hydra", new CheckBox("Use Hydra/Tiamat"));
            Jungle.Add("jungle.useQ", new CheckBox("Use Q"));
            Jungle.Add("jungle.useW", new CheckBox("Use W"));
            Jungle.Add("jungle.useE", new CheckBox("Use E"));

            DrawMenu = Menu.AddSubMenu("Draw Settings", "drawsettingsRiven");
            DrawMenu.AddGroupLabel("Draw Settings");
            DrawMenu.Add("draw.Q", new CheckBox("Draw Q", false));
            DrawMenu.Add("draw.W", new CheckBox("Draw W", false));
            DrawMenu.Add("draw.E", new CheckBox("Draw E", false));
            DrawMenu.Add("draw.R", new CheckBox("Draw R", false));
            DrawMenu.Add("draw.Damage", new CheckBox("Draw Damage"));
            DrawMenu.Add("draw.Combo", new CheckBox("Write Current Combo", false));
            DrawMenu.Add("draw.rState", new CheckBox("Write R State"));

            R2 = new Spell.Skillshot(SpellSlot.R, 900, SkillShotType.Cone, 250, 1600, 125);
            TargetSelector2.Init();
            SpellEvents.Init();
            Game.OnUpdate       += Game_OnUpdate;
            Drawing.OnDraw      += Drawing_OnDraw;
            Game.OnUpdate       += delegate { SpellManager.UpdateSpells(); };
            Player.OnIssueOrder += Player_OnIssueOrder;
            Indicator            = new DamageIndicator.DamageIndicator();

            //Chat.Print("RivenBuddy : Fully Loaded. by fluxy");
        }
Esempio n. 15
0
        /// <summary>
        /// Called when the Game finishes loading
        /// </summary>
        /// <param name="args">The Args</param>
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (Player.Instance.BaseSkinName != ChampionName)
            {
                return;
            }

            Q = new Spell.Active(SpellSlot.Q);
            W = new Spell.Skillshot(SpellSlot.W, 1450, SkillShotType.Linear, 500, 1500, 60)
            {
                AllowedCollisionCount = 0
            };
            E = new Spell.Skillshot(SpellSlot.E, 900, SkillShotType.Circular, 1200, 1750, 100);
            R = new Spell.Skillshot(SpellSlot.R, 3000, SkillShotType.Linear, 700, 1500, 140);

            Config.Initialize();
            Indicator = new DamageIndicator.DamageIndicator();

            Chat.Print("Jin-XXX: Loaded", System.Drawing.Color.AliceBlue);
            //Chat.Print("Jin-XXX: Check out the Menu and adjust to your preference.", System.Drawing.Color.Aqua);
            //Chat.Print("Jin-XXX: Please be sure to upvote if you enjoy!", System.Drawing.Color.OrangeRed);

            Game.OnUpdate                    += Game_OnUpdate;
            Game.OnUpdate                    += ActiveStates.Game_OnUpdate;
            Orbwalker.OnPreAttack            += Orbwalker_OnPreAttack;
            Orbwalker.OnPostAttack           += Orbwalker_OnPostAttack;
            Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell;
            Gapcloser.OnGapcloser            += Gapcloser_OnGapcloser;
            Obj_AI_Base.OnProcessSpellCast   += Obj_AI_Base_OnProcessSpellCast;
            Drawing.OnDraw                   += Drawing_OnDraw;

            try
            {
                var sandBox = SandboxConfig.DataDirectory + @"\JinXXX\";

                if (!Directory.Exists(sandBox))
                {
                    Directory.CreateDirectory(sandBox);
                }

                // Credits to iRaxe for the Original Idea
                if (!File.Exists(sandBox + "Allahu_Akbar_Sound_Effect_Download_Link.wav"))
                {
                    var client = new WebClient();
                    client.DownloadFile("http://italianbuffet.it/Allahu_Akbar_Sound_Effect_Download_Link.wav",
                                        sandBox + "Allahu_Akbar_Sound_Effect_Download_Link.wav");
                    client.DownloadFileCompleted += Client_DownloadFileCompleted;
                }

                if (File.Exists(sandBox + "Allahu_Akbar_Sound_Effect_Download_Link.wav"))
                {
                    AllahAkbar = new SoundPlayer
                    {
                        SoundLocation =
                            SandboxConfig.DataDirectory + @"\JinXXX\" + "Allahu_Akbar_Sound_Effect_Download_Link.wav"
                    };
                    AllahAkbar.Load();
                }
            }
            catch (Exception e)
            {
                Chat.Print("Failed to load Allah Akbar: " + e);
            }
        }
Esempio n. 16
0
        /// <summary>
        /// Called when the Game finishes loading
        /// </summary>
        /// <param name="args">The Args</param>
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (Player.Instance.BaseSkinName != ChampionName)
            {
                return;
            }

            Q = new Spell.Active(SpellSlot.Q);
            W = new Spell.Skillshot(SpellSlot.W, 1500, SkillShotType.Linear, 500, 3300, 60)
            {
                AllowedCollisionCount = 0
            };
            E = new Spell.Skillshot(SpellSlot.E, 900, SkillShotType.Circular, 250, 1750, 315)
            {
                AllowedCollisionCount = int.MaxValue
            };
            R = new Spell.Skillshot(SpellSlot.R, 25000, SkillShotType.Linear, 500, 1700, 140)
            {
                AllowedCollisionCount = int.MaxValue
            };

            Config.Initialize();
            Indicator = new DamageIndicator.DamageIndicator();

            Chat.Print("Jin-XXX: Loaded", System.Drawing.Color.Blue);

            Game.OnUpdate += Game_OnUpdate;
            Game.OnUpdate += ActiveStates.Game_OnUpdate;
            Orbwalker.OnPreAttack += Orbwalker_OnPreAttack;
            Orbwalker.OnPostAttack += Orbwalker_OnPostAttack;
            Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell;
            Gapcloser.OnGapcloser += Gapcloser_OnGapcloser;
            Obj_AI_Base.OnProcessSpellCast += Obj_AI_Base_OnProcessSpellCast;
            Drawing.OnDraw += Drawing_OnDraw;

            /*try
            {
                var sandBox = SandboxConfig.DataDirectory + @"\JinXXX\";

                if (!Directory.Exists(sandBox))
                {
                    Directory.CreateDirectory(sandBox);
                }

                // Credits to iRaxe for the Original Idea
                if (!File.Exists(sandBox + "Allahu_Akbar_Sound_Effect_Download_Link.wav"))
                {
                    var client = new WebClient();
                    client.DownloadFile("http://upload.karmapanda.org/cc9981d8638aa6617e5ee96130134c05.wav",
                        sandBox + "Allahu_Akbar_Sound_Effect_Download_Link.wav");
                    client.DownloadFileCompleted += Client_DownloadFileCompleted;
                }

                if (File.Exists(sandBox + "Allahu_Akbar_Sound_Effect_Download_Link.wav"))
                {
                    AllahAkbar = new SoundPlayer
                    {
                        SoundLocation =
                            SandboxConfig.DataDirectory + @"\JinXXX\" + "Allahu_Akbar_Sound_Effect_Download_Link.wav"
                    };
                    AllahAkbar.Load();
                }
            }
            catch (Exception e)
            {
                Chat.Print("Failed to load Allah Akbar: " + e);
            }*/
        }
Esempio n. 17
0
        static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (Player.ChampionName != "Annie")
            {
                return;
            }

            Q = new Spell.Targeted(SpellSlot.Q, (uint)625f);
            W = new Spell.Skillshot(SpellSlot.W, (uint)600f, SkillShotType.Cone, (int)0.50f, 3000, (int)250f);
            E = new Spell.Active(SpellSlot.E);
            R = new Spell.Skillshot(SpellSlot.R, (uint)625f, SkillShotType.Circular, (int)0.20f, int.MaxValue, (int)250f);
            AllInOne = MainMenu.AddMenu("Annie", "Annie");
            AllInOne.AddGroupLabel("Annie - The Little Girl");
            AllInOne.AddLabel("Combo");
            AllInOne.Add("useqcombo", new CheckBox("Use [Q]"));
            AllInOne.Add("usewcombo", new CheckBox("Use [W]"));
            AllInOne.Add("useecombo", new CheckBox("Use [E]"));
            AllInOne.Add("usercombo", new CheckBox("Use [R]"));
            AllInOne.Add("usersmart", new CheckBox("Smart [R] 1v1 Logic"));
            AllInOne.Add("userhit", new Slider("R If Hit X Enemies", 3, 1, 5));
            AllInOne.AddLabel("Passive Settings");
            AllInOne.Add("ebefore", new CheckBox("Use E Before Q To Gain Stun"));
            AllInOne.Add("estack", new CheckBox("Use E To Stack Stun", false));
            AllInOne.Add("wstack", new CheckBox("Use W To Stack Stun", false));
            AllInOne.AddLabel("Tibbers Settings");
            AllInOne.Add("tibbersmove", new CheckBox("TibbersAutoPilot"));
            AllInOne.AddLabel("Harass Settings");
            AllInOne.Add("useqharass", new CheckBox("Use [Q]"));
            AllInOne.Add("usewharass", new CheckBox("Use [W]"));
            AllInOne.AddLabel("Lane Settings");
            AllInOne.Add("keepstunlane", new CheckBox("Keep Stun"));
            AllInOne.Add("useqlane", new CheckBox("Use [Q]"));
            AllInOne.Add("useqlanelast", new CheckBox("Use [Q] to Last Hit"));
            AllInOne.Add("usewlane", new Slider("Use [W]", 3, 1, 20));
            AllInOne.Add("Mana", new Slider("Min Mana >=", 60));
            AllInOne.AddLabel("Jungle Settings");
            AllInOne.Add("useqjung", new CheckBox("Use [Q]"));
            AllInOne.Add("usewjung", new CheckBox("Use [W]"));
            AllInOne.AddLabel("Last Hit Settings");
            AllInOne.Add("keepstunlast", new CheckBox("Keep Stun"));
            AllInOne.Add("useqxlast", new CheckBox("Use [Q] to Last Hit"));

            AllInOne.AddLabel("Skin Changer");
            var skinslect = AllInOne.Add("skin+", new Slider("Chance Skin", 0, 0, 9));
            ObjectManager.Player.SetSkin(ObjectManager.Player.ChampionName, skinslect.CurrentValue);
            skinslect.OnValueChange += delegate(ValueBase<int> sender, ValueBase<int>.ValueChangeArgs changeArgs)
            {
                ObjectManager.Player.SetSkin(ObjectManager.Player.ChampionName, changeArgs.NewValue);
            };

            Indicator = new DamageIndicator.DamageIndicator();
            Indicator.Add("Combo", new SpellData(0, DamageType.True, Color.Aqua));
            Chat.Print("Annie - The Little Girl Loaded", Color.White);
            Obj_AI_Base.OnProcessSpellCast += SpellCast;
            GameObject.OnCreate += GameObject_OnCreate;
            Game.OnTick += Game_OnTick;
        }
Esempio n. 18
0
        static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (player.ChampionName != CHAMP_NAME)
                return;

            Q = new Spell.Targeted(SpellSlot.Q, 600);
            Q.CastDelay = (int)0.25f;
            W = new Spell.Skillshot(SpellSlot.W, 700, SkillShotType.Circular, (int)0.5f, int.MaxValue, 300);
            E = new Spell.Skillshot(SpellSlot.E, (uint)rangeE, SkillShotType.Linear, 0, speedE, 80);
            R = new Spell.Skillshot(SpellSlot.R, 700, SkillShotType.Circular, (int)0.25f, int.MaxValue, (int)450f);
            Ignite = new Spell.Targeted(player.GetSpellSlotFromName("summonerdot"), 600);

            main = MainMenu.AddMenu("TRUSt in my" + CHAMP_NAME, CHAMP_NAME);
            combo = main.AddSubMenu("Combo", "combo");
            combo.AddGroupLabel("Combo");
            combo.Add("comboUseQ", new CheckBox("Use Q"));
            combo.Add("comboUseW", new CheckBox("Use W"));
            combo.Add("comboUseE", new CheckBox("Use E"));
            combo.Add("comboUseR", new CheckBox("Use R"));
            combo.AddSeparator();
            combo.Add("HitR", new Slider("Ultimate to hit",3,1,5));
            combo.AddSeparator();
            combo.Add("rLastHit", new CheckBox("1 target ulti"));
            combo.Add("AutoFollowR", new CheckBox("Auto Follow R"));
            combo.AddSeparator();
            combo.Add("rTicks", new Slider("Ultimate ticks to count",2,1,14));
            combo.AddSeparator();
            combo.Add("spPriority", new CheckBox("Prioritize kill over dmg"));

            harass = main.AddSubMenu("Harass", "harass");
            harass.AddGroupLabel("Harass");
            harass.Add("harassUseQ", new CheckBox("Use Q"));
            harass.Add("harassUseE", new CheckBox("Use W"));
            harass.AddSeparator();
            harass.Add("harassMana", new Slider("Mana usage in percent (%{0})", 30));

            wave = main.AddSubMenu("WaveClear", "wave");
            wave.AddGroupLabel("WaveClear");
            wave.Add("waveUseQ", new CheckBox("Use Q"));
            wave.Add("waveUseE", new CheckBox("Use E"));
            wave.AddSeparator();
            wave.Add("waveMana", new Slider("Mana usage in percent (%{0})", 30));

            lasthit = main.AddSubMenu("LastHit", "last");
            lasthit.AddGroupLabel("LastHit");
            lasthit.Add("waveUseQLH", new CheckBox("Use Q"));

            misc = main.AddSubMenu("Misc", "misc");
            misc.AddGroupLabel("Misc");
            misc.Add("rInterrupt", new CheckBox("Use R to interrupt dangerous spells"));
            misc.Add("wInterrupt", new CheckBox("Use W to interrupt dangerous spells"));
            misc.Add("autoW", new CheckBox("Use W to continue CC"));
            misc.Add("miscGapcloser", new CheckBox("Use W against gapclosers"));

            draw = main.AddSubMenu("Draw", "draw");
            draw.AddGroupLabel("Draw");
            draw.Add("drawRangeQ", new CheckBox("Q range", false));
            draw.Add("drawRangeW", new CheckBox("W range", false));
            draw.Add("drawRangeE", new CheckBox("E range"));
            draw.Add("drawRangeEMax", new CheckBox("E max range"));
            draw.Add("drawRangeR", new CheckBox("R range"));

            Indicator = new DamageIndicator.DamageIndicator();
            Indicator.Add("Combo", new SpellData(0, DamageType.True, System.Drawing.Color.Aqua));

            Obj_AI_Base.OnProcessSpellCast += Obj_AI_Base_OnProcessSpellCast;
            Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell;
            Gapcloser.OnGapcloser += Gapcloser_OnGapcloser;
            Orbwalker.OnUnkillableMinion += Orbwalker_OnUnkillableMinion;
            Orbwalker.OnPreAttack += Orbwalker_OnPreAttack;
            Drawing.OnDraw += Drawing_OnDraw;
            Game.OnUpdate += Game_OnUpdate;
            Chat.Print("TrustViktorPorted loaded!", Color.Indigo);
        }
Esempio n. 19
0
        /// <summary>
        /// Called when the Game finishes loading
        /// </summary>
        /// <param name="args">The Args</param>
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (Player.Instance.BaseSkinName != ChampionName)
            {
                return;
            }

            Q = new Spell.Active(SpellSlot.Q);
            W = new Spell.Skillshot(SpellSlot.W, 1450, SkillShotType.Linear, 500, 1500, 60)
            {
                AllowedCollisionCount = 0
            };
            E = new Spell.Skillshot(SpellSlot.E, 900, SkillShotType.Circular, 1200, 1750, 100);
            R = new Spell.Skillshot(SpellSlot.R, 3000, SkillShotType.Linear, 700, 1500, 140)
            {
                AllowedCollisionCount = 0
            };

            Config.Initialize();
            Indicator = new DamageIndicator.DamageIndicator();

            Chat.Print("Jin-XXX: Loaded", System.Drawing.Color.AliceBlue);
            Chat.Print("Jin-XXX: Check out the Menu and adjust to your preference.", System.Drawing.Color.Aqua);
            Chat.Print("Jin-XXX: Please be sure to upvote if you enjoy!", System.Drawing.Color.OrangeRed);

            Game.OnUpdate += Game_OnUpdate;
            Game.OnUpdate += ActiveStates.Game_OnUpdate;
            Orbwalker.OnPreAttack += Orbwalker_OnPreAttack;
            Orbwalker.OnPostAttack += Orbwalker_OnPostAttack;
            Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell;
            Gapcloser.OnGapcloser += Gapcloser_OnGapcloser;
            Obj_AI_Base.OnProcessSpellCast += Obj_AI_Base_OnProcessSpellCast;
            Drawing.OnDraw += Drawing_OnDraw;

            try
            {
                var sandBox = SandboxConfig.DataDirectory + @"\JinXXX\";

                if (!Directory.Exists(sandBox))
                {
                    Directory.CreateDirectory(sandBox);
                }

                // Credits to iRaxe for the Original Idea
                if (!File.Exists(sandBox + "Allahu_Akbar_Sound_Effect_Download_Link.wav"))
                {
                    var client = new WebClient();
                    client.DownloadFile("http://italianbuffet.it/Allahu_Akbar_Sound_Effect_Download_Link.wav",
                        sandBox + "Allahu_Akbar_Sound_Effect_Download_Link.wav");
                    client.DownloadFileCompleted += Client_DownloadFileCompleted;
                }

                if (File.Exists(sandBox + "Allahu_Akbar_Sound_Effect_Download_Link.wav"))
                {
                    AllahAkbar = new SoundPlayer
                    {
                        SoundLocation =
                            SandboxConfig.DataDirectory + @"\JinXXX\" + "Allahu_Akbar_Sound_Effect_Download_Link.wav"
                    };
                    AllahAkbar.Load();
                }
            }
            catch (Exception e)
            {
                Chat.Print("Failed to load Allah Akbar: " + e);
            }
        }