Please deletein line 1#include <ImageSearch.au3>
then add to the bottom of the script following:
Respond as fast as possible plsFunc _ImageSearchArea($findImage,$resultPosition,$x1,$y1,$right,$bottom,ByRef $x, ByRef $y, $tolerance)
if $tolerance>0 then $findImage = "*" & $tolerance & " " & $findImage
If @AutoItX64 Then
$result = DllCall("ImageSearchDLL_x64.dll","str","ImageSearch","int",$x1,"int",$y1,"int", $right, "int",$bottom,"str",$findImage)
Else
$result = DllCall("ImageSearchDLL.dll","str","ImageSearch","int",$x1,"int",$y1,"int", $right, "int",$bottom,"str",$findImage)
EndIf
if $result = "0" then return 0
$array = StringSplit($result[0],"|")
If(UBound($array) >= 4) Then
$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
EndIf
EndFunc
Last edited by zEEneXx; 06-18-2012 at 04:30 PM.
working fine now you need to edit your post because there is space between $ right and below $righ t
next thing is i think is better to leave than to teleport back becasue 1 hit interupt teleport or cast some defensive spells also changed acid cloud on zombie wall its much better mobs cant escape
Ps. last thing add randomization would be nice
Last edited by skiller99; 06-18-2012 at 04:29 PM.
ok good to hear i will make it cast gargantuan if door is closed, but even if you get hit you will leave the game after a while.
i'm running fine with acid cloud but that depends on the dps i think sarkoth dies before he can move a leg
randomization will come i think but it hasnt first priority. im on 800x600 right now
oh gr8 im w8ing so much for 800x600 cause i need to use my TV via HDMI to achieve 1080p
sometimes it misses open cellar dunno why
Last edited by skiller99; 06-18-2012 at 04:49 PM. Reason: ส็็็็็็็็็็็็็็็็็็็(ಠ益ಠ)ส็็็็&
hey how ur are doing with 800x600 any progres? 1080p works perfect 0 deaths
Last edited by skiller99; 06-18-2012 at 07:47 PM. Reason: ส็็็็็็็็็็็็็็็็็็็(ಠ益ಠ)ส็็็็&
Bad news for 800x600 :x I would need to check every coordinate for 800x600.. thats to much effort for me. but what i can do is to port it to another 16:9 resolution. just dont know which one. i think the main purpose for 800x600 requests is that ppl dont have 1920x1080 monitors. so it would be enough if i provide a much smaller 16:9 resolution as alternative. 1244/700 is in my mind right now... suggestions?
Last edited by zEEneXx; 06-18-2012 at 08:33 PM.
this sucks, im running on a laptop
Updated first post with fixed required files. one picture was missing in 1.0e what caused that the bot didn't checked if the stashbag is full
i'm sorry but 800x600 is to much effort
i have currently problems with imagesearch on 1244x700. the pictures are to small to deliver correct results :x
soo sad . And bot after 9 hours said in stats that it looted legendary but there is No legendary at all just grey item it might be imgsearch fail ?
It's stashing code fail. Copy as many functions as you can from 1.9.3, I fixed so many bugs since 1.8