EVIL C I NEED YOUR HELP LOL :D

Ask gaming related questions (AHK v1.1 and older)
CPLNet
Posts: 53
Joined: 06 Dec 2016, 11:24

EVIL C I NEED YOUR HELP LOL :D

18 Aug 2017, 21:22

Hi Evil if you read this because it's i spoke with you for searching 2 colors with pixelgetcolor and you send me
refer to your script gdisnapshot but i really dont know how to install and find the line similar
to pixealsearch for searching my 2 colors at the same time and my english bad. I Really Need your help..

Friendly,

CPL Net.
CPLNet
Posts: 53
Joined: 06 Dec 2016, 11:24

Re: EVIL C I NEED YOUR HELP LOL :D

21 Aug 2017, 08:48

Hi evilC thx for response so this is the code
I just want to make an aimbot
and the line who I need to change
is just pixelsearch name line

Code: Select all

;----CPLNET AIMBOT v1----
#Persistent
#KeyHistory, 0
#NoEnv
#HotKeyInterval 1
#MaxHotkeysPerInterval 127
#InstallKeybdHook
#UseHook
#SingleInstance, Force
SetKeyDelay,-0 8
SetControlDelay, -1
SetMouseDelay, -1
SetWinDelay,-1
SendMode, InputThenPlay
SetBatchLines,-1
ListLines, Off
CoordMode, Pixel, Screen, RGB
CoordMode, Mouse, Screen
PID := DllCall("GetCurrentProcessId")
Process, Priority, %PID%, Normal
 
ColVn := 0
ZeroX := 960
ZeroY := 540
CFovX := 105
CFovY := 105
ScanL := ZeroX - CFovX
ScanT := ZeroY - CFovY
ScanR := ZeroX + CFovX
ScanB := ZeroY + CFovY

Loop  {
GetKeyState, Mouse2, LButton, P
PixelSearch, AimPixelX, AimPixelY, ScanL, ScanT, ScanR, ScanB,0xD22832, 0, Fast RGB ; This is the line where I want to put your script.
if errorlevel = 0
{
GoSub GetAimOffset
GoSub GetAimMoves
GoSub MouseMoves
}}
GetAimOffset:
 AimX := AimPixelX - ZeroX
  If ( AimX > 0 ) {
   DirX := 1
  }
  If ( AimX < 0 ) {
   DirX := -1
  }
  If ( AimY > 0 ) {
   DirY := 0
  }
  If ( AimY < 0 ) {
   DirY := 0
  }
 AimOffsetX := AimX * DirX
Return
 
GetAimMoves:
 RootX := Ceil(( AimOffsetX ** ( 1 / 2 )))
 MoveX := RootX * DirX
Return
 
MouseMoves:
If ( Mouse2 == "D" ) {
DllCall("mouse_event", uint, 1, int, MoveX, int, MoveY, uint, 0, int, 0)
}
Return

INS::ExitApp
User avatar
evilC
Posts: 4823
Joined: 27 Feb 2014, 12:30

Re: EVIL C I NEED YOUR HELP LOL :D

21 Aug 2017, 09:03

FYI, the code you have simply will not work.
The mouse_event DLL call is not in pixels, it is in "mickeys".

So if the thing you want to aim at is 100px to the left of center, issuing a mouse_event call and supplying a value of 100 will not result in the movement you desire.
Even if you could get it to move the whole distance in one mouse_event call, it would likely be picked up very easily by anti-cheat mechanisms, as no human could ever do that.

Give up. It is simply unfeasible to do this in AHK if you wish something that will work at a decent pace.

Furthermore, I do not do cheats. I will help you understand code, but I am not going to write an Aimbot.
CPLNet
Posts: 53
Joined: 06 Dec 2016, 11:24

Re: EVIL C I NEED YOUR HELP LOL :D

21 Aug 2017, 10:10

that was not my question my aimbot work nice thx .. but my question was becasue u ask me for many colr osearch at the same time pixel search or pixegetcolor so stop saying shit nb

Return to “Gaming Help (v1)”

Who is online

Users browsing this forum: No registered users and 46 guests