AC2 Accept Trade/Liquidate Inventory macro

From Asheron's Call 2
Jump to: navigation, search

1. Download and install AC Tool

2. In-game setup prerequisites

  • Make sure the inventory panel is open if utilizing the liquidate inventory portion at the bottom, since this is a mouse position & click macro.
  • Set game resolution to 1280x960
  • Turn off confirmation to turn items into gold if utilizing the liquidate portion at the bottom.

⇒TIP - Be POSITIVE that your main inventory bag is empty before running this, since it will automatically liquidate all items in it to gold.
⇒TIP - Before starting, in AC Tool set "Number of times to run" = 0 (loop)

Accept Trade/Liquidate Inventory source code is below this line (copy/paste)

   // This line is necessary to select the proper window
SetActiveWindow Asheron's Call 2
Call TradeAccept

Procedure TradeAccept //subroutine for Accepting trade Request & Trade itself then liquidating to gold stack
		MousePos 603, 535 // xy pos for Accept Trade Req
			Delay 500
			LeftClick
			Delay 500
		MousePos 593, 459 // xy pos for Accept Trade
			Delay 500
			Leftclick
			Delay 1500
			Leftclick
			Delay 500
		MousePos 603, 535 // xy pos for Accept Trade Req
			Delay 500
			LeftClick
			Delay 500
		MousePos 593, 459 // xy pos for Accept Trade
			Delay 500
			Leftclick
			Delay 1500
			Leftclick 
			Delay 500
		MousePos 603, 535 // xy pos for Accept Trade Req
			Delay 500
			LeftClick
			Delay 500
		MousePos 593, 459 // xy pos for Accept Trade
			Delay 500
			Leftclick
			Delay 1500
			Leftclick
			Delay 500
		MousePos 603, 535 // xy pos for Accept Trade Req
			Delay 500
			LeftClick
			Delay 500
		MousePos 593, 459 // xy pos for Accept Trade
			Delay 500
			Leftclick
			Delay 1500
			Leftclick
			Delay 500
		MousePos 612, 307 //xy pos for Close Trade Confirmation
			Delay 500
			LeftClick
			Delay 500
	//The section below is the main routine for liquidating items to gold.  Uncomment the lines to activate them by removing the // at the front of each line.
	//      MousePos 998, 836 //mouse drag start - Liquidates gold or item in Inv. slot 1
	//		Delay 500
	//		LeftMouseDown
	//	DragTo 990, 588 //mouse drag end
	//		Delay 500
	//		LeftMouseUp
End
Personal tools
Namespaces

Variants
Actions
Navigation