Autoit pixel aimbot

01/13/2014 21:48 FireStorm01#1
Hello, i am new to autoit language
i made aimbot for game but when i tested it i found that it doesn't work
i made an other one for aim on firefox shortcut and it worked !
my friend told that the game using different mouse coordinates than the "normal" one which system using it
he told me also i must use memorywrite function (i found y,x values using cheat engine)


Quote:
$Aimbot = "Aimbot"

$W = Msgbox(33 ,$Aimbot,"Made by FireStorm")
If $W = 2 Then
Exit
EndIf


HotKeySet("{x}", "Start")
HotKeySet("{F6}", "_Exit")
HotKeySet("{p}", "Pause")

While 1
Sleep(250)
WEnd

func Start()
While 1
$target = PixelSearch(0, 0, 1366, 768,0xFFFFFF,1)
if IsArray($target) Then
Mousemove($target[0], $target[1] ,1)
Endif
WEnd
EndFunc

func Pause()
while 1
sleep(100)
WEnd
EndFunc

Func _Exit()
Exit
EndFunc
what i should do next?
01/14/2014 18:57 Futur94#2
Try to start as Administrator -> #requireadmin
01/15/2014 04:20 FireStorm01#3
Quote:
Originally Posted by Futur94 View Post
Try to start as Administrator -> #requireadmin
i did it before but i got the same result .

when i put the game in window size and move the mouse out of it ( in windows)
the aimbot works perfect ! but when i back to the game it doesn't work

this is his replay to me :
Quote:
the game doesn't use the "normal" Mouse Coordsystem u must write the Coords in the memory.
Maybe i can send u today in ca 10/12h the memorywrite function
so i must write the system mouse coordinates in game memory , i had the game y and x offsets but i don't know how i can do it :(
01/16/2014 08:03 FireStorm01#4
Any help for understand this code :
Quote:
Func FastTurn($LinksRechts,$HochRunter)
;81c424010000c74504 (HochRunter)c74500(lINKSrECHTS)90909090909090
;$HochRunter=0x00000000
;$LinksRechts=0x00000000
Local $adresse=0x062D3AC2
$opcode1="0x81c524010000c74504"
$opcode2="0xc74500"
$opcode3="0xc7450800000000";"0x90909090909090"

for $i=3 to StringLen($opcode1)-1 Step 2
$value = _MemoryWrite($adresse+($i-3)*0.5, $open,"0x"&Stringmid($opcode1,$i,2),"byte")
Next
$adresse=$adresse+(StringLen($opcode1)-2)*0.5
_MemoryWrite($adresse, $open,$HochRunter)
$adresse=$adresse+4

for $i=3 to StringLen($opcode2)-1 Step 2
$value = _MemoryWrite($adresse+($i-3)*0.5, $open,"0x"&Stringmid($opcode2,$i,2),"byte")
Next
$adresse=$adresse+(StringLen($opcode2)-2)*0.5
_MemoryWrite($adresse, $open,$LinksRechts)
$adresse=$adresse+4

for $i=3 to StringLen($opcode3)-1 Step 2
$value = _MemoryWrite($adresse+(($i-3)*0.5), $open,"0x"&Stringmid($opcode3,$i,2),"byte")
Next
EndFunc

Func FastTurnReset()
Local $adresse=0x062D3AC2
Local $opcode="0x8b4c240c8b5424108b44241481c524010000894 d00895504894508"
for $i=3 to StringLen($opcode)-1 Step 2
_MemoryWrite($adresse+($i-3)*0.5, $open,"0x"&Stringmid($opcode,$i,2),"byte")
Next
Return 1
EndFunc