lam90
T.E.T.Я.I.S
- 18/10/05
- 526
- 1
hiện nay em làm đc 1 đoạn code này dành cho buff máu trong game, nhưng ngặt nỗi nó bơm máu liên tục chứ ko đến % máu trong game rồi mới bơm
$title = "Chien Quoc (1741745)--version:2008.04.02.1.1.01.48"
dim $x1=88, $y1=91 ;
dim $x2=60, $y2=124 ;
$valueHp = pixelgetcolor( $x1=90, $y1=82) ;
$valueMp = pixelgetcolor( $x2=62, $y2=109) ;
while 1
$title2 = wingettitle("[active]")
if $title2=$title then
if $valueHp<>pixelgetcolor( $x1=88, $y1=91) then send("f3")
if $valueMp<>pixelgetcolor( $x2=60, $y2=124) then send("f4")
endif
wend
nếu thêm slep(time) thì nó cg cứ nhiu đó time mà bơm,ko bik làm sao giờ
anh nào pro autoit thì xem dùm em bị lỗi gi với :(
$title = "Chien Quoc (1741745)--version:2008.04.02.1.1.01.48"
dim $x1=88, $y1=91 ;
dim $x2=60, $y2=124 ;
$valueHp = pixelgetcolor( $x1=90, $y1=82) ;
$valueMp = pixelgetcolor( $x2=62, $y2=109) ;
while 1
$title2 = wingettitle("[active]")
if $title2=$title then
if $valueHp<>pixelgetcolor( $x1=88, $y1=91) then send("f3")
if $valueMp<>pixelgetcolor( $x2=60, $y2=124) then send("f4")
endif
wend
nếu thêm slep(time) thì nó cg cứ nhiu đó time mà bơm,ko bik làm sao giờ

anh nào pro autoit thì xem dùm em bị lỗi gi với :(