So I show you how to make a easyAimbot for corssfire.
at first you need autoit v3.
2. if you install autoit you must open a new scite file
3. you must delete :
#cs ----------------------------------------------------------------------------
AutoIt Version: 3.3.4.0
Author: myName
Script Function:
Template AutoIt script.
#ce ----------------------------------------------------------------------------
; Script Start - Add your code below here
4. now we can start to write:
at first you need keys to start the script and closing the script and a While Loop

we have four functions)
Code:
HotKeySet("f", "_a") ;start func _a()
HotKeySet("x", "_b") ;start func _b()
HotKeySet("k", "_c") ;close func _a()
HotKeySet("o", "_d") ;close func _b()
While 1
sleep(100)
WEnd
5. Now the Function:
Code:
Func _a()
while 1
$coord = PixelSearch( 0, 0,1024, 768, 0xD0AC8F )
$coord = PixelSearch( 0, 0,1024, 768, 0xD0B69B )
$coord = PixelSearch( 0, 0,1024, 768, 0xD2AD8F )
$coord = PixelSearch( 0, 0,1024, 768, 0xC6A88F )
If Not @error Then
MouseMove($coord[0], $coord[1])
EndIf
wend
EndFunc
Declaration:
$coord = PixelSearch( 0, 0,1024, 768, 0xD0AC8F ) ;0xD0AC8F is a clolor from a head in Corssfire.
MouseMove($coord[0], $coord[1]) ;The mouse is going to the color. That make the mouse always because there is a infinite loop : While 1 --- WEnd
6.
Code:
Func _b()
while 1
$coord = PixelSearch( 0, 0,1024, 768, 0x1E2826 )
$coord = PixelSearch( 0, 0,1024, 768, 0x282C30 )
$coord = PixelSearch( 0, 0,1024, 768, 0x000101 )
$coord = PixelSearch( 0, 0,1024, 768, 0x212826 )
If Not @error Then
MouseMove($coord[0], $coord[1])
EndIf
WEnd
EndFunc
The same again but this is against the antiterror. The first is against the Terror.
Here:
Code:
WinActive("crossfire.exe")
HotKeySet("x", "_b")
HotKeySet("f", "_a")
while 1
sleep(200)
WEnd
Func _a()
while 1
$coord = PixelSearch( 0, 0,1024, 768, 0xD0AC8F )
$coord = PixelSearch( 0, 0,1024, 768, 0xD0B69B )
$coord = PixelSearch( 0, 0,1024, 768, 0xD2AD8F )
$coord = PixelSearch( 0, 0,1024, 768, 0xC6A88F )
If Not @error Then
MouseMove($coord[0], $coord[1])
EndIf
wend
EndFunc
Func _b()
while 1
$coord = PixelSearch( 0, 0,1024, 768, 0x1E2826 )
$coord = PixelSearch( 0, 0,1024, 768, 0x282C30 )
$coord = PixelSearch( 0, 0,1024, 768, 0x000101 )
$coord = PixelSearch( 0, 0,1024, 768, 0x212826 )
If Not @error Then
MouseMove($coord[0], $coord[1])
EndIf
WEnd
EndFunc
7. Now we need a function for
HotKeySet("k", "_c") ;close func _a()
HotKeySet("o", "_d") ;close func _b()
so:
Code:
Func _c()
$var = 0
EndFunc
Func _d()
$1var = 0
Endfunc
and so
Code:
Func _a()
$var = 1 ;look here
while $var = 1 ;look here
$coord = PixelSearch( 0, 0,1024, 768, 0xD0AC8F )
$coord = PixelSearch( 0, 0,1024, 768, 0xD0B69B )
$coord = PixelSearch( 0, 0,1024, 768, 0xD2AD8F )
$coord = PixelSearch( 0, 0,1024, 768, 0xC6A88F )
If Not @error Then
MouseMove($coord[0], $coord[1])
EndIf
wend
EndFunc
Func _b()
$1var = 1 ;look here
while $1var = 1 ;look here
$coord = PixelSearch( 0, 0,1024, 768, 0x1E2826 )
$coord = PixelSearch( 0, 0,1024, 768, 0x282C30 )
$coord = PixelSearch( 0, 0,1024, 768, 0x000101 )
$coord = PixelSearch( 0, 0,1024, 768, 0x212826 )
If Not @error Then
MouseMove($coord[0], $coord[1])
EndIf
WEnd
EndFunc
All in All
Code:
WinActive("crossfire.exe")
HotKeySet("k", "_c") ;close func _a()
HotKeySet("o", "_d") ;close func _b()
HotKeySet("x", "_b")
HotKeySet("f", "_a")
while 1
sleep(200)
WEnd
Func _a()
$var = 1
while $var = 1
$coord = PixelSearch( 0, 0,1024, 768, 0xD0AC8F )
$coord = PixelSearch( 0, 0,1024, 768, 0xD0B69B )
$coord = PixelSearch( 0, 0,1024, 768, 0xD2AD8F )
$coord = PixelSearch( 0, 0,1024, 768, 0xC6A88F )
If Not @error Tave hen
MouseMove($coord[0], $coord[1])
EndIf
wend
EndFunc
Func _b()
$1var = 1
while $1var = 1
$coord = PixelSearch( 0, 0,1024, 768, 0x1E2826 )
$coord = PixelSearch( 0, 0,1024, 768, 0x282C30 )
$coord = PixelSearch( 0, 0,1024, 768, 0x000101 )
$coord = PixelSearch( 0, 0,1024, 768, 0x212826 )
If Not @error Then
MouseMove($coord[0], $coord[1])
EndIf
WEnd
EndFunc
Func _c()
$var = 0
Endfunc
Func _d()
$1var = 0
Endfunc
Now you can compile the script if u want with Ctrl+F7 to a .exe or start the script with F5. If u start the script you can open crossfire.
Have fun
If want another clolor you can find out it with AutoitInfo. this programm is in the autoit folder.
Sorry for my bad english.... the google translater was my best friend xD
is there a mistake please it thx