├── AutoAIM.csproj.user ├── AutoAIM.sln ├── Form1.Designer.cs ├── Form1.cs ├── Form1.resx ├── Inputs ├── InputSim.cs └── Keys.cs ├── Program.cs ├── README.md ├── ScreenCapture ├── AppCAP.cs ├── Interop.cs └── ScreenCapture.cs ├── bin └── Debug │ └── netcoreapp3.1 │ ├── AutoAIM.deps.json │ ├── AutoAIM.dll │ ├── AutoAIM.exe │ ├── AutoAIM.pdb │ ├── AutoAIM.runtimeconfig.dev.json │ ├── AutoAIM.runtimeconfig.json │ ├── FastBitmapLib.dll │ └── LowLevelInput.dll └── obj ├── AutoAIM.csproj.nuget.dgspec.json ├── AutoAIM.csproj.nuget.g.props ├── AutoAIM.csproj.nuget.g.targets └── Debug └── netcoreapp3.1 ├── AutoAIM.AssemblyInfo.cs ├── AutoAIM.AssemblyInfoInputs.cache ├── AutoAIM.assets.cache ├── AutoAIM.csproj.AssemblyReference.cache └── apphost.exe /AutoAIM.csproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Form 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /AutoAIM.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio Version 16 4 | VisualStudioVersion = 16.0.31424.327 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoAIM", "AutoAIM\AutoAIM.csproj", "{C09436C4-C9D0-4E2A-92B7-297BE9C6E167}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {C09436C4-C9D0-4E2A-92B7-297BE9C6E167}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {C09436C4-C9D0-4E2A-92B7-297BE9C6E167}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {C09436C4-C9D0-4E2A-92B7-297BE9C6E167}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {C09436C4-C9D0-4E2A-92B7-297BE9C6E167}.Release|Any CPU.Build.0 = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | GlobalSection(ExtensibilityGlobals) = postSolution 23 | SolutionGuid = {8DC26E37-968D-40E4-89E3-1349722E9FCD} 24 | EndGlobalSection 25 | EndGlobal 26 | -------------------------------------------------------------------------------- /Form1.Designer.cs: -------------------------------------------------------------------------------- 1 |  2 | namespace AutoAIM 3 | { 4 | partial class Form1 5 | { 6 | /// 7 | /// Required designer variable. 8 | /// 9 | private System.ComponentModel.IContainer components = null; 10 | 11 | /// 12 | /// Clean up any resources being used. 13 | /// 14 | /// true if managed resources should be disposed; otherwise, false. 15 | protected override void Dispose(bool disposing) 16 | { 17 | if (disposing && (components != null)) 18 | { 19 | components.Dispose(); 20 | } 21 | base.Dispose(disposing); 22 | } 23 | 24 | #region Windows Form Designer generated code 25 | 26 | /// 27 | /// Required method for Designer support - do not modify 28 | /// the contents of this method with the code editor. 29 | /// 30 | private void InitializeComponent() 31 | { 32 | this.SuspendLayout(); 33 | // 34 | // Form1 35 | // 36 | this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F); 37 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 38 | this.ClientSize = new System.Drawing.Size(215, 0); 39 | this.Name = "Form1"; 40 | this.Text = "Xerath AutoAIM"; 41 | this.Load += new System.EventHandler(this.Form1_Load); 42 | this.ResumeLayout(false); 43 | 44 | } 45 | 46 | #endregion 47 | } 48 | } 49 | 50 | -------------------------------------------------------------------------------- /Form1.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Drawing; 3 | using System.Threading; 4 | using System.Windows.Forms; 5 | using LowLevelInput.Hooks; 6 | using AutoAIM.Scr; 7 | using AutoAIM.Inputs; 8 | 9 | namespace AutoAIM 10 | { 11 | public partial class Form1 : Form 12 | { 13 | public Form1() 14 | { 15 | InitializeComponent(); 16 | } 17 | public static readonly InputManager Input = new InputManager(); 18 | private static void InputManager_OnKeyboardEvent(VirtualKeyCode key, KeyState state) 19 | { 20 | if (key == VirtualKeyCode.Q) 21 | { 22 | switch (state) 23 | { 24 | case KeyState.Down: 25 | InputKeys.Keyboard.KeyDown((ushort)DirectInputKeys.DIK_1); 26 | break; 27 | 28 | 29 | case KeyState.Up: 30 | try 31 | { 32 | Point p = Cursor.Position; 33 | FindEnemy(); 34 | InputKeys.Keyboard.KeyUp((ushort)DirectInputKeys.DIK_1); 35 | Thread.Sleep(20); 36 | Cursor.Position = p; 37 | Thread.Sleep(5000); 38 | } 39 | catch 40 | { 41 | } 42 | break; 43 | 44 | } 45 | } 46 | 47 | else if (key == VirtualKeyCode.W) 48 | { 49 | switch (state) 50 | { 51 | case KeyState.Down: 52 | try 53 | { 54 | Point p = Cursor.Position; 55 | FindEnemy(); 56 | InputKeys.Keyboard.KeyPress((ushort)DirectInputKeys.DIK_2); 57 | Thread.Sleep(20); 58 | Cursor.Position = p; 59 | Thread.Sleep(5000); 60 | } 61 | catch 62 | { 63 | } 64 | break; 65 | 66 | 67 | case KeyState.Up: 68 | break; 69 | 70 | } 71 | } 72 | else if (key == VirtualKeyCode.E) 73 | { 74 | switch (state) 75 | { 76 | case KeyState.Down: 77 | try 78 | { 79 | Point p = Cursor.Position; 80 | FindEnemy(); 81 | InputKeys.Keyboard.KeyPress((ushort)DirectInputKeys.DIK_3); 82 | Thread.Sleep(20); 83 | Cursor.Position = p; 84 | Thread.Sleep(5000); 85 | } 86 | catch 87 | { 88 | } 89 | break; 90 | 91 | 92 | case KeyState.Up: 93 | break; 94 | 95 | } 96 | } 97 | else if (key == VirtualKeyCode.R) 98 | { 99 | switch (state) 100 | { 101 | case KeyState.Down: 102 | try 103 | { 104 | Point p = Cursor.Position; 105 | FindEnemy(); 106 | InputKeys.Keyboard.KeyPress((ushort)DirectInputKeys.DIK_4); 107 | Thread.Sleep(20); 108 | Cursor.Position = p; 109 | Thread.Sleep(500); 110 | } 111 | catch 112 | { 113 | } 114 | break; 115 | 116 | 117 | case KeyState.Up: 118 | break; 119 | 120 | } 121 | } 122 | 123 | } 124 | public static void FindEnemy() 125 | { 126 | Color color = Color.FromArgb(66, 7, 1); 127 | var target = ScreenCapture.GetColorPosition(color); 128 | if (target == null) 129 | { 130 | } 131 | else 132 | { 133 | Cursor.Position = new Point(target.Value.X + 67, target.Value.Y + 101); 134 | } 135 | } 136 | 137 | public void Form1_Load(object sender, EventArgs e) 138 | { 139 | Input.Initialize(); 140 | Input.OnKeyboardEvent += InputManager_OnKeyboardEvent; 141 | } 142 | } 143 | } 144 | -------------------------------------------------------------------------------- /Form1.resx: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | text/microsoft-resx 50 | 51 | 52 | 2.0 53 | 54 | 55 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 56 | 57 | 58 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 59 | 60 | -------------------------------------------------------------------------------- /Inputs/InputSim.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Runtime.InteropServices; 3 | 4 | namespace AutoAIM.Inputs 5 | { 6 | public static class InputKeys 7 | { 8 | 9 | [DllImport("user32.dll", SetLastError = true)] 10 | private static extern uint SendInput(uint nInputs, Input[] pInputs, int cbSize); 11 | 12 | [DllImport("user32.dll", SetLastError = true)] 13 | private static extern IntPtr GetMessageExtraInfo(); 14 | 15 | [Flags] 16 | private enum InputType 17 | { 18 | Mouse = 0, 19 | Keyboard = 1, 20 | Hardware = 2 21 | } 22 | 23 | [Flags] 24 | private enum KeyEventF 25 | { 26 | KeyDown = 0x0000, 27 | ExtendedKey = 0x0001, 28 | KeyUp = 0x0002, 29 | Unicode = 0x0004, 30 | Scancode = 0x0008, 31 | } 32 | 33 | [Flags] 34 | private enum MouseDataF 35 | { 36 | None = 0, 37 | XButton1 = 0x0001, 38 | XButton2 = 0x0002 39 | } 40 | 41 | [Flags] 42 | private enum MouseEventF 43 | { 44 | None = 0, 45 | Absolute = 0x8000, 46 | HWheel = 0x1000, 47 | Move = 0x0001, 48 | MoveNoCoalesce = 0x2000, 49 | LeftDown = 0x0002, 50 | LeftUp = 0x0004, 51 | RightDown = 0x0008, 52 | RightUp = 0x0010, 53 | MiddleDown = 0x0020, 54 | MiddleUp = 0x0040, 55 | VirtualDesk = 0x4000, 56 | Wheel = 0x0800, 57 | XDown = 0x0080, 58 | XUp = 0x0100 59 | } 60 | 61 | private struct Input 62 | { 63 | public int type; 64 | public InputUnion u; 65 | } 66 | 67 | [StructLayout(LayoutKind.Explicit)] 68 | private struct InputUnion 69 | { 70 | [FieldOffset(0)] public MouseInput mi; 71 | [FieldOffset(0)] public KeyboardInput ki; 72 | [FieldOffset(0)] public readonly HardwareInput hi; 73 | } 74 | 75 | [StructLayout(LayoutKind.Sequential)] 76 | private struct MouseInput 77 | { 78 | public readonly int dx; 79 | public readonly int dy; 80 | public uint mouseData; 81 | public uint dwFlags; 82 | public readonly uint time; 83 | public IntPtr dwExtraInfo; 84 | } 85 | 86 | [StructLayout(LayoutKind.Sequential)] 87 | private struct KeyboardInput 88 | { 89 | public ushort wVk; 90 | public ushort wScan; 91 | public uint dwFlags; 92 | public readonly uint time; 93 | public IntPtr dwExtraInfo; 94 | } 95 | 96 | [StructLayout(LayoutKind.Sequential)] 97 | private struct HardwareInput 98 | { 99 | public readonly uint uMsg; 100 | public readonly ushort wParamL; 101 | public readonly ushort wParamH; 102 | } 103 | 104 | public static class Keyboard 105 | { 106 | public static void KeyDown(ushort keycode) 107 | { 108 | Input[] inputs = 109 | { 110 | new Input 111 | { 112 | type = (int) InputType.Keyboard, 113 | u = new InputUnion 114 | { 115 | ki = new KeyboardInput 116 | { 117 | wVk = 0, 118 | wScan = keycode, 119 | dwFlags = (uint) (KeyEventF.KeyDown | KeyEventF.Scancode), 120 | dwExtraInfo = GetMessageExtraInfo() 121 | } 122 | } 123 | } 124 | }; 125 | 126 | SendInput((uint)inputs.Length, inputs, Marshal.SizeOf(typeof(Input))); 127 | } 128 | 129 | public static void KeyUp(ushort keycode) 130 | { 131 | Input[] inputs = 132 | { 133 | new Input 134 | { 135 | type = (int) InputType.Keyboard, 136 | u = new InputUnion 137 | { 138 | ki = new KeyboardInput 139 | { 140 | wVk = 0, 141 | wScan = keycode, 142 | dwFlags = (uint) (KeyEventF.KeyUp | KeyEventF.Scancode), 143 | dwExtraInfo = GetMessageExtraInfo() 144 | } 145 | } 146 | } 147 | }; 148 | 149 | SendInput((uint)inputs.Length, inputs, Marshal.SizeOf(typeof(Input))); 150 | } 151 | 152 | public static void KeyPress(ushort keycode) 153 | { 154 | KeyDown(keycode); 155 | KeyUp(keycode); 156 | } 157 | } 158 | 159 | public static class Mouse 160 | { 161 | public enum Buttons 162 | { 163 | Left, 164 | Right, 165 | Middle, 166 | X1, 167 | X2 168 | } 169 | 170 | public static void MouseDown(Buttons button) 171 | { 172 | 173 | MouseEventF flags; 174 | MouseDataF data; 175 | 176 | (flags, data) = button switch 177 | { 178 | Buttons.Left => (MouseEventF.LeftDown, MouseDataF.None), 179 | Buttons.Right => (MouseEventF.RightDown, MouseDataF.None), 180 | Buttons.Middle => (MouseEventF.MiddleDown, MouseDataF.None), 181 | Buttons.X1 => (MouseEventF.XDown, MouseDataF.XButton1), 182 | Buttons.X2 => (MouseEventF.XDown, MouseDataF.XButton2), 183 | _ => throw new Exception("Unknown button type"), 184 | }; 185 | 186 | Input[] inputs = 187 | { 188 | new Input 189 | { 190 | type = (int) InputType.Mouse, 191 | u = new InputUnion 192 | { 193 | mi = new MouseInput 194 | { 195 | mouseData = (uint)data, 196 | dwFlags = (uint)flags, 197 | dwExtraInfo = GetMessageExtraInfo() 198 | } 199 | } 200 | } 201 | }; 202 | 203 | SendInput((uint)inputs.Length, inputs, Marshal.SizeOf(typeof(Input))); 204 | } 205 | 206 | public static void MouseUp(Buttons button) 207 | { 208 | 209 | MouseEventF flags; 210 | MouseDataF data; 211 | 212 | (flags, data) = button switch 213 | { 214 | Buttons.Left => (MouseEventF.LeftUp, MouseDataF.None), 215 | Buttons.Right => (MouseEventF.RightUp, MouseDataF.None), 216 | Buttons.Middle => (MouseEventF.MiddleUp, MouseDataF.None), 217 | Buttons.X1 => (MouseEventF.XUp, MouseDataF.XButton1), 218 | Buttons.X2 => (MouseEventF.XUp, MouseDataF.XButton2), 219 | _ => throw new Exception("Unknown button type"), 220 | }; 221 | 222 | Input[] inputs = 223 | { 224 | new Input 225 | { 226 | type = (int) InputType.Mouse, 227 | u = new InputUnion 228 | { 229 | mi = new MouseInput 230 | { 231 | mouseData = (uint)data, 232 | dwFlags = (uint)flags, 233 | dwExtraInfo = GetMessageExtraInfo() 234 | } 235 | } 236 | } 237 | }; 238 | 239 | SendInput((uint)inputs.Length, inputs, Marshal.SizeOf(typeof(Input))); 240 | } 241 | 242 | public static void MouseClick(Buttons button) 243 | { 244 | MouseDown(button); 245 | MouseUp(button); 246 | } 247 | 248 | public static void MouseDoubleClick(Buttons button) 249 | { 250 | MouseClick(button); 251 | MouseClick(button); 252 | } 253 | } 254 | } 255 | } 256 | -------------------------------------------------------------------------------- /Inputs/Keys.cs: -------------------------------------------------------------------------------- 1 |  2 | namespace AutoAIM.Inputs 3 | { 4 | /**************************************************************************** 5 | * 6 | * DirectInput keyboard scan codes 7 | * 8 | ****************************************************************************/ 9 | public enum DirectInputKeys 10 | { 11 | DIK_ESCAPE = 0x01, 12 | DIK_1 = 0x02, 13 | DIK_2 = 0x03, 14 | DIK_3 = 0x04, 15 | DIK_4 = 0x05, 16 | DIK_5 = 0x06, 17 | DIK_6 = 0x07, 18 | DIK_7 = 0x08, 19 | DIK_8 = 0x09, 20 | DIK_9 = 0x0A, 21 | DIK_0 = 0x0B, 22 | DIK_MINUS = 0x0C, /* - on main keyboard */ 23 | DIK_EQUALS = 0x0D, 24 | DIK_BACK = 0x0E, /* backspace */ 25 | DIK_TAB = 0x0F, 26 | DIK_Q = 0x10, 27 | DIK_W = 0x11, 28 | DIK_E = 0x12, 29 | DIK_R = 0x13, 30 | DIK_T = 0x14, 31 | DIK_Y = 0x15, 32 | DIK_U = 0x16, 33 | DIK_I = 0x17, 34 | DIK_O = 0x18, 35 | DIK_P = 0x19, 36 | DIK_LBRACKET = 0x1A, 37 | DIK_RBRACKET = 0x1B, 38 | DIK_RETURN = 0x1C, /* Enter on main keyboard */ 39 | DIK_LCONTROL = 0x1D, 40 | DIK_A = 0x1E, 41 | DIK_S = 0x1F, 42 | DIK_D = 0x20, 43 | DIK_F = 0x21, 44 | DIK_G = 0x22, 45 | DIK_H = 0x23, 46 | DIK_J = 0x24, 47 | DIK_K = 0x25, 48 | DIK_L = 0x26, 49 | DIK_SEMICOLON = 0x27, 50 | DIK_APOSTROPHE = 0x28, 51 | DIK_GRAVE = 0x29, /* accent grave */ 52 | DIK_LSHIFT = 0x2A, 53 | DIK_BACKSLASH = 0x2B, 54 | DIK_Z = 0x2C, 55 | DIK_X = 0x2D, 56 | DIK_C = 0x2E, 57 | DIK_V = 0x2F, 58 | DIK_B = 0x30, 59 | DIK_N = 0x31, 60 | DIK_M = 0x32, 61 | DIK_COMMA = 0x33, 62 | DIK_PERIOD = 0x34, /* . on main keyboard */ 63 | DIK_SLASH = 0x35, /* / on main keyboard */ 64 | DIK_RSHIFT = 0x36, 65 | DIK_MULTIPLY = 0x37, /* * on numeric keypad */ 66 | DIK_LMENU = 0x38, /* left Alt */ 67 | DIK_SPACE = 0x39, 68 | DIK_CAPITAL = 0x3A, 69 | DIK_F1 = 0x3B, 70 | DIK_F2 = 0x3C, 71 | DIK_F3 = 0x3D, 72 | DIK_F4 = 0x3E, 73 | DIK_F5 = 0x3F, 74 | DIK_F6 = 0x40, 75 | DIK_F7 = 0x41, 76 | DIK_F8 = 0x42, 77 | DIK_F9 = 0x43, 78 | DIK_F10 = 0x44, 79 | DIK_NUMLOCK = 0x45, 80 | DIK_SCROLL = 0x46, /* Scroll Lock */ 81 | DIK_NUMPAD7 = 0x47, 82 | DIK_NUMPAD8 = 0x48, 83 | DIK_NUMPAD9 = 0x49, 84 | DIK_SUBTRACT = 0x4A, /* - on numeric keypad */ 85 | DIK_NUMPAD4 = 0x4B, 86 | DIK_NUMPAD5 = 0x4C, 87 | DIK_NUMPAD6 = 0x4D, 88 | DIK_ADD = 0x4E, /* + on numeric keypad */ 89 | DIK_NUMPAD1 = 0x4F, 90 | DIK_NUMPAD2 = 0x50, 91 | DIK_NUMPAD3 = 0x51, 92 | DIK_NUMPAD0 = 0x52, 93 | DIK_DECIMAL = 0x53, /* . on numeric keypad */ 94 | DIK_OEM_102 = 0x56, /* <> or \| on RT 102-key keyboard (Non-U.S.) */ 95 | DIK_F11 = 0x57, 96 | DIK_F12 = 0x58, 97 | DIK_F13 = 0x64, /* (NEC PC98) */ 98 | DIK_F14 = 0x65, /* (NEC PC98) */ 99 | DIK_F15 = 0x66, /* (NEC PC98) */ 100 | DIK_KANA = 0x70, /* (Japanese keyboard) */ 101 | DIK_ABNT_C1 = 0x73, /* /? on Brazilian keyboard */ 102 | DIK_CONVERT = 0x79, /* (Japanese keyboard) */ 103 | DIK_NOCONVERT = 0x7B, /* (Japanese keyboard) */ 104 | DIK_YEN = 0x7D, /* (Japanese keyboard) */ 105 | DIK_ABNT_C2 = 0x7E, /* Numpad . on Brazilian keyboard */ 106 | DIK_NUMPADEQUALS = 0x8D, /* = on numeric keypad (NEC PC98) */ 107 | DIK_PREVTRACK = 0x90, /* Previous Track (DIK_CIRCUMFLEX on Japanese keyboard) */ 108 | DIK_AT = 0x91, /* (NEC PC98) */ 109 | DIK_COLON = 0x92, /* (NEC PC98) */ 110 | DIK_UNDERLINE = 0x93, /* (NEC PC98) */ 111 | DIK_KANJI = 0x94, /* (Japanese keyboard) */ 112 | DIK_STOP = 0x95, /* (NEC PC98) */ 113 | DIK_AX = 0x96, /* (Japan AX) */ 114 | DIK_UNLABELED = 0x97, /* (J3100) */ 115 | DIK_NEXTTRACK = 0x99, /* Next Track */ 116 | DIK_NUMPADENTER = 0x9C, /* Enter on numeric keypad */ 117 | DIK_RCONTROL = 0x9D, 118 | DIK_MUTE = 0xA0, /* Mute */ 119 | DIK_CALCULATOR = 0xA1, /* Calculator */ 120 | DIK_PLAYPAUSE = 0xA2, /* Play / Pause */ 121 | DIK_MEDIASTOP = 0xA4, /* Media Stop */ 122 | DIK_VOLUMEDOWN = 0xAE, /* Volume - */ 123 | DIK_VOLUMEUP = 0xB0, /* Volume + */ 124 | DIK_WEBHOME = 0xB2, /* Web home */ 125 | DIK_NUMPADCOMMA = 0xB3, /* , on numeric keypad (NEC PC98) */ 126 | DIK_DIVIDE = 0xB5, /* / on numeric keypad */ 127 | DIK_SYSRQ = 0xB7, 128 | DIK_RMENU = 0xB8, /* right Alt */ 129 | DIK_PAUSE = 0xC5, /* Pause */ 130 | DIK_HOME = 0xC7, /* Home on arrow keypad */ 131 | DIK_UP = 0xC8, /* UpArrow on arrow keypad */ 132 | DIK_PRIOR = 0xC9, /* PgUp on arrow keypad */ 133 | DIK_LEFT = 0xCB, /* LeftArrow on arrow keypad */ 134 | DIK_RIGHT = 0xCD, /* RightArrow on arrow keypad */ 135 | DIK_END = 0xCF, /* End on arrow keypad */ 136 | DIK_DOWN = 0xD0, /* DownArrow on arrow keypad */ 137 | DIK_NEXT = 0xD1, /* PgDn on arrow keypad */ 138 | DIK_INSERT = 0xD2, /* Insert on arrow keypad */ 139 | DIK_DELETE = 0xD3, /* Delete on arrow keypad */ 140 | DIK_LWIN = 0xDB, /* Left Windows key */ 141 | DIK_RWIN = 0xDC, /* Right Windows key */ 142 | DIK_APPS = 0xDD, /* AppMenu key */ 143 | DIK_POWER = 0xDE, /* System Power */ 144 | DIK_SLEEP = 0xDF, /* System Sleep */ 145 | DIK_WAKE = 0xE3, /* System Wake */ 146 | DIK_WEBSEARCH = 0xE5, /* Web Search */ 147 | DIK_WEBFAVORITES = 0xE6, /* Web Favorites */ 148 | DIK_WEBREFRESH = 0xE7, /* Web Refresh */ 149 | DIK_WEBSTOP = 0xE8, /* Web Stop */ 150 | DIK_WEBFORWARD = 0xE9, /* Web Forward */ 151 | DIK_WEBBACK = 0xEA, /* Web Back */ 152 | DIK_MYCOMPUTER = 0xEB, /* My Computer */ 153 | DIK_MAIL = 0xEC, /* Mail */ 154 | DIK_MEDIASELECT = 0xED /* Media Select */ 155 | } 156 | } 157 | -------------------------------------------------------------------------------- /Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Threading.Tasks; 5 | using System.Windows.Forms; 6 | 7 | namespace AutoAIM 8 | { 9 | static class Program 10 | { 11 | /// 12 | /// The main entry point for the application. 13 | /// 14 | [STAThread] 15 | static void Main() 16 | { 17 | Application.SetHighDpiMode(HighDpiMode.SystemAware); 18 | Application.EnableVisualStyles(); 19 | Application.SetCompatibleTextRenderingDefault(false); 20 | Application.Run(new Form1()); 21 | } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # XerathAutoAIM 2 | League of Legends External Xerath spell AutoAIM 3 | 4 | # Xerath Q: 5 | 6 | ![ezgif com-gif-maker (1)](https://user-images.githubusercontent.com/82063567/127531577-a43a6985-6a8a-4cef-b634-2aa96b35cdac.gif) 7 | 8 | 9 | # Xerath W: 10 | 11 | ![vid2](https://user-images.githubusercontent.com/82063567/127530527-aab9b3b7-df24-41b1-9d2a-bfd4c3868a59.gif) 12 | 13 | 14 | # Xerath E: 15 | 16 | ![vid3](https://user-images.githubusercontent.com/82063567/127530443-03825827-3012-4c9d-bec5-3ae3f86fbf85.gif) 17 | 18 | 19 | # Xerath R: 20 | 21 | ![ezgif com-gif-maker](https://user-images.githubusercontent.com/82063567/127531278-079aaed9-0d54-488e-9d5f-5c1bb0692b62.gif) 22 | 23 | # Settings 24 | Recommended resolution: 1920x1080 || 1600x900 || 1280x720 25 | 26 | ![keys](https://user-images.githubusercontent.com/82063567/127531916-3f98aea9-051a-4548-a834-81371e57047b.png) 27 | 28 | -------------------------------------------------------------------------------- /ScreenCapture/AppCAP.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Diagnostics; 3 | using System.Drawing; 4 | using System.Drawing.Imaging; 5 | using System.Runtime.InteropServices; 6 | 7 | namespace AutoAIM.Scr 8 | { 9 | class ApplicationCapture 10 | { 11 | public static Bitmap CaptureApplication(string procName) 12 | { 13 | var proc = Process.GetProcessesByName(procName)[0]; 14 | Interop.BringWindowToFront(procName); 15 | var rect = new User32.Rect(); 16 | User32.GetWindowRect(proc.MainWindowHandle, ref rect); 17 | 18 | int width = rect.right - rect.left; 19 | int height = rect.bottom - rect.top; 20 | 21 | var bmp = new Bitmap(width, height, PixelFormat.Format32bppArgb); 22 | Graphics graphics = Graphics.FromImage(bmp); 23 | graphics.CopyFromScreen(rect.left, rect.top, 0, 0, new Size(width, height), CopyPixelOperation.SourceCopy); 24 | graphics.Dispose(); // not sure about this 25 | return bmp; 26 | } 27 | 28 | private class User32 29 | { 30 | [StructLayout(LayoutKind.Sequential)] 31 | public struct Rect 32 | { 33 | public int left; 34 | public int top; 35 | public int right; 36 | public int bottom; 37 | } 38 | 39 | [DllImport("user32.dll")] 40 | public static extern IntPtr GetWindowRect(IntPtr hWnd, ref Rect rect); 41 | } 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /ScreenCapture/Interop.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Diagnostics; 3 | using System.Drawing; 4 | using System.Linq; 5 | using System.Runtime.InteropServices; 6 | using System.Windows.Forms; 7 | 8 | namespace AutoAIM.Scr 9 | { 10 | public static class Interop 11 | { 12 | public const uint MOUSEEVENTF_ABSOLUTE = 0x8000; 13 | public const uint MOUSEEVENTF_LEFTDOWN = 0x0002; 14 | public const uint MOUSEEVENTF_LEFTUP = 0x0004; 15 | public const uint MOUSEEVENTF_MIDDLEDOWN = 0x0020; 16 | public const uint MOUSEEVENTF_MIDDLEUP = 0x0040; 17 | public const uint MOUSEEVENTF_MOVE = 0x0001; 18 | public const uint MOUSEEVENTF_RIGHTDOWN = 0x0008; 19 | public const uint MOUSEEVENTF_RIGHTUP = 0x0010; 20 | public const uint MOUSEEVENTF_XDOWN = 0x0080; 21 | public const uint MOUSEEVENTF_XUP = 0x0100; 22 | public const uint MOUSEEVENTF_WHEEL = 0x0800; 23 | public const uint MOUSEEVENTF_HWHEEL = 0x01000; 24 | 25 | private const int SWP_NOSIZE = 0x0001; 26 | private const int SWP_NOZORDER = 0x0004; 27 | private const int SWP_SHOWWINDOW = 0x0040; 28 | private const int SWP_NOMOVE = 0x0200; 29 | 30 | [DllImport("user32.dll")] 31 | private static extern void mouse_event(uint dwFlags, int dx, int dy, uint dwData, UIntPtr dwExtraInfo); 32 | 33 | [DllImport("user32.dll")] 34 | private static extern IntPtr GetForegroundWindow(); 35 | 36 | [DllImport("user32.dll")] 37 | private static extern Int32 GetWindowThreadProcessId(IntPtr hWnd, out uint lpdwProcessId); 38 | 39 | 40 | [DllImport("user32.dll")] 41 | [return: MarshalAs(UnmanagedType.Bool)] 42 | public static extern bool GetWindowRect(IntPtr hWnd, out RECT lpRect); 43 | 44 | [StructLayout(LayoutKind.Sequential)] 45 | public struct RECT 46 | { 47 | public int Left; 48 | public int Top; 49 | public int Right; 50 | public int Bottom; 51 | 52 | public override string ToString() 53 | { 54 | return string.Format("Left: {0} Top: {1} Right: {2} Bottom: {3}", Left, Top, Right, Bottom); 55 | } 56 | } 57 | 58 | [DllImport("user32.dll", SetLastError = true)] 59 | static extern bool SetWindowPos(IntPtr hWnd, IntPtr hWndInsertAfter, int X, int Y, int cx, int cy, int uFlags); 60 | public static bool CenterProcessWindow(string name) 61 | { 62 | Process process = Process.GetProcessesByName(name).FirstOrDefault(); 63 | 64 | if (process == null || process.HasExited) 65 | { 66 | return false; 67 | } 68 | 69 | while (!process.HasExited && process.MainWindowHandle == IntPtr.Zero) 70 | process.Refresh(); 71 | 72 | IntPtr handle = process.MainWindowHandle; 73 | 74 | RECT rct; 75 | GetWindowRect(handle, out rct); 76 | Rectangle screen = Screen.FromHandle(handle).Bounds; 77 | Point pt = new Point(screen.Left + screen.Width / 2 - (rct.Right - rct.Left) / 2, screen.Top + screen.Height / 2 - (rct.Bottom - rct.Top) / 2); 78 | SetWindowPos(handle, IntPtr.Zero, pt.X, pt.Y, 0, 0, SWP_NOMOVE | SWP_NOSIZE | SWP_SHOWWINDOW); 79 | return true; 80 | } 81 | public static string GetForegroundProcessName() 82 | { 83 | IntPtr hwnd = GetForegroundWindow(); 84 | 85 | if (hwnd == null) 86 | return "Unknown"; 87 | 88 | uint pid; 89 | GetWindowThreadProcessId(hwnd, out pid); 90 | 91 | foreach (var p in Process.GetProcesses()) 92 | { 93 | if (p.Id == pid) 94 | return p.ProcessName; 95 | } 96 | 97 | return "Unknown"; 98 | } 99 | public static bool IsProcessFocused(string processName) 100 | { 101 | return GetForegroundProcessName() == processName; 102 | } 103 | public static void MouseClick(uint evtf) 104 | { 105 | var pt = GetMousePosition(); 106 | mouse_event(evtf, pt.X, pt.Y, 0, new UIntPtr(0)); 107 | } 108 | public static void SetMousePosition(int x, int y) 109 | { 110 | Cursor.Position = new Point(x, y); 111 | } 112 | 113 | [StructLayout(LayoutKind.Sequential)] 114 | private struct POINT 115 | { 116 | public int X; 117 | public int Y; 118 | 119 | public static implicit operator Point(POINT point) 120 | { 121 | return new Point(point.X, point.Y); 122 | } 123 | } 124 | [DllImport("user32.dll")] 125 | public static extern IntPtr GetDC(IntPtr hwnd); 126 | 127 | [DllImport("user32.dll")] 128 | public static extern Int32 ReleaseDC(IntPtr hwnd, IntPtr hdc); 129 | 130 | [DllImport("gdi32.dll")] 131 | static extern uint GetPixel(IntPtr hdc, int nXPos, int nYPos); 132 | 133 | public static Color GetPixelColor(IntPtr hdc, Point point) 134 | { 135 | uint pixel = GetPixel(hdc, point.X, point.Y); 136 | Color color = Color.FromArgb((int)(pixel & 0x000000FF), 137 | (int)(pixel & 0x0000FF00) >> 8, 138 | (int)(pixel & 0x00FF0000) >> 16); 139 | return color; 140 | } 141 | public static Color GetPixelColor(Point point) 142 | { 143 | IntPtr hdc = GetDC(IntPtr.Zero); 144 | uint pixel = GetPixel(hdc, point.X, point.Y); 145 | ReleaseDC(IntPtr.Zero, hdc); 146 | Color color = Color.FromArgb((int)(pixel & 0x000000FF), 147 | (int)(pixel & 0x0000FF00) >> 8, 148 | (int)(pixel & 0x00FF0000) >> 16); 149 | return color; 150 | } 151 | [DllImport("user32.dll")] 152 | private static extern bool GetCursorPos(out POINT lpPoint); 153 | 154 | public static Point GetMousePosition() 155 | { 156 | POINT lpPoint; 157 | GetCursorPos(out lpPoint); 158 | return lpPoint; 159 | } 160 | 161 | [DllImport("user32.dll")] 162 | private static extern int SetForegroundWindow(IntPtr hwnd); 163 | 164 | private enum ShowWindowEnum 165 | { 166 | Hide = 0, 167 | ShowNormal = 1, ShowMinimized = 2, ShowMaximized = 3, 168 | Maximize = 3, ShowNormalNoActivate = 4, Show = 5, 169 | Minimize = 6, ShowMinNoActivate = 7, ShowNoActivate = 8, 170 | Restore = 9, ShowDefault = 10, ForceMinimized = 11 171 | }; 172 | public static bool IsProcessOpen(string name) 173 | { 174 | return Process.GetProcessesByName(name).Length > 0; 175 | } 176 | 177 | [DllImport("user32.dll")] 178 | private static extern bool ShowWindow(IntPtr hwnd, int nCmdShow); 179 | 180 | public static bool BringWindowToFront(string processName) 181 | { 182 | var process = Process.GetProcessesByName(processName).FirstOrDefault(); 183 | 184 | if (process == null || process.HasExited) 185 | { 186 | return false; 187 | } 188 | 189 | IntPtr wdwIntPtr = process.MainWindowHandle; 190 | 191 | ShowWindow(wdwIntPtr, (int)ShowWindowEnum.Restore); 192 | 193 | SetForegroundWindow(wdwIntPtr); 194 | 195 | return true; 196 | } 197 | 198 | [DllImport("user32.dll", SetLastError = true)] 199 | static extern void keybd_event(byte bVk, byte bScan, uint dwFlags, UIntPtr dwExtraInfo); 200 | public static void PressKey(Keys key, bool up) 201 | { 202 | const int KEYEVENTF_EXTENDEDKEY = 0x1; 203 | const int KEYEVENTF_KEYUP = 0x2; 204 | if (up) 205 | { 206 | keybd_event((byte)key, 0x45, KEYEVENTF_EXTENDEDKEY | KEYEVENTF_KEYUP, (UIntPtr)0); 207 | } 208 | else 209 | { 210 | keybd_event((byte)key, 0x45, KEYEVENTF_EXTENDEDKEY, (UIntPtr)0); 211 | } 212 | } 213 | } 214 | } 215 | -------------------------------------------------------------------------------- /ScreenCapture/ScreenCapture.cs: -------------------------------------------------------------------------------- 1 | using System.Drawing; 2 | using FastBitmapLib; 3 | 4 | namespace AutoAIM.Scr 5 | { 6 | class ScreenCapture 7 | { 8 | private static Bitmap GetCapture() 9 | { 10 | return ApplicationCapture.CaptureApplication("League of Legends"); 11 | } 12 | public static Point? GetColorPosition(Color color) 13 | { 14 | int searchValue = color.ToArgb(); 15 | 16 | using (Bitmap bmp = GetCapture()) 17 | { 18 | using (FastBitmap bitmap = new FastBitmap(bmp)) 19 | { 20 | bitmap.Lock(); 21 | 22 | for (int x = 0; x < bmp.Width; x++) 23 | { 24 | for (int y = 0; y < bmp.Height; y++) 25 | { 26 | if (searchValue == bitmap.GetPixelInt(x, y)) 27 | { 28 | bitmap.Unlock(); 29 | return new Point(x, y); 30 | } 31 | } 32 | } 33 | } 34 | } 35 | return null; 36 | } 37 | 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /bin/Debug/netcoreapp3.1/AutoAIM.deps.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeTarget": { 3 | "name": ".NETCoreApp,Version=v3.1", 4 | "signature": "" 5 | }, 6 | "compilationOptions": {}, 7 | "targets": { 8 | ".NETCoreApp,Version=v3.1": { 9 | "AutoAIM/1.0.0": { 10 | "dependencies": { 11 | "FastBitmapLib": "2.0.0", 12 | "LowLevelInput.Net": "1.36.6" 13 | }, 14 | "runtime": { 15 | "AutoAIM.dll": {} 16 | } 17 | }, 18 | "FastBitmapLib/2.0.0": { 19 | "dependencies": { 20 | "System.Drawing.Common": "4.5.1", 21 | "System.Runtime.CompilerServices.Unsafe": "4.5.2" 22 | }, 23 | "runtime": { 24 | "lib/netstandard2.0/FastBitmapLib.dll": { 25 | "assemblyVersion": "2.0.0.0", 26 | "fileVersion": "2.0.0.0" 27 | } 28 | } 29 | }, 30 | "LowLevelInput.Net/1.36.6": { 31 | "runtime": { 32 | "lib/LowLevelInput.dll": { 33 | "assemblyVersion": "1.36.6.0", 34 | "fileVersion": "1.36.6.0" 35 | } 36 | } 37 | }, 38 | "Microsoft.NETCore.Platforms/2.0.0": {}, 39 | "Microsoft.Win32.SystemEvents/4.5.0": { 40 | "dependencies": { 41 | "Microsoft.NETCore.Platforms": "2.0.0" 42 | } 43 | }, 44 | "System.Drawing.Common/4.5.1": { 45 | "dependencies": { 46 | "Microsoft.NETCore.Platforms": "2.0.0", 47 | "Microsoft.Win32.SystemEvents": "4.5.0" 48 | } 49 | }, 50 | "System.Runtime.CompilerServices.Unsafe/4.5.2": {} 51 | } 52 | }, 53 | "libraries": { 54 | "AutoAIM/1.0.0": { 55 | "type": "project", 56 | "serviceable": false, 57 | "sha512": "" 58 | }, 59 | "FastBitmapLib/2.0.0": { 60 | "type": "package", 61 | "serviceable": true, 62 | "sha512": "sha512-+Ubu/kiDfj5ZJxK3nUfy4u3UFyg75O7ByvpoOgU0adfV0q3GG+KUC2Kxkqvk8QSVZH07DWfqX6ah0D7xCVO6uw==", 63 | "path": "fastbitmaplib/2.0.0", 64 | "hashPath": "fastbitmaplib.2.0.0.nupkg.sha512" 65 | }, 66 | "LowLevelInput.Net/1.36.6": { 67 | "type": "package", 68 | "serviceable": true, 69 | "sha512": "sha512-CTQFfpAh8V8jKppL0k34Xbr95Q3hfEKvl+bYYBvE0cTh+hiSQj6PhE0qd8jkbOBfA0O7KhDJgYC6qWa7LqBQtw==", 70 | "path": "lowlevelinput.net/1.36.6", 71 | "hashPath": "lowlevelinput.net.1.36.6.nupkg.sha512" 72 | }, 73 | "Microsoft.NETCore.Platforms/2.0.0": { 74 | "type": "package", 75 | "serviceable": true, 76 | "sha512": "sha512-VdLJOCXhZaEMY7Hm2GKiULmn7IEPFE4XC5LPSfBVCUIA8YLZVh846gtfBJalsPQF2PlzdD7ecX7DZEulJ402ZQ==", 77 | "path": "microsoft.netcore.platforms/2.0.0", 78 | "hashPath": "microsoft.netcore.platforms.2.0.0.nupkg.sha512" 79 | }, 80 | "Microsoft.Win32.SystemEvents/4.5.0": { 81 | "type": "package", 82 | "serviceable": true, 83 | "sha512": "sha512-LuI1oG+24TUj1ZRQQjM5Ew73BKnZE5NZ/7eAdh1o8ST5dPhUnJvIkiIn2re3MwnkRy6ELRnvEbBxHP8uALKhJw==", 84 | "path": "microsoft.win32.systemevents/4.5.0", 85 | "hashPath": "microsoft.win32.systemevents.4.5.0.nupkg.sha512" 86 | }, 87 | "System.Drawing.Common/4.5.1": { 88 | "type": "package", 89 | "serviceable": true, 90 | "sha512": "sha512-GiyeGi/v4xYDz1vCNFwFvhz9k1XddOG7VD3jxRqzRBCbTHji+s3HxxbxtoymuK4OadEpgotI8zQ5+GEEH9sUEQ==", 91 | "path": "system.drawing.common/4.5.1", 92 | "hashPath": "system.drawing.common.4.5.1.nupkg.sha512" 93 | }, 94 | "System.Runtime.CompilerServices.Unsafe/4.5.2": { 95 | "type": "package", 96 | "serviceable": true, 97 | "sha512": "sha512-wprSFgext8cwqymChhrBLu62LMg/1u92bU+VOwyfBimSPVFXtsNqEWC92Pf9ofzJFlk4IHmJA75EDJn1b2goAQ==", 98 | "path": "system.runtime.compilerservices.unsafe/4.5.2", 99 | "hashPath": "system.runtime.compilerservices.unsafe.4.5.2.nupkg.sha512" 100 | } 101 | } 102 | } -------------------------------------------------------------------------------- /bin/Debug/netcoreapp3.1/AutoAIM.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Peppers0/Xerath-Script-AimBot/4aebe6834a9af2f2939ed85d9cfa32c717907de1/bin/Debug/netcoreapp3.1/AutoAIM.dll -------------------------------------------------------------------------------- /bin/Debug/netcoreapp3.1/AutoAIM.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Peppers0/Xerath-Script-AimBot/4aebe6834a9af2f2939ed85d9cfa32c717907de1/bin/Debug/netcoreapp3.1/AutoAIM.exe -------------------------------------------------------------------------------- /bin/Debug/netcoreapp3.1/AutoAIM.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Peppers0/Xerath-Script-AimBot/4aebe6834a9af2f2939ed85d9cfa32c717907de1/bin/Debug/netcoreapp3.1/AutoAIM.pdb -------------------------------------------------------------------------------- /bin/Debug/netcoreapp3.1/AutoAIM.runtimeconfig.dev.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeOptions": { 3 | "additionalProbingPaths": [ 4 | "C:\\Users\\sajmo\\.dotnet\\store\\|arch|\\|tfm|", 5 | "C:\\Users\\sajmo\\.nuget\\packages", 6 | "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages" 7 | ] 8 | } 9 | } -------------------------------------------------------------------------------- /bin/Debug/netcoreapp3.1/AutoAIM.runtimeconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeOptions": { 3 | "tfm": "netcoreapp3.1", 4 | "framework": { 5 | "name": "Microsoft.WindowsDesktop.App", 6 | "version": "3.1.0" 7 | } 8 | } 9 | } -------------------------------------------------------------------------------- /bin/Debug/netcoreapp3.1/FastBitmapLib.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Peppers0/Xerath-Script-AimBot/4aebe6834a9af2f2939ed85d9cfa32c717907de1/bin/Debug/netcoreapp3.1/FastBitmapLib.dll -------------------------------------------------------------------------------- /bin/Debug/netcoreapp3.1/LowLevelInput.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Peppers0/Xerath-Script-AimBot/4aebe6834a9af2f2939ed85d9cfa32c717907de1/bin/Debug/netcoreapp3.1/LowLevelInput.dll -------------------------------------------------------------------------------- /obj/AutoAIM.csproj.nuget.dgspec.json: -------------------------------------------------------------------------------- 1 | { 2 | "format": 1, 3 | "restore": { 4 | "C:\\Users\\sajmo\\Desktop\\AutoAIM\\AutoAIM\\AutoAIM.csproj": {} 5 | }, 6 | "projects": { 7 | "C:\\Users\\sajmo\\Desktop\\AutoAIM\\AutoAIM\\AutoAIM.csproj": { 8 | "version": "1.0.0", 9 | "restore": { 10 | "projectUniqueName": "C:\\Users\\sajmo\\Desktop\\AutoAIM\\AutoAIM\\AutoAIM.csproj", 11 | "projectName": "AutoAIM", 12 | "projectPath": "C:\\Users\\sajmo\\Desktop\\AutoAIM\\AutoAIM\\AutoAIM.csproj", 13 | "packagesPath": "C:\\Users\\sajmo\\.nuget\\packages\\", 14 | "outputPath": "C:\\Users\\sajmo\\Desktop\\AutoAIM\\AutoAIM\\obj\\", 15 | "projectStyle": "PackageReference", 16 | "fallbackFolders": [ 17 | "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages" 18 | ], 19 | "configFilePaths": [ 20 | "C:\\Users\\sajmo\\AppData\\Roaming\\NuGet\\NuGet.Config", 21 | "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config", 22 | "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" 23 | ], 24 | "originalTargetFrameworks": [ 25 | "netcoreapp3.1" 26 | ], 27 | "sources": { 28 | "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, 29 | "https://api.nuget.org/v3/index.json": {} 30 | }, 31 | "frameworks": { 32 | "netcoreapp3.1": { 33 | "targetAlias": "netcoreapp3.1", 34 | "projectReferences": {} 35 | } 36 | }, 37 | "warningProperties": { 38 | "warnAsError": [ 39 | "NU1605" 40 | ] 41 | } 42 | }, 43 | "frameworks": { 44 | "netcoreapp3.1": { 45 | "targetAlias": "netcoreapp3.1", 46 | "dependencies": { 47 | "FastBitmapLib": { 48 | "target": "Package", 49 | "version": "[2.0.0, )" 50 | }, 51 | "LowLevelInput.Net": { 52 | "target": "Package", 53 | "version": "[1.36.6, )" 54 | } 55 | }, 56 | "imports": [ 57 | "net461", 58 | "net462", 59 | "net47", 60 | "net471", 61 | "net472", 62 | "net48" 63 | ], 64 | "assetTargetFallback": true, 65 | "warn": true, 66 | "frameworkReferences": { 67 | "Microsoft.NETCore.App": { 68 | "privateAssets": "all" 69 | }, 70 | "Microsoft.WindowsDesktop.App.WindowsForms": { 71 | "privateAssets": "none" 72 | } 73 | }, 74 | "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\5.0.301\\RuntimeIdentifierGraph.json" 75 | } 76 | } 77 | } 78 | } 79 | } -------------------------------------------------------------------------------- /obj/AutoAIM.csproj.nuget.g.props: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | True 5 | NuGet 6 | $(MSBuildThisFileDirectory)project.assets.json 7 | $(UserProfile)\.nuget\packages\ 8 | C:\Users\sajmo\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages 9 | PackageReference 10 | 5.10.0 11 | 12 | 13 | 14 | 15 | 16 | 17 | $(MSBuildAllProjects);$(MSBuildThisFileFullPath) 18 | 19 | -------------------------------------------------------------------------------- /obj/AutoAIM.csproj.nuget.g.targets: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | $(MSBuildAllProjects);$(MSBuildThisFileFullPath) 5 | 6 | -------------------------------------------------------------------------------- /obj/Debug/netcoreapp3.1/AutoAIM.AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // Tento kód byl generován nástrojem. 4 | // Verze modulu runtime:4.0.30319.42000 5 | // 6 | // Změny tohoto souboru mohou způsobit nesprávné chování a budou ztraceny, 7 | // dojde-li k novému generování kódu. 8 | // 9 | //------------------------------------------------------------------------------ 10 | 11 | using System; 12 | using System.Reflection; 13 | 14 | [assembly: System.Reflection.AssemblyCompanyAttribute("AutoAIM")] 15 | [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] 16 | [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] 17 | [assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] 18 | [assembly: System.Reflection.AssemblyProductAttribute("AutoAIM")] 19 | [assembly: System.Reflection.AssemblyTitleAttribute("AutoAIM")] 20 | [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] 21 | 22 | // Vygenerované třídou WriteCodeFragment nástroje MSBuild 23 | 24 | -------------------------------------------------------------------------------- /obj/Debug/netcoreapp3.1/AutoAIM.AssemblyInfoInputs.cache: -------------------------------------------------------------------------------- 1 | 22d3b01696d0d5ae1781a36731ef5d9cf94cfa32 2 | -------------------------------------------------------------------------------- /obj/Debug/netcoreapp3.1/AutoAIM.assets.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Peppers0/Xerath-Script-AimBot/4aebe6834a9af2f2939ed85d9cfa32c717907de1/obj/Debug/netcoreapp3.1/AutoAIM.assets.cache -------------------------------------------------------------------------------- /obj/Debug/netcoreapp3.1/AutoAIM.csproj.AssemblyReference.cache: -------------------------------------------------------------------------------- 1 | MBRSC -------------------------------------------------------------------------------- /obj/Debug/netcoreapp3.1/apphost.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Peppers0/Xerath-Script-AimBot/4aebe6834a9af2f2939ed85d9cfa32c717907de1/obj/Debug/netcoreapp3.1/apphost.exe --------------------------------------------------------------------------------