Quote:
Originally Posted by Landa
yeah...how did u solve the laggy problem ?
if i do
send 1
sleep
send 2
sleep
send 3
sometime it just do 1 and 3...and jump over 2...
do u release the source too ?
|
Two possible ways.
1: Remove the Sleeps. So it spams keys FAST.
Or.
2: Do a pixel search on the hotbar to see if the skill is ready to be cast again.
Try something like this (repeat for every skill)
Code:
While 1
$skill1_on_hotbar = Pixelsearch(left,right,top,botom, color, shade variation)
[I]
;pixelsearch in a tiny area on the hotbar, and get the color of a skill which has 'cooled down'[/I]
If not @error Then ;this means that if the colour of 'cooled down' is seen, then it will continue....
Send ("{1}")
Sleep(60) ;the sleep reduces processor flooding
endif
Wend
I hope this helps, its difficult to give code like this, ill probably release my script after patch 4.0 to make sure it will work properly.