Need help with a macro you are writing? Ask here!
Moderator: MacroQuest Developers
-
fallenkal
- decaying skeleton

- Posts: 6
- Joined: Tue May 31, 2005 7:42 pm
-
Contact:
Post
by fallenkal » Thu Jun 02, 2005 6:24 am
Edited:
http://www.macroquest2.com/wiki/index.php//itemnotify
There is a problem with the /itemnotify command ever since the new merchant UI was instituted. When a macro attempts to buy an item from a merchant the user would recieve a "could not send notification to merchantxx leftmouseup" where xx= the number of the merchant... No fixes have been suggested or applied at present time, leaving many a macro discarded for now...
-
Mikling
- orc pawn

- Posts: 16
- Joined: Tue May 24, 2005 5:24 pm
- Location: Denmark
Post
by Mikling » Thu Jun 02, 2005 8:09 am
Actually was looking to post the same... just never had the time to look through everything i had to do when posting a problem like this.
The problem started after they changed the merchant UI sometime last month i think... So far I've managed to target an item through
Code: Select all
/notify MerchantWnd MW_ItemList listselect 1
But duo to the way the items load up... I guess it's somehow screwed up.. anyone know?
-
fallenkal
- decaying skeleton

- Posts: 6
- Joined: Tue May 31, 2005 7:42 pm
-
Contact:
Post
by fallenkal » Thu Jun 02, 2005 10:44 am
hmm would there be a way to do a search within that list like...
/notify MerchantWnd MW_ItemList listsearch{"Sheet metal"}
then possibly do a select line then a buy line? really sorry about my coding/syntax... i have never done any of this before lol, little new...
-
Mikling
- orc pawn

- Posts: 16
- Joined: Tue May 24, 2005 5:24 pm
- Location: Denmark
Post
by Mikling » Thu Jun 02, 2005 11:15 am
My best suggestion would be to log in and try it out... I didn't know there was any listsearch?
-
Lax
- We're not worthy!

- Posts: 3524
- Joined: Thu Oct 17, 2002 1:01 pm
- Location: ISBoxer
-
Contact:
Post
by Lax » Thu Jun 02, 2005 12:04 pm
/notify MerchantWnd MW_ItemList ${Window[MerchantWnd].Child[ItemList].List[=${Name},2]}
grats RTFM
-
Mikling
- orc pawn

- Posts: 16
- Joined: Tue May 24, 2005 5:24 pm
- Location: Denmark
Post
by Mikling » Thu Jun 02, 2005 12:54 pm
/notify MerchantWnd MW_ItemList ${Window[MerchantWnd].Child[ItemList].List[=${Name},2]}
grats RTFM
First of all thanks Lax, but if possible could you point out where in the manual it says as you just said, unfortunately i can't get it to work

-
A_Druid_00
- Macro Maker Extraordinaire
- Posts: 2378
- Joined: Tue Jul 13, 2004 12:45 pm
- Location: Rolling on the Lawn Farting
Post
by A_Druid_00 » Thu Jun 02, 2005 1:00 pm
[quote]<DigitalMocking> man, A_Druid_00 really does love those long ass if statements
<dont_know_at_all> i don't use his macro because i'm frightened of it[/quote]
[quote][12:45] <dont_know_at_all> never use a macro when you can really fuck up things with a plugin[/quote]
-
fearless
- Not a Psychic
- Posts: 2684
- Joined: Wed Mar 10, 2004 3:52 pm
Post
by fearless » Thu Jun 02, 2005 1:04 pm
Perhaps that should have been RTFSearchPage . . . cause I found it in about 3 seconds.
Reading . . . it's not just for me.
[url=http://www.catb.org/~esr/faqs/smart-questions.html]How To Ask Questions The Smart Way[/url]
[quote="Ccomp5950"]Fearless showed me the light, you too shall learn.[/quote]
-
A_Druid_00
- Macro Maker Extraordinaire
- Posts: 2378
- Joined: Tue Jul 13, 2004 12:45 pm
- Location: Rolling on the Lawn Farting
Post
by A_Druid_00 » Thu Jun 02, 2005 1:09 pm
To be fair, it isn't easy. I spent a good deal of time playing around with the TLOs I used in a lot of situations. It's not that the information isn't there, it just takes a bit of learning how to find and use that information effectively.
[quote]<DigitalMocking> man, A_Druid_00 really does love those long ass if statements
<dont_know_at_all> i don't use his macro because i'm frightened of it[/quote]
[quote][12:45] <dont_know_at_all> never use a macro when you can really fuck up things with a plugin[/quote]
-
wassup
- Official Guardian and Writer of TFM

- Posts: 1487
- Joined: Sat Oct 26, 2002 5:15 pm
Post
by wassup » Thu Jun 02, 2005 2:01 pm
I'm in the process of editing the readme due to those changes, but if you were VIP you would see how to handle changes due to the merchant window change.
A few VIP members posted macro snippets dealing with this.
-
Lax
- We're not worthy!

- Posts: 3524
- Joined: Thu Oct 17, 2002 1:01 pm
- Location: ISBoxer
-
Contact:
Post
by Lax » Thu Jun 02, 2005 9:07 pm
In relation to this thread, please dont make edits to the wiki that involve the words "I think" or even "I". Basic guidelines for wiki edits can be viewed in the [[Help Forums]] page
-
Gnits
- a snow griffon

- Posts: 371
- Joined: Fri Jun 03, 2005 7:56 pm
Post
by Gnits » Mon Sep 05, 2005 6:58 pm
I am pretty sure that i have understood the wiki articles that talk about notify and how to get it to work with the merchants/traders.
Code: Select all
/itemnotify MerchantWnd ItemList listselect 10
This does indeed select the 10th item in the list. But i cannot, however, actually buy the item.
/buyitem 1
The command wont work immediately after, because although its selected its not selected from the point of view of the 'Buy' button. I am surely missing a step here. Some sort of second 'select' command but i am not sure how to do it.
-
dont_know_at_all
- Developer

- Posts: 5450
- Joined: Sun Dec 01, 2002 4:15 am
- Location: Florida, USA
-
Contact:
Post
by dont_know_at_all » Mon Sep 05, 2005 9:57 pm
Don't use /buyitem.
Do use the search function.
--
<Thedude> I have to say your there retarded one.
-
Gnits
- a snow griffon

- Posts: 371
- Joined: Fri Jun 03, 2005 7:56 pm
Post
by Gnits » Tue Sep 06, 2005 12:04 am
dont_know_at_all wrote:Don't use /buyitem.
Do use the search function.
Are you referring to the search feature in the forums, if so, about 30 or 40 searches dance around what i am trying to do and nothing that is close. If you are referring to some search feature to get the item so that you can buy it. I looked at the above quote from LAX and i just dont understand what is missing in that line of his if that is what i am supposed to be doing.
-
dont_know_at_all
- Developer

- Posts: 5450
- Joined: Sun Dec 01, 2002 4:15 am
- Location: Florida, USA
-
Contact:
Post
by dont_know_at_all » Tue Sep 06, 2005 12:10 am
--
<Thedude> I have to say your there retarded one.