Auto Pot Bot

01/22/2009 16:41 WeeMan411#1
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!
01/22/2009 17:06 Newbb#2
ok thx for sharing, but u do know:

There is AUTO POT function IN GAME?
01/22/2009 17:10 WeeMan411#3
Quote:
Originally Posted by Newbb View Post
ok thx for sharing, but u do know:

There is AUTO POT function IN GAME?
Lol, no I didn't. Only started playing a little while ago. Well..... kinda makes this thread pointless lol. Can be used for other games people play so use if you want, don't if you don't.
01/23/2009 17:03 Newbb#4
well if u dont know how, on the lifebar on the left there is a small triangel and u can drag that triangel to a point where u want to use auto pot,..
01/24/2009 01:33 xXxS1kkNastYxXx#5
wow, i dont get why a bot needs auto pot when the gold arrows do the work all of the time....?
01/24/2009 08:24 WeeMan411#6
Quote:
Originally Posted by james106 View Post
wow, i dont get why a bot needs auto pot when the gold arrows do the work all of the time....?
Well if you had read before posting; which for some reason a lot of people are incapable of doing, you'd see that I didn't know there was auto pot built into the game, hence me making this. Reason I didn't edit and remove was that it can be used as a template for other games which do not.
01/24/2009 14:15 tux-penguin#7
AUTO POT IN GAME

if you dont know that then you dont know how to play so gtfo of this forum.