Author Topic: OPEN SOURCE LEAGUE OF LEGENDS LAG SWITCH!!!!  (Read 2356 times)

0 Members and 1 Guest are viewing this topic.

Offline HMOOBTANK

  • NULL
  • Posts: 1
  • Cookies: 0
    • View Profile
OPEN SOURCE LEAGUE OF LEGENDS LAG SWITCH!!!!
« on: May 26, 2015, 02:59:02 am »
Hello I am HMOOBTANK. I want to share this script with everyone, and I want you to share it with everyone. This is still working as of 5/25/2015. It will be patched soon, but we can always work around stupid riot patch. That is why I give you this open source script. It is written in C#. Hopefully you people understand C#.I can put more picture to help but can only post 4. This script is an exploit and in league there are wards, so then you turn on the lag the script will move your champion everywhere wanting to place a ward somewhere and that is where the exploits start then it will generate alot of packets, slowing down the game causing lag.  Dont make i equal to a high number, and you can change the power (1000, 1, 1000) don't use a high number it will crash league of legends program.

Tutorial:
1. Download and install LeagueSharp: https://www.joduska.me
2. Have Visual studio 2012 or 2013
3. Make a new project in C#, Console Application
4. Left click references and add Add Leaguesharp Nice API in reference. Should be located in your download folder
5. Copy and paste the script.
6. Go to file and save all.
7. Upload it and install it to leaguesharp Assembly. Find the project in your Local folder. Select folder and click next.
8. Make sure it has a check. Click the Check, and add them.
9. Login to league of legends open up leaguesharp make sure it has a check mark on it, and start a game when your in game press F9.
10. The menu should pop up and you should see the lag switch. Have fun.
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
                                                                     Open Source League Of Legends Lag Switch
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Code: (c#) [Select]
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using LeagueSharp;
using LeagueSharp.Common;
using SharpDX;
using SharpDX.Direct3D9;
using Color = System.Drawing.Color;

namespace Lag
{
    internal class Program
    {
        private static Obj_AI_Hero Player { get { return ObjectManager.Player; } }
        private static Menu Menu;
        private static int Packets;
        private static InventorySlot ward;

        private static void Main(string[] args)
        {
            CustomEvents.Game.OnGameLoad += Game_OnGameLoad;
        }

        private static void Game_OnGameLoad(EventArgs args)
        {
            Menu = new Menu("Lag", "Lag", true);

            Menu.AddItem(new MenuItem("Turn On", "Turn On").SetValue(false));
            Menu.AddItem(new MenuItem("Power", "Power").SetValue(new Slider(1000, 1, 1000)));
            Game.PrintChat("FUCK RIOT");
            Game.PrintChat("Game Server Ip: " + LeagueSharp.Game.IP);
            Game.PrintChat("Game Server Port: " + LeagueSharp.Game.Port);
            Menu.AddToMainMenu();
           
            Game.OnUpdate += Game_OnUpdate;
        }

        private static void Game_OnUpdate(EventArgs args)
        {
            if (!Menu.Item("Turn On").GetValue<Boolean>() || Player.IsDead)
                return;

            PacketFlood();
        }

        private static InventorySlot GetUsableWard()
        {
            ward = GetWardSlot();

            if (ward != null || ward.SpellSlot != null || ward.SpellSlot.IsReady())
                return ward;

            return null;
        }

        private static InventorySlot GetWardSlot()
        {
            var wardIds = new[] { 3340, 3350, 3361, 3154, 2045, 2049, 2050, 2044, 2043 };
            return (from wardId in wardIds
                    where Items.CanUseItem(wardId)
                    select ObjectManager.Player.InventoryItems.FirstOrDefault(slot => slot.Id == (ItemId)wardId))
                        .FirstOrDefault();
        }
        private static void PacketFlood()
        {
            for (int i = 100; i <= Menu.Item("Power").GetValue<Slider>().Value; i++)
            {
                if (GetUsableWard() == null) return;

                Player.Spellbook.CastSpell(GetUsableWard().SpellSlot, new Vector3(409.8733f, 419.0513f, 182.8395f));
                Player.Spellbook.CastSpell(GetUsableWard().SpellSlot, new Vector3(1638.32f, 13022.88f, 52.83813f));
                Player.Spellbook.CastSpell(GetUsableWard().SpellSlot, new Vector3(14292.57f, 14376.82f, 171.9777f));
                Player.Spellbook.CastSpell(GetUsableWard().SpellSlot, new Vector3(13019.75f, 1913.098f, 51.94983f));

                Packets ++;
            }
        }
    }
}
« Last Edit: May 26, 2015, 06:45:57 am by Kulverstukas »