Example #1
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");
        }
Example #2
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);
        }
Example #3
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;
        }
Example #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");
        }
Example #5
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"));
        }
Example #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"));

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

            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;

            Chat.Print("RivenBuddy : Fully Loaded. by fluxy");
        }
Example #7
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"));
        }
Example #8
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;
        }
Example #9
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;
        }