Sign in to follow this  
Followers 0
fataly

Im looking fast attack script for diablo 2.

7 posts in this topic

I have made my own baal bot with stashing/looting/partying. Now i need better attack script/ Faster.

If u have something ideas let them here :)

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

attack ?

what exactly you want, the physic attack (left click) or magic attack (right click) ?

You'll move the cursor yourself to the enemy and the attack script increase the click-speed for 'fast attack' ?

You can use :

while 1

func left()

mousedown("left")

mouseup("left")

endfunc

wend

while 1

Hotkeyset("^q","left")

WEnd

=> For 1 left click

also, you can make a hotkey for the magic attack (right click)

i think autoIT can have a faster click than manually or at least you'll tired of clicking yourself :)

Edited by d4rk

[quote]Don't expect for a perfect life ... Expect a least troubles ones[/quote]Contact me : ass@kiss.toWhat I Have Done :Favorites Manager Mangage your favorite's folder, that's coolPC Waker For those who want to save stickersWebScipts Supporter For those who've just started with Web and WebScriptsTemporary Looker Simple but powerful to manage your Temporary folder, you know what you downloaded[UDF] _NumberFormat() Better performance on number display[UDF] _DirGet() What a folder contain [how many (hidden,normal,...) files], with one line of code[UDF] _IsPressEs() Just like _IsPress() but for a group of keys

Share this post


Link to post
Share on other sites

you can use mouseclick( x, y, 1, 0) for instaclciks

Share this post


Link to post
Share on other sites

Use a program that injects memory into Diablo II~

Otherwise there is not other way to do it, I believe.

Share this post


Link to post
Share on other sites

There is other way, and this is mine own maked but this 2 sec slower than i want..

Mine attack script:

WinActivate("Diablo 2")

;10821887 -->diablo

$Teleport_Key = IniRead("Bot_Keys","TELEPORT_KEY","","r")

$Concentration_Key=IniRead("Bot_Keys","Concentration","","r")

$STDSTL_Key = IniRead("Bot_Keys","Standstill","","r")

Sleep(500)

Send("r")

Sleep(100)

$coord = PixelSearch(5,15,750,550,10821887,0,5)

If Not @error Then

;do

Sleep(200)

$pos = MouseGetPos()

MouseMove($coord[0],$coord[1],1)

Sleep(200)

MouseClick("right",$coord[0],$coord[1],1)

Sleep(300)

; Until checkpurple() = 1

EndIf

$coord = PixelSearch(5,15,750,550,10821887,0,5)

If Not @error Then

do

Sleep(100)

$pos = MouseGetPos()

MouseMove($coord[0],$coord[1],1)

Sleep(100)

MouseClick("right",$coord[0],$coord[1],1)

Sleep(100)

Send("{e down}")

Sleep(50)

Send("y")

Sleep(100)

MouseDown("left")

Sleep(2500)

Send("{e up}")

Sleep(500)

Send("{e up}")

Until checkdead() = 1

EndIf

Func checkdead()

PixelSearch(5,15,750,550,10821887,0,5)

if Not @error Then

Return 0

EndIf

Return 1

EndFunc

any advice?

Share this post


Link to post
Share on other sites

everything sounds normal, try to remove the sleep() and check again. ..


[quote]Don't expect for a perfect life ... Expect a least troubles ones[/quote]Contact me : ass@kiss.toWhat I Have Done :Favorites Manager Mangage your favorite's folder, that's coolPC Waker For those who want to save stickersWebScipts Supporter For those who've just started with Web and WebScriptsTemporary Looker Simple but powerful to manage your Temporary folder, you know what you downloaded[UDF] _NumberFormat() Better performance on number display[UDF] _DirGet() What a folder contain [how many (hidden,normal,...) files], with one line of code[UDF] _IsPressEs() Just like _IsPress() but for a group of keys

Share this post


Link to post
Share on other sites

i'll try

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