/// <summary> /// Method to display a banner and a text /// </summary> /// <param name="name">Name of the assembly</param> /// <param name="version">Version of the assembly</param> /// <param name="displayTime">Time of displaying</param> private static void DrawBanner(String name, int version, int displayTime) { LeagueSharp.Common.Notifications.AddNotification( String.Format("[{0}] {1} - loaded successfully!", name, version), displayTime, true); if (Game.Time <= 6000000) { var banner = new Render.Sprite(Resources.BannerLoading, new Vector2()) { Scale = new Vector2( 1 / (Drawing.Width / 3), 1 / (Drawing.Height / 3)) .Normalized() }; // centered but a little above the screens center var position = new Vector2( (Drawing.Width / 2) - banner.Width / 2, (Drawing.Height / 2) - banner.Height / 2 - 50); banner.Position = position; banner.Add(0); banner.OnDraw(); //LeagueSharp.Common.Utility.DelayAction.Add(displayTime, () => banner.Remove()); } }
private static void CorkiOnLoad() { CorkiMenu.Config = new Menu("hikiMarksman:AIO - Corki", "hikiMarksman:AIO - Corki", true).SetFontStyle(System.Drawing.FontStyle.Bold, SharpDX.Color.Gold); { CorkiSpells.Init(); CorkiMenu.OrbwalkerInit(); CorkiMenu.MenuInit(); } Chat.Print("<font color='#ff3232'>hikiMarksman:AIO - Corki: </font><font color='#00FF00'>loaded! You can rekt everyone with this assembly</font>", ObjectManager.Player.ChampionName); Chat.Print(string.Format("<font color='#ff3232'>hikiMarksman:AIO - </font><font color='#00FF00'>Assembly Version: </font><font color='#ff3232'><b>{0}</b></font> ", typeof(Program).Assembly.GetName().Version)); Chat.Print("<font color='#ff3232'>If you like this assembly feel free to upvote on Assembly Database</font>"); HikiSprite.Add(0); HikiSprite.OnDraw(); LeagueSharp.Common.Utility.DelayAction.Add(8000, () => HikiSprite.Remove()); Notifications.AddNotification("hikiMarksman:AIO", 4000); Notifications.AddNotification(String.Format("{0} Loaded", ObjectManager.Player.ChampionName), 5000); Notifications.AddNotification("Gift From Hikigaya", 6000); Game.OnUpdate += CorkiOnUpdate; AIHeroClient.OnSpellCast += CorkiOnProcessSpellCast; Orbwalking.AfterAttack += CorkiAfterAttack; Drawing.OnDraw += CorkiOnDraw; }
public void LoadOKTW() { (Config["aboutoktw"] as Menu).Add(new MenuBool("logo", "Intro logo OKTW", true)); if (Config["aboutoktw"].GetValue <MenuBool>("logo").Value) { Intro = new Render.Sprite(LoadImg("intro"), new Vector2(Drawing.Width / 2 - 500, Drawing.Height / 2 - 350)); Intro.Add(0); Intro.OnDraw(); } DelayAction.Add(7000, () => Intro.Remove()); var ud = Config["utilitydraws"] as Menu; ud.Add(new MenuBool("disableDraws", "DISABLE UTILITY DRAWS")); var eig = new Menu("enemyinfogrid", "Enemy info grid"); eig.Add(new MenuBool("championInfo", "Game Info", true)); eig.Add(new MenuBool("ShowKDA", "Show flash and R CD", true)); eig.Add(new MenuBool("ShowRecall", "Show recall", true)); eig.Add(new MenuSlider("posX", "posX", 70, 0, 100)); eig.Add(new MenuSlider("posY", "posY", 10, 0, 100)); ud.Add(eig); ud.Add(new MenuBool("GankAlert", "Gank Alert", true)); ud.Add(new MenuBool("HpBar", "Dmg indicators BAR OKTW© style", true)); ud.Add(new MenuBool("ShowClicks", "Show enemy clicks", true)); ud.Add(new MenuBool("SS", "SS notification", true)); ud.Add(new MenuBool("RF", "R and Flash notification", true)); ud.Add(new MenuBool("showWards", "Show hidden objects, wards", true)); ud.Add(new MenuBool("minimap", "Mini-map hack", true)); Tahoma13B = new Font(Drawing.Direct3DDevice, new FontDescription { FaceName = "Tahoma", Height = 14, Weight = FontWeight.Bold, OutputPrecision = FontPrecision.Default, Quality = FontQuality.ClearType }); Tahoma13 = new Font(Drawing.Direct3DDevice, new FontDescription { FaceName = "Tahoma", Height = 14, OutputPrecision = FontPrecision.Default, Quality = FontQuality.ClearType }); TextBold = new Font(Drawing.Direct3DDevice, new FontDescription { FaceName = "Impact", Height = 30, Weight = FontWeight.Normal, OutputPrecision = FontPrecision.Default, Quality = FontQuality.ClearType }); Q = new Spell(SpellSlot.Q); W = new Spell(SpellSlot.W); E = new Spell(SpellSlot.E); R = new Spell(SpellSlot.R); Drawing.OnEndScene += Drawing_OnEndScene; Drawing.OnDraw += Drawing_OnDraw; }
public void LoadOKTW() { Sub1 = Config.AddSubMenu("Logo"); Sub1.Add("logoa", new CheckBox("Intro logo OKTW")); if (getCheckBoxItem(Sub1, "logoa")) { Intro = new Render.Sprite(LoadImg("intro"), new Vector2((Drawing.Width / 2) - 500, (Drawing.Height / 2) - 350)); Intro.Add(0); Intro.OnDraw(); } LeagueSharp.Common.Utility.DelayAction.Add(7000, () => Intro.Remove()); Sub = Config.AddSubMenu("Utility, Draws OKTW©"); Sub.Add("disableDraws", new CheckBox("DISABLE UTILITY DRAWS", false)); Sub.AddGroupLabel("Enemy info grid"); Sub.Add("championInfo", new CheckBox("Game Info")); Sub.Add("ShowKDA", new CheckBox("Show flash and R CD")); Sub.Add("ShowRecall", new CheckBox("Show recall")); Sub.Add("posX", new Slider("posX", 20, 0, 100)); Sub.Add("posY", new Slider("posY", 10, 0, 100)); Sub.AddSeparator(); Sub.Add("GankAlert", new CheckBox("Gank Alert")); Sub.Add("HpBar", new CheckBox("Dmg indicators BAR OKTW© style")); Sub.Add("ShowClicks", new CheckBox("Show enemy clicks")); Sub.Add("SS", new CheckBox("SS notification")); Sub.Add("showWards", new CheckBox("Show hidden objects, wards")); Sub.Add("minimap", new CheckBox("Mini-map hack")); Tahoma13B = new Font(Drawing.Direct3DDevice, new FontDescription { FaceName = "Tahoma", Height = 14, Weight = FontWeight.Bold, OutputPrecision = FontPrecision.Default, Quality = FontQuality.ClearType }); Tahoma13 = new Font(Drawing.Direct3DDevice, new FontDescription { FaceName = "Tahoma", Height = 14, OutputPrecision = FontPrecision.Default, Quality = FontQuality.ClearType }); TextBold = new Font(Drawing.Direct3DDevice, new FontDescription { FaceName = "Impact", Height = 30, Weight = FontWeight.Normal, OutputPrecision = FontPrecision.Default, Quality = FontQuality.ClearType }); Q = new LeagueSharp.Common.Spell(SpellSlot.Q); E = new LeagueSharp.Common.Spell(SpellSlot.E); W = new LeagueSharp.Common.Spell(SpellSlot.W); R = new LeagueSharp.Common.Spell(SpellSlot.R); Drawing.OnDraw += OnDraw; Drawing.OnEndScene += Drawing_OnEndScene; }
public StreamHelper() { Obj_AI_Base.OnProcessSpellCast += Obj_AI_Base_OnProcessSpellCast; Obj_AI_Hero.OnIssueOrder += Obj_AI_Hero_OnIssueOrder; Drawing.OnDraw += Drawing_OnDraw; Game.OnUpdate += Game_OnUpdate; _menu = new Menu("StreamHelper", "StreamHelper", true); Menu MoveTo = new Menu("Moveto Cursor", "Moveto"); MoveTo.AddItem(new MenuItem("MovetoLasthit", "Lasthit")) .SetValue(new KeyBind("X".ToCharArray()[0], KeyBindType.Press)) .SetFontStyle(FontStyle.Bold, SharpDX.Color.Orange); MoveTo.AddItem(new MenuItem("MovetoMixed", "Mixed")) .SetValue(new KeyBind("C".ToCharArray()[0], KeyBindType.Press)) .SetFontStyle(FontStyle.Bold, SharpDX.Color.Orange); MoveTo.AddItem(new MenuItem("MovetoClear", "Clear")) .SetValue(new KeyBind("A".ToCharArray()[0], KeyBindType.Press)) .SetFontStyle(FontStyle.Bold, SharpDX.Color.Orange); MoveTo.AddItem(new MenuItem("MovetoCombo", "Combo")) .SetValue(new KeyBind(32, KeyBindType.Press)) .SetFontStyle(FontStyle.Bold, SharpDX.Color.Orange); MoveTo.AddItem(new MenuItem("MovetoEnable", "Enable")).SetValue(false); MoveTo.AddItem(new MenuItem("MovetoOnlyEnemy", "Only around enemies")).SetValue(true); MoveTo.AddItem(new MenuItem("InfoI", "It won't work wit the common fakeClick")); _menu.AddSubMenu(MoveTo); _menu.AddItem(new MenuItem("Debug", "Debug")).SetValue(false); _menu.AddItem(new MenuItem("Enabled", "Enabled")).SetValue(true); _menu.AddItem(new MenuItem("Speed", "Speed")).SetValue(new Slider(150, 90, 250)); _menu.AddItem(new MenuItem("Linear", "Linear cursor speed")).SetValue(false); _menu.AddToMainMenu(); _cursorAttack = new Render.Sprite( Properties.Resources.Attack, new Vector2((Drawing.Width / 2), (Drawing.Height / 2))); _cursorAttack.Add(0); _cursorAttack.Visible = false; _cursorAttack.OnDraw(); _cursorMove = new Render.Sprite( Properties.Resources.Normal, new Vector2((Drawing.Width / 2), (Drawing.Height / 2))); _cursorMove.Add(0); _cursorMove.OnDraw(); _moveTo = new Render.Sprite( Properties.Resources.MoveTo, new Vector2((Drawing.Width / 2), (Drawing.Height / 2))); _moveTo.Add(0); _moveTo.OnDraw(); _newPosition = Game.CursorPos; _actPosition = Game.CursorPos; }
public void LoadOKTW() { Config.SubMenu("About OKTW©").AddItem(new MenuItem("logo", "Intro logo OKTW").SetValue(true)); if (Config.Item("logo").GetValue <bool>()) { Intro = new Render.Sprite(LoadImg("intro"), new Vector2((Drawing.Width / 2) - 500, (Drawing.Height / 2) - 350)); Intro.Add(0); Intro.OnDraw(); } Utility.DelayAction.Add(7000, () => Intro.Remove()); Config.SubMenu("Utility, Draws OKTW©").AddItem(new MenuItem("disableDraws", "DISABLE UTILITY DRAWS").SetValue(false)); Config.SubMenu("Utility, Draws OKTW©").SubMenu("Enemy info grid").AddItem(new MenuItem("championInfo", "Game Info").SetValue(true)); Config.SubMenu("Utility, Draws OKTW©").SubMenu("Enemy info grid").AddItem(new MenuItem("ShowKDA", "Show flash and R CD").SetValue(true)); Config.SubMenu("Utility, Draws OKTW©").SubMenu("Enemy info grid").AddItem(new MenuItem("ShowRecall", "Show recall").SetValue(true)); Config.SubMenu("Utility, Draws OKTW©").SubMenu("Enemy info grid").AddItem(new MenuItem("posX", "posX").SetValue(new Slider(20, 100, 0))); Config.SubMenu("Utility, Draws OKTW©").SubMenu("Enemy info grid").AddItem(new MenuItem("posY", "posY").SetValue(new Slider(10, 100, 0))); Config.SubMenu("Utility, Draws OKTW©").AddItem(new MenuItem("GankAlert", "Gank Alert").SetValue(true)); Config.SubMenu("Utility, Draws OKTW©").AddItem(new MenuItem("HpBar", "Dmg indicators BAR OKTW© style").SetValue(true)); Config.SubMenu("Utility, Draws OKTW©").AddItem(new MenuItem("ShowClicks", "Show enemy clicks").SetValue(true)); Config.SubMenu("Utility, Draws OKTW©").AddItem(new MenuItem("SS", "SS notification").SetValue(true)); Config.SubMenu("Utility, Draws OKTW©").AddItem(new MenuItem("RF", "R and Flash notification").SetValue(true)); Config.SubMenu("Utility, Draws OKTW©").AddItem(new MenuItem("showWards", "Show hidden objects, wards").SetValue(true)); Config.SubMenu("Utility, Draws OKTW©").AddItem(new MenuItem("minimap", "Mini-map hack").SetValue(true)); Tahoma13B = new Font(Drawing.Direct3DDevice, new FontDescription { FaceName = "Tahoma", Height = 14, Weight = FontWeight.Bold, OutputPrecision = FontPrecision.Default, Quality = FontQuality.ClearType }); Tahoma13 = new Font(Drawing.Direct3DDevice, new FontDescription { FaceName = "Tahoma", Height = 14, OutputPrecision = FontPrecision.Default, Quality = FontQuality.ClearType }); TextBold = new Font(Drawing.Direct3DDevice, new FontDescription { FaceName = "Impact", Height = 30, Weight = FontWeight.Normal, OutputPrecision = FontPrecision.Default, Quality = FontQuality.ClearType }); Q = new Spell(SpellSlot.Q); E = new Spell(SpellSlot.E); W = new Spell(SpellSlot.W); R = new Spell(SpellSlot.R); Drawing.OnDraw += OnDraw; Drawing.OnEndScene += Drawing_OnEndScene; }
private static void OnGameLoad() { if (ObjectManager.Player.CharacterName != "Rengar") { return; } Chat.PrintChat("Simple Rengar Script Load"); Chat.PrintChat("011110001"); Rengar_.OnLoad(); Intro = new Render.Sprite(LoadImg("logo"), new Vector2(Drawing.Width / 2 - 500, Drawing.Height / 2 - 350)); Intro.Add(0); Intro.OnDraw(); DelayAction.Add(7000, () => Intro.Remove()); }
/// <summary> /// LoadSS -> Render the SSLogo /// </summary> public void LoadSS() { Config.SubMenu("[SS] Settings").SetFontStyle(FontStyle.Bold, SharpDX.Color.GreenYellow).SubMenu("[SS] Misc").AddItem(new MenuItem("SSLogo", "[SS] Logo").SetValue(true)); Config.SubMenu("[SS] Settings").SetFontStyle(FontStyle.Bold, SharpDX.Color.GreenYellow).SubMenu("[SS] Misc").AddItem(new MenuItem("CreditsHeader", " .:Credits:.")); Config.SubMenu("[SS] Settings").SetFontStyle(FontStyle.Bold, SharpDX.Color.GreenYellow).SubMenu("[SS] Misc").AddItem(new MenuItem("CreditsHeaderInfo", "Developer: SupportExTraGoZ").SetFontStyle(FontStyle.Bold, SharpDX.Color.DeepPink)); Config.SubMenu("[SS] Settings").SetFontStyle(FontStyle.Bold, SharpDX.Color.GreenYellow).SubMenu("[SS] Misc").AddItem(new MenuItem("CreditsHeaderInfo2", "Designer: gimleey").SetFontStyle(FontStyle.Bold, SharpDX.Color.DeepPink)); Config.SubMenu("[SS] Settings").SetFontStyle(FontStyle.Bold, SharpDX.Color.GreenYellow).SubMenu("[SS] Misc").AddItem(new MenuItem("CreditsHeaderInfo3", "General Ideas: Media/Rethought").SetFontStyle(FontStyle.Bold, SharpDX.Color.DeepPink)); if (Program.Config.Item("SSLogo").GetValue <bool>()) { sslogo = new Render.Sprite(LoadImg("sslogo"), new Vector2((Drawing.Width / 2) - 500, (Drawing.Height / 2) - 350)); sslogo.Add(0); sslogo.OnDraw(); } LeagueSharp.Common.Utility.DelayAction.Add(8000, () => sslogo.Remove()); }
private static void On_LoadGame() { logo = new Render.Sprite(LoadImg("lgo"), new Vector2(Drawing.Width / 2 - 250, Drawing.Height / 2 - 250)); logo.Add(0); logo.OnDraw(); DelayAction.Add(7000, () => logo.Remove()); Chat.PrintChat("Supported Champions: Blitz , Soraka, Lux, Pyke"); Chat.PrintChat("SPrediction Port By Mask"); if (ObjectManager.Player.CharacterName == "Soraka") { Soraka.Load(); Chat.PrintChat("Soraka Script Load"); } else if (ObjectManager.Player.CharacterName == "Blitzcrank") { Blitz.BlitzOnLoad(); Chat.PrintChat("Blitzcrank Script Load"); Chat.PrintChat("This script is a Port of KurisuBlitz (Code of Kurisu)"); } else if (ObjectManager.Player.CharacterName == "Lux") { Lux.Load(); Chat.PrintChat("Partial Port of ChewyMoon Lux Load"); } else if (ObjectManager.Player.CharacterName == "Pyke") { Pyke.On_Load(); Chat.PrintChat("011110001.Pyke Load"); } else if (ObjectManager.Player.CharacterName == "Thresh") { Thresh.OnLoad(); Chat.PrintChat("011110001.Thresh Load"); } else if (ObjectManager.Player.CharacterName == "Alistar") { Alistar.OnLoad(); } }
public CursorSprite(Cursors type, Bitmap bitmap, Bitmap cb = null) { Type = type; if (cb != null) { SpriteCB = new Render.Sprite(cb, new Vector2((-50000), (-50000))); SpriteCB.Add(0); SpriteCB.Visible = false; SpriteCB.OnDraw(); hasCB = true; } else { SpriteCB = null; hasCB = false; } Sprite = new Render.Sprite(bitmap, new Vector2((-50000), (-50000))); Sprite.Add(0); Sprite.Visible = false; Sprite.OnDraw(); }
private static void OnGameLoad() { TextBold = new Font(Drawing.Direct3DDevice, new FontDescription { FaceName = "Impact", Height = 30, Weight = FontWeight.Normal, OutputPrecision = FontPrecision.Default, Quality = FontQuality.ClearType }); Q = new Spell(SpellSlot.Q); W = new Spell(SpellSlot.W); E = new Spell(SpellSlot.E); R = new Spell(SpellSlot.R); Config = new Menu("OneKeyToWin_AIO" + ObjectManager.Player.CharacterName, "OneKeyToWin AIO", true); #region MENU ABOUT OKTW var about = new Menu("about", "About OKTW©"); about.Add(new MenuBool("debug", "Debug", false)); about.Add(new MenuBool("debugChat", "Debug Chat", false)); about.Add(new MenuSeparator("0", "OneKeyToWin© by Sebby")); about.Add(new MenuSeparator("1", "visit joduska.me")); about.Add(new MenuSeparator("2", "DONATE: [email protected]")); about.Add(new MenuBool("print", "OKTW NEWS in chat", true)); about.Add(new MenuBool("logo", "Intro logo OKTW", true)); Config.Add(about); #endregion #region PREDICTION MODE var pred = new Menu("predmode", "Prediction MODE"); pred.Add(new MenuList <string>("Qpred", "Q Prediction MODE", new[] { "Common prediction", "OKTW© PREDICTION", "SPrediction press F5 if not loaded", "Exory prediction" }, ObjectManager.Player.CharacterName) { Index = 1 }); pred.Add(new MenuList <string>("QHitChance", "Q Hit Chance", new[] { "Very High", "High", "Medium" }, ObjectManager.Player.CharacterName) { Index = 0 }); pred.Add(new MenuList <string>("Wpred", "W Prediction MODE", new[] { "Common prediction", "OKTW© PREDICTION", "SPrediction press F5 if not loaded", "Exory prediction" }, ObjectManager.Player.CharacterName) { Index = 1 }); pred.Add(new MenuList <string>("WHitChance", "W Hit Chance", new[] { "Very High", "High", "Medium" }, ObjectManager.Player.CharacterName) { Index = 0 }); pred.Add(new MenuList <string>("Epred", "E Prediction MODE", new[] { "Common prediction", "OKTW© PREDICTION", "SPrediction press F5 if not loaded", "Exory prediction" }, ObjectManager.Player.CharacterName) { Index = 1 }); pred.Add(new MenuList <string>("EHitChance", "E Hit Chance", new[] { "Very High", "High", "Medium" }, ObjectManager.Player.CharacterName) { Index = 0 }); pred.Add(new MenuList <string>("Rpred", "R Prediction MODE", new[] { "Common prediction", "OKTW© PREDICTION", "SPrediction press F5 if not loaded", "Exory prediction" }, ObjectManager.Player.CharacterName) { Index = 1 }); pred.Add(new MenuList <string>("RHitChance", "R Hit Chance", new[] { "Very High", "High", "Medium" }, ObjectManager.Player.CharacterName) { Index = 0 }); pred.Add(new MenuBool("debugPred", "Draw Aiming OKTW© PREDICTION", false)); Config.Add(pred); if (pred.GetValue <MenuList <string> >("Qpred").Index == 2 || pred.GetValue <MenuList <string> >("Wpred").Index == 2 || pred.GetValue <MenuList <string> >("Epred").Index == 2 || pred.GetValue <MenuList <string> >("Rpred").Index == 2) { SPrediction.Prediction.Initialize(pred); SPredictionLoad = true; pred.Add(new MenuSeparator("322", "SPREDICTION LOADED")); } else { pred.Add(new MenuSeparator("322", "SPREDICTION NOT LOADED")); } #endregion #region EXTRA SETTINGS var extra = new Menu("extraSet", "Extra settings OKTW©"); extra.Add(new MenuBool("supportMode", "Support Mode", false, ObjectManager.Player.CharacterName)); extra.Add(new MenuBool("comboDisableMode", "Disable auto-attack in combo mode", false, ObjectManager.Player.CharacterName)); extra.Add(new MenuBool("manaDisable", "Disable mana manager in combo", false, ObjectManager.Player.CharacterName)); extra.Add(new MenuBool("collAA", "Disable auto-attack if Yasuo wall collision", true, ObjectManager.Player.CharacterName)); var anti = new Menu("antimelee", "Anti-Melee Positioning Assistant OKTW©"); anti.Add(new MenuBool("positioningAssistant", "Anti-Melee Positioning Assistant OKTW©", false)); var assist = new Menu("antimeleeassist", "Positioning Assistant:"); foreach (var enemy in GameObjects.EnemyHeroes.Where(enemy => enemy.IsMelee)) { assist.Add(new MenuBool("posAssistant" + enemy.CharacterName, enemy.CharacterName, true)); } anti.Add(new MenuBool("positioningAssistantDraw", "Show notification", true)); anti.Add(assist); extra.Add(anti); extra.Add(new MenuBool("harassLaneclear", "Skill-Harass in lane clear", true)); extra.GetValue <MenuBool>("supportMode").Enabled = false; Config.Add(extra); #endregion #region HARASS var harass = new Menu("harass", "Harass"); foreach (var enemy in GameObjects.EnemyHeroes) { harass.Add(new MenuBool("harass" + enemy.CharacterName, enemy.CharacterName, true)); } Config.Add(harass); #endregion #region FARM var farm = new Menu("farm", "Farm"); var spellFarm = new Menu("spellfarm", "SPELLS FARM TOGGLE"); spellFarm.Add(new MenuBool("spellFarm", "OKTW spells farm", true)); spellFarm.Add(new MenuList <string>("spellFarmMode", "SPELLS FARM TOGGLE MODE", new[] { "Scroll down", "Scroll press", "Key toggle", "Disable" }) { Index = 1 }); spellFarm.Add(new MenuKeyBind("spellFarmKeyToggle", "Key toggle", Keys.N, KeyBindType.Toggle)); spellFarm.Add(new MenuBool("showNot", "Show notification", true)); spellFarm.GetValue <MenuBool>("spellFarm").Permashow(true); farm.Add(spellFarm); Config.Add(farm); #endregion #region DRAW var draw = new Menu("draw", "Draws OKTW©"); draw.Add(new MenuBool("disableDraws", "DISABLE DRAWS", false)); Config.Add(draw); #endregion #region LOAD CHAMPIONS switch (Player.CharacterName) { case "Caitlyn": new Champions.Caitlyn(); break; case "Graves": new Champions.Graves(); break; case "Jinx": new Champions.Jinx(); break; } #endregion #region LOGO if (about.GetValue <MenuBool>("logo").Enabled) { Intro = new Render.Sprite(LoadImg("intro"), new Vector2(Drawing.Width / 2 - 500, Drawing.Height / 2 - 350)); Intro.Add(0); Intro.OnDraw(); DelayAction.Add(7000, () => Intro.Remove()); } #endregion Config.Attach(); Drawing.OnDraw += Drawing_OnDraw; Game.OnUpdate += Game_OnUpdate; Game.OnWndProc += Game_OnWndProc; Orbwalker.OnAction += Orbwalker_OnAction; if (about.GetValue <MenuBool>("print").Enabled) { Chat.PrintChat("<font size='30'>OneKeyToWin</font> <font color='#b756c5'>by Sebby</font>"); Chat.PrintChat("<font color='#b756c5'>OKTW NEWS: </font>" + OktwNews); } }
public void LoadOKTW() { Config.SubMenu("About OKTW©").AddItem(new MenuItem("logo", "Intro logo OKTW").SetValue(true)); if (Config.Item("logo").GetValue <bool>()) { Intro = new Render.Sprite(LoadImg("intro"), new Vector2((Drawing.Width / 2) - 500, (Drawing.Height / 2) - 350)); Intro.Add(0); Intro.OnDraw(); } Utility.DelayAction.Add(7000, () => Intro.Remove()); Config.SubMenu("Utility, Draws OKTW©").AddItem(new MenuItem("disableDraws", "DISABLE UTILITY DRAWS").SetValue(false)); Config.SubMenu("Utility, Draws OKTW©").SubMenu("Enemy info grid").AddItem(new MenuItem("championInfo", "Game Info").SetValue(true)); Config.SubMenu("Utility, Draws OKTW©").SubMenu("Enemy info grid").AddItem(new MenuItem("ShowKDA", "Show flash and R CD").SetValue(true)); Config.SubMenu("Utility, Draws OKTW©").SubMenu("Enemy info grid").AddItem(new MenuItem("ShowRecall", "Show recall").SetValue(true)); Config.SubMenu("Utility, Draws OKTW©").SubMenu("Enemy info grid").AddItem(new MenuItem("posX", "posX").SetValue(new Slider(20, 100, 0))); Config.SubMenu("Utility, Draws OKTW©").SubMenu("Enemy info grid").AddItem(new MenuItem("posY", "posY").SetValue(new Slider(10, 100, 0))); Config.SubMenu("Utility, Draws OKTW©").AddItem(new MenuItem("GankAlert", "Gank Alert").SetValue(true)); Config.SubMenu("Utility, Draws OKTW©").AddItem(new MenuItem("HpBar", "Dmg indicators BAR OKTW© style").SetValue(true)); Config.SubMenu("Utility, Draws OKTW©").AddItem(new MenuItem("ShowClicks", "Show enemy clicks").SetValue(true)); Config.SubMenu("Utility, Draws OKTW©").AddItem(new MenuItem("SS", "SS notification").SetValue(true)); Config.SubMenu("Utility, Draws OKTW©").AddItem(new MenuItem("showWards", "Show hidden objects, wards").SetValue(true)); Config.SubMenu("Utility, Draws OKTW©").AddItem(new MenuItem("minimap", "Mini-map hack").SetValue(true)); if (Program.AIOmode != 2) { Config.SubMenu(Player.ChampionName).SubMenu("Farm").SubMenu("SPELLS FARM TOGGLE").AddItem(new MenuItem("spellFarm", "OKTW spells farm").SetValue(true)).Show(); Config.SubMenu(Player.ChampionName).SubMenu("Farm").SubMenu("SPELLS FARM TOGGLE").AddItem(new MenuItem("spellFarmMode", "SPELLS FARM TOGGLE MODE").SetValue(new StringList(new[] { "Scroll down", "Scroll press", "Key toggle", "Disable" }, 1))); Config.SubMenu(Player.ChampionName).SubMenu("Farm").SubMenu("SPELLS FARM TOGGLE").AddItem(new MenuItem("spellFarmKeyToggle", "Key toggle").SetValue(new KeyBind("N".ToCharArray()[0], KeyBindType.Toggle))); Config.SubMenu(Player.ChampionName).SubMenu("Farm").SubMenu("SPELLS FARM TOGGLE").AddItem(new MenuItem("showNot", "Show notification").SetValue(true)); Config.Item("spellFarm").Permashow(true); } Tahoma13B = new Font(Drawing.Direct3DDevice, new FontDescription { FaceName = "Tahoma", Height = 14, Weight = FontWeight.Bold, OutputPrecision = FontPrecision.Default, Quality = FontQuality.ClearType }); Tahoma13 = new Font(Drawing.Direct3DDevice, new FontDescription { FaceName = "Tahoma", Height = 14, OutputPrecision = FontPrecision.Default, Quality = FontQuality.ClearType }); TextBold = new Font(Drawing.Direct3DDevice, new FontDescription { FaceName = "Impact", Height = 30, Weight = FontWeight.Normal, OutputPrecision = FontPrecision.Default, Quality = FontQuality.ClearType }); Q = new Spell(SpellSlot.Q); E = new Spell(SpellSlot.E); W = new Spell(SpellSlot.W); R = new Spell(SpellSlot.R); Game.OnUpdate += Game_OnUpdate; Drawing.OnDraw += OnDraw; Drawing.OnEndScene += Drawing_OnEndScene; Game.OnWndProc += Game_OnWndProc; }
public static void Init() { //if (Loader.intro) //{ Intro = new Render.Sprite(LoadImg("ASLogo"), new Vector2((Drawing.Width / 2) - 283, (Drawing.Height / 2) - 87)); Intro.Add(0); Intro.OnDraw(); LeagueSharp.Common.Utility.DelayAction.Add(5000, () => Intro.Remove()); //} Chat.Print("AutoSharp loaded", Color.CornflowerBlue); Map = Game.MapId; //Chat.Print(Map.ToString()); // Prints Summoners Rift on Howling Abbyss /* * Config = new Menu("AutoSharp: " + ObjectManager.Player.ChampionName, "autosharp." + ObjectManager.Player.ChampionName, true); * Config.AddItem(new MenuItem("autosharp.mode", "Mode").SetValue(new StringList(new[] {"AUTO", "SBTW"}))).ValueChanged += * (sender, args) => * { * if (Config.Item("autosharp.mode").GetValue<StringList>().SelectedValue == "SBTW") * { * Autoplay.Load(); * } * else * { * Autoplay.Unload(); * Orbwalker.SetOrbwalkingPoint(Game.CursorPos); * } * }; * Config.AddItem(new MenuItem("autosharp.humanizer", "Humanize Movement by ").SetValue(new Slider(new Random().Next(125, 350), 125, 350))); * Config.AddItem(new MenuItem("autosharp.quit", "Quit after Game End").SetValue(true)); * Config.AddItem(new MenuItem("autosharp.shop", "AutoShop?").SetValue(true)); * var options = Config.AddSubMenu(new Menu("Options: ", "autosharp.options")); * options.AddItem(new MenuItem("autosharp.options.healup", "Take Heals?").SetValue(true)); * options.AddItem(new MenuItem("onlyfarm", "Only Farm").SetValue(false)); * if (Map == Utility.Map.MapType.SummonersRift) * { * options.AddItem(new MenuItem("recallhp", "Recall if Health% <").SetValue(new Slider(30, 0, 100))); * } * var randomizer = Config.AddSubMenu(new Menu("Randomizer", "autosharp.randomizer")); * var orbwalker = Config.AddSubMenu(new Menu("Orbwalker", "autosharp.orbwalker")); * randomizer.AddItem(new MenuItem("autosharp.randomizer.minrand", "Min Rand By").SetValue(new Slider(0, 0, 90))); * randomizer.AddItem(new MenuItem("autosharp.randomizer.maxrand", "Max Rand By").SetValue(new Slider(100, 100, 300))); * randomizer.AddItem(new MenuItem("autosharp.randomizer.playdefensive", "Play Defensive?").SetValue(true)); * randomizer.AddItem(new MenuItem("autosharp.randomizer.auto", "Auto-Adjust? (ALPHA)").SetValue(true)); */ // Moved it to another addon: ChampionPlugins //new PluginLoader(); Cache.Load(); Game.OnUpdate += Positioning.OnUpdate; Autoplay.Load(); Game.OnEnd += OnEnd; //Obj_AI_Base.OnIssueOrder += AntiShrooms; Game.OnUpdate += AntiShrooms2; Spellbook.OnCastSpell += OnCastSpell; Obj_AI_Base.OnDamage += OnDamage; /* * Orbwalker = new MyOrbwalker.Orbwalker(orbwalker); * * Utility.DelayAction.Add( * new Random().Next(1000, 10000), () => * { * new AutoSharp.Utils (Utils.AutoLevel.GetSequence().Select(num => num - 1).ToArray()); * AutoSharp.Utils.AutoLevel.Enable(); * Console.WriteLine("AutoLevel Init Success!"); * }); */ }
private static void Initialize(EventArgs args) { Notifications.Show(new SimpleNotification("PortAIO", "Welcome to PortAIO, this is a complete AIO made for every single champion. If you experience bugs or have suggestions or just have something to report please go to the github and view the instructions to post a new issue. Enjoy using PortAIO and GLHF!"), 10000); Loader.Menu(); if (Loader.intro) { Intro = new Render.Sprite(LoadImg("PortLogo"), new Vector2((Drawing.Width / 2) - 175, (Drawing.Height / 2) - 300)); Intro.Add(0); Intro.OnDraw(); LeagueSharp.Common.Utility.DelayAction.Add(5000, () => Intro.Remove()); } if (!Loader.champOnly) { if (Loader.useActivator) { ElUtilitySuite.Entry.OnLoad(); } if (Loader.useRecall) { UniversalRecallTracker.Program.Main(); } if (Loader.useSkin) { SDK_SkinChanger.Program.Load(); } if (Loader.useTracker) { NabbTracker.Program.Game_OnGameLoad(); } if (Loader.godTracker) { GodJungleTracker.Program.OnGameLoad(); Chat.Print("Berb : Depending on whether packets are updated or not will this work."); } if (Loader.ping) { new UniversalPings.Program(); } if (Loader.human) { Humanizer.Program.Game_OnGameLoad(); } if (Loader.gank) { UniversalGankAlerter.Program.Main(); } if (Loader.evade) { new ezEvade.Evade(); } if (Loader.cheat) { new TheCheater.TheCheater().Load(); } if (Loader.banwards) { Sebby_Ban_War.Program.Game_OnGameLoad(); } /* * if (Loader.stream) * { * StreamBuddy.Program.Main(); * } * * if (RandomUltChampsList.Contains(ObjectManager.Player.ChampionName)) * { * if (Loader.randomUlt) * { * RandomUlt.Program.Game_OnGameLoad(); * } * } * * if (BaseUltList.Contains(ObjectManager.Player.ChampionName)) * { * if (Loader.baseUlt) * { * new BaseUlt3.BaseUlt(); * } * } */ } if (!Loader.utilOnly) { switch (ObjectManager.Player.ChampionName.ToLower()) { case "aatrox": // BrianSharp's Aatrox PortAIO.Champion.Aatrox.Program.Main(); break; case "akali": // Akali by xQx PortAIO.Champion.Akali.Program.Main(); break; case "alistar": // El Alistar PortAIO.Champion.Alistar.Program.OnGameLoad(); break; case "amumu": // Shine# PortAIO.Champion.Amumu.Program.OnLoad(); break; case "caitlyn": switch (Loader.cait) { case 0: SebbyLib.Program.GameOnOnGameLoad(); break; case 1: ExorAIO.Core.Bootstrap.BuildMenu(); ExorAIO.Core.Bootstrap.LoadChampion(); break; default: SebbyLib.Program.GameOnOnGameLoad(); break; } break; case "twitch": switch (Loader.twitch) { case 0: SebbyLib.Program.GameOnOnGameLoad(); break; case 1: Nechrito_Twitch.Program.OnGameLoad(); break; case 2: iTwitch.Twitch.OnGameLoad(); break; default: SebbyLib.Program.GameOnOnGameLoad(); break; } break; case "ashe": switch (Loader.ashe) { case 0: SebbyLib.Program.GameOnOnGameLoad(); break; case 1: Challenger_Series.Program.Main(); break; default: SebbyLib.Program.GameOnOnGameLoad(); break; } break; case "jayce": switch (Loader.jayce) { case 0: SebbyLib.Program.GameOnOnGameLoad(); break; case 1: Jayce.Jayce.OnLoad(); break; default: SebbyLib.Program.GameOnOnGameLoad(); break; } break; case "xerath": switch (Loader.xerath) { case 0: SebbyLib.Program.GameOnOnGameLoad(); break; case 1: ElXerath.Xerath.Game_OnGameLoad(); break; default: SebbyLib.Program.GameOnOnGameLoad(); break; } break; case "ezreal": switch (Loader.ezreal) { case 0: SebbyLib.Program.GameOnOnGameLoad(); break; case 1: iDZEzreal.EzrealBootstrap.OnGameLoad(); break; default: SebbyLib.Program.GameOnOnGameLoad(); break; } break; case "ekko": // OKTW & ElEkko switch (Loader.ekko) { case 0: SebbyLib.Program.GameOnOnGameLoad(); break; case 1: ElEkko.ElEkko.OnLoad(); break; default: SebbyLib.Program.GameOnOnGameLoad(); break; } break; case "graves": // OKTW Graves & D-Graves switch (Loader.graves) { case 0: SebbyLib.Program.GameOnOnGameLoad(); break; case 1: D_Graves.Program.Game_OnGameLoad(); break; default: SebbyLib.Program.GameOnOnGameLoad(); break; } break; case "ahri": switch (Loader.ahri) { case 0: SebbyLib.Program.GameOnOnGameLoad(); break; case 1: AhriSharp.Ahri.Ahri_Load(); break; default: SebbyLib.Program.GameOnOnGameLoad(); break; } break; case "anivia": // OKTW - Sebby - All Seeby champs go down here case "thresh": case "annie": case "braum": case "jinx": case "karthus": case "missfortune": case "malzahar": case "orianna": case "sivir": case "syndra": case "velkoz": case "swain": case "urgot": SebbyLib.Program.GameOnOnGameLoad(); break; case "azir": // Synx Auto Carry HeavenStrikeAzir.Program.Game_OnGameLoad(); break; case "bard": // Dreamless Wanderer PortAIO.Champion.Bard.Program.OnLoad(); break; case "blitzcrank": // Fresh Booster & OKTW switch (Loader.blitzcrank) { case 0: PortAIO.Champion.Blitzcrank.Program.OnLoad(); break; case 1: SebbyLib.Program.GameOnOnGameLoad(); break; default: PortAIO.Champion.Blitzcrank.Program.OnLoad(); break; } break; case "brand": // TheBrand (or OKTWBrand) switch (Loader.brand) { case 0: PortAIO.Champion.Brand.Program.Load(); break; case 1: SebbyLib.Program.GameOnOnGameLoad(); break; default: PortAIO.Champion.Brand.Program.Load(); break; } break; case "cassiopeia": // Synx Auto Carry Champion = new SAutoCarry.Champions.Cassiopeia(); break; case "chogath": // Underrated Cho'Gath UnderratedAIO.Champions.Chogath.Load(); break; case "corki": // ElCorki & OKTW switch (Loader.corki) { case 0: ElCorki.Corki.Game_OnGameLoad(); break; case 1: SebbyLib.Program.GameOnOnGameLoad(); break; case 2: D_Corki.Program.Game_OnGameLoad(); break; default: ElCorki.Corki.Game_OnGameLoad(); break; } break; case "darius": // Exory & OKTW switch (Loader.darius) { case 0: ExorAIO.Core.Bootstrap.BuildMenu(); ExorAIO.Core.Bootstrap.LoadChampion(); break; case 1: SebbyLib.Program.GameOnOnGameLoad(); break; default: ExorAIO.Core.Bootstrap.BuildMenu(); ExorAIO.Core.Bootstrap.LoadChampion(); break; } break; case "nautilus": case "nunu": case "olaf": case "pantheon": case "renekton": case "tryndamere": ExorAIO.Core.Bootstrap.BuildMenu(); ExorAIO.Core.Bootstrap.LoadChampion(); break; case "ryze": switch (Loader.ryze) { case 0: ExorAIO.Core.Bootstrap.BuildMenu(); ExorAIO.Core.Bootstrap.LoadChampion(); break; case 1: ElEasy.Plugins.Ryze f = new ElEasy.Plugins.Ryze(); f.Load(); break; default: ExorAIO.Core.Bootstrap.BuildMenu(); ExorAIO.Core.Bootstrap.LoadChampion(); break; } break; case "diana": switch (Loader.diana) { case 0: ElDiana.Diana.OnLoad(); break; case 1: Nechrito_Diana.Program.Game_OnGameLoad(); break; default: ElDiana.Diana.OnLoad(); break; } break; case "drmundo": // Hestia's Mundo Mundo.Mundo.OnLoad(); break; case "draven": // UltimaDraven switch (Loader.draven) { case 0: RevampedDraven.Program.OnLoad(); break; case 1: Tyler1.Program.Load(); break; default: RevampedDraven.Program.OnLoad(); break; } break; case "elise": switch (Loader.elise) { case 0: GFUELElise.Elise.OnGameLoad(); break; case 1: D_Elise.Program.Game_OnGameLoad(); break; default: GFUELElise.Elise.OnGameLoad(); break; } break; case "evelynn": // Evelynn# switch (Loader.evelynn) { case 0: Evelynn.Program.Game_OnGameLoad(); break; case 1: SebbyLib.Program.GameOnOnGameLoad(); break; default: Evelynn.Program.Game_OnGameLoad(); break; } break; case "fiddlesticks": // Feedlesticks Feedlesticks.Program.Game_OnGameLoad(); break; case "fiora": // Underrated AIO FioraProject.Program.Game_OnGameLoad(); break; case "fizz": // Math Fizz MathFizz.Program.Game_OnGameLoad(); break; case "galio": // Underrated AIO UnderratedAIO.Champions.Galio.OnLoad(); break; case "gangplank": // Underrated AIO & BadaoKingdom switch (Loader.gangplank) { case 0: UnderratedAIO.Champions.Gangplank.OnLoad(); break; default: UnderratedAIO.Champions.Gangplank.OnLoad(); break; } break; case "garen": // Underrated AIO UnderratedAIO.Champions.Garen.OnLoad(); break; case "gnar": // Slutty Gnar Slutty_Gnar_Reworked.Gnar.OnLoad(); break; case "gragas": // Gragas - Drunk Carry switch (Loader.gragas) { case 0: GragasTheDrunkCarry.Gragas.Game_OnGameLoad(); break; case 1: Nechrito_Gragas.Program.OnGameLoad(); break; default: GragasTheDrunkCarry.Gragas.Game_OnGameLoad(); break; } break; case "hecarim": // JustyHecarim JustHecarim.Program.OnLoad(); break; case "heimerdinger": // 2 Girls 1 Dong Two_Girls_One_Donger.Program.Game_OnGameLoad(); break; case "illaoi": // Tentacle Kitty Illaoi___Tentacle_Kitty.Program.Game_OnGameLoad(); break; case "irelia": // Challenger Series Irelia Challenger_Series.Irelia.OnLoad(); break; case "janna": // LCS Janna LCS_Janna.Program.OnGameLoad(); break; case "jarvaniv": // BrianSharp BrianSharp.Plugin.JarvanIV.OnLoad(); break; case "jax": // xqx switch (Loader.jax) { case 0: JaxQx.Program.Game_OnGameLoad(); break; case 1: NoobJaxReloaded.Program.Game_OnGameLoad(); break; default: JaxQx.Program.Game_OnGameLoad(); break; } break; case "jhin": // Jhin The Virtuoso & OKTW switch (Loader.jhin) { case 0: Jhin___The_Virtuoso.Jhin.JhinOnLoad(); break; case 1: SebbyLib.Program.GameOnOnGameLoad(); break; default: Jhin___The_Virtuoso.Jhin.JhinOnLoad(); break; } break; case "kalista": // iKalista switch (Loader.kalista) { case 0: new IKalista.Kalista(); break; case 1: new iKalistaReborn.Kalista(); break; case 2: Challenger_Series.Program.Main(); break; default: new iKalistaReborn.Kalista(); break; } break; case "karma": // Karma by Eskor Karma.Program.Game_OnGameLoad(); break; case "kassadin": // Kassawin Kassawin.Kassadin.OnLoad(); break; case "katarina": // Staberina switch (Loader.katarina) { case 0: new Staberina.Katarina(); break; case 1: e.Motion_Katarina.Program.Game_OnGameLoad(); break; default: new Staberina.Katarina(); break; } break; case "kayle": // SephKayle switch (Loader.kayle) { case 0: SephKayle.Program.OnGameLoad(); break; case 1: SebbyLib.Program.GameOnOnGameLoad(); break; default: SephKayle.Program.OnGameLoad(); break; } break; case "aurelionsol": // El Aurelion Sol ElAurelion_Sol.AurelionSol.OnGameLoad(); break; case "kennen": // Underrated AIO new UnderratedAIO.Champions.Kennen(); break; case "khazix": // SephKhaZix new SephKhazix.Khazix(); break; case "kindred": // Yin Yang Kindred & OKTW switch (Loader.kindred) { case 0: Kindred___YinYang.Program.Game_OnGameLoad(); break; case 1: SebbyLib.Program.GameOnOnGameLoad(); break; default: Kindred___YinYang.Program.Game_OnGameLoad(); break; } break; case "kogmaw": switch (Loader.kogmaw) { case 0: KogMaw.Program.OnLoad(); break; case 1: Challenger_Series.Program.Main(); break; case 2: SebbyLib.Program.GameOnOnGameLoad(); break; default: Challenger_Series.Program.Main(); break; } break; case "leblanc": // PopBlanc switch (Loader.leblanc) { case 0: PopBlanc.Program.OnLoad(); break; case 1: Leblanc.Program.Game_OnGameLoad(); break; default: PopBlanc.Program.OnLoad(); break; } break; case "leesin": // El Lee Sin switch (Loader.leesin) { case 0: Valvrave_Sharp.Program.MainA(); break; case 1: ElLeeSin.Program.Game_OnGameLoad(); break; case 2: new FreshBooster.Champion.LeeSin(); break; default: Valvrave_Sharp.Program.MainA(); break; } break; case "leona": // El Easy new ElEasy.Plugins.Leona(); break; case "lissandra": // SephLissandra SephLissandra.Lissandra.OnLoad(); break; case "lucian": // LCS Lucian switch (Loader.lucian) { case 0: LCS_Lucian.Program.OnLoad(); break; case 1: Challenger_Series.Program.Main(); break; case 2: var lucian = new Lucian(); lucian.OnLoad(); break; default: LCS_Lucian.Program.OnLoad(); break; } break; case "lulu": // LuluLicious new LuluLicious.Lulu(); break; case "lux": // MoonLux switch (Loader.lux) { case 0: MoonLux.Program.GameOnOnGameLoad(); break; case 1: SebbyLib.Program.GameOnOnGameLoad(); break; default: MoonLux.Program.GameOnOnGameLoad(); break; } break; case "malphite": // eleasy new ElEasy.Plugins.Malphite(); break; case "vayne": switch (Loader.vayne) { case 0: Vayne.Program.OnLoad(); break; case 1: VayneHunter_Reborn.Program.Game_OnGameLoad(); break; case 2: hi_im_gosu.Vayne.Game_OnGameLoad(); break; default: Vayne.Program.OnLoad(); break; } break; case "quinn": // GFuel Quinn & OKTW switch (Loader.quinn) { case 0: GFUELQuinn.Quinn.OnGameLoad(); break; case 1: SebbyLib.Program.GameOnOnGameLoad(); break; default: GFUELQuinn.Quinn.OnGameLoad(); break; } break; case "tristana": // ElTristana ElTristana.Tristana.OnLoad(); break; case "riven": // Nechrito Riven & Badao Riven switch (Loader.riven) { case 0: NechritoRiven.Program.OnGameLoad(); break; case 1: HeavenStrikeRiven.Program.OnStart(); break; default: NechritoRiven.Program.OnGameLoad(); break; } break; case "talon": // GFuel Talon GFUELTalon.Talon.OnGameLoad(); break; case "zed": // iZed switch (Loader.zed) { case 0: Valvrave_Sharp.Program.MainA(); break; case 1: Zed.Program.Game_OnGameLoad(); break; case 2: iDZed.Zed.OnLoad(); break; default: Valvrave_Sharp.Program.MainA(); break; } break; case "udyr": // D_Udyr D_Udyr.Program.Game_OnGameLoad(); break; case "maokai": // Underrated AIO new UnderratedAIO.Champions.Maokai(); break; case "masteryi": // MasterSharp MasterSharp.MasterSharp.OnLoad(); break; case "mordekaiser": // How to Train your dragon Mordekaiser.Program.Game_OnGameLoad(); break; case "morgana": // Kurisu Morg & OKTW switch (Loader.morgana) { case 0: new KurisuMorgana.KurisuMorgana(); break; case 1: SebbyLib.Program.GameOnOnGameLoad(); break; default: new KurisuMorgana.KurisuMorgana(); break; } break; case "nami": // vSupport Series new vSupport_Series.Champions.Nami(); break; case "nasus": // Underrated AIO new UnderratedAIO.Champions.Nasus(); break; case "nidalee": switch (Loader.nidalee) { case 0: KurisuNidalee.KurisuNidalee.Game_OnGameLoad(); break; case 1: Nechrito_Nidalee.Program.OnLoad(); break; default: KurisuNidalee.KurisuNidalee.Game_OnGameLoad(); break; } break; case "yasuo": // YasuPro switch (Loader.yasuo) { case 0: Valvrave_Sharp.Program.MainA(); break; case 1: YasuoPro.Initalization.Main(); break; case 2: GosuMechanicsYasuo.Program.Game_OnGameLoad(); break; default: Valvrave_Sharp.Program.MainA(); break; } break; case "nocturne": // Underrated AIO new UnderratedAIO.Champions.Nocturne(); break; case "poppy": // Underrated AIO switch (Loader.poppy) { case 0: new UnderratedAIO.Champions.Poppy(); break; case 1: BadaoKingdom.BadaoChampion.BadaoPoppy.BadaoPoppy.BadaoActivate(); break; default: new UnderratedAIO.Champions.Poppy(); break; } break; case "rammus": // BrianSharp new BrianSharp.Plugin.Rammus(); break; case "rengar": // ElRengar && D-Rengar switch (Loader.rengar) { case 0: ElRengarRevamped.Rengar.OnLoad(); break; case 1: D_Rengar.Program.Game_OnGameLoad(); break; default: ElRengarRevamped.Rengar.OnLoad(); break; } break; case "soraka": // Sophie's Soraka switch (Loader.soraka) { case 0: Sophies_Soraka.SophiesSoraka.OnGameLoad(); break; case 1: Challenger_Series.Program.Main(); break; default: Challenger_Series.Program.Main(); break; } break; case "twistedfate": // Twisted Fate by Kortatu & OKTW switch (Loader.twistedfate) { case 0: TwistedFate.Program.Game_OnGameLoad(); break; case 1: SebbyLib.Program.GameOnOnGameLoad(); break; default: TwistedFate.Program.Game_OnGameLoad(); break; } break; case "varus": // ElVarus Elvarus.Varus.Game_OnGameLoad(); break; case "veigar": // FreshBooster new FreshBooster.Champion.Veigar(); break; case "reksai": // D-Reksai && HeavenStrikeReksaj switch (Loader.reksai) { case 0: D_RekSai.Program.Game_OnGameLoad(); break; case 1: HeavenStrikeReksaj.Program.Game_OnGameLoad(); break; default: D_RekSai.Program.Game_OnGameLoad(); break; } break; case "rumble": // Underrated AIO & ElRumble switch (Loader.rumble) { case 0: new UnderratedAIO.Champions.Rumble(); break; case 1: ElRumble.Rumble.OnLoad(); break; default: ElRumble.Rumble.OnLoad(); break; } break; case "sejuani": // ElSejuani ElSejuani.Sejuani.OnLoad(); break; case "shaco": // Underrated AIO & ChewyMoon's Shaco switch (Loader.shaco) { case 0: new UnderratedAIO.Champions.Shaco(); break; case 1: ChewyMoonsShaco.ChewyMoonShaco.OnGameLoad(); break; default: new UnderratedAIO.Champions.Shaco(); break; } break; case "shen": // Underrated AIO new UnderratedAIO.Champions.Shen(); break; case "skarner": // Underrated AIO new UnderratedAIO.Champions.Skarner(); break; case "sona": // vSeries Support & ElEasy Sona switch (Loader.sona) { case 0: new vSupport_Series.Champions.Sona(); break; case 1: ElEasy.Plugins.Sona f = new ElEasy.Plugins.Sona(); f.Load(); break; default: new vSupport_Series.Champions.Sona(); break; } break; case "teemo": // Sharpshooter new SharpShooter.Plugins.Teemo(); break; case "viktor": // Trus In my Viktor Viktor.Program.Game_OnGameLoad(); break; case "vladimir": // ElVlad ElVladimirReborn.Vladimir.OnLoad(); break; case "warwick": // Warwick - Mirin Warwick.Program.Game_OnGameLoad(); break; case "monkeyking": // Wukong - xQx Wukong.Program.Game_OnGameLoad(); break; case "xinzhao": // Xin xQx XinZhao.Program.Game_OnGameLoad(); break; case "ziggs": // Ziggs# Ziggs.Program.Game_OnGameLoad(); break; case "yorick": // UnderratedAIO new UnderratedAIO.Champions.Yorick(); break; case "zyra": // D-Zyra D_Zyra.Program.Game_OnGameLoad(); break; case "zilean": // ElZilean ElZilean.Zilean.Game_OnGameLoad(); break; case "shyvana": // D-Shyvana D_Shyvana.Program.Game_OnGameLoad(); break; case "singed": // ElSinged ElSinged.Singed.Game_OnGameLoad(); break; case "zac": // Underrated AIO new UnderratedAIO.Champions.Zac(); break; case "tahmkench": // Underrated AIO new UnderratedAIO.Champions.TahmKench(); break; case "sion": // Underrated AIO switch (Loader.sion) { case 0: new UnderratedAIO.Champions.Sion(); break; case 1: Sion.Program.Game_OnGameLoad(); break; default: new UnderratedAIO.Champions.Sion(); break; } break; case "vi": //ElVi ElVi.Vi.OnLoad(); break; case "volibear": // Underrated AIO && VoliPower switch (Loader.volibear) { case 0: new UnderratedAIO.Champions.Volibear(); break; case 1: VoliPower.Program.Game_OnLoad(); break; default: new UnderratedAIO.Champions.Volibear(); break; } break; case "trundle": // ElTrundle switch (Loader.trundle) { case 0: ElTrundle.Trundle.OnLoad(); break; case 1: FastTrundle.Trundle.Game_OnGameLoad(); break; default: ElTrundle.Trundle.OnLoad(); break; } break; case "taric": // SkyLv_Taric new SkyLv_Taric.SkyLv_Taric(); break; default: Chat.Print("This champion is not supported yet but the utilities will still load! - Berb"); break; } } }
public void LoadOKTW() { Config.SubMenu("About OKTW©").AddItem(new MenuItem("logo", "Intro logo OKTW").SetValue(true)); if (Config.Item("logo").GetValue<bool>()) { Intro = new Render.Sprite(LoadImg("intro"), new Vector2((Drawing.Width / 2) - 500, (Drawing.Height / 2) - 350)); Intro.Add(0); Intro.OnDraw(); } Utility.DelayAction.Add(7000, () => Intro.Remove()); Config.SubMenu("Utility, Draws OKTW©").AddItem(new MenuItem("disableDraws", "Disable Utility draws").SetValue(false)); //Config.SubMenu("Utility, Draws OKTW©").AddItem(new MenuItem("disableChampion", "Disable AIO champion (utility mode only) need F5").SetValue(false)); Config.SubMenu("Utility, Draws OKTW©").SubMenu("Draw AAcirlce OKTW© style").AddItem(new MenuItem("OrbDraw", "Draw AAcirlce OKTW© style").SetValue(false)); Config.SubMenu("Utility, Draws OKTW©").SubMenu("Draw AAcirlce OKTW© style").AddItem(new MenuItem("orb", "Orbwalker target OKTW© style").SetValue(true)); Config.SubMenu("Utility, Draws OKTW©").SubMenu("Draw AAcirlce OKTW© style").AddItem(new MenuItem("1", "pls disable Orbwalking > Drawing > AAcirlce")); Config.SubMenu("Utility, Draws OKTW©").SubMenu("Draw AAcirlce OKTW© style").AddItem(new MenuItem("2", "My HP: 0-30 red, 30-60 orange,60-100 green")); Config.SubMenu("Utility, Draws OKTW©").SubMenu("ChampionInfo").AddItem(new MenuItem("championInfo", "Game Info").SetValue(true)); Config.SubMenu("Utility, Draws OKTW©").SubMenu("ChampionInfo").AddItem(new MenuItem("ShowKDA", "Show flash and R info").SetValue(true)); Config.SubMenu("Utility, Draws OKTW©").SubMenu("ChampionInfo").AddItem(new MenuItem("GankAlert", "Gank Alert").SetValue(true)); Config.SubMenu("Utility, Draws OKTW©").SubMenu("ChampionInfo").AddItem(new MenuItem("posX", "posX").SetValue(new Slider(20, 100, 0))); Config.SubMenu("Utility, Draws OKTW©").SubMenu("ChampionInfo").AddItem(new MenuItem("posY", "posY").SetValue(new Slider(10, 100, 0))); Config.SubMenu("Utility, Draws OKTW©").AddItem(new MenuItem("HpBar", "Dmg indicators BAR OKTW© style").SetValue(true)); Config.SubMenu("Utility, Draws OKTW©").AddItem(new MenuItem("ShowClicks", "Show enemy clicks").SetValue(true)); Config.SubMenu("Utility, Draws OKTW©").AddItem(new MenuItem("SS", "SS notification").SetValue(true)); Config.SubMenu("Utility, Draws OKTW©").AddItem(new MenuItem("showWards", "Show hidden objects, wards").SetValue(true)); Config.SubMenu("Utility, Draws OKTW©").AddItem(new MenuItem("minimap", "Mini-map hack").SetValue(true)); if (Program.AIOmode != 2) { Config.SubMenu(Player.ChampionName).SubMenu("Farm").SubMenu("SPELLS FARM TOGGLE").AddItem(new MenuItem("spellFarm", "OKTW spells farm").SetValue(true)).Show(); Config.SubMenu(Player.ChampionName).SubMenu("Farm").SubMenu("SPELLS FARM TOGGLE").AddItem(new MenuItem("spellFarmMode", "SPELLS FARM TOGGLE MODE").SetValue(new StringList(new[] { "Scroll down", "Scroll press", "Key toggle", "Disable" }, 1))); Config.SubMenu(Player.ChampionName).SubMenu("Farm").SubMenu("SPELLS FARM TOGGLE").AddItem(new MenuItem("spellFarmKeyToggle", "Key toggle").SetValue(new KeyBind("N".ToCharArray()[0], KeyBindType.Toggle))); Config.SubMenu(Player.ChampionName).SubMenu("Farm").SubMenu("SPELLS FARM TOGGLE").AddItem(new MenuItem("showNot", "Show notification").SetValue(true)); Config.Item("spellFarm").Permashow(true); } Tahoma13B = new Font( Drawing.Direct3DDevice, new FontDescription { FaceName = "Tahoma", Height = 14, Weight = FontWeight.Bold, OutputPrecision = FontPrecision.Default, Quality = FontQuality.ClearType }); Tahoma13 = new Font( Drawing.Direct3DDevice, new FontDescription { FaceName = "Tahoma", Height = 14, OutputPrecision = FontPrecision.Default, Quality = FontQuality.ClearType }); TextBold = new Font(Drawing.Direct3DDevice, new FontDescription {FaceName = "Impact", Height = 30, Weight = FontWeight.Normal, OutputPrecision = FontPrecision.Default, Quality = FontQuality.ClearType}); Q = new Spell(SpellSlot.Q); E = new Spell(SpellSlot.E); W = new Spell(SpellSlot.W); R = new Spell(SpellSlot.R); Game.OnUpdate += Game_OnUpdate; Drawing.OnDraw += OnDraw; Drawing.OnEndScene += Drawing_OnEndScene; Game.OnWndProc += Game_OnWndProc; }
private static void Game_OnUpdate(EventArgs args) { Co.OnDraw(); }
private static void Game_OnGameLoad() { try { zedlogo = new Render.Sprite(LoadImg("zedlogo"), new Vector2(Drawing.Width / 2 - 500, Drawing.Height / 2 - 350)); zedlogo.Add(0); zedlogo.OnDraw(); DelayAction.Add(7000, () => zedlogo.Remove()); _player = ObjectManager.Player; if (ObjectManager.Player.CharacterName != ChampionName) { return; } _q = new Spell(SpellSlot.Q, 900f); _w = new Spell(SpellSlot.W, 700f); _e = new Spell(SpellSlot.E, 270f); _r = new Spell(SpellSlot.R, 650f); _q.SetSkillshot(0.25f, 50f, 1700f, false, SkillshotType.Line); _bilge = new Items.Item(3144, 475f); _blade = new Items.Item(3153, 425f); _hydra = new Items.Item(3074, 250f); _tiamat = new Items.Item(3077, 250f); _rand = new Items.Item(3143, 490f); _lotis = new Items.Item(3190, 590f); _youmuu = new Items.Item(3142, 10); _igniteSlot = _player.GetSpellSlot("SummonerDot"); var enemy = from hero in ObjectManager.Get <AIHeroClient>() where hero.IsEnemy == true select hero; var _config = new Menu("zedisback", "011110001.Zed", true); var combo = new Menu("combat", "[COMBO] Settings"); combo.Add(_combo.Ult); combo.Add(_combo.Wgap); combo.Add(_combo.Ig); combo.Add(_combo.Cmode); var harass = new Menu("harass", "[HARASS] Settings"); harass.Add(_harass.Wh); harass.Add(_harass.energia); var clear = new Menu("clear", "[LANE CLEAR] Settings"); clear.Add(_clear.Qlane); clear.Add(_clear.Elane); clear.Add(_clear.energia); var misc = new Menu("clear", "[MISC] Settings"); misc.Add(_misc.Qks); misc.Add(_misc.Eks); var dodge = new Menu("dodge", "[ULTIMATE] Settings"); foreach (var e in enemy) { SpellDataInstClient rdata = e.Spellbook.GetSpell(SpellSlot.R); if (DangerDB.DangerousList.Any(spell => spell.Contains(rdata.SData.Name))) { dodge.Add(new MenuBool(rdata.SData.Name, rdata.SData.Name)); } } _config.Add(combo); _config.Add(harass); _config.Add(clear); _config.Add(misc); _config.Add(dodge); _config.Attach(); Game.OnUpdate += Game_OnUpdate; Drawing.OnDraw += Drawing_OnDraw; //AIBaseClient.OnProcessSpellCast += OnProcessSpell; } catch { } }
public void LoadOKTW() { Flash = ImageLoader.CreateSummonerSprite("Flash"); Heal = ImageLoader.CreateSummonerSprite("Heal"); Exhaust = ImageLoader.CreateSummonerSprite("Exhaust"); Teleport = ImageLoader.CreateSummonerSprite("Teleport"); Ignite = ImageLoader.CreateSummonerSprite("Ignite"); Barrier = ImageLoader.CreateSummonerSprite("Barrier"); Clairvoyance = ImageLoader.CreateSummonerSprite("Clairvoyance"); Cleanse = ImageLoader.CreateSummonerSprite("Cleanse"); Ghost = ImageLoader.CreateSummonerSprite("Ghost"); Smite = ImageLoader.CreateSummonerSprite("Smite"); Ultimate = ImageLoader.CreateSummonerSprite("r"); Pink = ImageLoader.CreateSummonerSprite("pink"); Pink.Scale = new Vector2(0.15f, 0.15f); Ward = ImageLoader.CreateSummonerSprite("ward"); Ward.Scale = new Vector2(0.15f, 0.15f); PinkMM = ImageLoader.CreateSummonerSprite("WT_Pink"); WardMM = ImageLoader.CreateSummonerSprite("WT_Green"); Not = ImageLoader.GetSprite("not"); FlashS = ImageLoader.GetSprite("Flash"); HealS = ImageLoader.GetSprite("Heal"); ExhaustS = ImageLoader.GetSprite("Exhaust"); TeleportS = ImageLoader.GetSprite("Teleport"); IgniteS = ImageLoader.GetSprite("Ignite"); BarrierS = ImageLoader.GetSprite("Barrier"); ClairvoyanceS = ImageLoader.GetSprite("Clairvoyance"); CleanseS = ImageLoader.GetSprite("Cleanse"); GhostS = ImageLoader.GetSprite("Ghost"); SmiteS = ImageLoader.GetSprite("Smite"); UltimateS = ImageLoader.GetSprite("r"); Isready = ImageLoader.GetSprite("isready"); Lost = ImageLoader.GetSprite("lost"); Config.SubMenu("About OKTW©").AddItem(new MenuItem("logo", "Intro logo OKTW").SetValue(true)); if (Config.Item("logo").GetValue<bool>()) { Intro = new Render.Sprite(LoadImg("intro"), new Vector2((Drawing.Width / 2) - 500, (Drawing.Height / 2) - 350)); Intro.Add(0); Intro.OnDraw(); } Utility.DelayAction.Add(7000, () => Intro.Remove()); Config.SubMenu("Utility, Draws OKTW©").SubMenu("Hud").AddItem(new MenuItem("championInfo", "Show enemy avatars").SetValue(true)); Config.SubMenu("Utility, Draws OKTW©").SubMenu("Hud").AddItem(new MenuItem("championInfoHD", "Full HD screen size").SetValue(true)); Config.SubMenu("Utility, Draws OKTW©").SubMenu("Hud").AddItem(new MenuItem("posX", "posX").SetValue(new Slider(839, 1000, 0))); Config.SubMenu("Utility, Draws OKTW©").SubMenu("Hud").AddItem(new MenuItem("posY", "posY").SetValue(new Slider(591, 1000, 0))); Config.SubMenu("Utility, Draws OKTW©").SubMenu("Screen").AddItem(new MenuItem("Notification", "Notifications").SetValue(true)); Config.SubMenu("Utility, Draws OKTW©").SubMenu("Screen").SubMenu("Awareness radar").AddItem(new MenuItem("ScreenRadar", "Enable").SetValue(true)); Config.SubMenu("Utility, Draws OKTW©").SubMenu("Screen").SubMenu("Awareness radar").AddItem(new MenuItem("ScreenRadarEnemy", "Only enemy").SetValue(true)); Config.SubMenu("Utility, Draws OKTW©").SubMenu("Screen").SubMenu("Awareness radar").AddItem(new MenuItem("ScreenRadarJungler", "Only jungler").SetValue(true)); Config.SubMenu("Utility, Draws OKTW©").SubMenu("Screen").AddItem(new MenuItem("HpBar", "Damage indicators").SetValue(true)); Config.SubMenu("Utility, Draws OKTW©").SubMenu("Screen").SubMenu("Spell tracker").AddItem(new MenuItem("SpellTrackerEnemy", "Enemy").SetValue(true)); Config.SubMenu("Utility, Draws OKTW©").SubMenu("Screen").SubMenu("Spell tracker").AddItem(new MenuItem("SpellTrackerAlly", "Ally").SetValue(true)); Config.SubMenu("Utility, Draws OKTW©").SubMenu("Screen").SubMenu("Spell tracker").AddItem(new MenuItem("SpellTrackerMe", "Me").SetValue(true)); Config.SubMenu("Utility, Draws OKTW©").SubMenu("Screen").SubMenu("Spell tracker").AddItem(new MenuItem("SpellTrackerLvl", "Show spell lvl (can drop fps)").SetValue(true)); Config.SubMenu("Utility, Draws OKTW©").SubMenu("Screen").AddItem(new MenuItem("ShowClicks", "Show enemy clicks").SetValue(true)); Config.SubMenu("Utility, Draws OKTW©").SubMenu("Screen").AddItem(new MenuItem("showWards", "Show hidden objects, wards").SetValue(true)); Config.SubMenu("Utility, Draws OKTW©").SubMenu("Minimap").AddItem(new MenuItem("minimap", "Mini-map hack").SetValue(true)); Config.SubMenu("Utility, Draws OKTW©").AddItem(new MenuItem("disableDraws", "DISABLE UTILITY DRAWS").SetValue(false)); Tahoma13B = new Font(Drawing.Direct3DDevice, new FontDescription { FaceName = "Tahoma", Height = 14, Weight = FontWeight.Bold, OutputPrecision = FontPrecision.Default, Quality = FontQuality.Antialiased }); Tahoma13 = new Font(Drawing.Direct3DDevice, new FontDescription { FaceName = "Tahoma", Height = 14, OutputPrecision = FontPrecision.Default, Quality = FontQuality.Antialiased }); TextBold = new Font(Drawing.Direct3DDevice, new FontDescription { FaceName = "Impact", Height = 30, Weight = FontWeight.Normal, OutputPrecision = FontPrecision.Default, Quality = FontQuality.Antialiased }); HudLevel = new Font(Drawing.Direct3DDevice, new FontDescription { FaceName = "Tahoma", Height = 17, Weight = FontWeight.Bold, OutputPrecision = FontPrecision.Default, Quality = FontQuality.Antialiased }); HudLevel2 = new Font(Drawing.Direct3DDevice, new FontDescription { FaceName = "Tahoma", Height = 12, Weight = FontWeight.Bold, OutputPrecision = FontPrecision.Default, Quality = FontQuality.Antialiased }); RecFont = new Font(Drawing.Direct3DDevice, new FontDescription { FaceName = "Tahoma", Height = 12, Weight = FontWeight.Bold, OutputPrecision = FontPrecision.Default, Quality = FontQuality.Antialiased }); HudCd = new Font(Drawing.Direct3DDevice, new FontDescription { FaceName = "Tahoma", Height = 11, Weight = FontWeight.Normal, OutputPrecision = FontPrecision.Default, Quality = FontQuality.Antialiased }); Drawing.OnEndScene += Drawing_OnEndScene; Game.OnUpdate += Game_OnUpdate; }
public void LoadOKTW() { Config.SubMenu("About OKTW©").AddItem(new MenuItem("logo", "Intro logo OKTW").SetValue(true)); if (Config.Item("logo").GetValue <bool>()) { Intro = new Render.Sprite(LoadImg("intro"), new Vector2((Drawing.Width / 2) - 500, (Drawing.Height / 2) - 350)); Intro.Add(0); Intro.OnDraw(); } Utility.DelayAction.Add(7000, () => Intro.Remove()); Config.SubMenu("Utility, Draws OKTW©").AddItem(new MenuItem("disableDraws", "Disable Utility draws").SetValue(false)); //Config.SubMenu("Utility, Draws OKTW©").AddItem(new MenuItem("disableChampion", "Disable AIO champion (utility mode only) need F5").SetValue(false)); Config.SubMenu("Utility, Draws OKTW©").SubMenu("Draw AAcirlce OKTW© style").AddItem(new MenuItem("OrbDraw", "Draw AAcirlce OKTW© style").SetValue(false)); Config.SubMenu("Utility, Draws OKTW©").SubMenu("Draw AAcirlce OKTW© style").AddItem(new MenuItem("orb", "Orbwalker target OKTW© style").SetValue(true)); Config.SubMenu("Utility, Draws OKTW©").SubMenu("Draw AAcirlce OKTW© style").AddItem(new MenuItem("1", "pls disable Orbwalking > Drawing > AAcirlce")); Config.SubMenu("Utility, Draws OKTW©").SubMenu("Draw AAcirlce OKTW© style").AddItem(new MenuItem("2", "My HP: 0-30 red, 30-60 orange,60-100 green")); Config.SubMenu("Utility, Draws OKTW©").SubMenu("ChampionInfo").AddItem(new MenuItem("championInfo", "Game Info").SetValue(true)); Config.SubMenu("Utility, Draws OKTW©").SubMenu("ChampionInfo").AddItem(new MenuItem("ShowKDA", "Show flash and R info").SetValue(true)); Config.SubMenu("Utility, Draws OKTW©").SubMenu("ChampionInfo").AddItem(new MenuItem("GankAlert", "Gank Alert").SetValue(true)); Config.SubMenu("Utility, Draws OKTW©").SubMenu("ChampionInfo").AddItem(new MenuItem("posX", "posX").SetValue(new Slider(20, 100, 0))); Config.SubMenu("Utility, Draws OKTW©").SubMenu("ChampionInfo").AddItem(new MenuItem("posY", "posY").SetValue(new Slider(10, 100, 0))); Config.SubMenu("Utility, Draws OKTW©").AddItem(new MenuItem("HpBar", "Dmg indicators BAR OKTW© style").SetValue(true)); Config.SubMenu("Utility, Draws OKTW©").AddItem(new MenuItem("ShowClicks", "Show enemy clicks").SetValue(true)); Config.SubMenu("Utility, Draws OKTW©").AddItem(new MenuItem("SS", "SS notification").SetValue(true)); Config.SubMenu("Utility, Draws OKTW©").AddItem(new MenuItem("showWards", "Show hidden objects , wards BETA").SetValue(true)); Config.SubMenu(Player.ChampionName).SubMenu("Farm").SubMenu("SPELLS FARM TOGGLE").AddItem(new MenuItem("spellFarm", "OKTW spells farm").SetValue(true)); Config.SubMenu(Player.ChampionName).SubMenu("Farm").SubMenu("SPELLS FARM TOGGLE").AddItem(new MenuItem("spellFarmMode", "SPELLS FARM TOGGLE MODE").SetValue(new StringList(new[] { "Scroll down", "Scroll press", "Key toggle", "Disable" }, 1))); Config.SubMenu(Player.ChampionName).SubMenu("Farm").SubMenu("SPELLS FARM TOGGLE").AddItem(new MenuItem("spellFarmKeyToggle", "Key toggle").SetValue(new KeyBind("N".ToCharArray()[0], KeyBindType.Toggle))); Config.SubMenu(Player.ChampionName).SubMenu("Farm").SubMenu("SPELLS FARM TOGGLE").AddItem(new MenuItem("showNot", "Show notification").SetValue(true)); Config.Item("spellFarm").Permashow(true); Tahoma13B = new Font(Drawing.Direct3DDevice, new FontDescription { FaceName = "Tahoma", Height = 14, Weight = FontWeight.Bold, OutputPrecision = FontPrecision.Default, Quality = FontQuality.ClearType }); Tahoma13 = new Font(Drawing.Direct3DDevice, new FontDescription { FaceName = "Tahoma", Height = 14, OutputPrecision = FontPrecision.Default, Quality = FontQuality.ClearType }); TextBold = new Font(Drawing.Direct3DDevice, new FontDescription { FaceName = "Impact", Height = 30, Weight = FontWeight.Normal, OutputPrecision = FontPrecision.Default, Quality = FontQuality.ClearType }); Q = new Spell(SpellSlot.Q); E = new Spell(SpellSlot.E); W = new Spell(SpellSlot.W); R = new Spell(SpellSlot.R); Game.OnUpdate += Game_OnUpdate; Drawing.OnDraw += OnDraw; Drawing.OnEndScene += Drawing_OnEndScene; Game.OnWndProc += Game_OnWndProc; }