Colour Finder Macro
Overview
This macro was written by [http://ameblo.jp/uo-flurry/ uoflurry]. It pulls a colour value for all the items in game, using the data in the CLILOC as its hexadecimal value.
Installation
-
Open your Enhanced Client.
-
Open the Macros Gump, start a new Macro, and under "Other" is a "Commands" icon. Drag 4 to the Macro bar, and copy and paste these text lines into each box in turn, then click "Okay":
Command 1 text:
script WREH=WindowRegisterEventHandler; WUEH=WindowUnregisterEventHandler; RWD=RegisterWindowData; UWD=UnregisterWindowData
script function CBRI1(objId) PrintWStringToChatWindow( wstring.format(L"%04x", WindowData.ObjectInfo[objId].hueId),1); end
script function CBRI2() oId=SystemData.RequestInfo.ObjectId; RWD(15,oId); CBRI1(oId); UWD(15,oId); WUEH("Root",65580); end
script WUEH("Root",65580); WREH("Root",65580,"CBRI2"); RequestTargetInfo()
- Log out then in, just to ensure it gets saved to your Character File; the Enhanced Client doesn't back up its changes until an exit, so a crash will delete all the above.
Usage
In game you should now have the macro available from your lists to drag to a toolbar and set a hot key. When run, you'll get a cursor appear, target the object, and the colour value will be posted to System Chat.