Register for your free account! | Forgot your password?

You last visited: Today at 07:23

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

 

AC Tools Craftmacro

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Apr 2004
Posts: 741
Received Thanks: 452
Code:
SetActiveWindow Dark Age of Camelot, Copyright  2001-05 Mythic Entertainment, Inc.

Constants
	mDelay = 0 //DONT EDIT
	mTimer = 3000 //How long does the Item need to get crafted
	mRandom = 1000 //How much random delay?
	mWindow = {ActiveWindow} //DONT EDIT
	mKey = 4 //Which key dyou want me to press?
End

//Dont edit below here
Procedure End When {GlobalKeys} contains 027
	ClearGlobalKeys
	Bell
	Stop
end

while 1=1
	ProcessMessages // Checks for end
	SetConst $mWindow = {ActiveWindow} // Get old window
	Delay 500
	
	SetActiveWindow Dark Age of Camelot, Copyright  2001-05 Mythic Entertainment, Inc. // Go to Daoc
	Delay 500
	
	Keys $mKey // Press key
	Delay 500
	
	SetActiveWindow $mWindow //Go back to old window

	Compute mDelay = $mTimer + (Random(1) * $mRandom) //Compute the random delay
	FormatNumber mDelay = $mDelay, #
	ProcessMessages // Checks for end
	Delay $mDelay	
end
Switches to daoc, presses a button and switches back to whereever youve been before.
Pressing ESC makes the macro stop.
Including freely adjustable Random value for less detectability.
Great for browsing the web while crafting written by my poor self.



sirru is offline  
Old   #2
 
elite*gold: 0
Join Date: Oct 2005
Posts: 202
Received Thanks: 23
hmm, interesting idea

but why not just run daoc in window for this?
that way you wont need the delay between the window switch.


mondesser is offline  
Old   #3
 
elite*gold: 0
Join Date: Apr 2004
Posts: 741
Received Thanks: 452
That delay is just for safety, even with the Delay included switching windows does not work flawlessly.
sirru is offline  
Reply



« Previous Thread | Next Thread »



All times are GMT +1. The time now is 07:23.


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.