AutoHotkey Community

It is currently May 27th, 2012, 1:06 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 35 posts ]  Go to page Previous  1, 2, 3
Author Message
 Post subject:
PostPosted: June 17th, 2010, 1:39 am 
I found this thing that could be used for auto miner

Code:
#persistent


;Dimensions the box to search in
F1::Mousegetpos, xwin1, ywin1

F2::Mousegetpos, xwin2, ywin2

F3::
Mousegetpos, xpos, ypos
Pixelgetcolor, color, %xpos%, %ypos%
exit

Alt::
Loop
{
Pixelsearch, xclick, yclick, %xwin1%, %ywin1%, %xwin2%, %ywin2%, %color%
If ErrorLevel = 0
Mouseclick, left, %xclick%, %yclick%

GetKeyState, state, F4, P
if state=D
break
}


you will have to make it random somehow though


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: March 7th, 2011, 6:56 am 
How do I install this..? I have all the files saved as there respective names but when i run any of them I get some error.


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: August 1st, 2011, 10:57 pm 
=/ wrote:
I downloaded the 0.6 verson of the all in one macro
but when i try to configure it, it keeps saying it cant find the runescape window....

hELP!!!!! PLEASE


Well, you have to download a program that disassembles ahk files. Then change the runescape - jagex something something something thing to runescape - the number 1 free multiplayer game

could you give an example of one such program maybe a link


Report this post
Top
  
Reply with quote  
PostPosted: December 16th, 2011, 4:30 am 
THe macro cannot find my RS window, what applet position do i put in?????


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: February 14th, 2012, 8:29 pm 
Offline

Joined: April 27th, 2011, 4:32 pm
Posts: 2
well, I tryed to use this with RS window client and on browsers, one problem is in "finding RS window", in source code (of this scrip) is the Error which prevenst using Hotkeys while there is no RS window (Thats good itself), but I dont know where is mistake
look here
Code:
SwitchToWindow() { ; Switches to the RuneScape window
   global WinTitle
   IfWinExist, %WinTitle%
   {
      WinActivate
      return 1
   } else {
      return 0
   }
}


GetAppletPos: ;Gets the position of the RuneScape applet
   if (SwitchToWindow()=0) {
      MsgBox, Could not find the RuneScape window. Make sure if you have multiple tabs open in your browser that the RuneScape tab is currently active, or open RuneScape in a new window.
      return
   }
   SplashTextOn, 200, 50, Applet Position, Please click anywhere inside of the RuneScape applet
   WinMove, Applet Position, , 0, 0
   KeyWait, LButton, D
   MouseGetPos, , , , applet
   ControlGetPos, appletX, appletY, , , %applet%, %WinTitle%
   SplashTextOff
return



If you were looking for Runescape Macro, I have bad news for you:
Official Runescape Window Client blocks any Hotkeys and Macro, or at least common makro that you can programm with AutoHotkeys, blocks MouseMove, Click, Send, pressing any hotkey like Alt-A, Ctrl-D or any combinations, and much more.

I have read that RS won legal dispute agains some Bot AI software company/organisation/whatever, and "probably" RS have changed source code to disable makros and smthng. It was called "Bots wiped" day, or something like that.


Anyway, if you really want to use Macro for Runescpape, use Browser. And write your own code, and be sure you Dont use your Browsers hotkeys,


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 35 posts ]  Go to page Previous  1, 2, 3

All times are UTC [ DST ]


Who is online

Users browsing this forum: Bon, sks and 17 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