While looking through posts, I noticed a few people mentioned some bots not having an auto pot feature. I didn't really get why they didn't as it's really simple to make one. So while being bored earlier, I decided to make one. Took me like 10 mins to code, and it's very very basic. Theres no GUI or anything, it just runs in the background while you bot or while your just playing.
The set up I used was 1280x1024 resolution and in windowed mode. You can change that, but you'll need to edit the code a little bit. Pressing Home starts it going, and End exits the script.
I didn't bother uploading, as it's easy enough to compile yourself. It's all written in autoIt which you can download for free from [Only registered and activated users can see links. Click Here To Register...]
AutoIt Code:
HotKeySet("{END}","End")
HotKeySet("{HOME}","Start")
While 1
Sleep(100)
WEnd
Func Start()
While 1
Heal()
Sleep(400)
MP()
Sleep(400)
WEnd
EndFunc
Func Heal()
If PixelSearch(729,969,730,970,0x818381,30) = @error = 0 Then
Send("{1}")
EndIf
EndFunc
Func MP()
If PixelSearch(698,981,699,982,0x737973,30) = @error = 0 Then
Send("{2}")
EndIf
EndFunc
Func End()
Exit 0
EndFunc
It doesn't pot till your HP/MP is about 1/3 gone, as I said earlier though, you can edit however you want.
Happy Botting!
The set up I used was 1280x1024 resolution and in windowed mode. You can change that, but you'll need to edit the code a little bit. Pressing Home starts it going, and End exits the script.
I didn't bother uploading, as it's easy enough to compile yourself. It's all written in autoIt which you can download for free from [Only registered and activated users can see links. Click Here To Register...]
AutoIt Code:
HotKeySet("{END}","End")
HotKeySet("{HOME}","Start")
While 1
Sleep(100)
WEnd
Func Start()
While 1
Heal()
Sleep(400)
MP()
Sleep(400)
WEnd
EndFunc
Func Heal()
If PixelSearch(729,969,730,970,0x818381,30) = @error = 0 Then
Send("{1}")
EndIf
EndFunc
Func MP()
If PixelSearch(698,981,699,982,0x737973,30) = @error = 0 Then
Send("{2}")
EndIf
EndFunc
Func End()
Exit 0
EndFunc
It doesn't pot till your HP/MP is about 1/3 gone, as I said earlier though, you can edit however you want.
Happy Botting!