예제 #1
0
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (Player.Instance.Hero != Champion.Ashe)
            {
                return;
            }


            _q = new Spell.Active(SpellSlot.Q);
            _w = new Spell.Skillshot(SpellSlot.W, 1200, SkillShotType.Linear, 0, int.MaxValue, 60);
            {
                _w.AllowedCollisionCount = 0;
            }
            _e = new Spell.Skillshot(SpellSlot.E, 15000, SkillShotType.Linear, 0, int.MaxValue, 0);
            _r = new Spell.Skillshot(SpellSlot.R, 15000, SkillShotType.Linear, 500, 1000, 250);
            _r.AllowedCollisionCount = int.MaxValue;
            var slot = _Player.GetSpellSlotFromName("summonerheal");

            if (slot != SpellSlot.Unknown)
            {
                Heal = new Spell.Active(slot, 600);
            }
            HealthPotion         = new Item(2003, 0);
            TotalBiscuit         = new Item(2010, 0);
            CorruptingPotion     = new Item(2033, 0);
            RefillablePotion     = new Item(2031, 0);
            HuntersPotion        = new Item(2032, 0);
            Teleport.OnTeleport += Teleport_OnTeleport;


            Chat.Print(
                "<font color=\"#4dd5ea\" >MeLoDag Presents </font><font color=\"#ffffff\" >AsheTheToLL </font><font color=\"#4dd5ea\" >Kappa Kippo</font>");


            Menu = MainMenu.AddMenu("AsheTheTroll", "AsheTheTroll");

            ComboMenu = Menu.AddSubMenu("Combo Settings", "Combo");
            ComboMenu.AddGroupLabel("Q Ayarları:");
            ComboMenu.Add("useQCombo", new CheckBox("Kullan Q"));
            ComboMenu.Add("UseQAAcombo", new CheckBox("Qdan sonra düz vuruş", false));
            ComboMenu.AddLabel("W Ayarları:");
            ComboMenu.Add("useWCombo", new CheckBox("Kullan W"));
            ComboMenu.Add("UseWAAcombo", new CheckBox("W den sonra düz vuruş", false));
            ComboMenu.Add("CCE", new CheckBox("W hedefe vuracaksa otomatik at"));
            ComboMenu.Add("Wpred", new Slider("İsabet oranını seç %", 70, 0, 100));
            ComboMenu.AddLabel("Higher % ->Daha yüksek ayarlarsan hedefi vurma oranın artar fakat daha az W kullanır");
            ComboMenu.AddLabel("Lower % ->Ne kadar düşük olursa o kadar fazla kullanır W skilini ama mana sorunu yaşayabilirsin. ");
            ComboMenu.AddLabel("R Ayarları:");
            ComboMenu.Add("useRCombo", new CheckBox("Kullan R [Hp%]"));
            ComboMenu.Add("Hp", new Slider("R kullan eğer düşmanın canı şundan azsa %", 45, 0, 100));
            ComboMenu.Add("useRComboENEMIES", new CheckBox("Kullan R[Düşman Say]"));
            ComboMenu.Add("Rcount", new Slider("R Kaç hedefi Stunlasın >= ", 2, 1, 5));
            ComboMenu.AddLabel("R kullanma menzili ayarını Tüm mantıksal hesaplamalar için kullan:");
            ComboMenu.Add("useRRange", new Slider("Ultinin menzilini ayarla", 1800, 500, 2000));
            ComboMenu.Add("ForceR", new KeyBind("Hedefe R Kullanma Tuşu", false, KeyBind.BindTypes.HoldActive, "T".ToCharArray()[0]));


            VolleyMenu = Menu.AddSubMenu("Volley Settings", "Volley");
            VolleyMenu.AddGroupLabel("Şahin Atışı Ayarları:");
            VolleyMenu.Add("Volley.castDragon",
                           new KeyBind("Ejdere şahin atışı yolla", false, KeyBind.BindTypes.HoldActive, 'U'));
            VolleyMenu.Add("Volley.castBaron",
                           new KeyBind("Barona şahin atışı gönder", false, KeyBind.BindTypes.HoldActive, 'I'));
            VolleyMenu.Add("Volley.sep1", new Separator());
            VolleyMenu.Add("Volley.enable", new CheckBox("Şahin atışını otomatik yolla", false));
            VolleyMenu.Add("Volley.noMode", new CheckBox("Hiçbir mod (lanetemizleme gibi)aktif değilken yap"));
            VolleyMenu.Add("Volley.mana", new Slider("En az {0}% Şu kadar manan varsa E kullan", 40));
            VolleyMenu.Add("Volley.locationLabel", new Label("Şunlara şahin atışı yap:"));
            (VolleyMenu.Add("Volley.baron", new CheckBox("Baron"))).OnValueChange  += VolleyLocation;
            (VolleyMenu.Add("Volley.dragon", new CheckBox("Ejder"))).OnValueChange += VolleyLocation;

            HarassMenu = Menu.AddSubMenu("Harass Settings", "Harass");
            HarassMenu.AddGroupLabel("Dürtme Ayarları:");
            HarassMenu.Add("useQHarass", new CheckBox("Kullan Q"));
            HarassMenu.Add("useWHarass", new CheckBox("Kullan W"));
            HarassMenu.Add("useWHarassMana", new Slider("W en az mana > %", 70, 0, 100));
            HarassMenu.AddLabel("Otomatik Dürtme Ayarları:");
            HarassMenu.Add("autoWHarass", new CheckBox("Dürtmede otomatik W Kullan", false));
            HarassMenu.Add("autoWHarassMana", new Slider("W en az mana > %", 70, 0, 100));

            JungleLaneMenu = Menu.AddSubMenu("Lane Clear Settings", "FarmSettings");
            JungleLaneMenu.AddGroupLabel("Lane Temizleme Ayarları:");
            JungleLaneMenu.Add("useWFarm", new CheckBox("Kullan W"));
            JungleLaneMenu.Add("useWManalane", new Slider("W en az mana > %", 70, 0, 100));
            JungleLaneMenu.AddLabel("Orman Temizleme Ayarları:");
            // JungleLaneMenu.Add("useQJungle", new CheckBox("Kullan Q"));
            JungleLaneMenu.Add("useWJungle", new CheckBox("Kullan W"));
            JungleLaneMenu.Add("useWMana", new Slider("W en az mana > %", 70, 0, 100));

            FleeMenu = Menu.AddSubMenu("Flee Settings", "FleeSettings");
            FleeMenu.Add("FleeQ", new CheckBox("Kullan W"));

            MiscMenu = Menu.AddSubMenu("Misc Settings", "MiscSettings");
            MiscMenu.AddGroupLabel("Gapcloser Ayarları:");
            MiscMenu.Add("gapcloser", new CheckBox("Gapcloser için Otomatik W"));
            MiscMenu.AddLabel("Interrupt Ayarları:");
            MiscMenu.Add("interrupter", new CheckBox("Enable Interrupter Using R"));
            MiscMenu.Add("interrupt.value", new ComboBox("Interrupter DangerLevel", 0, "High", "Medium", "Low"));
            MiscMenu.AddGroupLabel("Ks Ayarları:");
            MiscMenu.Add("UseWks", new CheckBox("Use W ks"));
            MiscMenu.Add("UseRks", new CheckBox("Use R ks"));

            AutoPotHealMenu = Menu.AddSubMenu("Potion & HeaL", "Potion & HeaL");
            AutoPotHealMenu.AddGroupLabel("Otomatik İksir Kullanma");
            AutoPotHealMenu.Add("potion", new CheckBox("İksir Kullan"));
            AutoPotHealMenu.Add("potionminHP", new Slider("Can iksiri için en az şu kadar can%", 40));
            AutoPotHealMenu.Add("potionMinMP", new Slider("Mana iksiri için en az şu kadar mana %", 20));
            AutoPotHealMenu.AddGroupLabel("Otomatik İyileştirme kullanımı");
            AutoPotHealMenu.Add("UseHeal", new CheckBox("İyileştirme Kullan"));
            AutoPotHealMenu.Add("useHealHP", new Slider("İyileştirme(Heal) için en az canım şu kadar %", 20));

            ItemMenu = Menu.AddSubMenu("Item Settings", "ItemMenuettings");
            ItemMenu.Add("useBOTRK", new CheckBox("Mahvolmuş kılıç Kullan"));
            ItemMenu.Add("useBotrkMyHP", new Slider("Benim canım < ", 60, 1, 100));
            ItemMenu.Add("useBotrkEnemyHP", new Slider("Düşmanın canı < ", 60, 1, 100));
            ItemMenu.Add("useYoumu", new CheckBox("Kullan Youmu"));
            ItemMenu.AddLabel("QQs Ayarları");
            ItemMenu.Add("useQSS", new CheckBox("Kullan QSS"));
            ItemMenu.Add("Qssmode", new ComboBox(" ", 0, "Auto", "Combo"));
            ItemMenu.Add("Stun", new CheckBox("Sersemlemişse", true));
            ItemMenu.Add("Blind", new CheckBox("Körse", true));
            ItemMenu.Add("Charm", new CheckBox("Çekilmişse(Ahri)", true));
            ItemMenu.Add("Suppression", new CheckBox("WW,Urgot RS(Suppression)", true));
            ItemMenu.Add("Polymorph", new CheckBox("Polymorph(Lulu W)", true));
            ItemMenu.Add("Fear", new CheckBox("Korkmuşsa", true));
            ItemMenu.Add("Taunt", new CheckBox("Alay etme", true));
            ItemMenu.Add("Silence", new CheckBox("Susturulmuşsa", false));
            ItemMenu.Add("QssDelay", new Slider("Kullan QSS Gecikme(ms)", 250, 0, 1000));


            SkinMenu = Menu.AddSubMenu("Skin Changer", "SkinChanger");
            SkinMenu.Add("checkSkin", new CheckBox("Kostüm hilesi kullan"));
            SkinMenu.Add("skin.Id", new Slider("Kostüm", 1, 0, 9));

            DrawMenu = Menu.AddSubMenu("Drawing Settings");
            DrawMenu.Add("drawRange", new CheckBox("Göster Q Menzili"));
            DrawMenu.Add("drawW", new CheckBox("Göster W Menzili"));
            DrawMenu.Add("drawR", new CheckBox("Göster R Menzili"));
            DrawMenu.AddLabel("Baseye dönüş takip et");
            DrawMenu.Add("draw.Recall", new CheckBox("Chatte Yaz"));

            Game.OnTick            += Game_OnTick;
            Game.OnUpdate          += OnGameUpdate;
            Obj_AI_Base.OnBuffGain += OnBuffGain;
            Gapcloser.OnGapcloser  += Gapcloser_OnGapCloser;
            //    Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell;
            Drawing.OnDraw         += Drawing_OnDraw;
            Orbwalker.OnPostAttack += OnAfterAttack;
        }
예제 #2
0
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (Player.Instance.Hero != Champion.Ashe)
            {
                return;
            }


            Q = new Spell.Active(SpellSlot.Q);
            W = new Spell.Skillshot(SpellSlot.W, 1200, SkillShotType.Linear, 0, int.MaxValue, 60);
            {
                W.AllowedCollisionCount = 0;
            }
            E = new Spell.Skillshot(SpellSlot.E, 15000, SkillShotType.Linear, 0, int.MaxValue, 0);
            R = new Spell.Skillshot(SpellSlot.R, 15000, SkillShotType.Linear, 500, 1000, 250);
            R.AllowedCollisionCount = int.MaxValue;
            var slot = _Player.GetSpellSlotFromName("summonerheal");

            if (slot != SpellSlot.Unknown)
            {
                Heal = new Spell.Active(slot, 600);
            }
            HealthPotion         = new Item(2003, 0);
            TotalBiscuit         = new Item(2010, 0);
            CorruptingPotion     = new Item(2033, 0);
            RefillablePotion     = new Item(2031, 0);
            HuntersPotion        = new Item(2032, 0);
            Teleport.OnTeleport += Teleport_OnTeleport;
            Thm = new Font(Drawing.Direct3DDevice,
                           new FontDescription
            {
                FaceName        = "Tahoma",
                Height          = 32,
                Weight          = FontWeight.Bold,
                OutputPrecision = FontPrecision.Default,
                Quality         = FontQuality.ClearType
            });


            Chat.Print(
                "<font color=\"#4dd5ea\" >MeLoSenpai Presents </font><font color=\"#ffffff\" > AsheTheToLL </font><font color=\"#4dd5ea\" >Kappa Kippo</font>");
            Chat.Print("Version 2 Loaded 15/11/2016", Color.Chartreuse);
            Chat.Print("Gl And HF", Color.Aqua);


            Menu      = MainMenu.AddMenu("AsheTheTroll", "AsheTheTroll");
            ComboMenu = Menu.AddSubMenu("Combo Settings", "Combo");
            ComboMenu.AddGroupLabel("Combo Settigns:");
            ComboMenu.Add("Qlogic", new ComboBox("Q Logic ", 0, "Normal", "After AA"));
            ComboMenu.Add("Wlogic", new ComboBox("W Logic ", 0, "Normal", "After AA"));
            ComboMenu.Add("CCE", new CheckBox("Auto W on Enemy CC"));
            ComboMenu.AddLabel("R Settings:");
            ComboMenu.Add("useRCombo", new CheckBox("Use R", false));
            ComboMenu.Add("Rlogic", new ComboBox("Ulty Logic ", 0, "EnemyHp", "HitCountEnemys"));
            ComboMenu.Add("Hp", new Slider("Use R Enemy Health {0}(%)", 45, 0, 100));
            ComboMenu.Add("Rcount", new Slider("If Ulty Hit {0} Enemy ", 2, 1, 5));
            ComboMenu.AddLabel("Use R Range Settigs For all Logic:");
            ComboMenu.Add("useRRange", new Slider("Use Ulty Max Range", 1800, 500, 2000));
            ComboMenu.Add("ForceR",
                          new KeyBind("Force R On Target Selector", false, KeyBind.BindTypes.HoldActive, "T".ToCharArray()[0]));


            PredictionMenu = Menu.AddSubMenu("Prediction Settings", "Prediction");
            PredictionMenu.AddGroupLabel("Prediction Settings:");
            PredictionMenu.Add("Wpred", new Slider("Select W {0}(%) Hitchance", 70, 0, 100));
            PredictionMenu.Add("rpred", new Slider("Select Ulty {0}(%) Hitchance", 70, 0, 100));
            PredictionMenu.AddLabel("Work Only For Normal W Logic");
            PredictionMenu.AddLabel(
                "Higher % ->Higher chance of spell landing on target but takes more time to get casted");
            PredictionMenu.AddLabel(
                "Lower % ->Faster casting but lower chance that the spell will land on your target. ");

            VolleyMenu = Menu.AddSubMenu("Volley Settings", "Volley");
            VolleyMenu.AddGroupLabel("Volley Settings:");
            VolleyMenu.Add("Volley.castDragon",
                           new KeyBind("Send Volley to Dragon", false, KeyBind.BindTypes.HoldActive, 'U'));
            VolleyMenu.Add("Volley.castBaron",
                           new KeyBind("Send Volley to Baron/Rift Herald", false, KeyBind.BindTypes.HoldActive, 'I'));
            VolleyMenu.Add("Volley.sep1", new Separator());
            VolleyMenu.Add("Volley.enable", new CheckBox("Auto send Volleys", false));
            VolleyMenu.Add("Volley.noMode", new CheckBox("Only when no modes are active"));
            VolleyMenu.Add("Volley.mana", new Slider("Minimum {0}% mana to auto send E", 40));
            VolleyMenu.Add("Volley.locationLabel", new Label("Send Volleys to:"));
            (VolleyMenu.Add("Volley.baron", new CheckBox("Baron / Rift Herald"))).OnValueChange += VolleyLocation;
            (VolleyMenu.Add("Volley.dragon", new CheckBox("Dragon"))).OnValueChange             += VolleyLocation;

            HarassMenu = Menu.AddSubMenu("Harass Settings", "Harass");
            HarassMenu.AddGroupLabel("Harass Settings:");
            HarassMenu.Add("useQHarass", new CheckBox("Use Q"));
            HarassMenu.Add("useWHarass", new CheckBox("Use W"));
            HarassMenu.Add("useWHarassMana", new Slider("W Mana {0}(%)", 70, 0, 100));
            HarassMenu.AddLabel("AutoHarass Settings:");
            HarassMenu.Add("autoWHarass", new CheckBox("Auto W for Harass", false));
            HarassMenu.Add("autoWHarassMana", new Slider("W Mana  {0}(%)", 70, 0, 100));

            JungleLaneMenu = Menu.AddSubMenu("Lane Clear Settings", "FarmSettings");
            JungleLaneMenu.AddGroupLabel("Lane Clear Settings:");
            JungleLaneMenu.Add("useWFarm", new CheckBox("Use W"));
            JungleLaneMenu.Add("useWManalane", new Slider("W Mana {0}(%)", 70, 0, 100));
            JungleLaneMenu.AddLabel("Jungle Clear Settings:");
            // JungleLaneMenu.Add("useQJungle", new CheckBox("Use Q"));
            JungleLaneMenu.Add("useWJungle", new CheckBox("Use W"));
            JungleLaneMenu.Add("useWMana", new Slider("W Mana {0}(%)", 70, 0, 100));

            FleeMenu = Menu.AddSubMenu("Flee Settings", "FleeSettings");
            FleeMenu.Add("FleeQ", new CheckBox("Use W"));

            MiscMenu = Menu.AddSubMenu("Misc Settings", "MiscSettings");
            MiscMenu.AddGroupLabel("Gapcloser Settings:");
            MiscMenu.Add("gapcloser", new CheckBox("Auto W for Gapcloser"));
            MiscMenu.AddLabel("Interrupter Settings:");
            MiscMenu.Add("interrupter", new CheckBox("Enable Interrupter Using R"));
            MiscMenu.Add("interrupt.value", new ComboBox("Interrupter DangerLevel", 0, "High", "Medium", "Low"));
            MiscMenu.Add("distinter", new Slider("Use Ulty For interupt Max Range {0}", 1800, 1, 2500));
            MiscMenu.AddGroupLabel("Ks Settings:");
            MiscMenu.Add("UseWks", new CheckBox("Use W ks"));
            MiscMenu.Add("UseRks", new CheckBox("Use R ks"));

            AutoPotHealMenu = Menu.AddSubMenu("Potion & HeaL", "Potion & HeaL");
            AutoPotHealMenu.AddGroupLabel("Auto pot usage");
            AutoPotHealMenu.Add("potion", new CheckBox("Use potions"));
            AutoPotHealMenu.Add("potionminHP", new Slider("Minimum Health {0}(%) to use potion", 40));
            AutoPotHealMenu.Add("potionMinMP", new Slider("Minimum Mana {0}(%) to use potion", 20));
            AutoPotHealMenu.AddGroupLabel("AUto Heal Usage");
            AutoPotHealMenu.Add("UseHeal", new CheckBox("Use Heal"));
            AutoPotHealMenu.Add("useHealHP", new Slider("Minimum Health {0}(%) to use Heal", 20));

            ItemMenu = Menu.AddSubMenu("Item Settings", "ItemMenuettings");
            ItemMenu.Add("useBOTRK", new CheckBox("Use BOTRK"));
            ItemMenu.Add("useBotrkMyHP", new Slider("My Health {0}(%) ", 60, 1, 100));
            ItemMenu.Add("useBotrkEnemyHP", new Slider("Enemy Health {0}(%) ", 60, 1, 100));
            ItemMenu.Add("useYoumu", new CheckBox("Use Youmu"));
            ItemMenu.AddLabel("QQs Settings");
            ItemMenu.Add("useQSS", new CheckBox("Use QSS"));
            ItemMenu.Add("Qssmode", new ComboBox(" ", 0, "Auto", "Combo"));
            foreach (var debuff in DeBuffsList)
            {
                ItemMenu.Add(debuff.ToString(), new CheckBox(debuff.ToString()));
            }

            ItemMenu.Add("QssDelay", new Slider("Use QSS Delay(ms)", 250, 0, 1000));


            SkinMenu = Menu.AddSubMenu("Skin Changer", "SkinChanger");
            SkinMenu.Add("checkSkin", new CheckBox("Use Skin Changer"));
            SkinMenu.Add("skin.Id", new Slider("Skin", 1, 0, 9));

            DrawMenu = Menu.AddSubMenu("Drawing Settings");
            DrawMenu.Add("drawRange", new CheckBox("Draw Q Range"));
            DrawMenu.Add("drawW", new CheckBox("Draw W Range"));
            DrawMenu.Add("drawR", new CheckBox("Draw R Range"));
            DrawMenu.AddLabel("Recall Tracker");
            DrawMenu.Add("draw.Recall", new CheckBox("Chat Print"));
            DrawMenu.AddLabel("Damage indicators");
            DrawMenu.Add("healthbar", new CheckBox("Healthbar overlay"));
            DrawMenu.Add("percent", new CheckBox("Damage percent info"));
            DrawMenu.Add("howaa", new CheckBox("How Many AA"));
            DrawMenu.Add("Rkill", new CheckBox("R kill "));

            Game.OnTick                      += Game_OnTick;
            Game.OnUpdate                    += OnGameUpdate;
            Obj_AI_Base.OnBuffGain           += OnBuffGain;
            Gapcloser.OnGapcloser            += OnGapcloser;
            Interrupter.OnInterruptableSpell += Interupthighlvl;
            Interrupter.OnInterruptableSpell += Interuptmediumlvl;
            Interrupter.OnInterruptableSpell += Interuptlowlvl;


            Drawing.OnDraw         += Drawing_OnDraw;
            Orbwalker.OnPostAttack += OnAfterAttack;
            DamageIndicator.Initialize(SpellDamage.GetRawDamage);
        }