Valorant Aimbot

Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...
Seçkin Üye
Katılım
28 Ocak 2020
Mesajlar
436
Çözümler
1
Tepki puanı
24
Ödüller
5
6 HİZMET YILI
  1. using System;
  2. using System.Collections;
  3. using System.Collections.Generic;
  4. using System.Diagnostics;
  5. using System.Drawing;
  6. using System.Drawing.Imaging;
  7. using System.Linq;
  8. using System.Numerics;
  9. using System.Runtime.InteropServices;
  10. using System.Text;
  11. using System.Threading.Tasks;

  12. namespace ValorantColorAimbot
  13. {
  14. class Program
  15. {
  16. //SIZE
  17. const int xSize = 1920;
  18. const int ySize = 1080;

  19. //FOV in pixels, smaller fov will result in faster update time
  20. const int maxX = 1920;
  21. const int maxY = 100;

  22. // GAME
  23. const float speed = 1.2f;
  24. const int msBetweenShots = 200;
  25. const int closeSize = 10;
  26. const bool canShoot = true;

  27. // COLOR
  28. const int color = 0xaf2eaf; //0xb41515 = Red; 0xaf2eaf = purple
  29. const int colorVariation = 20;

  30. const double size = 60; // DONT CHANGE
  31. const int maxCount = 5;

  32. static void Main(string[] args)
  33. {
  34. Update();
  35. }

  36. static void Update()
  37. {
  38. System.DateTime lastshot = System.DateTime.Now;

  39. while (true) {
  40. Task.Delay(1); // ANTI CRASH
  41. var l = PixelSearch(new Rectangle((xSize - maxX) / 2, (ySize - maxY) / 2, maxX, maxY), Color.FromArgb(color), colorVariation);
  42. if (l.Length > 0) { // IF NOT ERROR
  43. var q = l.OrderBy(t => t.Y).ToArray();

  44. List<Vector2> forbidden = new List<Vector2>();

  45. for (int i = 0; i < q.Length; i++) {
  46. Vector2 current = new Vector2(q.X, q.Y);
    [*] if (forbidden.Where(t => (t - current).Length() < size || Math.Abs(t.X - current.X) < size).Count() < 1) { // TO NOT PLACE POINTS AT THE BODY
    [*] forbidden.Add(current);
    [*] if (forbidden.Count > maxCount) {
    [*] break;
    [*] }
    [*] }
    [*] }
    [*]
    [*] // DRAW
    [*] /*foreach (var c in forbidden) {
    [*] DrawRec((int)c.X, (int)c.Y - 20, 5, 5);
    [*] }*/
    [*]
    [*] // SHOOTING
    [*] bool pressDown = false;
    [*] var closes = forbidden.Select(t => (t - new Vector2(xSize / 2, ySize / 2))).OrderBy(t => t.Length()).ElementAt(0) + new Vector2(1, 1);
    [*] if (closes.Length() < closeSize) {
    [*] if (canShoot) {
    [*] if (System.DateTime.Now.Subtract(lastshot).TotalMilliseconds > msBetweenShots) {
    [*] lastshot = System.DateTime.Now;
    [*] pressDown = true;
    [*] }
    [*] }
    [*] }
    [*]
    [*] Move((int)(closes.X * speed), (int)(closes.Y * speed), pressDown);
    [*] }
    [*] }
    [*] }
    [*]
    [*] [DllImport("user32.dll")]
    [*] static extern void mouse_event(int dwFlags, int dx, int dy, uint dwData,
    [*]UIntPtr dwExtraInfo);
    [*]
    [*] public static void Move(int xDelta, int yDelta, bool pressDown = false)
    [*] {
    [*] mouse_event(pressDown ? (MOUSEEVENTF_LEFTDOWN | MOUSEEVENTF_LEFTUP) : 0x0001, xDelta, yDelta, 0, UIntPtr.Zero);
    [*] }
    [*]
    [*] private const int MOUSEEVENTF_LEFTDOWN = 0x02;
    [*] private const int MOUSEEVENTF_LEFTUP = 0x04;
    [*] private const int MOUSEEVENTF_RIGHTDOWN = 0x08;
    [*] private const int MOUSEEVENTF_RIGHTUP = 0x10;
    [*]
    [*] public static Point[] PixelSearch(Rectangle rect, Color Pixel_Color, int Shade_Variation) // REZ is for debugging
    [*] {
    [*] ArrayList points = new ArrayList();
    [*] Bitmap RegionIn_Bitmap = new Bitmap(rect.Width, rect.Height, PixelFormat.Format24bppRgb);
    [*] using (Graphics GFX = Graphics.FromImage(RegionIn_Bitmap)) {
    [*] GFX.CopyFromScreen(rect.X, rect.Y, 0, 0, rect.Size, CopyPixelOperation.SourceCopy);
    [*] }
    [*] BitmapData RegionIn_BitmapData = RegionIn_Bitmap.LockBits(new Rectangle(0, 0, RegionIn_Bitmap.Width, RegionIn_Bitmap.Height), ImageLockMode.ReadWrite, PixelFormat.Format24bppRgb);
    [*] int[] Formatted_Color = new int[3] { Pixel_Color.B, Pixel_Color.G, Pixel_Color.R }; //bgr
    [*]
    [*] unsafe {
    [*] for (int y = 0; y < RegionIn_BitmapData.Height; y++) {
    [*] byte* row = (byte*)RegionIn_BitmapData.Scan0 + (y * RegionIn_BitmapData.Stride);
    [*] for (int x = 0; x < RegionIn_BitmapData.Width; x++) {
    [*] if (row[x * 3] >= (Formatted_Color[0] - Shade_Variation) & row[x * 3] <= (Formatted_Color[0] + Shade_Variation)) //blue
    [*] if (row[(x * 3) + 1] >= (Formatted_Color[1] - Shade_Variation) & row[(x * 3) + 1] <= (Formatted_Color[1] + Shade_Variation)) //green
    [*] if (row[(x * 3) + 2] >= (Formatted_Color[2] - Shade_Variation) & row[(x * 3) + 2] <= (Formatted_Color[2] + Shade_Variation)) //red
    [*] points.Add(new Point(x + rect.X, y + rect.Y));
    [*] }
    [*] }
    [*] }
    [*] RegionIn_Bitmap.Dispose();
    [*] return (Point[])points.ToArray(typeof(Point));
    [*] }
    [*] }
    [*]}


[TR]
[TD][/TD]
[/TR]
 
Moderatörün son düzenlenenleri:
Seçkin Üye
Katılım
6 Şub 2019
Mesajlar
310
Tepki puanı
19
Ödüller
6
Yaş
30
7 HİZMET YILI
hocam tebrikler baya hızlısın ama akıllarda bir soru var nasıl kullanıldığının videosu gelcek mi
 
Always in my headspace
Süper Üye
Katılım
28 Mar 2017
Mesajlar
973
Çözümler
16
Tepki puanı
150
Ödüller
10
9 HİZMET YILI
Mesaj kısmında yazan kod kısmına basıp eklersen daha düzgün gözükecektir açtığın konu. Teşekkürler paylaşım için.
 
Süper Üye
Katılım
31 Ocak 2017
Mesajlar
627
Çözümler
6
Tepki puanı
61
Ödüller
9
Yaş
15
9 HİZMET YILI
give us some way to understand

 
Seçkin Üye
Katılım
23 Şub 2019
Mesajlar
371
Çözümler
3
Tepki puanı
18
Ödüller
4
Yaş
26
7 HİZMET YILI
beklemedeyiz
 
Üye
Katılım
26 Nis 2019
Mesajlar
30
Tepki puanı
2
Ödüller
3
Yaş
23
7 HİZMET YILI
Volorant çıkalı ne zaman oldu hemen hilesini yapmışsınız )
 
ü
Süper Üye
Katılım
7 Şub 2018
Mesajlar
690
Çözümler
4
Tepki puanı
89
Ödüller
8
8 HİZMET YILI
adamlar yapıyor be ama kullanılması imkansız anticheat indiriyoduk galiba oyuna girerken
 
Onaylı Üye
Katılım
25 Şub 2019
Mesajlar
50
Tepki puanı
3
7 HİZMET YILI
Var mı betaya girip oyunu oynamanın yolu twitchde lol izilyorum da yok gelmiyor
 
Uzman Üye
Katılım
12 Mar 2018
Mesajlar
150
Tepki puanı
6
Ödüller
8
Yaş
28
8 HİZMET YILI
its detected they patch yesterday
 
LEGENDARY
Uzman Üye
Katılım
7 Şub 2017
Mesajlar
268
Çözümler
1
Tepki puanı
17
Ödüller
7
Yaş
26
9 HİZMET YILI
Nasıl kullanıyoruz
 
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...