OldSchoolHack

Registrieren / Anmelden Deutsch

League Of Legends Spell Disabler Script


icon League Of Legends Spell Disabler Script #1

Anmeldungsdatum: Aug 2007

Beiträge: 8646

Benutzer-Bewertung:

199 positiv
33 negativ
Kategorie: Massively Multiplayer Online (MMO) and Strategy
Entwickler:

Beschreibung:
You will need LeagueSharp API.

FULL SOURCE:
Um Links zu sehen, musst du dich registrieren

Easiest way to get it working:
Compile and inject the code using L# (League Sharp) and use ashe. Open the menu in-game by holding shitf. Play with a friend and disable him and enjoy results.


Tutorial:







Sourcecode:
CSHARP Code:
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Runtime.InteropServices;
  5. using LeagueSharp.Common;
  6. using LeagueSharp;
  7.  
  8. namespace DisableSpells
  9. {
  10.    internal class Program
  11.    {
  12.        public struct SpellStruct
  13.        {
  14.            public string ChampionName;
  15.            public SpellSlot AvailableSpell;
  16.  
  17.        }
  18.        public static List<SpellStruct> Spells = new List<SpellStruct>();
  19.        public static Menu Config;
  20.  
  21.        private static void Main(string[] args)
  22.        {
  23.            CustomEvents.Game.OnGameLoad += Game_OnGameLoad;
  24.        }
  25.  
  26.        private static void Game_OnGameLoad(EventArgs args)
  27.        {
  28.            Spells.Add(new SpellStruct
  29.            {
  30.                ChampionName = "Rumble",
  31.                AvailableSpell = SpellSlot.W
  32.            });
  33.  
  34.            Spells.Add(new SpellStruct
  35.            {
  36.                ChampionName = "Sion",
  37.                AvailableSpell = SpellSlot.W
  38.            });
  39.  
  40.            Spells.Add(new SpellStruct
  41.            {
  42.                ChampionName = "TwistedFate",
  43.                AvailableSpell = SpellSlot.W
  44.            });
  45.  
  46.            Spells.Add(new SpellStruct
  47.            {
  48.                ChampionName = "Jax",
  49.                AvailableSpell = SpellSlot.E
  50.            });
  51.  
  52.            Spells.Add(new SpellStruct
  53.            {
  54.                ChampionName = "MasterYi",
  55.                AvailableSpell = SpellSlot.R
  56.            });
  57.  
  58.            Spells.Add(new SpellStruct
  59.            {
  60.                ChampionName = "Annie",
  61.                AvailableSpell = SpellSlot.E
  62.            });
  63.  
  64.            Spells.Add(new SpellStruct
  65.            {
  66.                ChampionName = "Singed",
  67.                AvailableSpell = SpellSlot.R
  68.            });
  69.  
  70.            Spells.Add(new SpellStruct
  71.            {
  72.                ChampionName = "Vayne",
  73.                AvailableSpell = SpellSlot.R
  74.            });
  75.  
  76.            Spells.Add(new SpellStruct
  77.            {
  78.                ChampionName = "Tryndamere",
  79.                AvailableSpell = SpellSlot.R
  80.            });
  81.  
  82.            Spells.Add(new SpellStruct
  83.            {
  84.                ChampionName = "Teemo",
  85.                AvailableSpell = SpellSlot.W
  86.            });
  87.  
  88.            Spells.Add(new SpellStruct
  89.            {
  90.                ChampionName = "Blitzcrank",
  91.                AvailableSpell = SpellSlot.W
  92.            });
  93.  
  94.            Spells.Add(new SpellStruct
  95.            {
  96.                ChampionName = "Ashe",
  97.                AvailableSpell = SpellSlot.Q
  98.            });
  99.  
  100.            Spells.Add(new SpellStruct
  101.            {
  102.                ChampionName = "Zilean",
  103.                AvailableSpell = SpellSlot.W
  104.            });
  105.  
  106.            /*
  107.              * Ashe:
  108.              * -> Fiora: OnAttack: Instant ultimate / no duration limit / less damage / can be attacked
  109.              * -> Twitch: OnAttack: Cast's W without CD except of AA
  110.              * -> TwistedFate: OnAttack: Always shoots with red card
  111.              * -> Ezreal: OnAttack: E particle, ways less damage, ways less attackspeed
  112.              * -> Lucian: OnAttack: R particle, goes throguh enemys, ways less damage, ways less attackspeed
  113.              * -> Brand: OnAttack: Ultimate
  114.              * -> Pantheon: Weird shit.
  115.              * -> Gragas: OnAttack: Ultimate with a cd of 10-15sec
  116.              * -> Varus: Uses the area Damage on attack
  117.              * -> Jax: Possible to stun everyone
  118.              * -> Lulu: OnAttack: Lulu AA becomes her Q and Pix also CS
  119.              */
  120.  
  121.            Config = new Menu("Exploit", "Exploit", true);
  122.            Config.AddSubMenu(new Menu("Disable", "Disable"));
  123.            foreach (var hero in ObjectManager.Get<Obj_AI_Hero>().Where(hero => !hero.IsMe))
  124.            {
  125.                Config.SubMenu("Disable")
  126.                    .AddItem(
  127.                        new MenuItem(hero.ChampionName, "Disable on " + hero.ChampionName).SetValue(false));
  128.                Config.Item(hero.ChampionName).SetValue(false);
  129.            }
  130.            Config.AddToMainMenu();
  131.  
  132.            Game.PrintChat("Exploit loaded!");
  133.            Game.OnGameUpdate += Game_OnGameUpdate;
  134.        }
  135.  
  136.        private static void Game_OnGameUpdate(EventArgs args)
  137.        {
  138.            foreach (var spell in Spells)
  139.            {
  140.                if (spell.ChampionName == ObjectManager.Player.ChampionName)
  141.                {
  142.                    foreach (var hero in from hero in ObjectManager.Get<Obj_AI_Hero>().Where(hero => !hero.IsMe)
  143.                        let isEnabled = Config.Item(hero.ChampionName).GetValue<bool>()
  144.                        let championName = Config.Item(hero.ChampionName).Name
  145.                        where hero.ChampionName == championName & isEnabled && !hero.IsDead
  146.                        select hero)
  147.                    {
  148.                        Packet.C2S.Cast.Encoded(new Packet.C2S.Cast.Struct(hero.NetworkId, spell.AvailableSpell)).Send();
  149.                    }  
  150.                }
  151.            }
  152.        }
  153.    }
  154. }

Screenshots:
https://www.oldschoolhack.me/hackdata/screenshot/thumb/7d8e56a621d2154ca68ef8f8921754e6.jpg

Download:
League Of Legends Spell Disabler Script

__________________

Hallo