Autopoter

08/29/2007 02:42 UPSman2#1
ya so i put this together in about an hour since some peeps were wanting a pixel search autopoter....

[Only registered and activated users can see links. Click Here To Register...]

basicaly this program searchs in a (user set) rectangle for a (user set) color then it clicks the F1 key if the color is found in it


Basic instructions
1. Click "set coords"
2. Click the point of the Top Left corner of the area you wish to search in
3. Click the point of the Bottom Right corner of the area you wish to search in
4. take a screenshot of the partialy faded HP bar
5. Paste it into paint and use... [Only registered and activated users can see links. Click Here To Register...] < that program to find the a color of the faded hp bar
6. put the found color into the "color" Box
7. press start


NOTE: Hold F11 to stop
08/29/2007 03:21 HyB2k7#2
AhnLab-V3 2007.8.29.0 2007.08.28 -
AntiVir 7.4.1.63 2007.08.28 -
Authentium 4.93.8 2007.08.28 -
Avast 4.7.1029.0 2007.08.28 -
AVG 7.5.0.484 2007.08.28 -
BitDefender 7.2 2007.08.29 -
CAT-QuickHeal 9.00 2007.08.25 -
ClamAV 0.91.2 2007.08.29 -
DrWeb 4.33 2007.08.29 -
eSafe 7.0.15.0 2007.08.28 suspicious Trojan/Worm
eTrust-Vet 31.1.5092 2007.08.28 -
Ewido 4.0 2007.08.28 -
FileAdvisor 1 2007.08.29 -
Fortinet 3.11.0.0 2007.08.29 -
F-Prot 4.3.2.48 2007.08.28 -
F-Secure 6.70.13030.0 2007.08.29 -
Ikarus T3.1.1.12 2007.08.28 Win32.HLLW.Spreader.17
Kaspersky 4.0.2.24 2007.08.29 -
McAfee 5107 2007.08.28 -
Microsoft 1.2803 2007.08.29 -
NOD32v2 2489 2007.08.28 -
Norman 5.80.02 2007.08.28 -
Panda 9.0.0.4 2007.08.28 -
Prevx1 V2 2007.08.29 -
Rising 19.38.12.00 2007.08.28 -
Sophos 4.21.0 2007.08.29 -
Sunbelt 2.2.907.0 2007.08.25 -
Symantec 10 2007.08.29 -
TheHacker 6.1.9.175 2007.08.28 -
VBA32 3.12.2.3 2007.08.28 -
VirusBuster 4.3.26:9 2007.08.28 -
Webwasher-Gateway 6.0.1 2007.08.28 Worm.Win32.ModifiedUPX.gen!90 (suspicious)

3 av programs found something.. i'm not sure if its save, but I hope it is
08/29/2007 03:39 UPSman2#3
Quote:
Originally Posted by HyB2k7 View Post
AhnLab-V3 2007.8.29.0 2007.08.28 -
AntiVir 7.4.1.63 2007.08.28 -
Authentium 4.93.8 2007.08.28 -
Avast 4.7.1029.0 2007.08.28 -
AVG 7.5.0.484 2007.08.28 -
BitDefender 7.2 2007.08.29 -
CAT-QuickHeal 9.00 2007.08.25 -
ClamAV 0.91.2 2007.08.29 -
DrWeb 4.33 2007.08.29 -
eSafe 7.0.15.0 2007.08.28 suspicious Trojan/Worm
eTrust-Vet 31.1.5092 2007.08.28 -
Ewido 4.0 2007.08.28 -
FileAdvisor 1 2007.08.29 -
Fortinet 3.11.0.0 2007.08.29 -
F-Prot 4.3.2.48 2007.08.28 -
F-Secure 6.70.13030.0 2007.08.29 -
Ikarus T3.1.1.12 2007.08.28 Win32.HLLW.Spreader.17
Kaspersky 4.0.2.24 2007.08.29 -
McAfee 5107 2007.08.28 -
Microsoft 1.2803 2007.08.29 -
NOD32v2 2489 2007.08.28 -
Norman 5.80.02 2007.08.28 -
Panda 9.0.0.4 2007.08.28 -
Prevx1 V2 2007.08.29 -
Rising 19.38.12.00 2007.08.28 -
Sophos 4.21.0 2007.08.29 -
Sunbelt 2.2.907.0 2007.08.25 -
Symantec 10 2007.08.29 -
TheHacker 6.1.9.175 2007.08.28 -
VBA32 3.12.2.3 2007.08.28 -
VirusBuster 4.3.26:9 2007.08.28 -
Webwasher-Gateway 6.0.1 2007.08.28 Worm.Win32.ModifiedUPX.gen!90 (suspicious)

3 av programs found something.. i'm not sure if its save, but I hope it is
its from the upx packer that autoit uses to create .exes so there isnt realy i virus, also thx for the scan
08/29/2007 04:12 HyB2k7#4
starts without problems and is a really nice idea. Thanks for doing that, but I just can't get it how to set the Area right.
08/29/2007 05:59 strikeraid#5
i probably won't test it till later, but i think you've done a lot for us lately that we can trust you. good job with this project as well. i was gonna start learning how to use autoit later on and i was wondering if i can borrow the source code for this? the tutorials out there aren't helpful.
08/29/2007 06:06 superbatman#6
it looks like a false positive its probaly cause by theway auto it compiles its program:p
08/29/2007 06:10 strikeraid#7
well it looks like a great program. so how are we supposed to set the color? and is the left right top bottom set thing supposed to be the 2moons window or the hp bar?
08/29/2007 07:29 Azn.ina.Witee#8
Can you you show us how to get the search area for the hp bar, but well down on making this.
08/29/2007 07:49 neogohan1#9
Can you please reupload using a different file sharing site? because i'm unable to download from megaupload.

Please use something like rapidshare or sendspace if you can, thank you.
08/29/2007 11:29 azngoogle#10
dont have time to test this.
but here is the mirror in RS:
[Only registered and activated users can see links. Click Here To Register...]
08/29/2007 11:47 luckyjol#11
yeah thanks thats nice.. i got around till now with an auto clicker (mouse) which clicks all 6 minutes.. but yours is quiet better! thanks again ^^
08/29/2007 14:08 dedrick#12
Hm, doesnt seem like I get the coordinates right for the bar every time , only gotten it to work once. It aint done by pressing set, and then click at the hp bar in game, is it? :/ How do i get the exact coordinates?

Lovely program anyhow :D
08/29/2007 22:07 UPSman2#13
@dedrick you need to get the color of the faded hp bar through taking a screenshot and getting the color from there...

here the source for anyone thats cares, its pretty simple.....



#include <GUIConstants.au3>
#include <Misc.au3>

$Form1 = GUICreate("Autopoter", 268, 204, 193, 115)
$Checkbox1 = GUICtrlCreateCheckbox("F1", 0, 24, 33, 17)
$Checkbox2 = GUICtrlCreateCheckbox("F2", 0, 40, 33, 17)
$Checkbox3 = GUICtrlCreateCheckbox("F3", 0, 56, 33, 17)
$Input1 = GUICtrlCreateInput("", 112, 8, 49, 21)
$Input2 = GUICtrlCreateInput("", 112, 32, 49, 21)
$Input3 = GUICtrlCreateInput("", 112, 56, 49, 21)
$Input4 = GUICtrlCreateInput("", 112, 80, 49, 21)
$Label1 = GUICtrlCreateLabel("Left:", 80, 8, 25, 17)
$Label2 = GUICtrlCreateLabel("Top:", 80, 32, 26, 17)
$Label3 = GUICtrlCreateLabel("Right:", 80, 56, 32, 17)
$Label4 = GUICtrlCreateLabel("Bottom:", 72, 80, 40, 17)
$Input5 = GUICtrlCreateInput("", 112, 104, 73, 21)
$Label5 = GUICtrlCreateLabel("Color:", 80, 104, 31, 17)
$Button1 = GUICtrlCreateButton("Set Coords", 168, 40, 70, 24)
$Button5 = GUICtrlCreateButton("Start", 104, 152, 65, 33, 0)
$Label10 = GUICtrlCreateLabel("Click...", 0, 8, 36, 17)
GUISetState(@SW_SHOW)

While 1
$Msg = GUIGetMsg()
Select
Case $Msg = $GUI_EVENT_CLOSE
ExitLoop

Case $msg = $Button1
$a12 = 0
Do
Sleep(10)
If $a12 = 0 Then
If _IsPressed("01") Then
$a11 = MouseGetPos()
$a12= 1
sleep(200)
EndIf
EndIf
If $a12 = 1 Then
If _IsPressed("01") Then
$a13 = MouseGetPos()
$a12 = 3
WinActivate ("Autopoter","")
MsgBox(0,"update", "Left: " & $a11[0] & " Top: " & $a11[1] & " Right: " & $a13[0] & " Bottom: " & $a13[1])
EndIf
EndIf
Until $a12 = 3
GUICtrlSetData($Input1, $a11[0])
GUICtrlSetData($Input2, $a11[1])
GUICtrlSetData($Input3, $a13[0])
GUICtrlSetData($Input4, $a13[1])


Case $msg = $Button5
$a1 = GUICtrlRead ($Checkbox1)
$a2 = GUICtrlRead ($Checkbox2)
$a3 = GUICtrlRead ($Checkbox3)
$a5 = GUICtrlRead ($Input1)
$a6 = GUICtrlRead ($Input2)
$a7 = GUICtrlRead ($Input3)
$a8 = GUICtrlRead ($Input4)
$a9 = GUICtrlRead ($Input5)

Do
sleep(500)
$a10 = PixelSearch($a5, $a6, $a7, $a8, $a9)
if @error Then
Else
If $a1 = $GUI_CHECKED Then
ControlSend("2Moons","","","{F1}")
EndIf
If $a2 = $GUI_CHECKED Then
ControlSend("2Moons","","","{F2}")
EndIf
If $a3 = $GUI_CHECKED Then
ControlSend("2Moons","","","{F3}")
EndIf
EndIf

until _IsPressed("7A")
EndSelect
WEnd
08/29/2007 22:33 dedrick#14
Quote:
Originally Posted by UPSman2 View Post
@dedrick you need to get the color of the faded hp bar through taking a screenshot and getting the color from there...
Yup, that part aint a problem. The problem I got is to set the "box" right. Dont think I did it quite right. :/
08/29/2007 23:31 UPSman2#15
Quote:
Originally Posted by dedrick View Post
Yup, that part aint a problem. The problem I got is to set the "box" right. Dont think I did it quite right. :/
lemme make a simpler one i suppose