Sign in to follow this  
Followers 0
YaBoy

Keep hitting a button until Monster is dead?

8 posts in this topic

#1 ·  Posted (edited)

its done, no mor ehelp

Edited by YaBoy

Share this post


Link to post
Share on other sites



It probably requires some work on your part. Do a search for +aim +bot and take a look at ControlSend, MouseClick and the Pixel* functions in the help file.

Share this post


Link to post
Share on other sites

I would write a toggle script.

e.g.

HotKeySet('{F5}','_ToggleClickingGuardButton')
HotKeySet('{F6}','_ExitScript)

$GuardButtonX = 100
$GuardButtonY = 200
$KeepClicking = False

While 1
    If $KeepClicking Then
        MouseClick('left',$GuardButtonX,$GuardButtonY,1,100)
    EndIf   
WEnd

Func _ToggleClickingGuardButton()
    $KeepClicking = Not $KeepClicking
EndFunc

Func _ExitScript()
    Exit
EndFunc

Untested!


----[ SandyD ]---

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

I would write a toggle script.

e.g.

HotKeySet('{F5}','_ToggleClickingGuardButton')
HotKeySet('{F6}','_ExitScript)

$GuardButtonX = 100
$GuardButtonY = 200
$KeepClicking = False

While 1
    If $KeepClicking Then
        MouseClick('left',$GuardButtonX,$GuardButtonY,1,100)
    EndIf   
WEnd

Func _ToggleClickingGuardButton()
    $KeepClicking = Not $KeepClicking
EndFunc

Func _ExitScript()
    Exit
EndFunc
  oÝ÷ ÙIízË^w}ÿªê-y.©u©¢²Ö¤z«zØb²+zÛ^¯}ÚºÚ"µÍÝÙ^TÙ]
    ÌÎNÞÑ_IÌÎNË  ÌÎN×ÕÙÙÛPÛXÚÚ[ÑÝX]ÛÌÎNÊBÝÙ^TÙ]
    ÌÎNÞÑIÌÎNË   ÌÎN×Ñ^]ØÜ ÌÎNÊBÌÍÑÝX]ÛHLÌÍÑÝX]ÛHHÌÍÒÙYÛXÚÚ[ÈH[ÙBÚ[HBY  ÌÍÒÙYÛXÚÚ[È[[ÝÙPÛXÚÊ   ÌÎNÛY    ÌÎNË ÌÍÑÝX]Û    ÌÍÑÝX]ÛKKL
B[YÑ[[ÈÕÙÙÛPÛXÚÚ[ÑÝX]Û
B   ÌÍÒÙYÛXÚÚ[ÈHÝ  ÌÍÒÙYÛXÚÚ[Â[[Â[ÈÑ^]ØÜ

B^][[Â

i542

EDIT: Sig and tags.

Edited by i542

I can do signature me.

Share this post


Link to post
Share on other sites

If you're using it to make a BOT, than I would suggest this:

Do
    MouseClick('left', $X, $Y, 1, 100)
Until PixelSearch($x, $y, $left, $right, $hex, 10) = @error

If you still have trouble understanding this, or you can't get it to work, just tell us and give us a description of what exactly you are having trouble with.

Kurt

PS: updated avatar & title :)


Awaiting Diablo III..

Share this post


Link to post
Share on other sites

#6 ·  Posted (edited)

already done

Edited by YaBoy

Share this post


Link to post
Share on other sites

Get the coordinates of the guard button, and PixelCheckSum that area. It will detect anything if something changes in that area.

Kurt


Awaiting Diablo III..

Share this post


Link to post
Share on other sites

#8 ·  Posted (edited)

no more help needed

Edited by YaBoy

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0