Pixel Search Auto Pot using AHK
Member @Fulminex released a pixel search potter usign autoit @ http://www.mpgh.net/forum/showthread.php?t=1010404 but many said it doesnt work for them.
The one by taejim is still far better then a pixel bot but due to it not having the correct pointers no longer works till updated.
This one how ever will work with out pointers as it does not read memory. So unless they stop keysends or getting pixel colors at screen coords this will always work.
So in the end I made my own in Autohotkey. There is nothing special about this. All it does is searches x,y coords for a color change and when that color is changed it trys to use a potion default key "q".
How to use
Just put your mouse on the health globe where you would like it to autopot. Then hit number pad 1. You will hear one ding. This means that it is on.
To stop it just hit the number pad 1 again you will hear 2 dings.
To change the setting where it pots just stop and start it up again.
Maybe later I will write a gui with custom hotkeys but for now it is not needed. Remember to always hit that thank link. As well if you use my code please give credit where credit is due.
Autohotkey Source:
https://www.virustotal.com/en/file/6...is/1439946573/

The one by taejim is still far better then a pixel bot but due to it not having the correct pointers no longer works till updated.
This one how ever will work with out pointers as it does not read memory. So unless they stop keysends or getting pixel colors at screen coords this will always work.
So in the end I made my own in Autohotkey. There is nothing special about this. All it does is searches x,y coords for a color change and when that color is changed it trys to use a potion default key "q".
How to use
Just put your mouse on the health globe where you would like it to autopot. Then hit number pad 1. You will hear one ding. This means that it is on.
To stop it just hit the number pad 1 again you will hear 2 dings.
To change the setting where it pots just stop and start it up again.
Maybe later I will write a gui with custom hotkeys but for now it is not needed. Remember to always hit that thank link. As well if you use my code please give credit where credit is due.
Autohotkey Source:
Version 1.0
;Version 1.0
;First Release
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
AutoPot = off
XPos = 0
YPos = 0
PixelColor = 0
NumPad1::
If AutoPot = off
{
AutoPot = on
MouseGetPos, XPos, YPos
PixelGetColor, PixelColor, %XPos%, %YPos%
SetTimer, AutoPot, 100
SoundPlay, %A_WinDir%\Media\Windows Ding.wav
} else If AutoPot = on
{
AutoPot = off
SetTimer, AutoPot, Off
SoundPlay, %A_WinDir%\Media\Windows Ding.wav
sleep 100
SoundPlay, %A_WinDir%\Media\Windows Ding.wav
}
return
AutoPot:
PixelGetColor, PixelColor2, %XPos%, %YPos%
If (PixelColor == PixelColor2)
{
;ToolTipDisplay("Matched" . PixelColor . " x" . PixelColor2)
} Else {
if WinActive("ahk_exe Trove.exe")
{
Send q
ToolTipDisplay("Trying to use a pot.")
}
}
return
ToolTipDisplay(Message) {
ToolTip, %Message%
SetTimer, RemoveToolTip, 5000
return
}
RemoveToolTip:
SetTimer, RemoveToolTip, Off
ToolTip
return
;First Release
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
AutoPot = off
XPos = 0
YPos = 0
PixelColor = 0
NumPad1::
If AutoPot = off
{
AutoPot = on
MouseGetPos, XPos, YPos
PixelGetColor, PixelColor, %XPos%, %YPos%
SetTimer, AutoPot, 100
SoundPlay, %A_WinDir%\Media\Windows Ding.wav
} else If AutoPot = on
{
AutoPot = off
SetTimer, AutoPot, Off
SoundPlay, %A_WinDir%\Media\Windows Ding.wav
sleep 100
SoundPlay, %A_WinDir%\Media\Windows Ding.wav
}
return
AutoPot:
PixelGetColor, PixelColor2, %XPos%, %YPos%
If (PixelColor == PixelColor2)
{
;ToolTipDisplay("Matched" . PixelColor . " x" . PixelColor2)
} Else {
if WinActive("ahk_exe Trove.exe")
{
Send q
ToolTipDisplay("Trying to use a pot.")
}
}
return
ToolTipDisplay(Message) {
ToolTip, %Message%
SetTimer, RemoveToolTip, 5000
return
}
RemoveToolTip:
SetTimer, RemoveToolTip, Off
ToolTip
return
https://www.virustotal.com/en/file/6...is/1439946573/
Code:
SHA256: 6e652cfb2c2909d3291ad65d050d8762461a2855cf1464d7b957d029127a6750 File name: Pixel Autopot1.0.rar Detection ratio: 1 / 56 Analysis date: 2015-08-19 01:09:33 UTC ( 0 minutes ago )





Thanks btw!