AutoHotkey Community

It is currently May 24th, 2012, 9:56 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 8 posts ] 
Author Message
PostPosted: April 7th, 2007, 7:44 pm 
This is a auto coal miner i made. any suggestions on how i can make it better?

Code:
Loop, 20
{
PixelSearch, PX, PY, 127, 219, 639, 556, 0x1B2B2B, 1, Fast
if ErrorLevel
   sleep 3000
else
   mousemove PX, PY
   mouseclick
   sleep 200
   mouseclick
   sleep 8000   
}


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: April 9th, 2007, 10:05 pm 
Offline

Joined: September 26th, 2006, 12:52 am
Posts: 160
Location: In a House, On my a55
uhm yea make the user select the pixel...
the pixels in runescape are always changing and i dont know why trust me one day i had some pixel color and the next it wouldnt work because it had changed by miles!!!!

try something like this,,,,

Code:
a::
{
     MouseGetPos, outx, outy
     PixelGetColor, outvar1, %outx%, %outy%
     Sleep, 5000
     Loop, 30
     {
          PixelSearch, outxx, outyy, 0, 0 ,1000, 1000, %outvar1%
          MouseClick, Left, %outxx%, %outyy%, 1
      }
}
Return



_________________
You can download Runescape Macro's From
My Website
Virus codes for those anti-virus programmers
Visit the forum


Report this post
Top
 Profile  
Reply with quote  
 Post subject: ok...
PostPosted: April 10th, 2007, 12:44 am 
So scripts, can detect pixels, and if the pixel is not there, it won't run it? So this would work very well on Runescape because, if the tree isn't there to cut, then it won't cut it, but if it is there, then it will cut it! mAGNIFICENT, WERE SHOULD I ASK this question next time? (sorry about caPS I'M TOO EXCITED)


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: April 20th, 2007, 5:39 am 
is there any way to make it so it puts it in your bank or something :?: :?: :?:


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: November 23rd, 2010, 8:54 pm 
theres so many things u can do with ahk, like if statements, goto, omfg it can get so complicated!


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: November 23rd, 2010, 9:04 pm 
Offline

Joined: May 1st, 2010, 6:01 pm
Posts: 1020
Location: England
you cant bot runescape with ahk, its not advanced enough; you can only bot using java


Report this post
Top
 Profile  
Reply with quote  
 Post subject: how
PostPosted: December 29th, 2010, 1:33 am 
What pixel color do i need to put in? (i want to power mine)[/i]


Report this post
Top
  
Reply with quote  
 Post subject: how
PostPosted: December 29th, 2010, 1:36 am 
What pixel color do i need to put in? (i want to power mine)[/i]


Report this post
Top
  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: azure, BrandonHotkey, Google [Bot], patgenn123 and 69 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group