Register for your free account! | Forgot your password?

You last visited: Today at 15:14

  • Please register to post and access all features, it's quick, easy and FREE!

 

CO autoit gold looter, help

Reply
 
Old   #1
 
elite*gold: 0
Join Date: May 2007
Posts: 1
Received Thanks: 0
Question CO autoit gold looter, help

Hey guys I have this code that I gathered from different forums and Im wondering if someone can help me get it to work. I am trying to get the script to recognize pink gold, and pick it up. Thanks for your help dudes, here is the code I have so far, it runs around but doesnt pick up any gold....

Opt("GUIOnEventMode", 1)
Opt("MouseCoordMode", 0)
Opt("PixelCoordMode", 0)
#include <GUIConstants.au3>

HotKeySet("{HOME}", "Swap")
HotKeySet("{INSERT}", "Pause")
HotKeySet("{END}", "Terminate")

Dim $SearchMob=0
GUICreate("GOLD",150,25,100,10)
GUISetOnEvent($GUI_EVENT_CLOSE, "Terminate")
$Mess=GUICtrlCreateLabel("<HOME> to switch on",10,5,130,15)
GUISetState()

While 1
If $SearchMob Then MobSearch()
Sleep(2500)
WEnd

Func Swap()
$SearchMob=NOT $SearchMob
If $SearchMob Then
GUICtrlSetData($Mess,"<HOME> to switch off")
Else
GUICtrlSetData($Mess,"<HOME> to switch on")
EndIf
EndFunc ;==> Swap()

Func JumpAround()
$xrand=Random(0,500,1)
$yrand=Random(0,500,1)
MouseMove($xrand,$yrand,0)
Send("{CTRLDOWN}")
MouseClick("Left")
Send("{CTRLUP}")
Sleep(2500)
EndFunc ;==> JumpAround()

Func MobSearch()
$Coords=PixelSearch(200,100,825,600,255121255,5) <---[ THIS IS MY RGB FOR PINK ON MY SCREEN.]
If NOT @error Then
MouseClick("left",$Coords[0]$Coords[1]+30,1,0,)
Else
JumpAround()
EndIf
EndFunc ;==> MobSearch()

Func Terminate()
Exit
EndFunc ;==> Terminate()



f3nd3 is offline  
Old   #2
 
elite*gold: 0
Join Date: Apr 2009
Posts: 10
Received Thanks: 14
1 Question, did you add this part in urself:

Code:
<---[ THIS IS MY RGB FOR PINK ON MY SCREEN.]
if yes, then the only other problem i can think of is that it is searching for the wrong shade of pink... please give more information on what the problem is... thanks

//EDIT: I think i may have found ur problem, you need to enter the colour in Hex form, not RGB. If you make/find a simple pixel search program you can find this colour quite easily


_Hax_Rox_ is offline  
Reply



« Previous Thread | Next Thread »

Similar Threads
Metin Looter
Ich habe mir nen einfaches Macro gemacht was mit die "^" Taste drückt damit ich das nicht immer selbst machen muss. Da Metin allerdings nicht...
6 Replies - Metin2 Main - Discussions / Questions
Gold Loot program, auto looter
im looking for a program that lets me pick up gold exstremely fast and fast enough so birds cant kill me "yes i want to gold loot bi" i dont want...
3 Replies - CO2 Main - Discussions / Questions
Auto Looter
Can someone make a working auto looter ... ???
1 Replies - CO2 Main - Discussions / Questions



All times are GMT +1. The time now is 15:14.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2017 elitepvpers All Rights Reserved.