protected override void InitializeCore() { ShowDebug = true; Skin skin = new Skin(new TextureAtlas(Context.GraphicsDevice, "Data/uiskin.atlas")); skin.Add("white", Color.White); skin.Add("red", Color.Red); skin.Add("default-font", new BitmapFont(Context.GraphicsDevice, "Data/default.fnt", false)); skin.Add("default", new TextButtonStyle() { Down = skin.GetDrawable("default-round-down"), Up = skin.GetDrawable("default-round"), Font = skin.GetFont("default-font"), FontColor = skin.GetColor("white"), }); _stage = new Stage(Context.Window.ClientBounds.Width, Context.Window.ClientBounds.Height, false, Context.GraphicsDevice); Context.Input.Processor = _stage; TextButton button = new TextButton("Button " + 0, skin) { X = 200, Y = 200, Width = 150, Height = 100, /*X = _rand.Next(0, Context.GraphicsDevice.Viewport.Width - 200), Y = _rand.Next(0, Context.GraphicsDevice.Viewport.Height - 100), Width = _rand.Next(50, 200), Height = _rand.Next(0, 100),*/ }; _stage.AddActor(button); Context.Window.ClientSizeChanged += (s, e) => { _stage.SetViewport(Context.Window.ClientBounds.Width, Context.Window.ClientBounds.Height, false); }; }
public static void Load() { // Combo ComboMenu = MainMenu.Add(new Menu("ComboMenu", "Combo")); ComboMode = ComboMenu.Add(new MenuList <string>("ComboMode", "Combo Mode", new[] { "Gank", "Triple Q", "Ap Combo", "OneShot" })); // Misc Misc = MainMenu.Add(new Menu("Misc", "Misc")); KillStealSummoner = Misc.Add(new MenuBool("KillStealSummoner", "KillSteal Summoner", true)); UseItem = Misc.Add(new MenuBool("UseItem", "Use Items", true)); StackLastHit = Misc.Add(new MenuBool("StackLastHit", "Stack In Lasthit", true)); ChangeComboMode = Misc.Add(new MenuKeyBind("ChangeComboMode", "Change ComboMode", System.Windows.Forms.Keys.L, KeyBindType.Press)); Passive = Misc.Add(new MenuKeyBind("Passive", "Passive", System.Windows.Forms.Keys.G, KeyBindType.Toggle)); // Draw Draw = MainMenu.Add(new Menu("Draw", "Draw")); DrawCombo = Draw.Add(new MenuBool("DrawCombo", "Draw ComboMode", true)); DrawAnim = Draw.Add(new MenuBool("DrawAnim", "Draw Animation", true)); DrawHelp = Draw.Add(new MenuBool("DrawHelp", "Draw Tips", true)); Dind = Draw.Add(new MenuBool("dind", "Damage Indicator", true)); EngageDraw = Draw.Add(new MenuBool("EngageDraw", "Draw Engage", true)); // Skin Skin = MainMenu.Add(new Menu("SkinChanger", "SkinChanger")); UseSkin = Skin.Add(new MenuBool("UseSkin", "Use SkinChanger")); SkinChanger = Skin.Add(new MenuList <string>("Skins", "Skins", new[] { "Default", "Headhunter Rengar", "Night Hunter Rengar", "SSW Rengar" })); MainMenu.Attach(); }
/// <summary> /// Creates skin styles /// </summary> /// <param name="contentManager">Content manager</param> public GameSkin(NezContentManager contentManager) { Skin = new Skin(); Skin.Add("title-label", new LabelStyle() { Font = contentManager.LoadBitmapFont(Content.OswaldTitleFont) }); Skin.Add("label", new LabelStyle() { Font = contentManager.LoadBitmapFont(Content.DefaultTitleFont) }); var inputCursor = new PrimitiveDrawable(Color.Black); inputCursor.MinHeight = 10; inputCursor.MinWidth = 5; var font = contentManager.LoadBitmapFont(Content.DefaultTitleFont); font.FontSize = 24; var style = Skin.Add("inputfield", new TextFieldStyle() { Font = font, FontColor = Color.Black, Cursor = inputCursor, FocusedBackground = new PrimitiveDrawable(Color.Gray), Background = new PrimitiveDrawable(Color.White), Selection = new PrimitiveDrawable(Color.Blue) }); Skin.Add("regular-button", TextButtonStyle.Create(Color.Gray, new Color(61, 9, 85), new Color(61, 9, 107))); var sliderStyle = SliderStyle.Create(Color.Yellow, new Color(61, 9, 107)); sliderStyle.Knob.MinWidth *= 1.5f; sliderStyle.Knob.MinHeight *= 1.5f; sliderStyle.Background.MinWidth *= 0.5f; Skin.Add("slider", sliderStyle); }
public static Skin GetSkin() { var skin = new Skin(); foreach (var s in GetControlStyles()) { skin.Add(s.Key, s.Value); } return(skin); }
protected override void InitializeCore() { ShowDebug = true; Skin skin = new Skin(new TextureAtlas(Context.GraphicsDevice, "Data/uiskin.atlas")); skin.Add("white", Color.White); skin.Add("red", Color.Red); skin.Add("default-font", new BitmapFont(Context.GraphicsDevice, "Data/default.fnt", false)); skin.Add("default", new TextButtonStyle() { Down = skin.GetDrawable("default-round-down"), Up = skin.GetDrawable("default-round"), Font = skin.GetFont("default-font"), FontColor = skin.GetColor("white"), }); _stage = new Stage(Context.Window.ClientBounds.Width, Context.Window.ClientBounds.Height, false, Context.GraphicsDevice); Context.Input.Processor = _stage; TextButton button = new TextButton("Button " + 0, skin) { X = 200, Y = 200, Width = 150, Height = 100, /*X = _rand.Next(0, Context.GraphicsDevice.Viewport.Width - 200), * Y = _rand.Next(0, Context.GraphicsDevice.Viewport.Height - 100), * Width = _rand.Next(50, 200), * Height = _rand.Next(0, 100),*/ }; _stage.AddActor(button); Context.Window.ClientSizeChanged += (s, e) => { _stage.SetViewport(Context.Window.ClientBounds.Width, Context.Window.ClientBounds.Height, false); }; }
public SampleDesktop() { var skin = new Skin(); var baseStyle = new ControlStyle(); baseStyle.Tiling = TextureMode.Grid; baseStyle.Grid = new Margin(3); baseStyle.Texture = "button_hot.dds"; baseStyle.Default.Texture = "button_default.dds"; baseStyle.Pressed.Texture = "button_down.dds"; baseStyle.SelectedPressed.Texture = "button_down.dds"; baseStyle.Focused.Texture = "button_down.dds"; baseStyle.SelectedFocused.Texture = "button_down.dds"; baseStyle.Selected.Texture = "button_down.dds"; baseStyle.SelectedHot.Texture = "button_down.dds"; var itemStyle = new ControlStyle(baseStyle) { TextPadding = new Margin(8, 0, 8, 0), TextAlign = Alignment.MiddleLeft }; var buttonStyle = new ControlStyle(baseStyle) { TextPadding = new Margin(0), TextAlign = Alignment.MiddleCenter }; var tooltipStyle = new ControlStyle(buttonStyle); tooltipStyle.TextPadding = new Margin(8); tooltipStyle.TextAlign = Alignment.TopLeft; var inputStyle = new ControlStyle(); inputStyle.Texture = "input_default.dds"; inputStyle.Hot.Texture = "input_focused.dds"; inputStyle.Focused.Texture = "input_focused.dds"; inputStyle.TextPadding = new Margin(8); inputStyle.Tiling = TextureMode.Grid; inputStyle.Focused.Tint = ColorInt.Rgba(1, 0, 0, 1); inputStyle.Grid = new Margin(3); var windowStyle = new ControlStyle { Tiling = TextureMode.Grid, Grid = new Margin(9), Texture = "window.dds" }; var frameStyle = new ControlStyle(); frameStyle.Tiling = TextureMode.Grid; frameStyle.Grid = new Margin(4); frameStyle.Texture = "frame.dds"; frameStyle.TextPadding = new Margin(8); var vscrollTrackStyle = new ControlStyle(); vscrollTrackStyle.Tiling = TextureMode.Grid; vscrollTrackStyle.Grid = new Margin(3); vscrollTrackStyle.Texture = "vscroll_track.dds"; var vscrollButtonStyle = new ControlStyle(); vscrollButtonStyle.Tiling = TextureMode.Grid; vscrollButtonStyle.Grid = new Margin(3); vscrollButtonStyle.Texture = "vscroll_button.dds"; vscrollButtonStyle.Hot.Texture = "vscroll_button_hot.dds"; vscrollButtonStyle.Pressed.Texture = "vscroll_button_down.dds"; var vscrollUp = new ControlStyle(); vscrollUp.Default.Texture = "vscrollUp_default.dds"; vscrollUp.Hot.Texture = "vscrollUp_hot.dds"; vscrollUp.Pressed.Texture = "vscrollUp_down.dds"; vscrollUp.Focused.Texture = "vscrollUp_hot.dds"; var hscrollTrackStyle = new ControlStyle(); hscrollTrackStyle.Tiling = TextureMode.Grid; hscrollTrackStyle.Grid = new Margin(3); hscrollTrackStyle.Texture = "hscroll_track.dds"; var hscrollButtonStyle = new ControlStyle(); hscrollButtonStyle.Tiling = TextureMode.Grid; hscrollButtonStyle.Grid = new Margin(3); hscrollButtonStyle.Texture = "hscroll_button.dds"; hscrollButtonStyle.Hot.Texture = "hscroll_button_hot.dds"; hscrollButtonStyle.Pressed.Texture = "hscroll_button_down.dds"; var hscrollUp = new ControlStyle(); hscrollUp.Default.Texture = "hscrollUp_default.dds"; hscrollUp.Hot.Texture = "hscrollUp_hot.dds"; hscrollUp.Pressed.Texture = "hscrollUp_down.dds"; hscrollUp.Focused.Texture = "hscrollUp_hot.dds"; var checkButtonStyle = new ControlStyle(); checkButtonStyle.Default.Texture = "checkbox_default.dds"; checkButtonStyle.Hot.Texture = "checkbox_hot.dds"; checkButtonStyle.Pressed.Texture = "checkbox_down.dds"; checkButtonStyle.Checked.Texture = "checkbox_checked.dds"; checkButtonStyle.CheckedFocused.Texture = "checkbox_checked_hot.dds"; checkButtonStyle.CheckedHot.Texture = "checkbox_checked_hot.dds"; checkButtonStyle.CheckedPressed.Texture = "checkbox_down.dds"; var comboLabelStyle = new ControlStyle(); comboLabelStyle.TextPadding = new Margin(10, 0, 0, 0); comboLabelStyle.Default.Texture = "combo_default.dds"; comboLabelStyle.Hot.Texture = "combo_hot.dds"; comboLabelStyle.Pressed.Texture = "combo_down.dds"; comboLabelStyle.Focused.Texture = "combo_hot.dds"; comboLabelStyle.Tiling = TextureMode.Grid; comboLabelStyle.Grid = new Margin(3, 0, 0, 0); var comboButtonStyle = new ControlStyle(); comboButtonStyle.Default.Texture = "combo_button_default.dds"; comboButtonStyle.Hot.Texture = "combo_button_hot.dds"; comboButtonStyle.Pressed.Texture = "combo_button_down.dds"; comboButtonStyle.Focused.Texture = "combo_button_hot.dds"; var multilineStyle = new ControlStyle(); multilineStyle.TextAlign = Alignment.TopLeft; multilineStyle.TextPadding = new Margin(8); var labelStyle = new ControlStyle(); labelStyle.TextPadding = new Margin(8, 0, 8, 0); labelStyle.TextAlign = Alignment.MiddleLeft; labelStyle.TextColor = ColorInt.Rgba(.8f, .8f, .8f, 1); labelStyle.BackColor = ColorInt.Rgba(1, 1, 1, .125f); labelStyle.Default.BackColor = 0; skin.Add("item", itemStyle); skin.Add("textbox", inputStyle); skin.Add("button", buttonStyle); skin.Add("window", windowStyle); skin.Add("frame", frameStyle); skin.Add("checkBox", checkButtonStyle); skin.Add("comboLabel", comboLabelStyle); skin.Add("comboButton", comboButtonStyle); skin.Add("vscrollTrack", vscrollTrackStyle); skin.Add("vscrollButton", vscrollButtonStyle); skin.Add("vscrollUp", vscrollUp); skin.Add("hscrollTrack", hscrollTrackStyle); skin.Add("hscrollButton", hscrollButtonStyle); skin.Add("hscrollUp", hscrollUp); skin.Add("multiline", multilineStyle); skin.Add("tooltip", tooltipStyle); skin.Add("label", labelStyle); Skin = skin; //Gui.SetSkin(skin); var cursorSize = new Point(32, 32); var halfSize = cursorSize / 2; //skin.Cursors.Add(Cursors.Default, new Cursor { Texture = "cursors\\Arrow.png", Size = cursorSize, HotSpot = Point.Zero }); //skin.Cursors.Add(Cursors.Link, new Cursor { Texture = "cursors\\Link.png", Size = cursorSize, HotSpot = Point.Zero }); //skin.Cursors.Add(Cursors.Move, new Cursor { Texture = "cursors\\Move.png", Size = cursorSize, HotSpot = halfSize }); //skin.Cursors.Add(Cursors.Select, new Cursor { Texture = "cursors\\Select.png", Size = cursorSize, HotSpot = halfSize }); //skin.Cursors.Add(Cursors.SizeNS, new Cursor { Texture = "cursors\\SizeNS.png", Size = cursorSize, HotSpot = halfSize }); //skin.Cursors.Add(Cursors.SizeWE, new Cursor { Texture = "cursors\\SizeWE.png", Size = cursorSize, HotSpot = halfSize }); //skin.Cursors.Add(Cursors.HSplit, new Cursor { Texture = "cursors\\SizeNS.png", Size = cursorSize, HotSpot = halfSize }); //skin.Cursors.Add(Cursors.VSplit, new Cursor { Texture = "cursors\\SizeWE.png", Size = cursorSize, HotSpot = halfSize }); //skin.Cursors.Add(Cursors.SizeNESW, new Cursor { Texture = "cursors\\SizeNESW.png", Size = cursorSize, HotSpot = halfSize }); //skin.Cursors.Add(Cursors.SizeNWSE, new Cursor { Texture = "cursors\\SizeNWSE.png", Size = cursorSize, HotSpot = halfSize }); TooltipControl = new SimpleTooltip(); var window1 = new SampleWindow(); window1.Size = new Point(440, 340); window1.Position = new Point(40, 40); window1.Titlebar.Text = "Anchoring, [color=FfFfFf00]DropDown, Modal Dialog[/color]"; window1.Resizable = true; window1.Parent = this; var label1 = new Label(); label1.Text = "username:"******"textbox" }; textbox1.Text = "username"; textbox1.Size = new Point(222, 35); textbox1.Position = new Point(180, 100); textbox1.Style = "textbox"; textbox1.Parent = window1; textbox1.Anchor = AnchorStyles.Left | AnchorStyles.Top | AnchorStyles.Right; var label2 = new Label(); label2.Text = "password:"******"textbox" }; textbox2.PasswordChar = char.Parse("*"); textbox2.IsPassword = true; textbox2.Text = "password"; textbox2.Size = new Point(222, 35); textbox2.Position = new Point(180, 140); textbox2.Style = "textbox"; textbox2.Parent = window1; textbox2.Anchor = AnchorStyles.Left | AnchorStyles.Top | AnchorStyles.Right; var button = new Button(); button.Size = new Point(157, 35); button.Position = new Point(437 - 192, 346 - 52); button.Text = "login"; button.Style = "button"; button.Parent = window1; button.Anchor = AnchorStyles.Bottom | AnchorStyles.Right; //button.Cursor = Cursors.Link; button.MouseClick += button_OnMouseClick; var combo = new DropDownList(); combo.Size = new Point(222, 35); combo.Position = new Point(180, 180); combo.Parent = window1; combo.Label.Style = "comboLabel"; combo.Button.Style = "comboButton"; combo.Listbox.Margin = new Margin(0, 6, 0, 0); combo.Listbox.Style = "frame"; combo.Listbox.ClipFrame.Margin = new Margin(8, 8, 8, 8); combo.Listbox.Scrollbar.Margin = new Margin(0, 4, 4, 4); combo.Listbox.Scrollbar.Size = new Point(14, 10); combo.Listbox.Scrollbar.ButtonUp.Style = "vscrollUp"; combo.Listbox.Scrollbar.ButtonUp.Size = new Point(10, 20); combo.Listbox.Scrollbar.ButtonDown.Style = "vscrollUp"; combo.Listbox.Scrollbar.ButtonDown.Size = new Point(10, 20); combo.Listbox.Scrollbar.Slider.Margin = new Margin(0, 2, 0, 2); combo.Listbox.Scrollbar.Slider.Style = "vscrollTrack"; combo.Listbox.Scrollbar.Slider.Button.Style = "vscrollButton"; combo.Anchor = AnchorStyles.Left | AnchorStyles.Top | AnchorStyles.Right; for (var i = 0; i < 10; i++) { var item = new ListBoxItem(); item.Text = "listboxitem"; item.Size = new Point(100, 35); item.Margin = new Margin(0, 0, 0, 4); item.Style = "item"; //if (i == 3) // item.Selected = true; combo.Items.Add(item); // if (i == 3) // combo.SelectedItem = item; if (i == 3) { item.Selected = true; } } var box = new CheckBox(); box.Size = new Point(157, 26); box.Position = new Point(180, 220); box.Text = "remember me"; box.Parent = window1; box.Button.Style = "checkBox"; box.Button.Size = new Point(26, 26); //box.Button.Cursor = Cursors.Link; var window2 = new SampleWindow(); window2.Size = new Point(440, 340); window2.Position = new Point(500, 40); window2.Titlebar.Text = "SplitContainer, TreeView, ListBox"; window2.Resizable = true; window2.Parent = this; var split = new SplitContainer(); split.Dock = DockStyle.Fill; split.Parent = window2; split.SplitButton.Style = "button"; split.SplitFrame1.Size = new Point(10, 10); split.SplitFrame2.Size = new Point(30, 10); var listbox1 = new ListBox(); listbox1.Margin = new Margin(2); listbox1.Dock = DockStyle.Fill; listbox1.Scrollbar.Size = new Point(14, 10); listbox1.Scrollbar.Slider.Style = "vscrollTrack"; listbox1.Scrollbar.Slider.Button.Style = "vscrollButton"; listbox1.Scrollbar.ButtonUp.Style = "vscrollUp"; listbox1.Scrollbar.ButtonUp.Size = new Point(10, 20); listbox1.Scrollbar.ButtonDown.Style = "vscrollUp"; listbox1.Scrollbar.ButtonDown.Size = new Point(10, 20); listbox1.Scrollbar.Slider.Margin = new Margin(0, 2, 0, 2); listbox1.Multiselect = true; listbox1.MaxSelected = 4; listbox1.Parent = split.SplitFrame2; for (var i = 0; i < 30; i++) { var item = new ListBoxItem(); item.Text = "listboxitem"; item.Size = new Point(100, 26); item.Margin = new Margin(0, 0, 0, 1); item.Style = "label"; item.Tooltip = "This is a multine tooltip.\nThe second line begins here.\n[color=ff00ee55]The third line is even colored.[/color]"; listbox1.Items.Add(item); } var treeview = new TreeView(); treeview.Dock = DockStyle.Fill; treeview.Margin = new Margin(2); treeview.Parent = split.SplitFrame1; treeview.Scrollbar.Size = new Point(14, 10); treeview.Scrollbar.Slider.Style = "vscrollTrack"; treeview.Scrollbar.Slider.Button.Style = "vscrollButton"; treeview.Scrollbar.ButtonUp.Style = "vscrollUp"; treeview.Scrollbar.ButtonUp.Size = new Point(10, 20); treeview.Scrollbar.ButtonDown.Style = "vscrollUp"; treeview.Scrollbar.ButtonDown.Size = new Point(10, 20); treeview.Scrollbar.Slider.Margin = new Margin(0, 2, 0, 2); treeview.Indent = 10; for (var i = 0; i < 30; i++) { var node = new TreeNodeLabel(); node.Label.Text = "node level 1"; node.Label.TextAlign = Alignment.MiddleLeft; node.Label.Style = "label"; node.Button.Size = new Point(14, 14); node.Size = new Point(100, 26); node.Tooltip = node.Label.Text; node.Style = "label"; treeview.Nodes.Add(node); for (var i2 = 0; i2 < 3; i2++) { var sub1 = new TreeNodeLabel(); sub1.Size = new Point(100, 35); sub1.Label.TextAlign = Alignment.MiddleLeft; sub1.Label.Style = "label"; sub1.Button.Size = new Point(14, 14); sub1.Size = new Point(100, 26); sub1.Label.Text = "node level 2"; sub1.Tooltip = sub1.Label.Text; sub1.Style = "label"; node.Nodes.Add(sub1); for (var i3 = 0; i3 < 3; i3++) { var sub2 = new TreeNodeLabel(); sub2.Label.Text = "node level 3"; sub2.Label.TextAlign = Alignment.MiddleLeft; sub2.Label.Style = "label"; sub2.Button.Size = new Point(14, 14); sub2.Size = new Point(100, 26); sub2.Tooltip = sub2.Label.Text; sub2.Style = "label"; sub1.Nodes.Add(sub2); } } } var window3 = new SampleWindow(); window3.Size = new Point(440, 340); window3.Position = new Point(40, 400); window3.Resizable = true; window3.Titlebar.Text = "Custom Control (Inheritance)"; window3.Parent = this; var chatbox = new ChatBox(); chatbox.Dock = DockStyle.Fill; window3.Controls.Add(chatbox); chatbox.Style = "frame"; chatbox.Input.Style = "textbox"; chatbox.Input.Margin = new Margin(8, 0, 8, 8); chatbox.Output.Margin = new Margin(8, 8, 8, 8); //chatbox.Output.Style = "textbox"; chatbox.Scrollbar.Margin = new Margin(0, 8, 8, 8); chatbox.Scrollbar.Size = new Point(14, 10); chatbox.Scrollbar.Slider.Style = "vscrollTrack"; chatbox.Scrollbar.Slider.Button.Style = "vscrollButton"; chatbox.Scrollbar.ButtonUp.Style = "vscrollUp"; chatbox.Scrollbar.ButtonUp.Size = new Point(10, 20); chatbox.Scrollbar.ButtonDown.Style = "vscrollUp"; chatbox.Scrollbar.ButtonDown.Size = new Point(10, 20); chatbox.Scrollbar.Slider.Margin = new Margin(0, 2, 0, 2); var window4 = new SampleWindow(); window4.Size = new Point(440, 340); window4.Position = new Point(500, 400); window4.Resizable = true; window4.Titlebar.Text = "TabControl, TextAlign"; window4.Parent = this; var tabcontrol = new TabControl(); tabcontrol.ButtonFrame.Style = "item"; tabcontrol.Dock = DockStyle.Fill; tabcontrol.Parent = window4; for (var i = 0; i < 6; i++) { var tabPage = new TabPage(); //tabPage.Style = "frame"; tabPage.Margin = new Margin(0, -1, 0, 0); tabPage.Button.Style = "button"; tabPage.Button.Text = "page" + i; tabPage.Button.Tooltip = "Click to change active tab"; tabPage.Button.Margin = new Margin(0, 0, -1, 0); tabcontrol.TabPages.Add(tabPage); var lbl = new Label(); lbl.Dock = DockStyle.Fill; lbl.Parent = tabPage; lbl.TextWrap = true; lbl.Text = "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam\r\n nonumy eirmod tempor invidunt ut labore [color=ff0088ff][url=testurl]click \r\n meh![/url][/color] et dolore magna aliquyam erat, sed diam voluptua.\r\n At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet."; lbl.Style = "multiline"; lbl.BbCodeEnabled = true; lbl.LinkClicked += lbl_OnLinkClicked; } var window5 = new SampleWindow(); window5.Size = new Point(440, 340); window5.Position = new Point(960, 40); window5.Resizable = true; window5.Titlebar.Text = "Panel, TextBox"; window5.Parent = this; var panel = new Panel(); panel.Style = "frame"; panel.Dock = DockStyle.Fill; panel.Parent = window5; panel.ClipFrame.Margin = new Margin(8); panel.ClipFrame.Style = "textbox"; panel.VScroll.Margin = new Margin(0, 8, 8, 8); panel.VScroll.Size = new Point(14, 10); panel.VScroll.Slider.Style = "vscrollTrack"; panel.VScroll.Slider.Button.Style = "vscrollButton"; panel.VScroll.ButtonUp.Style = "vscrollUp"; panel.VScroll.ButtonUp.Size = new Point(10, 20); panel.VScroll.ButtonDown.Style = "vscrollUp"; panel.VScroll.ButtonDown.Size = new Point(10, 20); panel.VScroll.Slider.Margin = new Margin(0, 2, 0, 2); panel.HScroll.Margin = new Margin(8, 0, 8, 8); panel.HScroll.Size = new Point(10, 14); panel.HScroll.Slider.Style = "hscrollTrack"; panel.HScroll.Slider.Button.Style = "hscrollButton"; panel.HScroll.ButtonUp.Style = "hscrollUp"; panel.HScroll.ButtonUp.Size = new Point(20, 10); panel.HScroll.ButtonDown.Style = "hscrollUp"; panel.HScroll.ButtonDown.Size = new Point(20, 10); panel.HScroll.Slider.Margin = new Margin(2, 0, 2, 0); for (var i = 0; i < 10; i++) { var label = new Label(); label.Text = "label control:"; label.Size = new Point(100, 35); label.Position = new Point(10, 10 + 45 * i); panel.Content.Controls.Add(label); var txt = new TextBox(); txt.Text = "lorem ipsum"; txt.Size = new Point(222, 35); txt.Position = new Point(110, 10 + 45 * i); txt.Style = "textbox"; txt.AllowDrop = true; txt.TabIndex = 1 + i; txt.DragDrop += txt_OnDragDrop; txt.GotFocus += txt_OnGotFocus; panel.Content.Controls.Add(txt); } var window6 = new SampleWindow(); window6.Size = new Point(440, 340); window6.Position = new Point(960, 400); window6.Resizable = true; window6.Titlebar.Text = "Misc"; window6.Parent = this; var rnd = new Random(); var models = new List <MyData>(); for (var i = 0; i < 32; i++) { var data = new MyData(); data.Name = rnd.Next().ToString(); data.Date = DateTime.Now.AddMilliseconds(rnd.Next()); data.Rating = rnd.Next(); models.Add(data); } var olv = new ListView(); olv.Dock = DockStyle.Fill; olv.Columns.Add(new ListView.Column { Text = "Name", Aspect = "Name", Width = 120, MinWidth = 48 }); olv.Columns.Add(new ListView.Column { Text = "Date", Aspect = "Date", Width = 120, MinWidth = 48 }); olv.Columns.Add(new ListView.Column { Text = "Rating", Aspect = "Rating", Width = 120, MinWidth = 48 }); olv.StretchLastColumn = true; olv.FullRowSelect = true; olv.CreateHeader = delegate(object sender, ListView.FormatHeaderEventArgs args) { var header = new Button { Dock = DockStyle.Fill, Text = args.Column.Text, AllowDrop = true }; header.MouseClick += delegate { if (args.Column.Aspect == "Name") { olv.Sort <MyData>((a, b) => a.Name.CompareTo(b.Name)); } else if (args.Column.Aspect == "Date") { olv.Sort <MyData>((a, b) => a.Date.CompareTo(b.Date)); } else if (args.Column.Aspect == "Rating") { olv.Sort <MyData>((a, b) => a.Rating.CompareTo(b.Rating)); } }; header.MouseDrag += delegate(Control snd, MouseEventArgs e) { var drag = new Label(); drag.Size = snd.Size; drag.Position = snd.Location; drag.Style = snd.Style; drag.Text = ((Button)snd).Text; snd.DoDragDrop(drag); }; header.DragLeave += delegate(Control snd, DragDropEventArgs e) { snd.Tint = -1; }; header.DragEnter += delegate(Control snd, DragDropEventArgs e) { if (e.Source is Button) { snd.Tint = ColorInt.Rgba(0, 1, 0, 1); } else { snd.Tint = ColorInt.Rgba(1, 0, 0, 1); e.Cancel = true; } }; header.DragDrop += delegate(Control snd, DragDropEventArgs e) { snd.Tint = -1; }; return(header); }; olv.CreateCell = delegate(object sender, ListView.FormatCellEventArgs args) { var text = olv.GetAspectValue(args.Model, args.Column); var cell = new Button { Size = new Point(26, 26), Style = "label", Dock = DockStyle.Top, Text = text, Tooltip = text, AllowDrop = true }; cell.DragResponse += delegate(Control snd, DragDropEventArgs e) { snd.State = ControlState.Hot; }; return(cell); }; olv.SetObjects(models); window6.Controls.Add(olv); }
static void OnLoadingComplete(EventArgs args) { if (!_Player.ChampionName.Contains("Hecarim")) { return; } Chat.Print("Doctor's Hecarim Loaded!", Color.Orange); Q = new Spell.Active(SpellSlot.Q, 350); W = new Spell.Active(SpellSlot.W, 525); E = new Spell.Active(SpellSlot.E); R = new Spell.Skillshot(SpellSlot.R, 1000, SkillShotType.Linear, 250, 800, 200); R.AllowedCollisionCount = int.MaxValue; Ignite = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerdot"), 600); Thm = new Font(Drawing.Direct3DDevice, new FontDescription { FaceName = "Tahoma", Height = 20, Weight = FontWeight.Bold, OutputPrecision = FontPrecision.Default, Quality = FontQuality.ClearType }); thn = new Font(Drawing.Direct3DDevice, new FontDescription { FaceName = "Tahoma", Height = 22, Weight = FontWeight.Bold, OutputPrecision = FontPrecision.Default, Quality = FontQuality.ClearType }); Menu = MainMenu.AddMenu("Doctor's Hecarim", "Hecarim"); ComboMenu = Menu.AddSubMenu("Combo Settings", "Combo"); ComboMenu.AddGroupLabel("Combo Settings"); ComboMenu.Add("ComboQ", new CheckBox("Use [Q] Combo")); ComboMenu.Add("ComboW", new CheckBox("Use [W] Combo")); ComboMenu.Add("ComboE", new CheckBox("Use [E] Combo")); ComboMenu.AddGroupLabel("Ultimate Aoe Settings"); ComboMenu.Add("ComboR", new CheckBox("Use [R] Aoe")); ComboMenu.Add("MinR", new Slider("Min Enemies Use [R]", 3, 0, 5)); ComboMenu.AddGroupLabel("Ultimate Selected Target Settings"); ComboMenu.Add("ComboSL", new KeyBind("Use [R] On Selected Target", false, KeyBind.BindTypes.HoldActive, 'T')); ComboMenu.AddGroupLabel("Interrupt Settings"); ComboMenu.Add("inter", new CheckBox("Use [R] Interrupt")); HarassMenu = Menu.AddSubMenu("Harass Settings", "Harass"); HarassMenu.AddGroupLabel("Harass Settings"); HarassMenu.Add("HarassQ", new CheckBox("Use [Q] Harass")); HarassMenu.Add("ManaQ", new Slider("Min Mana Harass [Q]", 40)); HarassMenu.AddSeparator(); HarassMenu.Add("HarassW", new CheckBox("Use [W] Harass", false)); HarassMenu.Add("ManaW", new Slider("Min Mana Harass [W]", 40)); Auto = Menu.AddSubMenu("Auto Harass Settings", "Auto Harass"); Auto.AddGroupLabel("Auto Harass Settings"); Auto.Add("AutoQ", new CheckBox("Auto [Q]")); Auto.Add("ManaQ", new Slider("Min Mana Auto [Q]", 60)); JungleClearMenu = Menu.AddSubMenu("JungleClear Settings", "JungleClear"); JungleClearMenu.AddGroupLabel("JungleClear Settings"); JungleClearMenu.Add("QJungle", new CheckBox("Use [Q] JungleClear")); JungleClearMenu.Add("WJungle", new CheckBox("Use [W] JungleClear")); JungleClearMenu.Add("EJungle", new CheckBox("Use [E] JungleClear")); JungleClearMenu.Add("JungleMana", new Slider("Min Mana JungleClear", 20)); LaneClearMenu = Menu.AddSubMenu("LaneClear Settings", "LaneClear"); LaneClearMenu.AddGroupLabel("LastHit Settings"); LaneClearMenu.Add("LastQ", new CheckBox("Use [Q] LastHit")); LaneClearMenu.Add("LhMana", new Slider("Min Mana Lasthit [Q]", 60)); LaneClearMenu.AddSeparator(); LaneClearMenu.AddGroupLabel("Lane Clear Settings"); LaneClearMenu.Add("LastQLC", new CheckBox("Always [Q] LaneClear (Keep Passive Q)")); LaneClearMenu.Add("CantLC", new CheckBox("Only [Q] Killable Minion", false)); LaneClearMenu.Add("ManaLC", new Slider("Min Mana [Q] LaneClear", 50)); LaneClearMenu.Add("LastWLC", new CheckBox("Use [W] LaneClear")); LaneClearMenu.Add("ManaLCW", new Slider("Min Mana [W] LaneClear", 70)); KillStealMenu = Menu.AddSubMenu("KillSteal Settings", "KillSteal"); KillStealMenu.AddGroupLabel("KillSteal Settings"); KillStealMenu.Add("KsQ", new CheckBox("Use [Q] KillSteal")); KillStealMenu.Add("KsW", new CheckBox("Use [W] KillSteal")); KillStealMenu.Add("ign", new CheckBox("Use [Ignite] KillSteal")); KillStealMenu.AddSeparator(); KillStealMenu.AddGroupLabel("Ultimate Settings"); KillStealMenu.Add("KsR", new CheckBox("Use [R] KillSteal")); KillStealMenu.Add("minKsR", new Slider("Use [R] KillSteal If Enemy Distance >", 100, 1, 1000)); KillStealMenu.AddGroupLabel("Distance < 125 = Always ,Recommended Distance 500"); Skin = Menu.AddSubMenu("Skin Changer", "SkinChanger"); Skin.Add("checkSkin", new CheckBox("Use Skin Changer", false)); Skin.Add("skin.Id", new ComboBox("Skin Mode", 4, "Default", "1", "2", "3", "4", "5")); Drawings = Menu.AddSubMenu("Draw Settings", "Draw"); Drawings.AddGroupLabel("Drawing Settings"); Drawings.Add("DrawQ", new CheckBox("[Q] Range")); Drawings.Add("DrawW", new CheckBox("[W] Range", false)); Drawings.Add("DrawR", new CheckBox("[R] Range")); Drawings.Add("DrawT", new CheckBox("Draw [E] Time")); Drawings.Add("DrawRhit", new CheckBox("[R] Draw Hit")); Drawing.OnDraw += Drawing_OnDraw; Game.OnUpdate += Game_OnUpdate; Interrupter.OnInterruptableSpell += Interupt; }
private static void Loading_OnLoadingComplete(EventArgs args) { if (Player.Instance.ChampionName != "Ekko") { return; } Bootstrap.Init(null); 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); } 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, 750, SkillShotType.Linear, 250, 2200, 60); W = new Spell.Skillshot(SpellSlot.W, 1620, SkillShotType.Circular, 500, 1000, 500); E = new Spell.Skillshot(SpellSlot.E, 400, SkillShotType.Linear, 250, int.MaxValue, 1); R = new Spell.Active(SpellSlot.R, 400); EkkoUlt = ObjectManager.Get <Obj_GeneralParticleEmitter>().FirstOrDefault(x => x.Name.Equals("Ekko_Base_R_TrailEnd.troy")); Menu = MainMenu.AddMenu("Time Breaker Ekko", "ekko"); ComboMenu = Menu.AddSubMenu("Kombo Ayarları", "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.AddLabel("R Ayarları"); ComboMenu.Add("SafeR", new CheckBox("Öleceksem R Kullan")); ComboMenu.Add("SafeRHP", new Slider("Can < %", 10, 1, 50)); ComboMenu.Add("AutoR", new CheckBox("Otomatik R için Düşman Sayısı", false)); ComboMenu.Add("AutoRCount", new Slider("Düşman Sayısı >=", 3, 1, 5)); ComboMenu.Add("BaseR", new CheckBox("Laneden Üsse dön", false)); HarassMenu = Menu.AddSubMenu("Dürtme Ayarları", "HarassSettings"); HarassMenu.Add("QHarass", new CheckBox("Kullan Q")); HarassMenu.Add("QHarassMana", new Slider("Manam > %", 45, 0, 100)); HarassMenu.Add("WHarass", new CheckBox("Kullan W")); HarassMenu.Add("WHarassMana", new Slider("Manam > %", 45, 0, 100)); HarassMenu.Add("EHarass", new CheckBox("Kullan E")); HarassMenu.Add("EHarassMana", new Slider("Manam > %", 45, 0, 100)); FarmingMenu = Menu.AddSubMenu("LaneTemizleme", "FarmSettings"); FarmingMenu.AddLabel("LaneTemizleme Ayarları"); FarmingMenu.Add("QLaneClear", new CheckBox("Kullan Q")); FarmingMenu.Add("QlaneclearMana", new Slider("Mana > %", 45, 0, 100)); FarmingMenu.Add("WLaneClear", new CheckBox("Kullan W", false)); FarmingMenu.Add("WlaneclearMana", new Slider("Manam > %", 35, 0, 100)); FarmingMenu.Add("ELaneClear", new CheckBox("E Kullan")); FarmingMenu.Add("ElaneclearMana", new Slider("Manam > %", 60, 0, 100)); FarmingMenu.AddLabel("Orman Temizleme Ayarları"); FarmingMenu.Add("QJungleClear", new CheckBox("Q Kullan")); FarmingMenu.Add("QJungleClearMana", new Slider("Manam > %", 30, 0, 100)); FarmingMenu.Add("WJungleClear", new CheckBox("W Kullan")); FarmingMenu.Add("WJungleClearMana", new Slider("Manam > %", 30, 0, 100)); FarmingMenu.Add("EJungleClear", new CheckBox("E Kullan")); FarmingMenu.Add("EJungleClearMana", new Slider("Manam > %", 30, 0, 100)); FarmingMenu.AddLabel("Son Vuruş Ayarları"); FarmingMenu.Add("Qlasthit", new CheckBox("Q Kullan")); FarmingMenu.Add("QlasthitMana", new Slider("Mana > %", 35, 0, 100)); Skin = Menu.AddSubMenu("Skin Değiştirici", "SkinChanger"); Skin.Add("checkSkin", new CheckBox("Aktif")); Skin.Add("skin.Id", new Slider("SkinNumarası", 1, 0, 2)); SetSmiteSlot(); if (SmiteSlot != SpellSlot.Unknown) { SmiteMenu = Menu.AddSubMenu("Çarp Kullanımı", "SmiteUsage"); SmiteMenu.Add("SmiteEnemy", new CheckBox("Düşmana kombo yaparken Kullan!")); 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("FleeE", new CheckBox("Kaçarken E Kullan")); MiscMenu.Add("autoW", new CheckBox("W için düşman say")); MiscMenu.Add("autoWCount", new Slider("Düşman Sayısı ", 3, 1, 5)); MiscMenu.Add("autoWStunned", new CheckBox("Otomatik W ile stunla")); MiscMenu.Add("Interrupter", new CheckBox("Interrupt da W Kullan")); MiscMenu.Add("Gapcloser", new CheckBox("Gapclose da Q-W Kullan")); MiscMenu.AddLabel("Kill Çalma"); MiscMenu.Add("Qkill", new CheckBox("Kill Çalmada Q Kullan")); MiscMenu.Add("Ekill", new CheckBox("Kill Çalmada E Kullan")); MiscMenu.Add("Rkill", new CheckBox("Kill Çalmada R Kullan")); MiscMenu.AddLabel("Akti Edici"); MiscMenu.Add("useHP", new CheckBox("Can İksiri Aktif")); MiscMenu.Add("useHPV", new Slider("Canım < %", 45, 0, 100)); MiscMenu.Add("useMana", new CheckBox("Mana İksiri Aktif")); MiscMenu.Add("useManaV", new Slider("Manam < %", 45, 0, 100)); MiscMenu.Add("useCrystal", new CheckBox("Tüketilebilir İksirler")); MiscMenu.Add("useCrystalHPV", new Slider("Canım < %", 65, 0, 100)); MiscMenu.Add("useCrystalManaV", new Slider("Manam < %", 65, 0, 100)); DrawMenu = Menu.AddSubMenu("Gösterge Ayarları", "Drawings"); DrawMenu.Add("drawQ", new CheckBox("Göster Q Menzili")); DrawMenu.Add("drawW", new CheckBox("Göster W Menzili")); DrawMenu.Add("drawE", new CheckBox("Göster E Menzili")); DrawMenu.Add("drawR", new CheckBox("Göster R Menzili")); Game.OnTick += Game_OnTick; Drawing.OnDraw += Drawing_OnDraw; GameObject.OnCreate += GameObject_OnCreate; GameObject.OnDelete += GameObject_OnDelete; Dash.OnDash += Unit_OnDash; Obj_AI_Base.OnProcessSpellCast += Obj_AI_Base_OnProcessSpellCast; Gapcloser.OnGapcloser += Gapcloser_OnGapCloser; Chat.Print("Time Breaker Ekko", System.Drawing.Color.ForestGreen); Chat.Print("v0.0.0.1", System.Drawing.Color.AliceBlue); Chat.Print("centilmen50", System.Drawing.Color.Red); }
private static void Loading_OnLoadingComplete(EventArgs args) { if (Player.Instance.Hero != Champion.Graves) { return; } Chat.Print("Graves7 Loaded!", Color.GreenYellow); Chat.Print("Doctor7", Color.Yellow); Bootstrap.Init(null); Q = new Spell.Skillshot(SpellSlot.Q, 850, SkillShotType.Linear, 250, 2000, 60); Q.AllowedCollisionCount = int.MaxValue; W = new Spell.Skillshot(SpellSlot.W, 950, SkillShotType.Circular, 250, 1650, 150); W.AllowedCollisionCount = int.MaxValue; E = new Spell.Skillshot(SpellSlot.E, 425, SkillShotType.Linear); R = new Spell.Skillshot(SpellSlot.R, 1500, SkillShotType.Linear, 250, 2100, 100); R.AllowedCollisionCount = int.MaxValue; Menu = MainMenu.AddMenu("Graves7", "Graves7"); Menu.AddGroupLabel("Graves7"); Menu.AddLabel(" FEATURES "); Menu.AddLabel(" Please Select Target Before Play ! "); Menu.AddLabel(" Use E Reset AA"); Menu.AddLabel(" KillSteal"); Menu.AddLabel(" Anti Gapcloser"); Menu.AddLabel(" Skin Hack "); ComboMenu = Menu.AddSubMenu("Combo Settings", "ComboMenu"); ComboMenu.AddGroupLabel("Combo Settings"); ComboMenu.AddLabel("Spell [Q] On"); foreach (var enemies in EntityManager.Heroes.Enemies) { ComboMenu.Add("combo" + enemies.ChampionName, new CheckBox("" + enemies.ChampionName)); } ComboMenu.AddSeparator(); ComboMenu.Add("ComboW", new CheckBox("Spell [W]")); ComboMenu.Add("ComboE", new CheckBox("Spell [E] Reset AA")); ComboMenu.Add("ComboR", new CheckBox("Spell [R]", false)); ComboMenu.Add("MinR", new Slider("Min Enemies Use [R]", 2, 0, 5)); HarassMenu = Menu.AddSubMenu("Harass Settings", "HarassMenu"); HarassMenu.AddGroupLabel("Harass Settings"); HarassMenu.AddLabel("Harass [Q] On"); foreach (var enemies in EntityManager.Heroes.Enemies) { HarassMenu.Add("haras" + enemies.ChampionName, new CheckBox("" + enemies.ChampionName)); } HarassMenu.Add("HarassMana", new Slider("Min Mana Harass [Q]", 50)); HarassMenu.AddSeparator(); HarassMenu.AddGroupLabel("Spells Settings"); HarassMenu.Add("HarassW", new CheckBox("Spell [W]", false)); HarassMenu.Add("ManaW", new Slider("Min Mana Harass [W]", 40)); HarassMenu.Add("HarassAA", new CheckBox("Spell [E] Reset AA", false)); HarassMenu.Add("ManaHarass", new Slider("Min Mana For [E] Harass", 50)); ClearMenu = Menu.AddSubMenu("Laneclear Settings", "LaneClearMenu"); ClearMenu.AddGroupLabel("Laneclear Settings"); ClearMenu.Add("QClear", new CheckBox("Spell [Q]")); ClearMenu.Add("ClearMana", new Slider("Min Mana For [Q] LaneClear", 70)); ClearMenu.Add("LaneAA", new CheckBox("Spell [E] Reset AA", false)); ClearMenu.Add("ELane", new Slider("Min Mana For [E] LaneClear", 70)); JungleMenu = Menu.AddSubMenu("JungleClear Settings", "JungleMenu"); JungleMenu.AddGroupLabel("JungleClear Settings"); JungleMenu.Add("QJungleClear", new CheckBox("Spell [Q]")); JungleMenu.Add("JungleMana", new Slider("Min Mana For [Q] JungleClear", 30)); JungleMenu.Add("WJungleClear", new CheckBox("Spell [W]")); JungleMenu.Add("JungleManaW", new Slider("Min Mana For [W] JungleClear", 50)); JungleMenu.Add("JungleAA", new CheckBox("Spell [E]")); JungleMenu.Add("EJung", new Slider("Min Mana For [E] JungleClear", 30)); KillStealMenu = Menu.AddSubMenu("KillSteal Settings", "KillStealMenu"); KillStealMenu.AddGroupLabel("KillSteal Settings"); KillStealMenu.Add("KsQ", new CheckBox("Spell [Q] KillSteal")); KillStealMenu.Add("KsW", new CheckBox("Spell [W] KillSteal")); KillStealMenu.AddSeparator(); KillStealMenu.AddLabel("Ultimate Settings"); KillStealMenu.Add("KsR", new CheckBox("Spell [R] KillSteal")); KillStealMenu.Add("minKsR", new Slider("Min [R] Range KillSteal", 600, 1, 1500)); KillStealMenu.Add("maxKsR", new Slider("Max [R] Range KillSteal", 1500, 1, 1500)); Skin = Menu.AddSubMenu("Skin Changer", "SkinChanger"); Skin.Add("checkSkin", new CheckBox("Use Skin Changer")); Skin.Add("skin.Id", new ComboBox("Skin Mode", 3, "Default", "1", "2", "3", "4", "5", "6", "7", "8")); Misc = Menu.AddSubMenu("Misc Settings", "Misc"); Misc.AddLabel("AntiGap Settings"); Misc.Add("AntiGap", new CheckBox("Use [E] AntiGapcloser")); Misc.Add("AntiGapW", new CheckBox("Use [W] AntiGapcloser")); Misc.AddSeparator(); Misc.AddLabel("Spells On CC Settings"); Misc.Add("Rstun", new CheckBox("Use [R] If Enemy Has CC", false)); Misc.Add("QStun", new CheckBox("Use [Q] If Enemy Has CC")); Drawings = Menu.AddSubMenu("Drawings Settings", "DrawingMenu"); Drawings.AddGroupLabel("Drawings"); Drawings.Add("drawQ", new CheckBox("[Q] Range")); Drawings.Add("drawW", new CheckBox("[W] Range", false)); Drawings.Add("drawE", new CheckBox("[E] Range", false)); Drawings.Add("drawR", new CheckBox("[R] Range")); Game.OnTick += Game_OnTick; Drawing.OnDraw += Drawing_OnDraw; Orbwalker.OnPostAttack += ResetAttack; Gapcloser.OnGapcloser += Gapcloser_OnGapcloser; }
private static void Loading_OnLoadingComplete(EventArgs args) { if (Player.Instance.Hero != Champion.Jhin) { return; } Teleport.OnTeleport += Teleport_OnTeleport; Indicator = new DamageIndicator(); Healthpot = new Item(2003, 0); Q = new Spell.Targeted(SpellSlot.Q, 550); W = new Spell.Skillshot(SpellSlot.W, 3000, SkillShotType.Linear, 250, 1200, 60) { MinimumHitChance = HitChance.Medium, AllowedCollisionCount = int.MaxValue }; E = new Spell.Skillshot(SpellSlot.E, 750, SkillShotType.Circular, 250, 3000, 1); R = new Spell.Skillshot(SpellSlot.R, 25000, SkillShotType.Cone, 250, 1200, 500); R1 = new Spell.Skillshot(SpellSlot.R, 25000, SkillShotType.Linear, 250, 1200, 60); Menu = MainMenu.AddMenu("Jhin a Marksman", "JhinaMarksman"); ComboSettings = Menu.AddSubMenu("Combo Settings", "ComboSettings"); ComboSettings.Add("useQCombo", new CheckBox("Use Q")); ComboSettings.Add("useQEnemyCount", new Slider("Q Enemy Count >= ", 1, 1, 5)); ComboSettings.Add("useWCombo", new CheckBox("Use W")); ComboSettings.Add("useWComboOnlyCC", new CheckBox("Use W Only CC", false)); ComboSettings.Add("useECombo", new CheckBox("Use E")); ComboSettings.Add("useEDistance", new CheckBox("Auto E for Enemy Distance")); ComboSettings.Add("EMaxDistance", new Slider("Enemy Distance < ", 400, 100, 900)); ComboSettings.Add("useRCombo", new CheckBox("Use R")); ComboSettings.Add("RKey", new KeyBind("Press Key to Activate Auto R", false, KeyBind.BindTypes.HoldActive, 'G')); HarassSettings = Menu.AddSubMenu("Harass Settings", "HarassSettings"); HarassSettings.Add("useQHarass", new CheckBox("Use Q")); HarassSettings.Add("HarassQEnemyCount", new Slider("Q Enemy Count >= ", 1, 1, 5)); HarassSettings.Add("useQHarassMana", new Slider("Q Mana > %", 20, 0, 100)); HarassSettings.Add("useWHarass", new CheckBox("Use W")); HarassSettings.Add("useWHarassMana", new Slider("W Mana > %", 20, 0, 100)); HarassSettings.Add("useEHarass", new CheckBox("Use E")); HarassSettings.Add("useEHarassMana", new Slider("E Mana > %", 35, 0, 100)); HarassSettings.AddSeparator(); HarassSettings.AddLabel("Auto Harass"); HarassSettings.Add("autoQHarass", new CheckBox("Auto Q for Harass", false)); HarassSettings.Add("autoQHarassEnemyCount", new Slider("Q Enemy Count >= ", 2, 0, 5)); HarassSettings.Add("autoQHarassMana", new Slider("Q Mana > %", 35, 0, 100)); HarassSettings.Add("autoWHarass", new CheckBox("Auto W for Harass", false)); HarassSettings.Add("autoWHarassMana", new Slider("W Mana > %", 35, 0, 100)); ClearSettings = Menu.AddSubMenu("Lane Clear Settings", "FarmSettings"); ClearSettings.AddLabel("Lane Clear"); ClearSettings.Add("useQFarm", new CheckBox("Use Q")); ClearSettings.Add("useQFarmCount", new Slider("Q Min. Minion Count", 3, 1, 4)); ClearSettings.Add("FarmQMana", new Slider("Q Mana > %", 35, 0, 100)); ClearSettings.AddSeparator(); ClearSettings.AddLabel("Last Hit"); ClearSettings.Add("useQLastHit", new CheckBox("Use Q Killable Minions")); ClearSettings.Add("LastHitQCount", new Slider("Min Minion Count >", 2, 0, 4)); ClearSettings.Add("LastHitQMana", new Slider("Q Mana > %", 35, 0, 100)); ClearSettings.AddSeparator(); ClearSettings.AddLabel("Jungle Clear"); ClearSettings.Add("useQJungle", new CheckBox("Use Q")); ClearSettings.Add("useQJungleMana", new Slider("Q Mana > %", 20, 0, 100)); ClearSettings.Add("useWJungle", new CheckBox("Use W")); ClearSettings.Add("useWJungleMana", new Slider("W Mana > %", 20, 0, 100)); ClearSettings.AddSeparator(); ClearSettings.Add("RJungleSteal", new CheckBox("Jungle Steal(partially working now)", false)); ClearSettings.AddSeparator(); ClearSettings.AddLabel("Epics"); ClearSettings.Add("SRU_Baron", new CheckBox("Baron")); ClearSettings.Add("SRU_Dragon", new CheckBox("Dragon")); ClearSettings.AddLabel("Buffs"); ClearSettings.Add("SRU_Blue", new CheckBox("Blue")); ClearSettings.Add("SRU_Red", new CheckBox("Red")); AutoSettings = Menu.AddSubMenu("Misc Settings", "MiscSettings"); AutoSettings.Add("gapcloser", new CheckBox("Auto E for Gapcloser")); AutoSettings.Add("interrupter", new CheckBox("Auto E for Interrupter")); AutoSettings.Add("CCE", new CheckBox("Auto E on Enemy CC")); AutoSettings.Add("UsePassive", new CheckBox("Use Passive")); AutoSettings.AddLabel("LaneClear,LastHit Mods 4.Passive Stacks Auto Harass to Enemy"); Skin = Menu.AddSubMenu("Skin Changer", "SkinChanger"); Skin.Add("checkSkin", new CheckBox("Use Skin Changer")); Skin.Add("skin.Id", new Slider("Skin", 1, 0, 1)); Items = Menu.AddSubMenu("Item Settings", "ItemSettings"); Items.Add("useHP", new CheckBox("Use Health Potion")); Items.Add("useHPV", new Slider("HP < %", 40, 0, 100)); Items.AddSeparator(); Items.Add("useBOTRK", new CheckBox("Use BOTRK")); Items.Add("useBotrkMyHP", new Slider("My Health < ", 60, 1, 100)); Items.Add("useBotrkEnemyHP", new Slider("Enemy Health < ", 60, 1, 100)); Items.Add("useYoumu", new CheckBox("Use Youmu")); Items.Add("useQSS", new CheckBox("Use QSS")); DrawMenu = Menu.AddSubMenu("Drawing Settings"); DrawMenu.Add("drawRange", new CheckBox("Draw AA Range", false)); DrawMenu.Add("drawQ", new CheckBox("Draw Q Range")); DrawMenu.Add("drawW", new CheckBox("Draw W Range")); DrawMenu.Add("drawE", new CheckBox("Draw E Range")); DrawMenu.Add("drawR", new CheckBox("Draw R Range", false)); DrawMenu.Add("drawStatus", new CheckBox("Draw R KeyBind")); DrawMenu.AddSeparator(); DrawMenu.AddLabel("Damage Calculation"); DrawMenu.Add("draw.Damage", new CheckBox("Draw Damage")); DrawMenu.Add("draw.Q", new CheckBox("Q Calculate")); DrawMenu.Add("draw.W", new CheckBox("W Calculate")); DrawMenu.Add("draw.E", new CheckBox("E Calculate")); DrawMenu.Add("draw.R", new CheckBox("R Calculate")); DrawMenu.AddSeparator(); DrawMenu.AddLabel("Recall Tracker"); DrawMenu.Add("draw.Recall", new CheckBox("Chat Print", false)); Game.OnTick += Game_OnTick; Game.OnUpdate += OnGameUpdate; Gapcloser.OnGapcloser += Gapcloser_OnGapCloser; Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell; Drawing.OnDraw += Drawing_OnDraw; }
private static void OnLoadingComplete(EventArgs args) { if (!_Player.ChampionName.Contains("Tristana")) { return; } Chat.Print("Bristana Loaded!", Color.GreenYellow); Chat.Print("Good Luck!", Color.GreenYellow); Bootstrap.Init(null); uint level = (uint)Player.Instance.Level; Q = new Spell.Active(SpellSlot.Q, 550); W = new Spell.Skillshot(SpellSlot.W, 900, SkillShotType.Circular, 450, int.MaxValue, 180); E = new Spell.Targeted(SpellSlot.E, 550); R = new Spell.Targeted(SpellSlot.R, 550); Botrk = new Item(ItemId.Blade_of_the_Ruined_King); Menu = MainMenu.AddMenu("Bristana", "Bristana"); Menu.AddGroupLabel("Bristana"); Menu.AddLabel(" FEATURES "); Menu.AddLabel(" Please Select E Before Play ! "); Menu.AddLabel(" Combo Mode"); Menu.AddLabel(" Harass Mode "); Menu.AddLabel(" Drawing Mode "); Menu.AddLabel(" KillSteal Mode "); Menu.AddLabel(" LaneClear Mode"); Menu.AddLabel(" Anti Gapcloser"); Menu.AddLabel(" Flee Mode "); Menu.AddLabel(" Skin Hack "); SpellMenu = Menu.AddSubMenu("Combo Settings", "Combo"); SpellMenu.AddGroupLabel("Combo Settings"); SpellMenu.Add("ComboQ", new CheckBox("Spell [Q]")); SpellMenu.Add("ComboR", new CheckBox("Spell [R]")); SpellMenu.Add("ComboER", new CheckBox("Spell [ER]")); SpellMenu.Add("item", new CheckBox("Use [BOTRK]")); SpellMenu.AddLabel("Spell [E] on"); foreach (var enemies in EntityManager.Heroes.Enemies.Where(i => !i.IsMe)) { SpellMenu.Add("useECombo" + enemies.ChampionName, new CheckBox("" + enemies.ChampionName)); } HarassMenu = Menu.AddSubMenu("Harass Settings", "Harass"); HarassMenu.AddGroupLabel("Harass Settings"); HarassMenu.Add("HarassQ", new CheckBox("Spell [Q]", false)); HarassMenu.AddLabel("Spell [E] on"); foreach (var enemies in EntityManager.Heroes.Enemies.Where(i => !i.IsMe)) { HarassMenu.Add("HarassE" + enemies.ChampionName, new CheckBox("" + enemies.ChampionName)); } HarassMenu.Add("manaHarass", new Slider("Min Mana For Harass", 50, 0, 100)); LaneMenu = Menu.AddSubMenu("Laneclear Settings", "Clear"); LaneMenu.AddGroupLabel("Laneclear Settings"); LaneMenu.Add("ClearQ", new CheckBox("Spell [Q]", false)); LaneMenu.Add("ClearE", new CheckBox("Spell [E]", false)); LaneMenu.Add("ClearTower", new CheckBox("Spell [E] Turret", false)); LaneMenu.Add("manaFarm", new Slider("Min Mana For LaneClear", 50, 0, 100)); JungleMenu = Menu.AddSubMenu("JungleClear Settings", "JungleClear"); JungleMenu.AddGroupLabel("JungleClear Settings"); JungleMenu.Add("jungleQ", new CheckBox("Spell [Q]")); JungleMenu.Add("jungleE", new CheckBox("Spell [E]")); JungleMenu.Add("jungleW", new CheckBox("Spell [W]", false)); JungleMenu.Add("manaJung", new Slider("Min Mana For JungleClear", 50, 0, 100)); StealMenu = Menu.AddSubMenu("KillSteal Settings", "KS"); StealMenu.AddGroupLabel("Killsteal Settings"); StealMenu.Add("RKs", new CheckBox("Spell [R]")); Misc = Menu.AddSubMenu("Misc Settings", "Draw"); Misc.AddGroupLabel("Anti Gapcloser"); Misc.Add("antiGap", new CheckBox("Anti Gapcloser")); Misc.Add("antiRengar", new CheckBox("Anti Rengar")); Misc.Add("antiKZ", new CheckBox("Anti Kha'Zix")); Misc.AddGroupLabel("Drawings Settings"); Misc.Add("drawAA", new CheckBox("Draw E")); Misc.Add("drawW", new CheckBox("Draw W", false)); Skin = Menu.AddSubMenu("Skin Changer", "SkinChanger"); Skin.Add("checkSkin", new CheckBox("Use Skin Changer")); Skin.Add("skin.Id", new ComboBox("Skin Mode", 0, "Classic", "Riot Tristana", "Earnest Elf Tristana", "Firefighter Tristana", "Guerilla Tristana", "Rocket Tristana", "Color Tristana", "Color Tristana", "Color Tristana", "Color Tristana", "Dragon Trainer Tristana")); Game.OnTick += Game_OnTick; Drawing.OnDraw += Drawing_OnDraw; Gapcloser.OnGapcloser += Gapcloser_OnGapCloser; GameObject.OnCreate += GameObject_OnCreate; }
static void OnLoadingComplete(EventArgs args) { if (!_Player.ChampionName.Contains("Olaf")) { return; } Chat.Print("Doctor's Olaf Loaded!", Color.Orange); Q = new Spell.Skillshot(SpellSlot.Q, 1000, SkillShotType.Linear, 250, 1550, 75); Q.AllowedCollisionCount = int.MaxValue; W = new Spell.Active(SpellSlot.W); E = new Spell.Targeted(SpellSlot.E, 325); R = new Spell.Active(SpellSlot.R); Ignite = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerdot"), 600); Botrk = new Item(ItemId.Blade_of_the_Ruined_King); Bil = new Item(3144, 475f); Tiamat = new Item(ItemId.Tiamat_Melee_Only, 400); Hydra = new Item(ItemId.Ravenous_Hydra_Melee_Only, 400); Titanic = new Item(ItemId.Titanic_Hydra, Player.Instance.GetAutoAttackRange()); Menu = MainMenu.AddMenu("Olaf", "Olaf"); Menu.AddGroupLabel("Doctor7"); ComboMenu = Menu.AddSubMenu("Combo Settings", "Combo"); ComboMenu.AddGroupLabel("Combo Settings"); ComboMenu.Add("ComboQ", new CheckBox("Use [Q]")); ComboMenu.Add("ComboW", new CheckBox("Use [W]")); ComboMenu.Add("ComboE", new CheckBox("Use [E]")); ComboMenu.AddGroupLabel("Items Settings"); ComboMenu.Add("item", new CheckBox("Use [BOTRK]")); ComboMenu.Add("hyd", new CheckBox("Use [Hydra] Reset AA")); ComboMenu.Add("ihp", new Slider("My HP Use BOTRK <=", 50)); ComboMenu.Add("ihpp", new Slider("Enemy HP Use BOTRK <=", 50)); HarassMenu = Menu.AddSubMenu("Harass Settings", "Harass"); HarassMenu.AddGroupLabel("Harass Settings"); HarassMenu.Add("HarassQ", new CheckBox("Use [Q]")); HarassMenu.Add("HarassW", new CheckBox("Use [W]", false)); HarassMenu.Add("HarassE", new CheckBox("Use [E]")); HarassMenu.Add("ManaQ", new Slider("Min Mana For Harass", 40)); LaneClearMenu = Menu.AddSubMenu("LaneClear Settings", "LaneClear"); LaneClearMenu.AddGroupLabel("LaneClear Settings"); LaneClearMenu.Add("ClearQ", new CheckBox("Use [Q]")); LaneClearMenu.Add("CantLC", new CheckBox("Only [Q] If Orbwalker Cant Killable Minion", false)); LaneClearMenu.Add("minQ", new Slider("Min Hit Minions Use [Q]", 3, 1, 6)); LaneClearMenu.Add("ClearE", new CheckBox("Use [E]")); LaneClearMenu.Add("ClearW", new CheckBox("Use [W]", false)); LaneClearMenu.Add("ManaLC", new Slider("Min Mana For LaneClear", 60)); LastHitMenu = Menu.AddSubMenu("LastHit Settings", "LastHit"); LastHitMenu.AddGroupLabel("LastHit Settings"); LastHitMenu.Add("LastQ", new CheckBox("Use [Q] LastHit", false)); LastHitMenu.Add("LhAA", new CheckBox("Only [Q] If Orbwalker Cant Killable Minion")); LastHitMenu.Add("LastE", new CheckBox("Use [E] LastHit")); LastHitMenu.Add("LhMana", new Slider("Min Mana For LastHit", 60)); JungleClearMenu = Menu.AddSubMenu("JungleClear Settings", "JungleClear"); JungleClearMenu.AddGroupLabel("JungleClear Settings"); JungleClearMenu.Add("QJungle", new CheckBox("Use [Q]")); JungleClearMenu.Add("WJungle", new CheckBox("Use [W]")); JungleClearMenu.Add("EJungle", new CheckBox("Use [E]")); JungleClearMenu.Add("MnJungle", new Slider("Min Mana JungleClear", 30)); Misc = Menu.AddSubMenu("Ultimate Settings", "Misc"); Misc.Add("Ulti", new CheckBox("Use Ultimate")); Misc.AddGroupLabel("Use [R] On"); Misc.Add("stun", new CheckBox("Stuns")); Misc.Add("rot", new CheckBox("Root")); Misc.Add("knockup", new CheckBox("Knock Ups")); Misc.Add("tunt", new CheckBox("Taunt")); Misc.Add("charm", new CheckBox("Charm", false)); Misc.Add("snare", new CheckBox("Snare")); Misc.Add("sleep", new CheckBox("Sleep", false)); Misc.Add("blind", new CheckBox("Blinds", false)); Misc.Add("disarm", new CheckBox("Disarm", false)); Misc.Add("fear", new CheckBox("Fear", false)); Misc.Add("silence", new CheckBox("Silence", false)); Misc.Add("frenzy", new CheckBox("Frenzy", false)); Misc.Add("supperss", new CheckBox("Supperss", false)); Misc.Add("slow", new CheckBox("Slows", false)); Misc.Add("poison", new CheckBox("Poisons", false)); Misc.Add("knockback", new CheckBox("Knock Backs", false)); Misc.Add("nearsight", new CheckBox("NearSight", false)); Misc.Add("poly", new CheckBox("Polymorph", false)); Misc.AddGroupLabel("Ultimate Setting"); Misc.Add("healulti", new Slider("Min Health Use [R]", 60)); Misc.Add("Rulti", new Slider("Min Enemies Around Use [R]", 1, 1, 5)); Misc.AddGroupLabel("Ultimate Delay"); Misc.Add("delay", new Slider("Humanizer Delay", 0, 0, 1000)); KillStealMenu = Menu.AddSubMenu("KillSteal Settings", "KillSteal"); KillStealMenu.AddGroupLabel("KillSteal Settings"); KillStealMenu.Add("KsQ", new CheckBox("Use [Q] KillSteal")); KillStealMenu.Add("KsE", new CheckBox("Use [E] KillSteal")); KillStealMenu.Add("KsIgnite", new CheckBox("Use [Ignite] KillSteal")); Skin = Menu.AddSubMenu("Skin Changer", "SkinChanger"); Skin.AddGroupLabel("Skin Settings"); Skin.Add("checkSkin", new CheckBox("Use Skin Changer")); Skin.Add("skin.Id", new ComboBox("Skin Mode", 3, "Default", "1", "2", "3", "4", "5", "6")); Drawings = Menu.AddSubMenu("Misc Settings", "Draw"); Drawings.AddGroupLabel("Misc Setting"); Drawings.Add("QStun", new CheckBox("Use [Q] If Enemy Has CC", false)); Drawings.Add("AntiGap", new CheckBox("Use [Q] Anti Gapcloser")); Drawings.AddGroupLabel("Drawing Settings"); Drawings.Add("DrawQ", new CheckBox("Q Range")); Drawings.Add("DrawE", new CheckBox("E Range", false)); Drawings.Add("Axe", new CheckBox("Axe Draw")); Drawing.OnDraw += Drawing_OnDraw; Game.OnUpdate += Game_OnUpdate; Orbwalker.OnPostAttack += ResetAttack; Gapcloser.OnGapcloser += Gapcloser_OnGapcloser; GameObject.OnCreate += GameObject_OnCreate; GameObject.OnDelete += GameObject_OnDelete; Orbwalker.OnUnkillableMinion += Orbwalker_CantLasthit; }
internal override bool ParseNodeBodyElement(string id, VRMLParser parser) { int line = parser.Line; if (id == "center") { Center = parser.ParseSFVec3fValue(); } else if (id == "info") { Info.AddRange(parser.ParseSFStringOrMFStringValue()); } else if (id == "joints") { List <X3DNode> nodes = parser.ParseSFNodeOrMFNodeValue(); foreach (X3DNode node in nodes) { IX3DHAnimJointNode joint = node as IX3DHAnimJointNode; if (joint == null) { parser.ErrorParsingNode(VRMLReaderError.UnexpectedNodeType, this, id, node, line); } else { Joints.Add(joint); } } } else if (id == "name") { Name = parser.ParseStringValue(); } else if (id == "rotation") { Rotation = parser.ParseSFRotationValue(); } else if (id == "scale") { Scale = parser.ParseSFVec3fValue(); } else if (id == "scaleOrientation") { ScaleOrientation = parser.ParseSFRotationValue(); } else if (id == "segments") { List <X3DNode> nodes = parser.ParseSFNodeOrMFNodeValue(); foreach (X3DNode node in nodes) { IX3DHAnimeSegmentNode segment = node as IX3DHAnimeSegmentNode; if (segment == null) { parser.ErrorParsingNode(VRMLReaderError.UnexpectedNodeType, this, id, node, line); } else { Segments.Add(segment); } } } else if (id == "sites") { List <X3DNode> nodes = parser.ParseSFNodeOrMFNodeValue(); foreach (X3DNode node in nodes) { IX3DHAnimSiteNode site = node as IX3DHAnimSiteNode; if (site == null) { parser.ErrorParsingNode(VRMLReaderError.UnexpectedNodeType, this, id, node, line); } else { Sites.Add(site); } } } else if (id == "skeleton") { List <X3DNode> nodes = parser.ParseSFNodeOrMFNodeValue(); foreach (X3DNode node in nodes) { IX3DHAnimHumanoidSkeleton skeleton = node as IX3DHAnimHumanoidSkeleton; if (skeleton == null) { parser.ErrorParsingNode(VRMLReaderError.UnexpectedNodeType, this, id, node, line); } else { Skeleton.Add(skeleton); } } } else if (id == "skin") { List <X3DNode> nodes = parser.ParseSFNodeOrMFNodeValue(); foreach (X3DNode node in nodes) { X3DChildNode skin = node as X3DChildNode; if (skin == null) { parser.ErrorParsingNode(VRMLReaderError.UnexpectedNodeType, this, id, node, line); } else { Skin.Add(skin); } } } else if (id == "skinCoord") { X3DNode node = parser.ParseSFNodeValue(); if (node != null) { SkinCoord = node as X3DCoordinateNode; if (SkinCoord == null) { parser.ErrorParsingNode(VRMLReaderError.UnexpectedNodeType, this, id, node, line); } } } else if (id == "skinNormal") { X3DNode node = parser.ParseSFNodeValue(); if (node != null) { SkinNormal = node as X3DNormalNode; if (SkinNormal == null) { parser.ErrorParsingNode(VRMLReaderError.UnexpectedNodeType, this, id, node, line); } } } else if (id == "translation") { Translation = parser.ParseSFVec3fValue(); } else if (id == "version") { Version = parser.ParseStringValue(); } else if (id == "viewpoints") { List <X3DNode> nodes = parser.ParseSFNodeOrMFNodeValue(); foreach (X3DNode node in nodes) { X3DViewpointNode vp = node as X3DViewpointNode; // x3d-Spec specs. x3dHAnimSite change to interface if neccessary if (vp == null) { parser.ErrorParsingNode(VRMLReaderError.UnexpectedNodeType, this, id, node, line); } else { Viewpoints.Add(vp); } } } else if (id == "bboxCenter") { BBoxCenter = parser.ParseSFVec3fValue(); } else if (id == "bboxSize") { BBoxSize = parser.ParseSFVec3fValue(); } else { return(false); } return(true); }
static void OnLoadingComplete(EventArgs args) { if (!_Player.ChampionName.Contains("Sejuani")) { return; } Chat.Print("Doctor's Sejuani Loaded!", Color.Orange); Bootstrap.Init(null); Q = new Spell.Skillshot(SpellSlot.Q, 650, SkillShotType.Linear, 0, 1600, 70); Q.AllowedCollisionCount = -1; W = new Spell.Active(SpellSlot.W, 350); E = new Spell.Active(SpellSlot.E, 1000); R = new Spell.Skillshot(SpellSlot.R, 1200, SkillShotType.Linear, 250, 1600, 110); R.AllowedCollisionCount = -1; F = new Spell.Skillshot(_Player.GetSpellSlotFromName("summonerflash"), 425, SkillShotType.Linear, 0, int.MaxValue, 60); F.AllowedCollisionCount = int.MaxValue; Thm = new Font(Drawing.Direct3DDevice, new FontDescription { FaceName = "Tahoma", Height = 32, Weight = FontWeight.Bold, OutputPrecision = FontPrecision.Default, Quality = FontQuality.ClearType }); Thn = new Font(Drawing.Direct3DDevice, new FontDescription { FaceName = "Tahoma", Height = 20, Weight = FontWeight.Bold, OutputPrecision = FontPrecision.Default, Quality = FontQuality.ClearType }); Ignite = new Spell.Targeted(_Player.GetSpellSlotFromName("summonerdot"), 600); Menu = MainMenu.AddMenu("Sejuani", "Sejuani"); Menu.AddGroupLabel("Doctor7"); ComboMenu = Menu.AddSubMenu("Combo Settings", "Combo"); ComboMenu.AddGroupLabel("Combo Settings"); ComboMenu.Add("ComboQ", new CheckBox("Use [Q] Combo")); ComboMenu.Add("ComboFQ", new KeyBind("[Q] + [Flash] Target ", false, KeyBind.BindTypes.HoldActive, 'T')); ComboMenu.Add("ComboW", new CheckBox("Use [W] Combo")); ComboMenu.Add("DisQ", new Slider("Use [Q] If Enemy Distance >", 10, 0, 650)); ComboMenu.AddLabel("[Q] Distance < 125 = Always [Q]"); ComboMenu.Add("ComboE", new CheckBox("Use [E] Combo")); ComboMenu.Add("DisE", new Slider("Use [E] If Enemy Distance > ", 10, 0, 1000)); ComboMenu.AddLabel("[E] Distance < 125 = Always [E]"); ComboMenu.AddGroupLabel("Ultimate Settings"); ComboMenu.Add("ComboR", new CheckBox("Use [R] Combo")); ComboMenu.Add("MinR", new Slider("Min Hit Enemies Use [R]", 3, 0, 5)); ComboMenu.AddGroupLabel("Interrupt Settings"); ComboMenu.Add("inter", new CheckBox("Use [R] Interrupt", false)); ComboMenu.Add("interQ", new CheckBox("Use [Q] Interrupt", false)); HarassMenu = Menu.AddSubMenu("Harass Settings", "Harass"); HarassMenu.AddGroupLabel("Harass Settings"); HarassMenu.Add("HarassQ", new CheckBox("Use [Q] Harass")); HarassMenu.Add("HarassW", new CheckBox("Use [W] Harass")); HarassMenu.Add("DisQ2", new Slider("Use [Q] If Enemy Distance >", 350, 0, 650)); HarassMenu.AddLabel("[Q] Distance < 125 = Always [Q]"); HarassMenu.Add("HarassE", new CheckBox("Use [E] Harass")); HarassMenu.Add("DisE2", new Slider("Use [E] If Enemy Distance >", 350, 0, 1000)); HarassMenu.AddLabel("[E] Distance < 125 = Always [E]"); HarassMenu.Add("ManaQ", new Slider("Min Mana Harass", 40)); JungleClearMenu = Menu.AddSubMenu("JungleClear Settings", "JungleClear"); JungleClearMenu.AddGroupLabel("JungleClear Settings"); JungleClearMenu.Add("QJungle", new CheckBox("Use [Q] JungleClear")); JungleClearMenu.Add("WJungle", new CheckBox("Use [W] JungleClear")); JungleClearMenu.Add("EJungle", new CheckBox("Use [E] JungleClear")); JungleClearMenu.Add("JungleMana", new Slider("Min Mana JungleClear", 20)); LaneClearMenu = Menu.AddSubMenu("LaneClear Settings", "LaneClear"); LaneClearMenu.AddGroupLabel("Lane Clear Settings"); LaneClearMenu.Add("LastQLC", new CheckBox("Always [Q] LaneClear")); LaneClearMenu.Add("CantLC", new CheckBox("Only [Q] Killable Minion", false)); LaneClearMenu.Add("LastWLC", new CheckBox("Use [W] LaneClear")); LaneClearMenu.Add("LaneE", new CheckBox("Use [E] LaneClear")); LaneClearMenu.Add("ManaLC", new Slider("Min Mana LaneClear", 50)); KillStealMenu = Menu.AddSubMenu("KillSteal Settings", "KillSteal"); KillStealMenu.AddGroupLabel("KillSteal Settings"); KillStealMenu.Add("KsQ", new CheckBox("Use [Q] KillSteal")); KillStealMenu.Add("KsE", new CheckBox("Use [E] KillSteal")); KillStealMenu.Add("ign", new CheckBox("Use [Ignite] KillSteal")); KillStealMenu.AddSeparator(); KillStealMenu.AddGroupLabel("Ultimate Settings"); KillStealMenu.Add("KsR", new CheckBox("Use [R] KillSteal")); KillStealMenu.Add("minKsR", new Slider("Min [R] Distance KillSteal", 100, 1, 1175)); KillStealMenu.Add("RKb", new KeyBind("[R] Semi Manual Key", false, KeyBind.BindTypes.HoldActive, 'T')); KillStealMenu.AddGroupLabel("Recommended Distance 600"); Skin = Menu.AddSubMenu("Skin Changer", "SkinChanger"); Skin.Add("checkSkin", new CheckBox("Use Skin Changer", false)); Skin.Add("skin.Id", new ComboBox("Skin Mode", 4, "Default", "1", "2", "3", "4", "5", "6")); Drawings = Menu.AddSubMenu("Draw Settings", "Draw"); Drawings.AddGroupLabel("Drawing Settings"); Drawings.Add("DrawQ", new CheckBox("[Q] Range")); Drawings.Add("DrawW", new CheckBox("[W] Range")); Drawings.Add("DrawE", new CheckBox("[E] Range")); Drawings.Add("DrawR", new CheckBox("[R] Range")); Drawings.Add("DrawRhit", new CheckBox("[R] Draw Hit")); Drawings.Add("Notifications", new CheckBox("Notifications Killable [R]")); Drawings.Add("Draw_Disabled", new CheckBox("Disabled Drawings")); Drawing.OnDraw += Drawing_OnDraw; Game.OnUpdate += Game_OnUpdate; Interrupter.OnInterruptableSpell += Interupt; }
// Menu private static void OnLoadingComplete(EventArgs args) { if (!_Player.ChampionName.Contains("Ashe")) { return; } Chat.Print("Doctor's Ashe Loaded!", Color.Orange); Q = new Spell.Active(SpellSlot.Q, 600); W = new Spell.Skillshot(SpellSlot.W, 1200, SkillShotType.Linear, 0, int.MaxValue, 60); W.AllowedCollisionCount = 0; E = new Spell.Skillshot(SpellSlot.E, 10000, SkillShotType.Linear); E.AllowedCollisionCount = int.MaxValue; R = new Spell.Skillshot(SpellSlot.R, 3000, SkillShotType.Linear, 250, 1600, 100); R.AllowedCollisionCount = -1; Botrk = new Item(ItemId.Blade_of_the_Ruined_King); Bil = new Item(3144, 475f); Thm = new Font(Drawing.Direct3DDevice, new FontDescription { FaceName = "Tahoma", Height = 32, Weight = FontWeight.Bold, OutputPrecision = FontPrecision.Default, Quality = FontQuality.ClearType }); Menu = MainMenu.AddMenu("Doctor's Ashe", "Ashe"); Menu.AddGroupLabel("Mercedes7"); ComboMenu = Menu.AddSubMenu("Combo Settings", "Combo"); ComboMenu.AddGroupLabel("Combo Settings"); ComboMenu.Add("ComboQ", new CheckBox("Use [Q] Reset AA")); ComboMenu.Add("ComboW", new CheckBox("Use [W] Combo")); ComboMenu.Add("ComboMode", new ComboBox("W Mode:", 1, "Fast [W]", "[W] Reset AA")); ComboMenu.Add("ComboR", new CheckBox("Use [R] Combo")); ComboMenu.Add("KeepCombo", new CheckBox("Keep Mana For [R]", false)); ComboMenu.AddGroupLabel("Ultimate Aoe Settings"); ComboMenu.Add("RAoe", new CheckBox("Use [R] Aoe")); ComboMenu.Add("minRAoe", new Slider("Use [R] Aoe If Hit x Enemies", 2, 1, 5)); ComboMenu.AddGroupLabel("Ultimate Selected Target Settings"); ComboMenu.Add("ComboSL", new KeyBind("Use [R] On Selected Target", false, KeyBind.BindTypes.HoldActive, 'Y')); ComboMenu.AddGroupLabel("KillSteal Settings"); ComboMenu.Add("RKs", new CheckBox("Use [R] KillSteal")); ComboMenu.Add("WKs", new CheckBox("Use [W] KillSteal")); ComboMenu.Add("RKb", new KeyBind("Semi Manual [R] KillSteal", false, KeyBind.BindTypes.HoldActive, 'T')); HarassMenu = Menu.AddSubMenu("Harass Settings", "Harass"); HarassMenu.AddGroupLabel("Harass Settings"); HarassMenu.Add("HarassQ", new CheckBox("Use [Q] Harass")); HarassMenu.Add("HarassW", new CheckBox("Use [W] Harass")); HarassMenu.Add("KeepHarass", new CheckBox("Keep Mana For [R]", false)); HarassMenu.Add("manaHarass", new Slider("Mana Harass", 50, 0, 100)); LaneClearMenu = Menu.AddSubMenu("Laneclear Settings", "Clear"); LaneClearMenu.AddGroupLabel("Laneclear Settings"); LaneClearMenu.Add("ClearQ", new CheckBox("Use [Q] Laneclear", false)); LaneClearMenu.Add("ClearW", new CheckBox("Use [W] Laneclear", false)); LaneClearMenu.Add("minw", new Slider("Number Hit Minions Use [W]", 2, 1, 6)); LaneClearMenu.Add("manaFarm", new Slider("Mana LaneClear", 60, 0, 100)); JungleClearMenu = Menu.AddSubMenu("JungleClear Settings", "JungleClear"); JungleClearMenu.AddGroupLabel("JungleClear Settings"); JungleClearMenu.Add("jungleQ", new CheckBox("Use [Q] JungleClear")); JungleClearMenu.Add("jungleW", new CheckBox("Use [W] JungleClear")); JungleClearMenu.Add("manaJung", new Slider("Mana JungleClear", 20, 0, 100)); Items = Menu.AddSubMenu("Items Settings", "Items"); Items.AddGroupLabel("Items Settings"); Items.Add("BOTRK", new CheckBox("Use [Botrk]")); Items.Add("ihp", new Slider("My HP Use BOTRK <=", 50)); Items.Add("ihpp", new Slider("Enemy HP Use BOTRK <=", 50)); Misc = Menu.AddSubMenu("Misc Settings", "Draw"); Misc.AddGroupLabel("Anti Gapcloser"); Misc.Add("antiGap", new CheckBox("Anti Gapcloser", false)); Misc.Add("antiRengar", new CheckBox("Anti Rengar KhaZix", false)); Misc.Add("inter", new CheckBox("Use [R] Interupt")); Misc.AddGroupLabel("Drawings Settings"); Misc.Add("Draw_Disabled", new CheckBox("Disabled Drawings", false)); Misc.Add("DrawW", new CheckBox("Draw [W]", false)); Misc.Add("Notifications", new CheckBox("Alerter Can Kill With [R]")); Skin = Menu.AddSubMenu("Skin Changer", "SkinChanger"); Skin.Add("checkSkin", new CheckBox("Use Skin Changer", false)); Skin.Add("skin.Id", new ComboBox("Skin Mode", 6, "1", "2", "3", "4", "5", "6", "7", "8", "9")); Game.OnUpdate += Game_OnUpdate; Drawing.OnDraw += Drawing_OnDraw; Gapcloser.OnGapcloser += Gapcloser_OnGapCloser; Interrupter.OnInterruptableSpell += Interupt; Orbwalker.OnPostAttack += ResetAttack; GameObject.OnCreate += GameObject_OnCreate; }
private static void Loading_OnLoadingComplete(EventArgs args) { if (Player.Instance.ChampionName != "Riven") { return; } Healthpot = new Item(2003, 0); _ignite = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerdot"), 600); Chat.Print("Blessed Riven Loaded.", Color.Brown); Menu = MainMenu.AddMenu("Blessed Riven", "BlessedRiven"); 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("R2Combo", new CheckBox("Use R2(enemy killable)")); ComboMenu.Add("FlashW", new KeyBind("Flash W", false, KeyBind.BindTypes.HoldActive, '5')); ComboMenu.Add("FlashBurst", new KeyBind("Burst(broken)", false, KeyBind.BindTypes.HoldActive, 'G')); ComboMenu.AddLabel("Burst = Select Target And Burst Key"); ComboMenu.AddLabel("The flash has usesh"); ComboMenu.AddLabel("If not perform without a flash"); ComboMenu.Add("ForcedR", new KeyBind("Forced R", true, KeyBind.BindTypes.PressToggle, 'Z')); ComboMenu.Add("useTiamat", new CheckBox("Use Items")); ComboMenu.AddLabel("R Settings"); ComboMenu.Add("RCantKill", new CheckBox("Cant Kill with Combo", false)); ComboMenu.Add("REnemyCount", new Slider("Enemy Count >= ", 0, 0, 4)); 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")); var Style = HarassMenu.Add("harassstyle", new Slider("Harass Style", 0, 0, 2)); Style.OnValueChange += delegate { Style.DisplayName = "Harass Style: " + new[] { "Q,Q,W,Q and E back", "E,H,Q3,W", "E,H,AA,Q,W" }[Style.CurrentValue]; }; Style.DisplayName = "Harass Style: " + new[] { "Q,Q,W,Q and E back", "E,H,Q3,W", "E,H,AA,Q,W" }[Style.CurrentValue]; FarmingMenu = Menu.AddSubMenu("Clear Settings", "FarmSettings"); FarmingMenu.AddLabel("Lane Clear"); FarmingMenu.Add("QLaneClear", new CheckBox("Use Q LaneClear")); FarmingMenu.Add("WLaneClear", new CheckBox("Use W LaneClear")); FarmingMenu.Add("ELaneClear", new CheckBox("Use E LaneClear")); FarmingMenu.AddLabel("Jungle Clear"); FarmingMenu.Add("QJungleClear", new CheckBox("Use Q in Jungle")); FarmingMenu.Add("WJungleClear", new CheckBox("Use W in Jungle")); FarmingMenu.Add("EJungleClear", new CheckBox("Use E in Jungle")); FarmingMenu.AddLabel("Last Hit"); FarmingMenu.Add("Qlasthit", new CheckBox("Use Q LastHit")); FarmingMenu.Add("Wlasthit", new CheckBox("Use W LastHit")); FarmingMenu.Add("Elasthit", new CheckBox("Use E LastHit")); MiscMenu = Menu.AddSubMenu("More Settings", "Misc"); MiscMenu.AddLabel("Auto"); MiscMenu.Add("UseShield", new CheckBox("Use Shield(E)")); MiscMenu.Add("AutoIgnite", new CheckBox("Auto Ignite")); MiscMenu.Add("AutoQSS", new CheckBox("Auto QSS")); MiscMenu.Add("AutoW", new CheckBox("Auto W")); MiscMenu.AddLabel("Keep Alive Settings"); MiscMenu.Add("Alive.Q", new CheckBox("Keep Q Alive")); MiscMenu.Add("Alive.R", new CheckBox("Use R2 Before Expire")); MiscMenu.AddLabel("Activator"); MiscMenu.Add("useHP", new CheckBox("Use Health Potion")); MiscMenu.Add("useHPV", new Slider("HP < %", 45, 0, 100)); MiscMenu.Add("useElixir", new CheckBox("Use Elixir")); MiscMenu.Add("useElixirCount", new Slider("EnemyCount > ", 1, 0, 4)); MiscMenu.Add("useCrystal", new CheckBox("Use Refillable Potions")); MiscMenu.Add("useCrystalHPV", new Slider("HP < %", 65, 0, 100)); MiscMenu.Add("useCrystalManaV", new Slider("Mana < %", 65, 0, 100)); DelayMenu = Menu.AddSubMenu("Delay Settings(Humanizer)", "Delay"); DelayMenu.Add("useHumanizer", new CheckBox("Use Humanizer?", false)); DelayMenu.Add("spell1a1b", new Slider("Q1,Q2 Delay(ms)", 261, 100, 400)); DelayMenu.Add("spell1c", new Slider("Q3 Delay(ms)", 353, 100, 400)); DelayMenu.Add("spell2", new Slider("W Delay(ms)", 120, 100, 400)); DelayMenu.Add("spell4a", new Slider("R Delay(ms)", 0, 0, 400)); DelayMenu.Add("spell4b", new Slider("R2 Delay(ms)", 100, 50, 400)); Skin = Menu.AddSubMenu("Skin Changer", "SkinChanger"); Skin.Add("checkSkin", new CheckBox("Use Skin Changer")); Skin.Add("skin.Id", new Slider("Skin", 4, 0, 6)); DrawMenu = Menu.AddSubMenu("Draw Settings", "Drawings"); DrawMenu.Add("drawStatus", new CheckBox("Draw Status")); DrawMenu.Add("drawCombo", new CheckBox("Draw Combo Range")); DrawMenu.Add("drawFBurst", new CheckBox("Draw Flash Burst Range")); DrawMenu.Add("DrawDamage", new CheckBox("Draw Damage Bar")); Game.OnTick += Game_OnTick; Drawing.OnDraw += Drawing_OnDraw; Drawing.OnEndScene += Drawing_OnEndScene; Obj_AI_Base.OnProcessSpellCast += Obj_AI_Base_OnProcessSpellCast; Obj_AI_Base.OnSpellCast += Obj_AI_Base_OnSpellCast; Obj_AI_Base.OnPlayAnimation += Obj_AI_Base_OnPlayAnimation; }
/// <summary> /// generates a standard skin /// this is only used for sample purposes /// </summary> /// <returns></returns> public static Skin GenerateStandardSkin() { var baseStyle = new ControlStyle(); baseStyle.Tiling = TextureMode.Grid; baseStyle.Grid = new Margin(3); baseStyle.Texture = "button_hot.dds"; baseStyle.Default.Texture = "button_default.dds"; baseStyle.Pressed.Texture = "button_down.dds"; baseStyle.SelectedPressed.Texture = "button_down.dds"; baseStyle.Focused.Texture = "button_down.dds"; baseStyle.SelectedFocused.Texture = "button_down.dds"; baseStyle.Selected.Texture = "button_down.dds"; baseStyle.SelectedHot.Texture = "button_down.dds"; var itemStyle = new ControlStyle(baseStyle); itemStyle.TextPadding = new Margin(10, 0, 0, 0); itemStyle.TextAlign = Alignment.MiddleLeft; var buttonStyle = new ControlStyle(baseStyle); buttonStyle.TextPadding = new Margin(0); buttonStyle.TextAlign = Alignment.MiddleCenter; var tooltipStyle = new ControlStyle(buttonStyle); tooltipStyle.TextPadding = new Margin(8); tooltipStyle.TextAlign = Alignment.TopLeft; var inputStyle = new ControlStyle(); inputStyle.Texture = "input_default.dds"; inputStyle.Hot.Texture = "input_focused.dds"; inputStyle.Focused.Texture = "input_focused.dds"; inputStyle.TextPadding = new Margin(8); inputStyle.Tiling = TextureMode.Grid; inputStyle.Focused.Tint = ColorInt.Argb(1, 0, 0, 1); inputStyle.Grid = new Margin(3); var windowStyle = new ControlStyle(); windowStyle.Tiling = TextureMode.Grid; windowStyle.Grid = new Margin(9); windowStyle.Texture = "window.dds"; var frameStyle = new ControlStyle(); frameStyle.Tiling = TextureMode.Grid; frameStyle.Grid = new Margin(4); frameStyle.Texture = "frame.dds"; frameStyle.TextPadding = new Margin(8); var vscrollTrackStyle = new ControlStyle(); vscrollTrackStyle.Tiling = TextureMode.Grid; vscrollTrackStyle.Grid = new Margin(3); vscrollTrackStyle.Texture = "vscroll_track.dds"; var vscrollButtonStyle = new ControlStyle(); vscrollButtonStyle.Tiling = TextureMode.Grid; vscrollButtonStyle.Grid = new Margin(3); vscrollButtonStyle.Texture = "vscroll_button.dds"; vscrollButtonStyle.Hot.Texture = "vscroll_button_hot.dds"; vscrollButtonStyle.Pressed.Texture = "vscroll_button_down.dds"; var vscrollUp = new ControlStyle(); vscrollUp.Default.Texture = "vscrollUp_default.dds"; vscrollUp.Hot.Texture = "vscrollUp_hot.dds"; vscrollUp.Pressed.Texture = "vscrollUp_down.dds"; vscrollUp.Focused.Texture = "vscrollUp_hot.dds"; var hscrollTrackStyle = new ControlStyle(); hscrollTrackStyle.Tiling = TextureMode.Grid; hscrollTrackStyle.Grid = new Margin(3); hscrollTrackStyle.Texture = "hscroll_track.dds"; var hscrollButtonStyle = new ControlStyle(); hscrollButtonStyle.Tiling = TextureMode.Grid; hscrollButtonStyle.Grid = new Margin(3); hscrollButtonStyle.Texture = "hscroll_button.dds"; hscrollButtonStyle.Hot.Texture = "hscroll_button_hot.dds"; hscrollButtonStyle.Pressed.Texture = "hscroll_button_down.dds"; var hscrollUp = new ControlStyle(); hscrollUp.Default.Texture = "hscrollUp_default.dds"; hscrollUp.Hot.Texture = "hscrollUp_hot.dds"; hscrollUp.Pressed.Texture = "hscrollUp_down.dds"; hscrollUp.Focused.Texture = "hscrollUp_hot.dds"; var checkButtonStyle = new ControlStyle(); checkButtonStyle.Default.Texture = "checkbox_default.dds"; checkButtonStyle.Hot.Texture = "checkbox_hot.dds"; checkButtonStyle.Pressed.Texture = "checkbox_down.dds"; checkButtonStyle.Checked.Texture = "checkbox_checked.dds"; checkButtonStyle.CheckedFocused.Texture = "checkbox_checked_hot.dds"; checkButtonStyle.CheckedHot.Texture = "checkbox_checked_hot.dds"; checkButtonStyle.CheckedPressed.Texture = "checkbox_down.dds"; var comboLabelStyle = new ControlStyle(); comboLabelStyle.TextPadding = new Margin(10, 0, 0, 0); comboLabelStyle.Default.Texture = "combo_default.dds"; comboLabelStyle.Hot.Texture = "combo_hot.dds"; comboLabelStyle.Pressed.Texture = "combo_down.dds"; comboLabelStyle.Focused.Texture = "combo_hot.dds"; comboLabelStyle.Tiling = TextureMode.Grid; comboLabelStyle.Grid = new Margin(3, 0, 0, 0); var comboButtonStyle = new ControlStyle(); comboButtonStyle.Default.Texture = "combo_button_default.dds"; comboButtonStyle.Hot.Texture = "combo_button_hot.dds"; comboButtonStyle.Pressed.Texture = "combo_button_down.dds"; comboButtonStyle.Focused.Texture = "combo_button_hot.dds"; var labelStyle = new ControlStyle(); labelStyle.TextAlign = Alignment.TopLeft; labelStyle.TextPadding = new Margin(8); var skin = new Skin(); skin.Add("item", itemStyle); skin.Add("textbox", inputStyle); skin.Add("button", buttonStyle); skin.Add("window", windowStyle); skin.Add("frame", frameStyle); skin.Add("checkBox", checkButtonStyle); skin.Add("comboLabel", comboLabelStyle); skin.Add("comboButton", comboButtonStyle); skin.Add("vscrollTrack", vscrollTrackStyle); skin.Add("vscrollButton", vscrollButtonStyle); skin.Add("vscrollUp", vscrollUp); skin.Add("hscrollTrack", hscrollTrackStyle); skin.Add("hscrollButton", hscrollButtonStyle); skin.Add("hscrollUp", hscrollUp); skin.Add("multiline", labelStyle); skin.Add("tooltip", tooltipStyle); return(skin); }
static void OnLoadingComplete(EventArgs args) { if (!_Player.ChampionName.Contains("Olaf")) { return; } Chat.Print("Olaf7 Loaded!", Color.Red); Chat.Print("Doctor7", Color.GreenYellow); Bootstrap.Init(null); Q = new Spell.Skillshot(SpellSlot.Q, 1000, SkillShotType.Linear, 250, 1550, 75); Q.AllowedCollisionCount = int.MaxValue; W = new Spell.Active(SpellSlot.W); E = new Spell.Targeted(SpellSlot.E, 325); R = new Spell.Active(SpellSlot.R); if (_Player.GetSpellSlotFromName("summonerdot") != SpellSlot.Unknown) { Ignite = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerdot"), 600); } Botrk = new Item(ItemId.Blade_of_the_Ruined_King); Tiamat = new Item(ItemId.Tiamat_Melee_Only, 400); Hydra = new Item(ItemId.Ravenous_Hydra_Melee_Only, 400); Titanic = new Item(ItemId.Titanic_Hydra, Player.Instance.GetAutoAttackRange()); Menu = MainMenu.AddMenu("Olaf7", "Olaf"); Menu.AddGroupLabel("Olaf7"); Menu.AddLabel(" Leave Feedback For Any Bugs "); ComboMenu = Menu.AddSubMenu("Combo Settings", "Combo"); ComboMenu.AddGroupLabel("Combo Settings"); ComboMenu.Add("ComboQ", new CheckBox("Use [Q]")); ComboMenu.Add("ComboW", new CheckBox("Use [W]")); ComboMenu.Add("ComboE", new CheckBox("Use [E]")); ComboMenu.Add("item", new CheckBox("Use [Item]")); HarassMenu = Menu.AddSubMenu("Harass Settings", "Harass"); HarassMenu.AddGroupLabel("Harass Settings"); HarassMenu.Add("HarassQ", new CheckBox("Use [Q]")); HarassMenu.Add("HarassW", new CheckBox("Use [W]", false)); HarassMenu.Add("ManaQ", new Slider("Min Mana For Harass", 40)); LaneClearMenu = Menu.AddSubMenu("LaneClear Settings", "LaneClear"); LaneClearMenu.AddGroupLabel("LaneClear Settings"); LaneClearMenu.Add("ClearQ", new CheckBox("Use [Q]")); LaneClearMenu.Add("minq", new Slider("Min Minions Use [Q]", 3, 1, 6)); LaneClearMenu.Add("ClearW", new CheckBox("Use [W]")); LaneClearMenu.Add("Wlc", new Slider("Health For [W] LaneClear", 80)); LaneClearMenu.Add("ClearE", new CheckBox("Use [E]")); LaneClearMenu.Add("ManaLC", new Slider("Min Mana For LaneClear", 60)); LastHitMenu = Menu.AddSubMenu("LastHit Settings", "LastHit"); LastHitMenu.AddGroupLabel("LastHit Settings"); LastHitMenu.Add("LastE", new CheckBox("Use [E] LastHit")); LastHitMenu.Add("LastAA", new CheckBox("Only [E] If Out AA Range", false)); LastHitMenu.Add("LastQ", new CheckBox("Use [Q] LastHit", false)); LastHitMenu.Add("LhMana", new Slider("Min Mana For LastHit", 60)); JungleClearMenu = Menu.AddSubMenu("JungleClear Settings", "JungleClear"); JungleClearMenu.AddGroupLabel("JungleClear Settings"); JungleClearMenu.Add("QJungle", new CheckBox("Use [Q]")); JungleClearMenu.Add("WJungle", new CheckBox("Use [W]")); JungleClearMenu.Add("EJungle", new CheckBox("Use [E]")); JungleClearMenu.Add("MnJungle", new Slider("Min Mana JungleClear", 30)); Misc = Menu.AddSubMenu("Ultimate Settings", "Misc"); Misc.AddGroupLabel("Ultimate Setting"); Misc.Add("Ulti", new CheckBox("Use Ultimate")); Misc.AddGroupLabel("Use [R] On"); Misc.Add("stun", new CheckBox("Stuns")); Misc.Add("knockup", new CheckBox("Knock Ups")); Misc.Add("tunt", new CheckBox("Taunt")); Misc.Add("charm", new CheckBox("Charm", false)); Misc.Add("snare", new CheckBox("Snare")); Misc.Add("sleep", new CheckBox("Sleep", false)); Misc.Add("blind", new CheckBox("Blinds", false)); Misc.Add("disarm", new CheckBox("Disarm", false)); Misc.Add("fear", new CheckBox("Fear", false)); Misc.Add("silence", new CheckBox("Silence", false)); Misc.Add("frenzy", new CheckBox("Frenzy", false)); Misc.Add("supperss", new CheckBox("Supperss", false)); Misc.Add("slow", new CheckBox("Slows", false)); Misc.Add("poison", new CheckBox("Poisons", false)); Misc.Add("knockback", new CheckBox("Knock Backs", false)); Misc.Add("nearsight", new CheckBox("NearSight", false)); Misc.Add("poly", new CheckBox("Polymorph", false)); KillStealMenu = Menu.AddSubMenu("KillSteal Settings", "KillSteal"); KillStealMenu.AddGroupLabel("KillSteal Settings"); KillStealMenu.Add("KsQ", new CheckBox("Use [Q] KillSteal")); KillStealMenu.Add("KsE", new CheckBox("Use [E] KillSteal")); KillStealMenu.Add("KsIgnite", new CheckBox("Use [Ignite] KillSteal")); Skin = Menu.AddSubMenu("Skin Changer", "SkinChanger"); Skin.AddGroupLabel("Skin Settings"); Skin.Add("checkSkin", new CheckBox("Use Skin Changer")); Skin.Add("skin.Id", new ComboBox("Skin Mode", 3, "Default", "1", "2", "3", "4", "5")); Drawings = Menu.AddSubMenu("Misc Settings", "Draw"); Drawings.AddGroupLabel("Misc Setting"); Drawings.Add("QStun", new CheckBox("Use [Q] If Enemy Has CC", false)); Drawings.Add("AntiGap", new CheckBox("Use [Q] Anti Gapcloser")); Drawings.AddGroupLabel("Drawing Settings"); Drawings.Add("DrawQ", new CheckBox("Q Range")); Drawings.Add("DrawE", new CheckBox("E Range", false)); Drawing.OnDraw += Drawing_OnDraw; Game.OnTick += Game_OnTick; Gapcloser.OnGapcloser += Gapcloser_OnGapcloser; }
private static void OnLoadingComplete(EventArgs args) { if (!_Player.ChampionName.Contains("Corki")) { return; } Chat.Print("Borki Loaded!", Color.GreenYellow); Chat.Print("Good Luck!", Color.GreenYellow); Bootstrap.Init(null); Q = new Spell.Skillshot(SpellSlot.Q, 825, SkillShotType.Circular, 300, 1000, 250); W = new Spell.Skillshot(SpellSlot.W, 800, SkillShotType.Linear); E = new Spell.Active(SpellSlot.E, 600); R = new Spell.Skillshot(SpellSlot.R, 1200, SkillShotType.Linear, 200, 1950, 40); Botrk = new Item(ItemId.Blade_of_the_Ruined_King); Ignite = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerdot"), 600); Menu = MainMenu.AddMenu("Borki", "Borki"); Menu.AddGroupLabel("BORKI"); Menu.AddSeparator(); Menu.AddLabel("Good Luck!"); SpellMenu = Menu.AddSubMenu("Spells Settings", "Combo"); SpellMenu.AddGroupLabel("Combo Settings"); SpellMenu.Add("ComboQ", new CheckBox("Spell [Q]")); SpellMenu.Add("ComboE", new CheckBox("Spell [E]")); SpellMenu.Add("ComboR", new CheckBox("Spell [R]")); SpellMenu.Add("item", new CheckBox("Use [BOTRK]")); HarassMenu = Menu.AddSubMenu("Harass Settings", "Harass"); HarassMenu.AddGroupLabel("Harass Settings"); HarassMenu.Add("HarassQ", new CheckBox("Spell [Q]", false)); HarassMenu.Add("HarassR", new CheckBox("Spell [R]")); HarassMenu.Add("HarassE", new CheckBox("Spell [E]")); HarassMenu.Add("manaHarass", new Slider("Min Mana For Harass", 50, 0, 100)); HarassMenu.Add("RocketHarass", new Slider("Save Rockets [R]", 3, 0, 6)); ClearMenu = Menu.AddSubMenu("LaneClear Settings", "LaneClear"); ClearMenu.AddGroupLabel("Laneclear Settings"); ClearMenu.Add("ClearQ", new CheckBox("Spell [Q]", false)); ClearMenu.Add("ClearR", new CheckBox("Spell [R]", false)); ClearMenu.Add("ClearE", new CheckBox("Spell [E]", false)); ClearMenu.Add("manaClear", new Slider("Min Mana For LaneClear", 65, 0, 100)); ClearMenu.Add("RocketClear", new Slider("Save Rockets [R]", 3, 0, 6)); JungleMenu = Menu.AddSubMenu("JungleClear Settings", "JungleClear"); JungleMenu.AddGroupLabel("JungleClear Settings"); JungleMenu.Add("JungleQ", new CheckBox("Spell [Q]")); JungleMenu.Add("JungleR", new CheckBox("Spell [R]")); JungleMenu.Add("JungleE", new CheckBox("Spell [E]")); JungleMenu.Add("manaJung", new Slider("Min Mana For JungleClear", 30, 0, 100)); JungleMenu.Add("RocketJung", new Slider("Save Rockets [R]", 3, 0, 6)); KillstealMenu = Menu.AddSubMenu("KillSteal Settings", "KS"); KillstealMenu.AddGroupLabel("KillSteal Settings"); KillstealMenu.Add("RKs", new CheckBox("Spell [R]")); KillstealMenu.Add("QKs", new CheckBox("Spell [Q]")); KillstealMenu.Add("ign", new CheckBox("Use [Ignite] KillSteal")); Misc = Menu.AddSubMenu("Misc Settings", "Misc"); Misc.AddGroupLabel("Misc Settings"); Misc.Add("AntiGap", new CheckBox("Use [W] AntiGapcloser")); Misc.AddSeparator(); Misc.Add("drawQ", new CheckBox("Range [Q]")); Misc.Add("drawW", new CheckBox("Range [W]", false)); Misc.Add("drawE", new CheckBox("Range [E]")); Misc.Add("drawR", new CheckBox("Range [R]")); Skin = Menu.AddSubMenu("Skin Changer", "SkinChanger"); Skin.Add("checkSkin", new CheckBox("Use Skin Changer")); Skin.Add("skin.Id", new ComboBox("Skin Mode", 0, "Default", "1", "2", "3", "4", "5", "6", "7")); Game.OnTick += Game_OnTick; Gapcloser.OnGapcloser += Gapcloser_OnGapcloser; Drawing.OnDraw += Drawing_OnDraw; }
// Menu private static void OnLoadingComplete(EventArgs args) { if (!_Player.ChampionName.Contains("//////////")) { return; } Chat.Print("Doctor's /// Loaded!", Color.Orange); Bootstrap.Init(null); Q = new Spell.Active(SpellSlot.Q, 600); W = new Spell.Skillshot(SpellSlot.W, 1200, SkillShotType.Linear, 0, int.MaxValue, 60); W.AllowedCollisionCount = 0; E = new Spell.Skillshot(SpellSlot.E, 10000, SkillShotType.Linear); E.AllowedCollisionCount = int.MaxValue; R = new Spell.Skillshot(SpellSlot.R, 3000, SkillShotType.Linear, 250, 1600, 100); R.AllowedCollisionCount = -1; Botrk = new Item(ItemId.Blade_of_the_Ruined_King); Bil = new Item(3144, 475f); Thm = new Font(Drawing.Direct3DDevice, new FontDescription { FaceName = "Tahoma", Height = 32, Weight = FontWeight.Bold, OutputPrecision = FontPrecision.Default, Quality = FontQuality.ClearType }); Menu = MainMenu.AddMenu("Doctor's Ashe", "Ashe"); Menu.AddGroupLabel("Mercedes7"); ComboMenu = Menu.AddSubMenu("Combo Settings", "Combo"); ComboMenu.AddGroupLabel("Combo Settings"); ComboMenu.Add("CQ", new CheckBox("Use [Q] Combo")); ComboMenu.Add("CW", new CheckBox("Use [W] Combo")); ComboMenu.Add("CE", new CheckBox("Use [E] Combo")); ComboMenu.Add("CR", new CheckBox("Use [R] Combo")); HarassMenu = Menu.AddSubMenu("Harass Settings", "Harass"); HarassMenu.AddGroupLabel("Harass Settings"); HarassMenu.Add("HQ", new CheckBox("Use [Q] Harass")); HarassMenu.Add("HW", new CheckBox("Use [W] Harass")); HarassMenu.Add("HE", new CheckBox("Use [E] Harass")); HarassMenu.Add("HM", new Slider("Mana Harass", 50, 0, 100)); LaneClearMenu = Menu.AddSubMenu("Laneclear Settings", "Clear"); LaneClearMenu.AddGroupLabel("Laneclear Settings"); LaneClearMenu.Add("LQ", new CheckBox("Use [Q] Laneclear", false)); LaneClearMenu.Add("LW", new CheckBox("Use [W] Laneclear", false)); LaneClearMenu.Add("LE", new CheckBox("Use [E] Laneclear", false)); LaneClearMenu.Add("LM", new Slider("Mana LaneClear", 60, 0, 100)); JungleClearMenu = Menu.AddSubMenu("JungleClear Settings", "JungleClear"); JungleClearMenu.AddGroupLabel("JungleClear Settings"); JungleClearMenu.Add("JQ", new CheckBox("Use [Q] JungleClear")); JungleClearMenu.Add("JW", new CheckBox("Use [W] JungleClear")); JungleClearMenu.Add("JE", new CheckBox("Use [E] JungleClear")); JungleClearMenu.Add("JM", new Slider("Mana JungleClear", 20, 0, 100)); Items = Menu.AddSubMenu("Items Settings", "Items"); Items.AddGroupLabel("Items Settings"); Items.Add("BOTRK", new CheckBox("Use [Botrk]")); Items.Add("ihp", new Slider("My HP Use BOTRK <=", 50)); Items.Add("ihpp", new Slider("Enemy HP Use BOTRK <=", 50)); Misc = Menu.AddSubMenu("Misc Settings", "Draw"); Misc.AddGroupLabel("Anti Gapcloser"); Misc.Add("antiGap", new CheckBox("Anti Gapcloser", false)); Misc.Add("inter", new CheckBox("Use [R] Interupt")); Misc.AddGroupLabel("Drawings Settings"); Misc.Add("Draw_Disabled", new CheckBox("Disabled Drawings", false)); Misc.Add("DrawE", new CheckBox("Draw [E]")); Misc.Add("DrawW", new CheckBox("Draw [W]", false)); Skin = Menu.AddSubMenu("Skin Changer", "SkinChanger"); Skin.Add("checkSkin", new CheckBox("Use Skin Changer", false)); Skin.Add("skin.Id", new ComboBox("Skin Mode", 6, "1", "2", "3", "4", "5", "6", "7", "8")); Game.OnUpdate += Game_OnUpdate; Drawing.OnDraw += Drawing_OnDraw; //Gapcloser.OnGapcloser += Gapcloser_OnGapCloser; //Interrupter.OnInterruptableSpell += Interupt; //Orbwalker.OnPostAttack += ResetAttack; }
static void OnLoadingComplete(EventArgs args) { if (!_Player.ChampionName.Contains("Olaf")) { return; } Chat.Print("Doctor's Olaf Yuklendi.Ceviri TekinTR!", Color.Orange); Q = new Spell.Skillshot(SpellSlot.Q, 1000, SkillShotType.Linear, 250, 1550, 75); Q.AllowedCollisionCount = int.MaxValue; W = new Spell.Active(SpellSlot.W); E = new Spell.Targeted(SpellSlot.E, 325); R = new Spell.Active(SpellSlot.R); Ignite = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerdot"), 600); Botrk = new Item(ItemId.Blade_of_the_Ruined_King); Bil = new Item(3144, 475f); Tiamat = new Item(ItemId.Tiamat_Melee_Only, 400); Hydra = new Item(ItemId.Ravenous_Hydra_Melee_Only, 400); Titanic = new Item(ItemId.Titanic_Hydra, Player.Instance.GetAutoAttackRange()); Menu = MainMenu.AddMenu("Olaf", "Olaf"); Menu.AddGroupLabel("Doctor7"); ComboMenu = Menu.AddSubMenu("Combo Settings", "Combo"); ComboMenu.AddGroupLabel("Combo Settings"); ComboMenu.Add("ComboQ", new CheckBox("Kullan [Q]")); ComboMenu.Add("ComboW", new CheckBox("Kullan [W]")); ComboMenu.Add("ComboE", new CheckBox("Kullan [E]")); ComboMenu.AddGroupLabel("Items Settings"); ComboMenu.Add("item", new CheckBox("Kullan [Mahvolmus]")); ComboMenu.Add("hyd", new CheckBox("Kullan [Hydra] Reset AA")); ComboMenu.Add("ihp", new Slider("Benim HP Kullan Mahvolmus <=", 50)); ComboMenu.Add("ihpp", new Slider("Dusman HP Kullan Mahvolmus <=", 50)); HarassMenu = Menu.AddSubMenu("Harass Settings", "Harass"); HarassMenu.AddGroupLabel("Harass Settings"); HarassMenu.Add("HarassQ", new CheckBox("Kullan [Q]")); HarassMenu.Add("HarassW", new CheckBox("Kullan [W]", false)); HarassMenu.Add("HarassE", new CheckBox("Kullan [E]")); HarassMenu.Add("ManaQ", new Slider("Durtmek icin enaz mana", 40)); LaneClearMenu = Menu.AddSubMenu("LaneClear Settings", "LaneClear"); LaneClearMenu.AddGroupLabel("LaneClear Settings"); LaneClearMenu.Add("ClearQ", new CheckBox("Kullan [Q]")); LaneClearMenu.Add("CantLC", new CheckBox("Sadece [Q] Oldurulemiyecek minyonlara", false)); LaneClearMenu.Add("minQ", new Slider("Enaz minyona carpicaksa kullan [Q]", 3, 1, 6)); LaneClearMenu.Add("ClearE", new CheckBox("Kullan [E]")); LaneClearMenu.Add("ClearW", new CheckBox("Kullan [W]", false)); LaneClearMenu.Add("ManaLC", new Slider("Koridortemizleme icin enaz mana", 60)); LastHitMenu = Menu.AddSubMenu("LastHit Settings", "LastHit"); LastHitMenu.AddGroupLabel("LastHit Settings"); LastHitMenu.Add("LastQ", new CheckBox("Kullan [Q] SonVurus", false)); LastHitMenu.Add("LhAA", new CheckBox("Sadece [Q] Oldurulemiyecek minyonlara")); LastHitMenu.Add("LastE", new CheckBox("Kullan [E] SonVurus")); LastHitMenu.Add("LhMana", new Slider("SonVurus icin enaz mana", 60)); JungleClearMenu = Menu.AddSubMenu("JungleClear Settings", "JungleClear"); JungleClearMenu.AddGroupLabel("JungleClear Settings"); JungleClearMenu.Add("QJungle", new CheckBox("Kullan [Q]")); JungleClearMenu.Add("WJungle", new CheckBox("Kullan [W]")); JungleClearMenu.Add("EJungle", new CheckBox("Kullan [E]")); JungleClearMenu.Add("MnJungle", new Slider("Orman icin enaz mana", 30)); Misc = Menu.AddSubMenu("Ultimate Settings", "Misc"); Misc.Add("Ulti", new CheckBox("Kullan Ulti")); Misc.AddGroupLabel("Kullanilsin [R]"); Misc.Add("stun", new CheckBox("Sabitlenme")); Misc.Add("rot", new CheckBox("Root")); Misc.Add("knockup", new CheckBox("Itilme")); Misc.Add("tunt", new CheckBox("Taunt")); Misc.Add("charm", new CheckBox("Cekilme", false)); Misc.Add("snare", new CheckBox("Kapan")); Misc.Add("blind", new CheckBox("Korlesme", false)); Misc.Add("disarm", new CheckBox("Engellenme", false)); Misc.Add("fear", new CheckBox("Korku", false)); Misc.Add("silence", new CheckBox("Susturma", false)); Misc.Add("supperss", new CheckBox("Supperss", false)); Misc.Add("slow", new CheckBox("Yavaslama", false)); Misc.Add("poison", new CheckBox("Zehir", false)); Misc.Add("knockback", new CheckBox("Tekmelenince", false)); Misc.Add("nearsight", new CheckBox("Gorus Engellenince", false)); Misc.Add("poly", new CheckBox("Polymorph", false)); Misc.AddGroupLabel("Ultimate Setting"); Misc.Add("healulti", new Slider("Kullanmak icin enaz HP [R]", 60)); Misc.Add("Rulti", new Slider("Enaz dusman sayisi [R]", 1, 1, 5)); Misc.AddGroupLabel("Ultimate Delay"); Misc.Add("delay", new Slider("Gecikme", 0, 0, 1000)); KillStealMenu = Menu.AddSubMenu("KillSteal Settings", "KillSteal"); KillStealMenu.AddGroupLabel("KillSteal Settings"); KillStealMenu.Add("KsQ", new CheckBox("Kullan [Q] Oldururken")); KillStealMenu.Add("KsE", new CheckBox("Kullan [E] Oldururken")); KillStealMenu.Add("KsIgnite", new CheckBox("Kullan [Tutustur] Oldururken")); Skin = Menu.AddSubMenu("Skin Changer", "SkinChanger"); Skin.AddGroupLabel("Skin Settings"); Skin.Add("checkSkin", new CheckBox("Skin Secici kullan")); Skin.Add("skin.Id", new ComboBox("Skin Mode", 3, "Default", "1", "2", "3", "4", "5", "6")); Drawings = Menu.AddSubMenu("Misc Settings", "Draw"); Drawings.AddGroupLabel("Misc Setting"); Drawings.Add("QStun", new CheckBox("Kullan [Q] eger dusman CC'lenirse(Stan vb.)", false)); Drawings.Add("AntiGap", new CheckBox("Kullan [Q] Atilma Yapanlara")); Drawings.AddGroupLabel("Drawing Settings"); Drawings.Add("DrawQ", new CheckBox("Goster Q Menzili")); Drawings.Add("DrawE", new CheckBox("Goster E Menzili", false)); Drawings.Add("Axe", new CheckBox("Baltayi Goster")); Drawing.OnDraw += Drawing_OnDraw; Game.OnUpdate += Game_OnUpdate; Orbwalker.OnPostAttack += ResetAttack; Gapcloser.OnGapcloser += Gapcloser_OnGapcloser; GameObject.OnCreate += GameObject_OnCreate; GameObject.OnDelete += GameObject_OnDelete; Orbwalker.OnUnkillableMinion += Orbwalker_CantLasthit; }
private void CreateSkin() { var baseStyle = new ControlStyle(); baseStyle.Tiling = TextureMode.Grid; baseStyle.Grid = new Margin(3); baseStyle.Texture = "button_default.dds"; baseStyle.Hot.Texture = "button_hot.dds"; baseStyle.Default.Texture = "button_default.dds"; baseStyle.Pressed.Texture = "button_down.dds"; baseStyle.Focused.Texture = "button_hot.dds"; baseStyle.SelectedPressed.Texture = "button_down.dds"; baseStyle.SelectedFocused.Texture = "button_hot.dds"; baseStyle.Selected.Texture = "button_hot.dds"; baseStyle.SelectedHot.Texture = "button_hot.dds"; baseStyle.CheckedPressed.Texture = "button_down.dds"; baseStyle.CheckedFocused.Texture = "button_down.dds"; baseStyle.Checked.Texture = "button_down.dds"; baseStyle.CheckedHot.Texture = "button_down.dds"; var itemStyle = new ControlStyle(baseStyle); itemStyle.TextPadding = new Margin(10, 0, 0, 0); itemStyle.TextAlign = Alignment.MiddleLeft; var buttonStyle = new ControlStyle(baseStyle); buttonStyle.TextPadding = new Margin(0); buttonStyle.TextAlign = Alignment.MiddleCenter; var tooltipStyle = new ControlStyle(buttonStyle); tooltipStyle.TextPadding = new Margin(8); tooltipStyle.TextAlign = Alignment.TopLeft; tooltipStyle.Texture = "border.dds"; tooltipStyle.Tiling = TextureMode.Grid; tooltipStyle.Grid = new Margin(2); tooltipStyle.BackColor = ColorInt.Rgba(0, 0, 0, .9f); var inputStyle = new ControlStyle(); inputStyle.Texture = "input_default.dds"; inputStyle.Hot.Texture = "input_focused.dds"; inputStyle.Focused.Texture = "input_focused.dds"; inputStyle.TextPadding = new Margin(8); inputStyle.Tiling = TextureMode.Grid; inputStyle.Focused.Tint = ColorInt.Rgba(1, 0, 0, 1); inputStyle.Grid = new Margin(3); var windowStyle = new ControlStyle(); windowStyle.Tiling = TextureMode.Grid; windowStyle.Grid = new Margin(12); windowStyle.Texture = "window.dds"; windowStyle.BackColor = ColorInt.Rgba(0, 0, 0, .9f); var frameStyle = new ControlStyle(); frameStyle.Tiling = TextureMode.Grid; frameStyle.Grid = new Margin(2); frameStyle.Texture = "frame.dds"; frameStyle.TextPadding = new Margin(8); var vscrollTrackStyle = new ControlStyle(); vscrollTrackStyle.Tiling = TextureMode.Grid; vscrollTrackStyle.Grid = new Margin(3); vscrollTrackStyle.Texture = "vscroll_track.dds"; var vscrollButtonStyle = new ControlStyle(); vscrollButtonStyle.Tiling = TextureMode.Grid; vscrollButtonStyle.Grid = new Margin(4); vscrollButtonStyle.Texture = "vscroll_button.dds"; vscrollButtonStyle.Hot.Texture = "vscroll_button_hot.dds"; vscrollButtonStyle.Pressed.Texture = "vscroll_button_down.dds"; var vscrollUp = new ControlStyle(); vscrollUp.Default.Texture = "vscrollUp_default.dds"; vscrollUp.Hot.Texture = "vscrollUp_hot.dds"; vscrollUp.Pressed.Texture = "vscrollUp_down.dds"; vscrollUp.Focused.Texture = "vscrollUp_hot.dds"; var hscrollTrackStyle = new ControlStyle(); hscrollTrackStyle.Tiling = TextureMode.Grid; hscrollTrackStyle.Grid = new Margin(3); hscrollTrackStyle.Texture = "hscroll_track.dds"; var hscrollButtonStyle = new ControlStyle(); hscrollButtonStyle.Tiling = TextureMode.Grid; hscrollButtonStyle.Grid = new Margin(3); hscrollButtonStyle.Texture = "hscroll_button.dds"; hscrollButtonStyle.Hot.Texture = "hscroll_button_hot.dds"; hscrollButtonStyle.Pressed.Texture = "hscroll_button_down.dds"; var hscrollUp = new ControlStyle(); hscrollUp.Default.Texture = "hscrollUp_default.dds"; hscrollUp.Hot.Texture = "hscrollUp_hot.dds"; hscrollUp.Pressed.Texture = "hscrollUp_down.dds"; hscrollUp.Focused.Texture = "hscrollUp_hot.dds"; var checkButtonStyle = new ControlStyle(); checkButtonStyle.Default.Texture = "checkbox_default.dds"; checkButtonStyle.Hot.Texture = "checkbox_hot.dds"; checkButtonStyle.Pressed.Texture = "checkbox_down.dds"; checkButtonStyle.Checked.Texture = "checkbox_checked.dds"; checkButtonStyle.CheckedFocused.Texture = "checkbox_checked_hot.dds"; checkButtonStyle.CheckedHot.Texture = "checkbox_checked_hot.dds"; checkButtonStyle.CheckedPressed.Texture = "checkbox_down.dds"; var comboLabelStyle = new ControlStyle(); comboLabelStyle.TextPadding = new Margin(10, 0, 0, 0); comboLabelStyle.Default.Texture = "combo_default.dds"; comboLabelStyle.Hot.Texture = "combo_hot.dds"; comboLabelStyle.Pressed.Texture = "combo_down.dds"; comboLabelStyle.Focused.Texture = "combo_hot.dds"; comboLabelStyle.Tiling = TextureMode.Grid; comboLabelStyle.Grid = new Margin(3, 0, 0, 0); var comboButtonStyle = new ControlStyle(); comboButtonStyle.Default.Texture = "combo_button_default.dds"; comboButtonStyle.Hot.Texture = "combo_button_hot.dds"; comboButtonStyle.Pressed.Texture = "combo_button_down.dds"; comboButtonStyle.Focused.Texture = "combo_button_hot.dds"; var borderStyle = new ControlStyle(); borderStyle.Hot.Texture = "border.dds"; borderStyle.Pressed.Texture = "border.dds"; borderStyle.Tiling = TextureMode.Grid; borderStyle.Grid = new Margin(4); var labelStyle = new ControlStyle(); labelStyle.TextAlign = Alignment.TopLeft; labelStyle.TextPadding = new Margin(8); var handleNw = new ControlStyle(); handleNw.Texture = "handleNW.dds"; var handleNe = new ControlStyle(); handleNe.Texture = "handleNE.dds"; labelStyle.TextPadding = new Margin(8); var skin = new Skin(); skin.Add("item", itemStyle); skin.Add("textbox", inputStyle); skin.Add("button", buttonStyle); skin.Add("window", windowStyle); skin.Add("frame", frameStyle); skin.Add("checkBox", checkButtonStyle); skin.Add("comboLabel", comboLabelStyle); skin.Add("comboButton", comboButtonStyle); skin.Add("vscrollTrack", vscrollTrackStyle); skin.Add("vscrollButton", vscrollButtonStyle); skin.Add("vscrollUp", vscrollUp); skin.Add("hscrollTrack", hscrollTrackStyle); skin.Add("hscrollButton", hscrollButtonStyle); skin.Add("hscrollUp", hscrollUp); skin.Add("multiline", labelStyle); skin.Add("tooltip", tooltipStyle); skin.Add("border", borderStyle); skin.Add("handleNE", handleNe); skin.Add("handleNW", handleNw); Skin = skin; //Gui.SetSkin(skin); var cursorSize = new Point(32, 32); var halfSize = cursorSize / 2; //skin.Cursors.Add(Cursors.Default, new Cursor { Texture = "cursors\\Arrow.png", Size = cursorSize, HotSpot = Point.Zero }); //skin.Cursors.Add(Cursors.Link, new Cursor { Texture = "cursors\\Link.png", Size = cursorSize, HotSpot = Point.Zero }); //skin.Cursors.Add(Cursors.Move, new Cursor { Texture = "cursors\\Move.png", Size = cursorSize, HotSpot = halfSize }); //skin.Cursors.Add(Cursors.Select, new Cursor { Texture = "cursors\\Select.png", Size = cursorSize, HotSpot = halfSize }); //skin.Cursors.Add(Cursors.SizeNS, new Cursor { Texture = "cursors\\SizeNS.png", Size = cursorSize, HotSpot = halfSize }); //skin.Cursors.Add(Cursors.SizeWE, new Cursor { Texture = "cursors\\SizeWE.png", Size = cursorSize, HotSpot = halfSize }); //skin.Cursors.Add(Cursors.HSplit, new Cursor { Texture = "cursors\\SizeNS.png", Size = cursorSize, HotSpot = halfSize }); //skin.Cursors.Add(Cursors.VSplit, new Cursor { Texture = "cursors\\SizeWE.png", Size = cursorSize, HotSpot = halfSize }); //skin.Cursors.Add(Cursors.SizeNESW, new Cursor { Texture = "cursors\\SizeNESW.png", Size = cursorSize, HotSpot = halfSize }); //skin.Cursors.Add(Cursors.SizeNWSE, new Cursor { Texture = "cursors\\SizeNWSE.png", Size = cursorSize, HotSpot = halfSize }); }
private static void OnLoadingComplete(EventArgs args) { if (!_Player.ChampionName.Contains("Tristana")) { return; } Chat.Print("Bristana Loaded!", Color.Orange); Bootstrap.Init(null); Q = new Spell.Active(SpellSlot.Q); W = new Spell.Skillshot(SpellSlot.W, 900, SkillShotType.Circular, 450, int.MaxValue, 180); E = new Spell.Targeted(SpellSlot.E, (uint)Player.Instance.GetAutoAttackRange()); R = new Spell.Targeted(SpellSlot.R, (uint)Player.Instance.GetAutoAttackRange()); Botrk = new Item(ItemId.Blade_of_the_Ruined_King); Bil = new Item(3144, 475f); Thm = new Font(Drawing.Direct3DDevice, new FontDescription { FaceName = "Tahoma", Height = 32, Weight = FontWeight.Bold, OutputPrecision = FontPrecision.Default, Quality = FontQuality.ClearType }); Menu = MainMenu.AddMenu("Bristana", "Bristana"); Menu.AddGroupLabel("Bristana"); Menu.AddLabel(" Good Luck! "); SpellMenu = Menu.AddSubMenu("Combo Settings", "Combo"); SpellMenu.AddGroupLabel("Combo Settings"); SpellMenu.Add("ComboQ", new CheckBox("Combo [Q]")); SpellMenu.Add("ComboER", new CheckBox("Combo [ER]")); SpellMenu.AddSeparator(); SpellMenu.Add("RKs", new CheckBox("Combo [R]")); SpellMenu.Add("RKb", new KeyBind(" Semi [R] KillSteal", false, KeyBind.BindTypes.HoldActive, 'R')); SpellMenu.AddSeparator(); SpellMenu.AddGroupLabel("Combo [E] On"); foreach (var target in EntityManager.Heroes.Enemies) { SpellMenu.Add("useECombo" + target.ChampionName, new CheckBox("" + target.ChampionName)); } HarassMenu = Menu.AddSubMenu("Harass Settings", "Harass"); HarassMenu.AddGroupLabel("Harass Settings"); HarassMenu.Add("HarassQ", new CheckBox("Harass [Q]", false)); HarassMenu.AddGroupLabel("Harass [E] on"); foreach (var target in EntityManager.Heroes.Enemies) { HarassMenu.Add("HarassE" + target.ChampionName, new CheckBox("" + target.ChampionName)); } HarassMenu.Add("manaHarass", new Slider("Min Mana For Harass", 50, 0, 100)); LaneMenu = Menu.AddSubMenu("Laneclear Settings", "Clear"); LaneMenu.AddGroupLabel("Laneclear Settings"); LaneMenu.Add("ClearQ", new CheckBox("Laneclear [Q]", false)); LaneMenu.Add("ClearE", new CheckBox("Laneclear [E]", false)); LaneMenu.Add("ClearTower", new CheckBox("Laneclear [E] Turret", false)); LaneMenu.Add("manaFarm", new Slider("Min Mana For LaneClear", 50, 0, 100)); JungleMenu = Menu.AddSubMenu("JungleClear Settings", "JungleClear"); JungleMenu.AddGroupLabel("JungleClear Settings"); JungleMenu.Add("jungleQ", new CheckBox("JungleClear [Q]")); JungleMenu.Add("jungleE", new CheckBox("JungleClear [E]")); JungleMenu.Add("jungleW", new CheckBox("JungleClear [W]", false)); JungleMenu.Add("manaJung", new Slider("Min Mana For JungleClear", 50, 0, 100)); Items = Menu.AddSubMenu("Items Settings", "Items"); Items.AddGroupLabel("Items Settings"); Items.Add("BOTRK", new CheckBox("Use [Botrk]")); Items.Add("ihp", new Slider("My HP Use BOTRK <=", 50)); Items.Add("ihpp", new Slider("Enemy HP Use BOTRK <=", 50)); Items.AddGroupLabel("Qss Settings"); Items.Add("Qss", new CheckBox("Use Qss")); Items.AddGroupLabel("Qss On CC"); Items.Add("stun", new CheckBox("Stuns")); Items.Add("rot", new CheckBox("Root")); Items.Add("tunt", new CheckBox("Taunt")); Items.Add("snare", new CheckBox("Snare")); Items.Add("charm", new CheckBox("Charm", false)); Items.Add("slow", new CheckBox("Slows", false)); Items.Add("blind", new CheckBox("Blinds", false)); Items.Add("fear", new CheckBox("Fear", false)); Items.Add("silence", new CheckBox("Silence", false)); Items.Add("supperss", new CheckBox("Supperss", false)); Items.Add("poly", new CheckBox("Polymorph", false)); Items.Add("delay", new Slider("Humanizer Qss Delay", 0, 0, 1500)); Misc = Menu.AddSubMenu("Misc Settings", "Draw"); Misc.AddGroupLabel("Anti Gapcloser"); Misc.Add("antiGap", new CheckBox("Anti Gapcloser")); Misc.Add("antiRengar", new CheckBox("Anti Rengar")); Misc.Add("antiKZ", new CheckBox("Anti Kha'Zix")); Misc.Add("inter", new CheckBox("Use [R] Interupt")); Misc.AddGroupLabel("Drawings Settings"); Misc.Add("DrawE", new CheckBox("Draw E")); Misc.Add("DrawW", new CheckBox("Draw W", false)); Misc.Add("Notifications", new CheckBox("Notifications Can Kill R")); Skin = Menu.AddSubMenu("Skin Changer", "SkinChanger"); Skin.Add("checkSkin", new CheckBox("Use Skin Changer")); Skin.Add("skin.Id", new ComboBox("Skin Mode", 0, "Classic", "Riot Tristana", "Earnest Elf Tristana", "Firefighter Tristana", "Guerilla Tristana", "Rocket Tristana", "Color Tristana", "Color Tristana", "Color Tristana", "Color Tristana", "Dragon Trainer Tristana")); Game.OnTick += Game_OnTick; Drawing.OnDraw += Drawing_OnDraw; Gapcloser.OnGapcloser += Gapcloser_OnGapCloser; Interrupter.OnInterruptableSpell += Interupt; GameObject.OnCreate += GameObject_OnCreate; }
private static void Load(EventArgs args) { if (Player.ChampionName != "Ekko") { return; } Chat.Print("Ekko7 Loaded!", Color.Yellow); Chat.Print("Doctor7 Good Luck!", Color.GreenYellow); Q = new Spell.Skillshot(SpellSlot.Q, 800, SkillShotType.Linear, (int).25, 1700, 60); Q2 = new Spell.Skillshot(SpellSlot.Q, 1050, SkillShotType.Linear, (int).5f, 1200, 120); W = new Spell.Skillshot(SpellSlot.W, 1600, SkillShotType.Circular, (int).5f, int.MaxValue, 350); E = new Spell.Skillshot(SpellSlot.E, 352, SkillShotType.Linear); R = new Spell.Skillshot(SpellSlot.R, 375, SkillShotType.Circular, (int).1f, int.MaxValue, 375); R1 = new Spell.Active(SpellSlot.R); Menu = MainMenu.AddMenu("Ekko7", "ekko"); Menu.AddGroupLabel("EKKO7"); Menu.AddSeparator(); Menu.AddLabel("FEATURES ADDON"); Menu.AddSeparator(); Menu.AddLabel("Combo Settings"); Menu.AddLabel("Harass Settings"); Menu.AddLabel("LaneClear Settings"); Menu.AddLabel("JungleClear Settings"); Menu.AddLabel("Flee Settings"); Menu.AddLabel("Ultimate Settings"); Menu.AddLabel("Drawings Settings"); Menu.AddLabel("KillSteal Settings"); ComboMenu = Menu.AddSubMenu("Combo Settings", "combo"); ComboMenu.AddGroupLabel("Combo Settings"); ComboMenu.Add("UseQCombo", new CheckBox("Spell [Q]")); ComboMenu.Add("UseECombo", new CheckBox("Spell [E]")); ComboMenu.Add("UseWCombo", new CheckBox("Spell [W]")); ComboMenu.Add("Whit", new Slider("Min W Enemies", 1, 1, 5)); HarassMenu = Menu.AddSubMenu("Harass Settings", "harass"); HarassMenu.AddGroupLabel("Harass Settings"); HarassMenu.Add("QHarass", new CheckBox("Spell [Q]")); HarassMenu.Add("WHarass", new CheckBox("Spell [W]", false)); HarassMenu.Add("EHarass", new CheckBox("Spell [E]", false)); HarassMenu.Add("HarassMana", new Slider("Min Mana For Harass", 50)); HarassMenu.AddSeparator(18); HarassMenu.AddLabel("E Harass Settings"); HarassMenu.Add("DontE", new Slider("Don't Use E >= Enemies", 3, 1, 5)); HarassMenu.Add("EHP", new Slider("Dont Use E HP <= %", 20)); ClearMenu = Menu.AddSubMenu("LaneClear Settings", "Clear Settings"); ClearMenu.AddLabel("Lane Clear"); ClearMenu.Add("QClear", new CheckBox("Spell [Q]")); ClearMenu.Add("ClearMana", new Slider("Min Mana For LaneClear", 60, 0, 100)); JungleMenu = Menu.AddSubMenu("JungleClear Settings", "Jungle Settings"); JungleMenu.AddLabel("Jungle Clear"); JungleMenu.Add("QJungleClear", new CheckBox("Spell [Q]")); JungleMenu.Add("EJungleClear", new CheckBox("Spell [E]")); JungleMenu.Add("JungleMana", new Slider("Min Mana For JungleClear", 30, 0, 100)); Misc = Menu.AddSubMenu("Ultimate Settings", "Misc"); Misc.AddGroupLabel("Ultimate Settings"); Misc.AddSeparator(18); Misc.AddLabel("Ultimate Settings"); Misc.Add("UseRHit", new CheckBox("Use R Count", false)); Misc.Add("RHit", new Slider("R Count Enemies >= {0}", 3, 2, 5)); Misc.Add("R_Safe_Net2", new Slider("R If HP <= %", 25, 0, 100)); Misc.Add("RKill", new CheckBox("R Killable", false)); Skin = Menu.AddSubMenu("Skin Changer", "SkinChanger"); Skin.Add("checkSkin", new CheckBox("Use Skin Changer")); Skin.Add("skin.Id", new ComboBox("Skin Mode", 0, "Classic", "1", "2")); Drawings = Menu.AddSubMenu("Draw Settings", "Draw"); Drawings.AddGroupLabel("Drawing Settings"); Drawings.Add("DrawQ", new CheckBox("Q Range")); Drawings.Add("DrawW", new CheckBox("W Range", false)); Drawings.Add("DrawE", new CheckBox("E Range", false)); Drawings.Add("DrawR", new CheckBox("R Range")); AttackableUnit.OnDamage += AIHeroClient_OnDamage; Drawing.OnDraw += Drawing_OnDraw; Game.OnUpdate += Game_OnUpdate; }
static void OnLoadingComplete(EventArgs args) { if (!_Player.ChampionName.Contains("Ezreal")) { return; } Chat.Print("Ezreal7 Loaded!", Color.GreenYellow); Chat.Print("Please Setting Target Harass Before Playing", Color.Yellow); Bootstrap.Init(null); Q = new Spell.Skillshot(SpellSlot.Q, 1150, SkillShotType.Linear, 250, 2000, 60); W = new Spell.Skillshot(SpellSlot.W, 1000, SkillShotType.Linear, 250, 1550, 80); W.AllowedCollisionCount = int.MaxValue; E = new Spell.Skillshot(SpellSlot.E, 475, SkillShotType.Linear, 250, 2000, 100); R = new Spell.Skillshot(SpellSlot.R, 5000, SkillShotType.Linear, 1000, 2000, 160); R.AllowedCollisionCount = int.MaxValue; Botrk = new Item(ItemId.Blade_of_the_Ruined_King); if (_Player.GetSpellSlotFromName("summonerdot") != SpellSlot.Unknown) { Ignite = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerdot"), 600); } Menu = MainMenu.AddMenu("Ezreal7", "Ezreal"); Menu.AddSeparator(); ComboMenu = Menu.AddSubMenu("Combo Settings", "Combo"); ComboMenu.AddSeparator(); ComboMenu.AddLabel("Combo Settings"); ComboMenu.Add("ComboQ", new CheckBox("Spell [Q]")); ComboMenu.Add("ComboW", new CheckBox("Spell [W]")); ComboMenu.Add("item", new CheckBox("Use [BOTRK]")); ComboMenu.Add("ComboRange", new Slider("Q-W Distance", 900, 0, 1000)); ComboMenu.AddSeparator(); ComboMenu.Add("ComboR", new CheckBox("Spell [R]")); ComboMenu.AddSeparator(); ComboMenu.Add("MinRangeR", new Slider("Min Range Cast [R]", 1000, 0, 5000)); ComboMenu.AddSeparator(); ComboMenu.Add("MaxRangeR", new Slider("Max Range Cast [R]", 3000, 0, 5000)); ComboMenu.AddSeparator(); ComboMenu.Add("MinR", new Slider("Min Enemies Use [R]", 2, 0, 5)); HarassMenu = Menu.AddSubMenu("Harass Settings", "Harass"); HarassMenu.AddLabel("Harass Settings"); HarassMenu.Add("HarassQ", new CheckBox("Spell [Q]")); HarassMenu.Add("ManaQ", new Slider("Min Mana Harass [Q]", 40)); HarassMenu.AddSeparator(); HarassMenu.Add("HarassW", new CheckBox("Spell [W]", false)); HarassMenu.Add("ManaW", new Slider("Min Mana Harass [W]<=", 40)); HarassMenu.AddSeparator(); HarassMenu.AddLabel("Harass On"); foreach (var enemies in EntityManager.Heroes.Enemies) { HarassMenu.Add("haras" + enemies.ChampionName, new CheckBox("" + enemies.ChampionName)); } Auto = Menu.AddSubMenu("Auto Harass Settings", "Auto Harass"); Auto.AddLabel("Auto Harass Settings"); Auto.Add("AutoQ", new CheckBox("Auto [Q]")); Auto.Add("AutomanaQ", new Slider("Min Mana Auto [Q]", 60)); Auto.AddSeparator(); Auto.Add("AutoW", new CheckBox("Auto [W]", false)); Auto.Add("AutomanaW", new Slider("Min Mana Auto [W]", 60)); Auto.AddSeparator(); Auto.AddLabel("Auto Harass On"); foreach (var enemies in EntityManager.Heroes.Enemies) { Auto.Add("harass" + enemies.ChampionName, new CheckBox("" + enemies.ChampionName)); } LaneClearMenu = Menu.AddSubMenu("LaneClear Settings", "LaneClear"); LaneClearMenu.AddLabel("LastHit Settings"); LaneClearMenu.Add("LastQ", new CheckBox("Always [Q] LastHit")); LaneClearMenu.Add("LhMana", new Slider("Min Mana Lasthit [Q]", 60)); LaneClearMenu.AddSeparator(); LaneClearMenu.Add("LhAA", new CheckBox("Only [Q] LastHit If Out Range AA", false)); LaneClearMenu.Add("AAMana", new Slider("Min Mana Lasthit [Q] If Out Range AA", 50)); LaneClearMenu.AddSeparator(); LaneClearMenu.AddLabel("Lane Clear Settings"); LaneClearMenu.Add("LastQLC", new CheckBox("Always LastHit With [Q]", false)); LaneClearMenu.Add("ManaLC", new Slider("Min Mana LaneClear With [Q]", 70)); LaneClearMenu.AddSeparator(); LaneClearMenu.Add("LastAA", new CheckBox("Only [Q] LastHit If Out Range AA")); LaneClearMenu.Add("ManaLA", new Slider("Min Mana LastHit [Q] If Out Range AA", 50)); JungleClearMenu = Menu.AddSubMenu("JungleClear Settings", "JungleClear"); JungleClearMenu.AddLabel("JungleClear Settings"); JungleClearMenu.Add("QJungle", new CheckBox("Spell [Q]")); JungleClearMenu.Add("MnJungle", new Slider("Min Mana JungleClear [Q]", 30)); Misc = Menu.AddSubMenu("Misc Settings", "Misc"); Misc.AddLabel("AntiGap Settings"); Misc.Add("AntiGap", new CheckBox("Use [E] AntiGapcloser")); Misc.AddSeparator(); Misc.AddLabel("Ultimate On CC Settings"); Misc.Add("Rstun", new CheckBox("Use [R] If Enemy Has CC")); Misc.Add("MinR", new Slider("Min Range Use [R]", 800, 300, 2000)); Misc.Add("MaxR", new Slider("Max Range Use [R]", 2200, 300, 30000)); Misc.AddSeparator(); Misc.AddLabel("Auto Stacks Settings"); Misc.Add("Stack", new CheckBox("Auto Stacks In Shop")); KillStealMenu = Menu.AddSubMenu("KillSteal Settings", "KillSteal"); KillStealMenu.AddLabel("KillSteal Settings"); KillStealMenu.Add("KsQ", new CheckBox("Use [Q] KillSteal")); KillStealMenu.Add("KsW", new CheckBox("Use [W] KillSteal")); KillStealMenu.Add("ign", new CheckBox("Use [Ignite] KillSteal")); KillStealMenu.AddSeparator(); KillStealMenu.AddLabel("Ultimate Settings"); KillStealMenu.Add("KsR", new CheckBox("Use [R] KillSteal")); KillStealMenu.Add("minKsR", new Slider("Min [R] Range KillSteal", 900, 1, 5000)); KillStealMenu.Add("maxKsR", new Slider("Max [R] Range KillSteal", 4000, 1, 5000)); Skin = Menu.AddSubMenu("Skin Changer", "SkinChanger"); Skin.Add("checkSkin", new CheckBox("Use Skin Changer")); Skin.Add("skin.Id", new ComboBox("Skin Mode", 8, "Default", "1", "2", "3", "4", "5", "6", "7", "8")); Drawings = Menu.AddSubMenu("Draw Settings", "Draw"); Drawings.AddGroupLabel("Drawing Settings"); Drawings.Add("DrawQ", new CheckBox("Q Range")); Drawings.Add("DrawW", new CheckBox("W Range", false)); Drawings.Add("DrawE", new CheckBox("E Range", false)); Drawing.OnDraw += Drawing_OnDraw; Game.OnTick += Game_OnTick; Gapcloser.OnGapcloser += Gapcloser_OnGapcloser; Obj_AI_Turret.OnBasicAttack += Obj_AI_Turret_OnBasicAttack2; }
static void OnLoadingComplete(EventArgs args) { if (!_Player.ChampionName.Contains("Hecarim")) { return; } Chat.Print("Hecarim7 Loaded!", Color.Orange); Bootstrap.Init(null); 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); R.AllowedCollisionCount = int.MaxValue; Ignite = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerdot"), 600); Menu = MainMenu.AddMenu("Hecarim7", "Hecarim"); Menu.AddSeparator(); ComboMenu = Menu.AddSubMenu("Combo Settings", "Combo"); ComboMenu.AddSeparator(); ComboMenu.AddLabel("Combo Settings"); ComboMenu.Add("ComboQ", new CheckBox("Spell [Q]")); ComboMenu.Add("ComboW", new CheckBox("Spell [W]")); ComboMenu.Add("ComboE", new CheckBox("Spell [E]")); ComboMenu.AddSeparator(); ComboMenu.Add("ComboR", new CheckBox("Spell [R]")); ComboMenu.AddSeparator(); ComboMenu.Add("MinR", new Slider("Min Enemies Use [R]", 3, 0, 5)); HarassMenu = Menu.AddSubMenu("Harass Settings", "Harass"); HarassMenu.AddLabel("Harass Settings"); HarassMenu.Add("HarassQ", new CheckBox("Spell [Q]")); HarassMenu.Add("ManaQ", new Slider("Min Mana Harass [Q]", 40)); HarassMenu.AddSeparator(); HarassMenu.Add("HarassW", new CheckBox("Spell [W]", false)); HarassMenu.Add("ManaW", new Slider("Min Mana Harass [W]<=", 40)); Auto = Menu.AddSubMenu("Auto Harass Settings", "Auto Harass"); Auto.AddLabel("Auto Harass Settings"); Auto.Add("AutoQ", new CheckBox("Auto [Q]")); Auto.Add("ManaQ", new Slider("Min Mana Auto [Q]", 60)); LaneClearMenu = Menu.AddSubMenu("LaneClear Settings", "LaneClear"); LaneClearMenu.AddLabel("LastHit Settings"); LaneClearMenu.Add("LastQ", new CheckBox("Spell [Q] LastHit")); LaneClearMenu.Add("LhMana", new Slider("Min Mana Lasthit [Q]", 60)); LaneClearMenu.AddSeparator(); LaneClearMenu.AddLabel("Lane Clear Settings"); LaneClearMenu.Add("LastQLC", new CheckBox("LaneClear With [Q]")); LaneClearMenu.Add("ManaLC", new Slider("Min Mana [Q] LaneClear", 50)); LaneClearMenu.Add("LastWLC", new CheckBox("LaneClear With [W]")); LaneClearMenu.Add("ManaLCW", new Slider("Min Mana [W] LaneClear", 70)); KillStealMenu = Menu.AddSubMenu("KillSteal Settings", "KillSteal"); KillStealMenu.AddLabel("KillSteal Settings"); KillStealMenu.Add("KsQ", new CheckBox("Use [Q] KillSteal")); KillStealMenu.Add("KsW", new CheckBox("Use [W] KillSteal")); KillStealMenu.Add("ign", new CheckBox("Use [Ignite] KillSteal")); KillStealMenu.AddSeparator(); KillStealMenu.AddLabel("Ultimate Settings"); KillStealMenu.Add("KsR", new CheckBox("Use [R] KillSteal")); KillStealMenu.Add("minKsR", new Slider("Min [R] Distance KillSteal", 100, 1, 700)); Skin = Menu.AddSubMenu("Skin Changer", "SkinChanger"); Skin.Add("checkSkin", new CheckBox("Use Skin Changer")); Skin.Add("skin.Id", new ComboBox("Skin Mode", 8, "Default", "1", "2", "3", "4", "5", "6", "7", "8")); Drawings = Menu.AddSubMenu("Draw Settings", "Draw"); Drawings.AddGroupLabel("Drawing Settings"); Drawings.Add("DrawQ", new CheckBox("Q Range")); Drawings.Add("DrawW", new CheckBox("W Range", false)); Drawing.OnDraw += Drawing_OnDraw; Game.OnTick += Game_OnTick; }
private static void Loading_OnLoadingComplete(EventArgs args) { if (Player.Instance.ChampionName != "Ekko") { return; } Bootstrap.Init(null); uint level = (uint)Player.Instance.Level; Q = new Spell.Skillshot(SpellSlot.Q, 750, SkillShotType.Linear, 250, 2200, 60); W = new Spell.Skillshot(SpellSlot.W, 1620, SkillShotType.Circular, 500, 1000, 500); E = new Spell.Skillshot(SpellSlot.E, 400, SkillShotType.Linear, 250, int.MaxValue, 1); R = new Spell.Active(SpellSlot.R, 400); EkkoUlt = ObjectManager.Get <Obj_GeneralParticleEmitter>().FirstOrDefault(x => x.Name.Equals("Ekko_Base_R_TrailEnd.troy")); Menu = MainMenu.AddMenu("Ekko", "Ekko"); ComboMenu = Menu.AddSubMenu("Combo"); 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.AddLabel("R Settings"); ComboMenu.Add("SafeR", new CheckBox("Auto R is Dying")); ComboMenu.Add("SafeRHP", new Slider("HP < %", 10, 1, 50)); ComboMenu.Add("AutoR", new CheckBox("Auto R in Enemy Count", false)); ComboMenu.Add("AutoRCount", new Slider("Enemy Count >=", 3, 1, 5)); ComboMenu.Add("BaseR", new CheckBox("Base to Lane", false)); HarassMenu = Menu.AddSubMenu("Harass"); HarassMenu.Add("QHarass", new CheckBox("Use Q")); HarassMenu.Add("QHarassMana", new Slider("Mana > %", 45, 0, 100)); HarassMenu.Add("WHarass", new CheckBox("Use W")); HarassMenu.Add("WHarassMana", new Slider("Mana > %", 45, 0, 100)); HarassMenu.Add("EHarass", new CheckBox("Use E")); HarassMenu.Add("EHarassMana", new Slider("Mana > %", 45, 0, 100)); FarmingMenu = Menu.AddSubMenu("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", false)); FarmingMenu.Add("WlaneclearMana", new Slider("Mana > %", 35, 0, 100)); FarmingMenu.Add("ELaneClear", new CheckBox("Use E LaneClear")); FarmingMenu.Add("ElaneclearMana", new Slider("Mana > %", 60, 0, 100)); FarmingMenu.AddLabel("Jungle Clear"); FarmingMenu.Add("QJungleClear", new CheckBox("Use Q in Jungle")); FarmingMenu.Add("QJungleClearMana", new Slider("Mana > %", 30, 0, 100)); FarmingMenu.Add("WJungleClear", new CheckBox("Use W in Jungle")); FarmingMenu.Add("WJungleClearMana", new Slider("Mana > %", 30, 0, 100)); FarmingMenu.Add("EJungleClear", new CheckBox("Use E in Jungle")); FarmingMenu.Add("EJungleClearMana", new Slider("Mana > %", 30, 0, 100)); FarmingMenu.AddLabel("Last Hit Settings"); FarmingMenu.Add("Qlasthit", new CheckBox("Use Q LastHit")); FarmingMenu.Add("QlasthitMana", new Slider("Mana > %", 35, 0, 100)); Skin = Menu.AddSubMenu("Skin Changer", "SkinChanger"); Skin.Add("checkSkin", new CheckBox("Use Skin Changer")); Skin.Add("skin.Id", new Slider("Skin", 1, 0, 2)); MiscMenu = Menu.AddSubMenu("Misc"); MiscMenu.AddLabel("Auto"); MiscMenu.Add("Auto Ignite", new CheckBox("Auto Ignite")); MiscMenu.Add("FleeE", new CheckBox("Use E to Flee/Escape")); MiscMenu.Add("autoW", new CheckBox("Auto W in Enemy Count")); MiscMenu.Add("autoWCount", new Slider("Enemy Count ", 3, 1, 5)); MiscMenu.Add("autoWStunned", new CheckBox("Auto W Stunned Enemy")); MiscMenu.Add("Interrupter", new CheckBox("Interrupt Spells With W")); MiscMenu.Add("Gapcloser", new CheckBox("Gapclose Spells With Q,W")); MiscMenu.AddLabel("KillSteal"); MiscMenu.Add("Qkill", new CheckBox("Use Q KillSteal")); MiscMenu.Add("Ekill", new CheckBox("Use E KillSteal")); MiscMenu.Add("Rkill", new CheckBox("Use R 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 < %", 65, 0, 100)); MiscMenu.Add("useCrystalManaV", new Slider("Mana < %", 65, 0, 100)); DrawMenu = Menu.AddSubMenu("Draw Settings", "Drawings"); DrawMenu.Add("drawQ", new CheckBox("Draw Q Range")); DrawMenu.Add("drawW", new CheckBox("Draw W Range")); DrawMenu.Add("drawE", new CheckBox("Draw E Range")); DrawMenu.Add("drawR", new CheckBox("Draw R Range")); Game.OnTick += Game_OnTick; Drawing.OnDraw += Drawing_OnDraw; GameObject.OnCreate += GameObject_OnCreate; GameObject.OnDelete += GameObject_OnDelete; Dash.OnDash += Unit_OnDash; Obj_AI_Base.OnProcessSpellCast += Obj_AI_Base_OnProcessSpellCast; Gapcloser.OnGapcloser += Gapcloser_OnGapCloser; Chat.Print("Time Breaker Ekko", System.Drawing.Color.ForestGreen); Chat.Print("v0.0.0.1", System.Drawing.Color.AliceBlue); Chat.Print("centilmen50", System.Drawing.Color.Red); }
static void OnLoadingComplete(EventArgs args) { if (Player.BaseSkinName != CN) { Chat.Print("Wrong Champion Please Select Champ: " + CN + ", addon disabled please retry"); return; } Bilgewater = new Item(3144, 550); Randuin = new Item(3143, 500); Glory = new Item(3800); QSS = new Item(3140); FOTMountain = new Item(3401); Mikael = new Item(3222, 750); Solari = new Item(3190, 1100); Menu = MainMenu.AddMenu("Perfect Braum", "Perfect Braum"); string slot = ""; string champ = ""; Combo = Menu.AddSubMenu("Kombo Ayarları"); Combo.Add("ComboUseQ", new CheckBox("Q Kullan")); Combo.Add("ComboUseW", new CheckBox("W Kullan")); Combo.Add("ComboUseE", new CheckBox("E Kullan")); Combo.Add("ComboUseR", new CheckBox("R Kullan")); Combo.Add("rCount", new Slider("R için şu kadar düşman >= ", 3, 1, 5)); Auto = Menu.AddSubMenu("Otomatik Ayarlar"); Auto.Add("AutoE", new CheckBox("Büyülerden E ile otomatik dodgele ")); Auto.Add("AutoR", new CheckBox("Tehlikeli büyüleri otomatik R ile dodgele")); Auto.Add("AutoMikael", new CheckBox("Mikaili Dostlara otomatik Kullan")); Auto.Add("AutoRanduin", new CheckBox("Otomatik Kullan Randuin")); Auto.Add("AutoGlory", new CheckBox("Otomatik Kullan Görkemli Zafer")); Auto.Add("AutoFOT", new CheckBox("Otomatik Kullan Dostlarda Dağın Sureti")); Auto.Add("AutoSolari", new CheckBox("Otomatik Kullan Solari Broşu'nin")); Auto.Add("AutoQSS", new CheckBox("Otomatik Kullan QSS")); foreach (string spell in DodgeSpells) { if (EntityManager.Heroes.Enemies.Where(enemy => enemy.Spellbook.Spells.Where(it => it.SData.Name == spell && (slot = it.Slot.ToString()) == it.Slot.ToString() && (champ = enemy.BaseSkinName) == enemy.BaseSkinName).Any()).Any()) { Auto.Add(spell, new CheckBox("Interrupt " + champ + slot + " ?")); } } Draw = Menu.AddSubMenu("Gösterge Ayarları", "DrawSettings"); Draw.Add("DrawAA", new CheckBox("Göster AA Menzili")); Draw.Add("DrawQ", new CheckBox("Göster Q Menzili")); Draw.Add("DrawW", new CheckBox("Göster W Menzili")); Draw.Add("DrawR", new CheckBox("Göster R Menzili")); Skin = Menu.AddSubMenu("Skin Değiştirici", "SkinChange"); Skin.Add("checkSkin", new CheckBox("Kullan Skin Değiştirici")); Skin.Add("skin.Id", new Slider("Skin", 3, 0, 3)); Update = Menu.AddSubMenu("Güncelleme Kayıtları", "UpdateLogs"); Update.AddLabel("V0.2 Updated"); Update.AddLabel("- W atma düzeltildi"); Update.AddLabel("- E Kullanımı Kısmen Düzeldi(Ben yine üzerinde çalışıyorum)"); Update.AddLabel("Addon Güncellendiğinde tradana iletişime geçin"); Game.OnTick += Game_OnTick; Game.OnUpdate += OnGameUpdate; Drawing.OnDraw += Drawing_OnDraw; AIHeroClient.OnProcessSpellCast += AIHeroClient_OnProcessSpellCast; Chat.Print("Mükemmel " + CN + " Yuklendi, TRAdana iyi oyunlar diler"); }
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); }