Post
by Mckorr » Sat Sep 06, 2003 9:09 am
Correct Shin.
MQ does not store the location of anything on your screen. It parses your ini and xml files every time to determine where to look. The locations.txt file is a roadmap, telling the parser which XML files to look in and what ScreenID to search for. This sidesteps a number of problems. First, we don't need memory locations for potentially hundreds of screen locations, and we don't waste system memory storing and updating those locations dynamically. There was the possibility of having to find a tremendous number of new offsets to make the whole system dynamic and immediate, as well as the code itself... and frankly, I didn't want to deal with that. Second, it makes it very simple to add new locations such as "charm", "shared bank", and "shared platinum" very quickly, simply by updating the locations.txt file.
EQ updates your locations whenever you close a window. So, if you open, say, pack 7, and move it, MQ will not be able to find the correct coordinates unless you close and reopen the pack. Anytime you move a window you will have to close it to update it's associated files before MQ's location parser can find the new coordinates.
So, the general sequence for a tradeskill macro is
1) Open and position the inventory window and all bags and containers.
2) Close everything.
3) Open it all again. Screen locations are now updated on your harddrive, and MQ will find them correctly.
4) Run macro.
MQ2: Think of it as Evolution in action.