private static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (Player.Instance.ChampionName != "Olaf")
            {
                return;
            }

            SpellDataInst smite = _Player.Spellbook.Spells.Where(spell => spell.Name.Contains("smite")).Any() ? _Player.Spellbook.Spells.Where(spell => spell.Name.Contains("smite")).First() : null;

            if (smite != null)
            {
                Smite = new Spell.Targeted(smite.Slot, 500);
            }



            Bootstrap.Init(null);

            Healthpot        = new Item(2003, 0);
            Manapot          = new Item(2004, 0);
            RefillablePotion = new Item(2031, 0);
            HuntersPotion    = new Item(2032, 0);
            CorruptionPotion = new Item(2033, 0);
            uint level = (uint)Player.Instance.Level;

            Q = new Spell.Skillshot(SpellSlot.Q, 1000, SkillShotType.Linear, 250, 1550, 75)
            {
                AllowedCollisionCount = int.MaxValue, MinimumHitChance = HitChance.High
            };
            Q2 = new Spell.Skillshot(SpellSlot.Q, 900, SkillShotType.Linear, 250, 1550, 75)
            {
                AllowedCollisionCount = int.MaxValue, MinimumHitChance = HitChance.High
            };
            W = new Spell.Active(SpellSlot.W);
            E = new Spell.Targeted(SpellSlot.E, 325);
            R = new Spell.Active(SpellSlot.R);

            Menu = MainMenu.AddMenu("Perfect Olaf", "perfectolaf");

            ComboMenu = Menu.AddSubMenu("Combo Settings", "ComboSettings");
            ComboMenu.AddLabel("Kombo Ayarları");
            ComboMenu.Add("QCombo", new CheckBox("Kullan Q"));
            ComboMenu.Add("WCombo", new CheckBox("Kullan W"));
            ComboMenu.Add("ECombo", new CheckBox("Kullan E"));
            ComboMenu.Add("RCombo", new CheckBox("Kullan R"));
            ComboMenu.Add("useTiamat", new CheckBox("Kullan İtemler"));

            HarassMenu = Menu.AddSubMenu("Harass Settings", "HarassSettings");
            HarassMenu.AddLabel("Dürtme Ayarları");
            HarassMenu.Add("QHarass", new CheckBox("Kullan Q"));
            HarassMenu.Add("WHarass", new CheckBox("Kullan W"));
            HarassMenu.Add("EHarass", new CheckBox("Kullan E"));

            FarmingMenu = Menu.AddSubMenu("Lane Clear", "FarmSettings");

            FarmingMenu.AddLabel("Lane Temizleme");
            FarmingMenu.Add("QLaneClear", new CheckBox("Q Kullan"));
            FarmingMenu.Add("QlaneclearMana", new Slider("Mana < %", 45, 0, 100));
            FarmingMenu.Add("WLaneClear", new CheckBox("W Kullan"));
            FarmingMenu.Add("WlaneclearMana", new Slider("Mana < %", 45, 0, 100));
            FarmingMenu.Add("ELaneClear", new CheckBox("E Kullan"));
            FarmingMenu.Add("ElaneclearHP", new Slider("Canım < %", 10, 0, 100));

            FarmingMenu.AddLabel("Orman Temizleme");
            FarmingMenu.Add("Qjungle", new CheckBox("Q Kullan"));
            FarmingMenu.Add("QjungleMana", new Slider("Mana < %", 45, 0, 100));
            FarmingMenu.Add("Wjungle", new CheckBox("W Kullan"));
            FarmingMenu.Add("WjungleMana", new Slider("Mana < %", 45, 0, 100));
            FarmingMenu.Add("Ejungle", new CheckBox("E Kullan"));
            FarmingMenu.Add("EjungleHP", new Slider("Canım < %", 25, 0, 100));

            FarmingMenu.AddLabel("SonVuruş Ayarları");
            FarmingMenu.Add("Qlasthit", new CheckBox("Q Kullan"));
            FarmingMenu.Add("Elasthit", new CheckBox("E Kullan"));
            FarmingMenu.Add("QlasthitMana", new Slider("Mana < %", 45, 0, 100));

            SetSmiteSlot();
            if (SmiteSlot != SpellSlot.Unknown)
            {
                SmiteMenu = Menu.AddSubMenu("Smite Usage", "SmiteUsage");
                SmiteMenu.AddLabel("Çarp Kullanımı");
                SmiteMenu.Add("Use Smite?", new CheckBox("Çarp Kullan"));
                SmiteMenu.Add("SmiteEnemy", new CheckBox("Komboda düşmana çarp kullan!"));
                SmiteMenu.Add("Red?", new CheckBox("Kırmızı"));
                SmiteMenu.Add("Blue?", new CheckBox("Mavi"));
                SmiteMenu.Add("Dragon?", new CheckBox("Ejder"));
                SmiteMenu.Add("Baron?", new CheckBox("Baron"));
            }


            MiscMenu = Menu.AddSubMenu("More Settings", "Misc");

            MiscMenu.AddLabel("Otomatik Ayarlar");
            MiscMenu.Add("Auto Ignite", new CheckBox("Otomatik Tutuştur"));
            MiscMenu.Add("autoQ", new CheckBox("Kaçarken otomatik Q Kullan"));
            MiscMenu.Add("autoR", new CheckBox("Tehlikeli durumlarda Otomatik R", false));
            MiscMenu.Add("autoEenemyHP", new Slider("Düşman Canı < %", 45, 0, 100));
            MiscMenu.AddSeparator();
            MiscMenu.AddLabel("İtemler");
            MiscMenu.AddLabel("Mahvolmuş ve Bilge Palası");
            MiscMenu.Add("botrkHP", new Slider("Canım < %", 60, 0, 100));
            MiscMenu.Add("botrkenemyHP", new Slider("Düşmanın canı < %", 60, 0, 100));

            MiscMenu.AddLabel("KillÇalma");
            MiscMenu.Add("Qkill", new CheckBox("Q Kullan"));
            MiscMenu.Add("Ekill", new CheckBox("E Kullan"));

            MiscMenu.AddLabel("Aktivator");
            MiscMenu.Add("useHP", new CheckBox("Can İksiri Kullan"));
            MiscMenu.Add("useHPV", new Slider("Canım < %", 45, 0, 100));
            MiscMenu.Add("useMana", new CheckBox("Mana iksiri kullan"));
            MiscMenu.Add("useManaV", new Slider("Mana < %", 45, 0, 100));
            MiscMenu.Add("useCrystal", new CheckBox("Dolduralabilir iksir kullan"));
            MiscMenu.Add("useCrystalHPV", new Slider("Canım < %", 45, 0, 100));
            MiscMenu.Add("useCrystalManaV", new Slider("Mana < %", 45, 0, 100));

            DrawMenu = Menu.AddSubMenu("Draw Settings", "Drawings");
            DrawMenu.Add("drawAA", new CheckBox("Göster AA Menzili"));
            DrawMenu.Add("drawQ", new CheckBox("Göster Q"));
            DrawMenu.Add("drawQpos", new CheckBox("Göster Q Pozisyonu"));
            DrawMenu.Add("drawE", new CheckBox("Göster E"));

            UpdateMenu = Menu.AddSubMenu("Last Update Logs", "Updates");
            UpdateMenu.AddLabel("V0.1.7.0");
            UpdateMenu.AddLabel("-Q Prediction UPDATE! Please Change Prediction Settings");
            UpdateMenu.AddLabel("Prediction");
            UpdateMenu.AddLabel("  Algorithm");
            UpdateMenu.AddLabel("    Hitchance = 4");
            UpdateMenu.AddLabel("  Collision");
            UpdateMenu.AddLabel("    Extra Hitbox Radius = 40");

            Game.OnTick         += Game_OnTick;
            Drawing.OnDraw      += Drawing_OnDraw;
            GameObject.OnCreate += GameObject_OnCreate;
            GameObject.OnDelete += GameObject_OnDelete;

            Chat.Print("Perrrrrrrrrfect Addon made by Centilmen50, Cevirmen tradana", System.Drawing.Color.Red);
        }
Beispiel #2
0
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (Player.Instance.ChampionName != "Olaf")
            {
                return;
            }

            Chat.Print("Perfect Olaf Reloaded");

            SpellDataInst smite = _Player.Spellbook.Spells.Where(spell => spell.Name.Contains("smite")).Any() ? _Player.Spellbook.Spells.Where(spell => spell.Name.Contains("smite")).First() : null;

            if (smite != null)
            {
                Smite = new Spell.Targeted(smite.Slot, 500);
            }



            Bootstrap.Init(null);

            Healthpot        = new Item(2003, 0);
            Manapot          = new Item(2004, 0);
            RefillablePotion = new Item(2031, 0);
            HuntersPotion    = new Item(2032, 0);
            CorruptionPotion = new Item(2033, 0);
            uint level = (uint)Player.Instance.Level;

            Q = new Spell.Skillshot(SpellSlot.Q, 1000, SkillShotType.Linear, 250, 1550, 75)
            {
                AllowedCollisionCount = int.MaxValue, MinimumHitChance = HitChance.High
            };
            Q2 = new Spell.Skillshot(SpellSlot.Q, 900, SkillShotType.Linear, 250, 1550, 75)
            {
                AllowedCollisionCount = int.MaxValue, MinimumHitChance = HitChance.High
            };
            W = new Spell.Active(SpellSlot.W);
            E = new Spell.Targeted(SpellSlot.E, 325);
            R = new Spell.Active(SpellSlot.R);

            Menu = MainMenu.AddMenu("Perfect Olaf", "perfectolaf");

            ComboMenu = Menu.AddSubMenu("Combo Settings", "ComboSettings");
            ComboMenu.AddLabel("Combo Settings");
            ComboMenu.Add("QCombo", new CheckBox("Use Q"));
            ComboMenu.Add("WCombo", new CheckBox("Use W"));
            ComboMenu.Add("ECombo", new CheckBox("Use E"));
            ComboMenu.Add("RCombo", new CheckBox("Use R"));
            ComboMenu.Add("useTiamat", new CheckBox("Use Items"));

            HarassMenu = Menu.AddSubMenu("Harass Settings", "HarassSettings");
            HarassMenu.AddLabel("Harass Settings");
            HarassMenu.Add("QHarass", new CheckBox("Use Q"));
            HarassMenu.Add("WHarass", new CheckBox("Use W"));
            HarassMenu.Add("EHarass", new CheckBox("Use E"));

            FarmingMenu = Menu.AddSubMenu("Lane Clear", "FarmSettings");

            FarmingMenu.AddLabel("Lane Clear");
            FarmingMenu.Add("QLaneClear", new CheckBox("Use Q LaneClear"));
            FarmingMenu.Add("QlaneclearMana", new Slider("Mana < %", 45, 0, 100));
            FarmingMenu.Add("WLaneClear", new CheckBox("Use W LaneClear"));
            FarmingMenu.Add("WlaneclearMana", new Slider("Mana < %", 45, 0, 100));
            FarmingMenu.Add("ELaneClear", new CheckBox("Use E LaneClear"));
            FarmingMenu.Add("ElaneclearHP", new Slider("HP < %", 10, 0, 100));

            FarmingMenu.AddLabel("Jungle Clear");
            FarmingMenu.Add("Qjungle", new CheckBox("Use Q in Jungle"));
            FarmingMenu.Add("QjungleMana", new Slider("Mana < %", 45, 0, 100));
            FarmingMenu.Add("Wjungle", new CheckBox("Use W in Jungle"));
            FarmingMenu.Add("WjungleMana", new Slider("Mana < %", 45, 0, 100));
            FarmingMenu.Add("Ejungle", new CheckBox("Use E in Jungle"));
            FarmingMenu.Add("EjungleHP", new Slider("HP < %", 25, 0, 100));

            FarmingMenu.AddLabel("Last Hit Settings");
            FarmingMenu.Add("Qlasthit", new CheckBox("Use Q LastHit"));
            FarmingMenu.Add("Elasthit", new CheckBox("Use E LastHit"));
            FarmingMenu.Add("QlasthitMana", new Slider("Mana < %", 45, 0, 100));

            SetSmiteSlot();
            if (SmiteSlot != SpellSlot.Unknown)
            {
                SmiteMenu = Menu.AddSubMenu("Smite Usage", "SmiteUsage");
                SmiteMenu.AddLabel("Smite Usage");
                SmiteMenu.Add("Use Smite?", new CheckBox("Use Smite"));
                SmiteMenu.Add("SmiteEnemy", new CheckBox("Use Smite Combo for Enemy!"));
                SmiteMenu.Add("Red?", new CheckBox("Red"));
                SmiteMenu.Add("Blue?", new CheckBox("Blue"));
                SmiteMenu.Add("Dragon?", new CheckBox("Dragon"));
                SmiteMenu.Add("Baron?", new CheckBox("Baron"));
            }


            MiscMenu = Menu.AddSubMenu("More Settings", "Misc");

            MiscMenu.AddLabel("Auto");
            MiscMenu.Add("Auto Ignite", new CheckBox("Auto Ignite"));
            MiscMenu.Add("autoQ", new CheckBox("Use Auto Q to Flee/Escape"));
            MiscMenu.Add("autoR", new CheckBox("Use Auto R in Dangerous Spell", false));
            MiscMenu.Add("autoEenemyHP", new Slider("Enemy HP < %", 45, 0, 100));
            MiscMenu.AddSeparator();
            MiscMenu.AddLabel("Items");
            MiscMenu.AddLabel("BOTRK,Bilgewater Cutlass Settings");
            MiscMenu.Add("botrkHP", new Slider("My HP < %", 60, 0, 100));
            MiscMenu.Add("botrkenemyHP", new Slider("Enemy HP < %", 60, 0, 100));

            MiscMenu.AddLabel("KillSteal");
            MiscMenu.Add("Qkill", new CheckBox("Use Q KillSteal"));
            MiscMenu.Add("Ekill", new CheckBox("Use E KillSteal"));

            MiscMenu.AddLabel("Activator");
            MiscMenu.Add("useHP", new CheckBox("Use Health Potion"));
            MiscMenu.Add("useHPV", new Slider("HP < %", 45, 0, 100));
            MiscMenu.Add("useMana", new CheckBox("Use Mana Potion"));
            MiscMenu.Add("useManaV", new Slider("Mana < %", 45, 0, 100));
            MiscMenu.Add("useCrystal", new CheckBox("Use Refillable Potions"));
            MiscMenu.Add("useCrystalHPV", new Slider("HP < %", 45, 0, 100));
            MiscMenu.Add("useCrystalManaV", new Slider("Mana < %", 45, 0, 100));

            DrawMenu = Menu.AddSubMenu("Draw Settings", "Drawings");
            DrawMenu.Add("drawAA", new CheckBox("Draw AA Range"));
            DrawMenu.Add("drawQ", new CheckBox("Draw Q"));
            DrawMenu.Add("drawQpos", new CheckBox("Draw Q Position"));
            DrawMenu.Add("drawE", new CheckBox("Draw E"));

            UpdateMenu = Menu.AddSubMenu("Last Update Logs", "Updates");
            UpdateMenu.AddLabel("V0.1.7.0");
            UpdateMenu.AddLabel("-Q Prediction UPDATE! Please Change Prediction Settings");
            UpdateMenu.AddLabel("Prediction");
            UpdateMenu.AddLabel("  Algorithm");
            UpdateMenu.AddLabel("    Hitchance = 4");
            UpdateMenu.AddLabel("  Collision");
            UpdateMenu.AddLabel("    Extra Hitbox Radius = 40");

            Game.OnTick         += Game_OnTick;
            Drawing.OnDraw      += Drawing_OnDraw;
            GameObject.OnCreate += GameObject_OnCreate;
            GameObject.OnDelete += GameObject_OnDelete;

            Chat.Print("Perrrrrrrrrfect Addon", System.Drawing.Color.Red);
        }
Beispiel #3
0
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (Player.Instance.ChampionName != "Hecarim")
            {
                return;
            }


            Bootstrap.Init(null);

            Healthpot        = new Item(2003, 0);
            Manapot          = new Item(2004, 0);
            CrystalFlask     = new Item(2041, 0);
            CorruptingPotion = new Item(2033, 0);
            RefillablePotion = new Item(2031, 0);

            uint level = (uint)Player.Instance.Level;

            Q = new Spell.Active(SpellSlot.Q, 350);
            W = new Spell.Active(SpellSlot.W, 525);
            E = new Spell.Active(SpellSlot.E, 450);
            R = new Spell.Skillshot(SpellSlot.R, 1000, SkillShotType.Linear, 250, 800, 200);

            Menu = MainMenu.AddMenu("Perfect Hecarim", "perfecthecarim");
            Menu.AddLabel("Mükemmel Ass");
            Menu.AddLabel("Çeviri TRAdana-Güncellemede bildiriniz");

            Menu.AddSeparator();


            ComboMenu = Menu.AddSubMenu("Combo Ayarları", "ComboSettings");
            ComboMenu.AddLabel("Combo Ayarları");
            ComboMenu.Add("QCombo", new CheckBox("Kullan Q"));
            ComboMenu.Add("WCombo", new CheckBox("Kullan W"));
            ComboMenu.Add("ECombo", new CheckBox("Kullan E"));
            ComboMenu.Add("RCombo", new CheckBox("Kullan R"));
            ComboMenu.Add("rCount", new Slider("R için say ", 3, 1, 5));
            ComboMenu.Add("useTiamat", new CheckBox("İtemleri Kullan"));

            HarassMenu = Menu.AddSubMenu("Dürtme Ayarları", "HarassSettings");
            HarassMenu.AddLabel("Dürtme Ayarları");
            HarassMenu.Add("QHarass", new CheckBox("Kullan Q"));

            FarmingMenu = Menu.AddSubMenu("LaneTemizleme", "FarmSettings");

            FarmingMenu.AddLabel("LaneTemizleme");
            FarmingMenu.Add("QLaneClear", new CheckBox("LaneTemizlemede Q Kullan"));
            FarmingMenu.Add("QlaneclearMana", new Slider("Manam < %", 45, 0, 100));
            FarmingMenu.Add("WLaneClear", new CheckBox("LaneTemizlemede W Kullan"));
            FarmingMenu.Add("WlaneclearMana", new Slider("Manam < %", 45, 0, 100));

            FarmingMenu.AddLabel("OrmanTemizleme");
            FarmingMenu.Add("Qjungle", new CheckBox("OrmanTemizlemede Q Kullan"));
            FarmingMenu.Add("QjungleMana", new Slider("Manam < %", 45, 0, 100));
            FarmingMenu.Add("Wjungle", new CheckBox("OrmanTemizlemede W Kullan"));
            FarmingMenu.Add("WjungleMana", new Slider("Manam < %", 45, 0, 100));
            FarmingMenu.Add("Ejungle", new CheckBox("OrmanTemizlemede E Kullan"));
            FarmingMenu.Add("EjungleMana", new Slider("Manam < %", 70, 0, 100));

            FarmingMenu.AddLabel("Son Vuruş Ayarları");
            FarmingMenu.Add("Qlasthit", new CheckBox("Son Vuruşta Q Kullan"));
            FarmingMenu.Add("QlasthitMana", new Slider("Mana < %", 45, 0, 100));

            SmiteMenu = Menu.AddSubMenu("Çarp Kullan", "SmiteUsage");
            SmiteMenu.AddLabel("Çarp Kullan");
            SmiteMenu.Add("Use Smite?", new CheckBox("Çarp Kullan"));
            SmiteMenu.Add("Red?", new CheckBox("Kırmızı"));
            SmiteMenu.Add("Blue?", new CheckBox("Mavi"));
            SmiteMenu.Add("Dragon?", new CheckBox("Ejder"));
            SmiteMenu.Add("Baron?", new CheckBox("Baron"));


            MiscMenu = Menu.AddSubMenu("Ek Ayarlar", "Misc");

            MiscMenu.AddLabel("Otomatik");
            MiscMenu.Add("Auto Ignite", new CheckBox("Otomatik Tutuştur"));
            MiscMenu.Add("autoE", new CheckBox("Kaçarken Otomatik E Kullan"));
            MiscMenu.Add("autoR", new CheckBox("Tehlikeli Büyülerde otomatik R kullan"));
            MiscMenu.AddSeparator();
            MiscMenu.AddLabel("İtemler");
            MiscMenu.AddSeparator();
            MiscMenu.AddLabel("Mahvolmuş Kılıç Ayarları");
            MiscMenu.Add("botrkHP", new Slider("Benim canım < %", 60, 0, 100));
            MiscMenu.Add("botrkenemyHP", new Slider("Düşmanın canı < %", 60, 0, 100));

            MiscMenu.AddLabel("Kill Çalma");
            MiscMenu.Add("Qkill", new CheckBox("KillÇalmada Q Kullan"));
            MiscMenu.Add("Ekill", new CheckBox("KillÇalmada E Kullan"));

            MiscMenu.AddLabel("Aktif Edici");
            MiscMenu.Add("useHP", new CheckBox("Can İksiri Kullan"));
            MiscMenu.Add("useHPV", new Slider("Canım < %", 45, 0, 100));
            MiscMenu.Add("useMana", new CheckBox("Mana İksiri Kullan"));
            MiscMenu.Add("useManaV", new Slider("Manam < %", 45, 0, 100));
            MiscMenu.Add("useCrystal", new CheckBox("Bisküvi Kullan"));
            MiscMenu.Add("useCrystalHPV", new Slider("Canım < %", 45, 0, 100));
            MiscMenu.Add("useCrystalManaV", new Slider("Manam < %", 45, 0, 100));

            Skin = Menu.AddSubMenu("Skin Değiştirici", "SkinChange");
            Skin.Add("checkSkin", new CheckBox("Skin Değiştirici Kullan"));
            Skin.Add("skin.Id", new Slider("Skin Numarası", 3, 0, 5));

            DrawMenu = Menu.AddSubMenu("Göster Ayarları", "Drawings");
            DrawMenu.Add("drawAA", new CheckBox("Göster AA Menzili"));
            DrawMenu.Add("drawQ", new CheckBox("Göster Q Menzili"));
            DrawMenu.Add("drawW", new CheckBox("Göster W Menzili"));
            DrawMenu.Add("drawR", new CheckBox("Göster R Menzili"));

            UpdateMenu = Menu.AddSubMenu("Son Güncelleme Kaydı", "Updates");
            UpdateMenu.AddLabel("V0.0.3");
            UpdateMenu.AddLabel("-Orman Temizleme Eklendi!");

            Game.OnTick    += Game_OnTick;
            Drawing.OnDraw += Drawing_OnDraw;
            Game.OnUpdate  += OnGameUpdate;

            Chat.Print("Perrrrrrrrrfect Addon,TRAdana iyi oyunlar diler", System.Drawing.Color.Red);
        }