Hi. I'm french.Sorry for my bad english. My version of cabal is europea.
I tried to make myself a macro but it is only 2 days that I practice autoit.
I therefore know quite limited. I like to share with you my program. I've tested but has no effect on the game like most other programs of the forum that I tested. I'd like to know why.it's really a simple program you will not hurt to understand?:confused:
$x = 1
$y = 1
WinWaitActive("CABAL") ;activation of the window cabal
MsgBox(0, "", "Macro is started") ;beginning of macro
for $i = 1 to 1296000 step 1 ;number of pixels on my screen(it's a resolution 1440x900
If PixelGetColor($x, $y) = 0x00FF00 Then ;color on this monster(OOFFOO is an example)
MouseClick("left", $x, $y, 1, 0)
Sleep(300)
Send("{é}") ;key skill
Sleep(300)
EndIf
$y = $y + 1
If $y = 900 Then
$y = 1
$x = $x + 1
EndIf
next
I explain a little.I made a search pixel by pixel to find the color that I have clarified and which is present on the monster. Once the pixel found mouse clicks on the pixel and then selects the monster in theory:). I then on a skill but it does absolutely nothing in the game Can you help me where I give a simple macro just to kill a monster with a bot. Thank you
I tried to make myself a macro but it is only 2 days that I practice autoit.
I therefore know quite limited. I like to share with you my program. I've tested but has no effect on the game like most other programs of the forum that I tested. I'd like to know why.it's really a simple program you will not hurt to understand?:confused:
$x = 1
$y = 1
WinWaitActive("CABAL") ;activation of the window cabal
MsgBox(0, "", "Macro is started") ;beginning of macro
for $i = 1 to 1296000 step 1 ;number of pixels on my screen(it's a resolution 1440x900
If PixelGetColor($x, $y) = 0x00FF00 Then ;color on this monster(OOFFOO is an example)
MouseClick("left", $x, $y, 1, 0)
Sleep(300)
Send("{é}") ;key skill
Sleep(300)
EndIf
$y = $y + 1
If $y = 900 Then
$y = 1
$x = $x + 1
EndIf
next
I explain a little.I made a search pixel by pixel to find the color that I have clarified and which is present on the monster. Once the pixel found mouse clicks on the pixel and then selects the monster in theory:). I then on a skill but it does absolutely nothing in the game Can you help me where I give a simple macro just to kill a monster with a bot. Thank you