combo macro auto it

07/28/2007 10:29 NetWolf#1
aight heres my script
Code:
while 1
	If Hex(PixelGetColor(420, 57),6) = "F8C800" Then
 if Hex(PixelGetColor(250, 763),6) = "232E41" Then
 	send(6)
 	sleep(10000)
 Elseif Hex(PixelGetColor(207, 763),6) = "232E41" Then
 	send(5)
 	sleep(10000)
 elseif Hex(PixelGetColor(163, 763),6) = "232E41" Then
 	send(4)
 	sleep(10000)
 else 
 	send(3)
 	sleep(10000)
 endif
	EndIf
WEnd
how it works
macro recognizes color of combo bar activates skills in the given order fullstop.

sleep times vary depending on the skillcasttimes
the problem with the script is
it works perfectly fine once you adjusted the sleep times right BUT not in cases where you lag or client fucks up for a few mili seconds which hapens rather often cause my computer is shit :D

i want to make it so that when it recognizes the black of the combo bar the function/script starts all over again
making it also unnecessary to adjust the sleeptimes right

help plz <3
07/28/2007 11:38 Xanatos#2
And what does this script do, when the combo bar gets smaller after some combos?
I see that it starts checking the pixel on the right side, and then moves to the left (250 --> 207 --> 163). Why so?
07/28/2007 12:06 NetWolf#3
it checks on the colour not on the position ^^

<hr>Append on Jul 28 2007, 13:24<hr> [update]
Code:
while 1
;checks for jukebox
	if hex&#40;pixelgetcolor&#40;780, 710&#41;,6&#41; = &#34;020301&#34; then
;combo bar colours for success yellow orange red
 if Hex&#40;PixelGetColor&#40;420, 57&#41;,6&#41; = &#34;F8C800&#34; or Hex&#40;PixelGetColor&#40;420, 57&#41;,6&#41; = &#34;F86000&#34; or Hex&#40;PixelGetColor&#40;420, 57&#41;,6&#41; = &#34;F81300&#34; Then
 	combo&#40;&#41;
 	do 
;im not sure which value this should be &#58;S
  sleep&#40;5&#41; 
;pauses until the combo starts from new combobar = black
 	until &#40;Hex&#40;PixelGetColor&#40;420, 57&#41;,6&#41; = &#34;535353&#34;&#41;
 EndIf
	else 
 sleep&#40;1000&#41;
	endif
WEnd
func combo&#40;&#41;
;checks whether the previous skill is still in cooldown
 if Hex&#40;PixelGetColor&#40;250, 763&#41;,6&#41; = &#34;232E41&#34; Then
 	send&#40;6&#41;
 Elseif Hex&#40;PixelGetColor&#40;207, 763&#41;,6&#41; = &#34;232E41&#34; Then
 	send&#40;5&#41;
 elseif Hex&#40;PixelGetColor&#40;163, 763&#41;,6&#41; = &#34;232E41&#34; Then
 	send&#40;4&#41;
 else 
 	send&#40;3&#41;
 endif
	
EndFunc
can someone with a better computer check if this works?
thx :D

<hr>Append on Jul 28 2007, 14:33<hr> :O
oh instead of searching for one pixel
using pixel search along the combo bar would that increase accuracy?

commets plz thx ^_^

<hr>Append on Jul 28 2007, 14:47<hr>
Quote:
Originally posted by Xanatos@Jul 28 2007, 11:38
I see that it starts checking the pixel on the right side, and then moves to the left (250 --> 207 --> 163). Why so?
thats the check whether skills are in cooldown time or not o.o
07/28/2007 16:09 Dizzydbd#4
the combo bot was the 1st thing i tried to make. But since i just couldn't pass by 15 combo i quit it. Now i made a slight upgrade on my PC. Maybe i'll try again even i'm not into cabal so much anymore.
08/01/2007 00:36 Baddy2#5
maybu u can tell how it works, like u gave some macro/script but hwo to launch it and what screen should be used, is the differences like in 1024x768 and 1280x1024 modes ?
08/01/2007 03:54 NetWolf#6
1024x768
im not going to help noobs there are enough guides on how to use autoit
and all you need to know from that point is within the script!
if you cant set it up oh well too bad not my problem
im providing a script/tool not a guide !
08/01/2007 10:44 Baddy2#7
Why i get this error ?
[Only registered and activated users can see links. Click Here To Register...]
08/01/2007 13:23 Dizzydbd#8
this is not an AC script. Use AUTO-IT
08/01/2007 14:07 soundwave3#9
hope this developement will work;] gl all!
08/01/2007 17:56 Baddy2#10
Nah not working i dl full auto-it kit instaled it paste this script to notepad saved it as combo.au3 then launch it smal icon near clock (is start) lighted up so i went to game started combo and nothing is happening? Maybe the script creator could post a little guide how to launch it plz :) it would be very helpfull
08/01/2007 20:26 leet-pvp#11
Code:
&#036;skill = 6   	

while 1
	
&#59;PixelSearch&#40;505,407,506,408,0x923000,15&#41;
&#59;&#036;found = @error
 
	if Hex&#40;PixelGetColor&#40;505,407&#41;,6&#41; = &#34;923000&#34; Then
 Send&#40;&#34;o&#34;&#41;
 if &#036;skill &#60; 2 Then 
 	&#036;skill = 6 	
 endif
 Send&#40;&#036;skill&#41; 	
 Sleep&#40;50&#41;
 &#036;skill = &#036;skill - 1 
	EndIf
	Sleep&#40;100&#41;
WEnd
Can anyone tell me, why it doesn't cast the skills? In Photoshop it works (if i take the screenshot where i took the coords + color from and let it type in a text field), but why not in cabal?!
08/02/2007 08:16 NetWolf#12
the script seems to be fine tho :s

why does it send o btw?
or is that ment to be 0 ! for the combo button?

for it to work btw
the combo bar has to be at the top of the screen

if this is even ment to be a combo script o-o lol

<hr>Append on Aug 2 2007, 08:21<hr>
Quote:
Originally posted by Baddy2@Aug 1 2007, 17:56
Nah not working i dl full auto-it kit instaled it paste this script to notepad saved it as combo.au3 then launch it smal icon near clock (is start) lighted up so i went to game started combo and nothing is happening? Maybe the script creator could post a little guide how to launch it plz :) it would be very helpfull
well
first of all you need to turn the jukebox on
then have you adjusted all the colors right?
if you use 1024x 768 and a maximized window the coordinates should be fine
duno about the colors tho aparently they vary a lot ^^

secondly this script has to be extremely accurate it wont work if your computer is shit
freezes will most likely mock things up
i cant use this script simply cause if i shift my resources towards the script cabal freezes or lags and if i shift my resources toward cabal the script is too slow ~_~ nasty dilemma
cant wayt till i get my 3gig cpu + 3gig ram <3
08/02/2007 10:45 Baddy2#13
My PC is good P c2d 2Ghz 3gig of ram gf7600gt 256. So what i do.
1. start bot
2. then launch the game (whit 1024x768@75Mhz combu UI on top).
3. go to dummies turn on jukebox put combo in 0 and 4 skills@9lvl to 1,2,3,4 slots (i tested manualy i managed to put 18 combo).
4. so i push 0 combo it starts and nothing, ok i tryed whit mouse2 push combo skill slot and don't do anything combo start and end's nothing is happening.
so i dont think its forks it would be great that some other ppl would test it :)
08/02/2007 11:23 leet-pvp#14
Quote:
Originally posted by NetWolf@Aug 2 2007, 08:16
why does it send o btw?
or is that ment to be 0 ! for the combo button?

for it to work btw
the combo bar has to be at the top of the screen
well, its actually o not 0 but the Send("o") was only for testing purposes; whether it actually does anything (here: opening options). But it doesnt :E

I had the combo bar not on top so i will try that, as soon there's a new bypass out. Or don't you even need a bypass for a combo script?


Another important question:
Do you gain Skill EXP when attacking other players on war channel or PvP?