hello again, i have now tryed to change line 43 and i get the same error at line 45
sorry for the trouble i cause
imgur: the simple image sharer
Thanks in advance!
hello again, i have now tryed to change line 43 and i get the same error at line 45
sorry for the trouble i cause
imgur: the simple image sharer
Thanks in advance!
Last edited by thompou; 08-26-2014 at 02:36 AM.
Can you please change the function to look like this:
Those are lines 36, 39 and 43.Code:Func _ImageSearchArea($findImage,$resultPosition,$x1,$y1,$right,$bottom,ByRef $x, ByRef $y, $tolerance) if $tolerance>0 then $findImage = "*" & $tolerance & " " & $findImage $result = DllCall("modules\ImageSearchDLL.dll","str","ImageSearch","int",$x1,"int",$y1,"int",$right,"int",$bottom,"str",$findImage) ; If error exit if $result[0]="0" then return 0 ; Otherwise get the x,y location of the match and the size of the image to ; compute the centre of search $array = StringSplit($result[0],"|") $x=Int(Number($array[2])) $y=Int(Number($array[3])) if $resultPosition=1 then $x=$x + Int(Number($array[4])/2) $y=$y + Int(Number($array[5])/2) endif return 1 EndFunc
supar thanks alot! now i dont get any errors except it hangs before enter to ghom?
imgur: the simple image sharer
sorry that was wierd, there was even a previes when i uploaded, i tryed to upload as jpeg insted seems to work, for now at least
imgur: the simple image sharer
hello i took a picture with the print screen button becuse it says error for takeing screen? :S
imgur: the simple image sharer
has anyone tested with 2.1? i'm at work right now, haven't had a chance yet.
in the bot folder, there is a folder called "captures". the error is that it cant find the boss icon, in this folder there is a screenshot of the area searched for the icon
in this folder should be a screenshot of the tested area only, thats what i need. i need to see where it looks and what is there and not there
ya heard about the error 52 ban wave?
working now on fixing it for 2.1, salvaging will be mutch faster
my bot just keeps on attacking even if ghom is already dead
boss found-> then after ghom dies-> my character still atacks and looping attacks
Last edited by jmblen; 08-28-2014 at 04:08 AM.