Problem with merchant interaction & LD

Help section from before the user variable changes that broke all macros

Moderator: MacroQuest Developers

Speedy
decaying skeleton
decaying skeleton
Posts: 1
Joined: Thu Sep 26, 2002 4:01 pm

Problem with merchant interaction & LD

Post by Speedy » Fri Nov 08, 2002 2:28 am

So Im working on a script that has basic easy code in it to buy a specific item from a vendor. Ive used it before elsewhere and it works perfectly. However, something is happening with one of the vendors Im working with, and Im at a complete loss as to why.

He opens the merchant window fine, he selects and buys the item fine, however once you close the merchant window in any way (/press esc, /cleanup, moving out of range of the vendor, clicking done in the inv panel.... is what Ive tried so far), EQ locks up and goes linkdead. If I stop the macro before the merchant window is closed, everything works fine.

Does anyone have any idea why it would be doing this or how to get around it?

-Speedy-

...here's some snippets from the script....

/click right 375 400
|delay check for vendor window
/sendkey down shift
/click left merchant 8
/click left merchant buy
|delay check for vendor sale
/sendkey up shift
/press esc (or any other form of closing the vendor window)