Merchant Bug

A forum for reporting bugs NOT related to custom plugins.

Moderator: MacroQuest Developers

User avatar
Curious
a ghoul
a ghoul
Posts: 88
Joined: Wed Aug 27, 2003 5:19 am

Merchant Bug

Post by Curious » Mon Feb 27, 2006 11:54 am

${Merchant.Item[1].BuyPrice} is returning NULL

running MQ2-20060227a.zip
I think, therefore I am (or so I've been told)

User avatar
dont_know_at_all
Developer
Developer
Posts: 5450
Joined: Sun Dec 01, 2002 4:15 am
Location: Florida, USA
Contact:

Post by dont_know_at_all » Mon Feb 27, 2006 1:26 pm

This won't work anymore. The price is no longer in the put into the CONTENTS struct when the merchant is open...

User avatar
A_Enchanter_00
a snow griffon
a snow griffon
Posts: 473
Joined: Mon Dec 12, 2005 4:37 pm
Location: A server near you

Post by A_Enchanter_00 » Mon Feb 27, 2006 2:44 pm

Should I remove it from wiki ?
A_Enchanter_00

Author of:
MQ2AdvPath / ISXEQAdvPath
MQ2Cast ( Author also s0rcier )
MQ2CastTimer
MQ2VoiceCommand

[quote]
If you like my work and want to give somthing back, just click [url=https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=aenchanter00%40gmail%2ecom&item_name=A_Enchanter_00&no_shipping=2&no_note=1&tax=0&currency_code=USD&lc=DK&bn=PP%2dDonationsBF&charset=UTF%2d8][color=green]HERE[/color][/url] to use PAYPAL.
[/quote]

User avatar
Curious
a ghoul
a ghoul
Posts: 88
Joined: Wed Aug 27, 2003 5:19 am

Post by Curious » Mon Feb 27, 2006 2:45 pm

Any suggestions on a work-around for this? Is there another way for me to get the price?
I think, therefore I am (or so I've been told)

User avatar
dont_know_at_all
Developer
Developer
Posts: 5450
Joined: Sun Dec 01, 2002 4:15 am
Location: Florida, USA
Contact:

Post by dont_know_at_all » Mon Feb 27, 2006 3:12 pm

Item.Cost * 0.93 roughly, depending on your faction.

Or parse the text from the merchant when you click on the item.

User avatar
Curious
a ghoul
a ghoul
Posts: 88
Joined: Wed Aug 27, 2003 5:19 am

Post by Curious » Mon Feb 27, 2006 3:16 pm

Looking at asking prices in the bazaar, so your formula doesn't help :(

I'll try the click/parse idea, but would love other suggestions if anyone has any.

Thank you for your help DK
I think, therefore I am (or so I've been told)

User avatar
dont_know_at_all
Developer
Developer
Posts: 5450
Joined: Sun Dec 01, 2002 4:15 am
Location: Florida, USA
Contact:

Post by dont_know_at_all » Mon Feb 27, 2006 3:17 pm

Prices in the bazaar? There's a whole plugin for that...

User avatar
Curious
a ghoul
a ghoul
Posts: 88
Joined: Wed Aug 27, 2003 5:19 am

Post by Curious » Mon Feb 27, 2006 3:19 pm

I hate sounding ignorant, but what plugins? Where do I find more about them?
I think, therefore I am (or so I've been told)

User avatar
A_Enchanter_00
a snow griffon
a snow griffon
Posts: 473
Joined: Mon Dec 12, 2005 4:37 pm
Location: A server near you

Post by A_Enchanter_00 » Mon Feb 27, 2006 3:28 pm

dont excatly know what you want to do ? but ..
http://www.macroquest2.com/phpBB2/viewt ... ght=bazzar

${Bazaar.Item[#].Price} would be it ?
A_Enchanter_00

Author of:
MQ2AdvPath / ISXEQAdvPath
MQ2Cast ( Author also s0rcier )
MQ2CastTimer
MQ2VoiceCommand

[quote]
If you like my work and want to give somthing back, just click [url=https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=aenchanter00%40gmail%2ecom&item_name=A_Enchanter_00&no_shipping=2&no_note=1&tax=0&currency_code=USD&lc=DK&bn=PP%2dDonationsBF&charset=UTF%2d8][color=green]HERE[/color][/url] to use PAYPAL.
[/quote]

User avatar
Curious
a ghoul
a ghoul
Posts: 88
Joined: Wed Aug 27, 2003 5:19 am

Post by Curious » Mon Feb 27, 2006 3:52 pm

This works, but it requires me to do a bazaar search each time a merchant window opens, and then search the results to match up with what items I want to buy. It worked so simpley with ${Merchant.Item[1].BuyPrice} ... I think I just need to bite the bullet and find a new way to make my macro work :(
I think, therefore I am (or so I've been told)

spudman
a lesser mummy
a lesser mummy
Posts: 50
Joined: Mon Dec 12, 2005 11:04 am

Post by spudman » Mon Feb 27, 2006 11:55 pm

lol guess I need to check bug forum before I assume old macros will work. Good thing I was watching it and noticed it bought a bunch of stuff it shouldn't. At least I only lost a few kpp.

Curious, you could do something like this...

Code: Select all

${Window[MerchantWnd].Child[itemList].List[*ItemNumberhere*,4]}
Gives you pp, change 4 to...
5=gold
6=silver
7=copper

So the old BuyPrice could just be {pp*1000+gp*100+silver*10+copper}, if your so inclined, or you could use bazaar plugin as dkaa said. I use the merchant value as kind of a backup to the bazaar plugin, since prices could be diff from time I record them, get there and actually buy it. I guess I'm anal. I want to know for sure that I'm buying it for what I presumed I was going to buy it for.

Also keep in mind that the *ItemNumberhere* is the item as according to the UI, not according to the Merchant TLO. To figure out where in the UI your Merchant TLO item is you can use something like...

Code: Select all

${Window[MerchantWnd].Child[ItemList].List[=${Merchant.Item[*MerchTLOItem*]},2]}
This command will tell you the position that your ${Merchant.Item[*blah*]} is in in the UI.

Also this doesn't involve clicking the item either, until you want to buy it that is.

Like i said, call me anal, but I used BuyPrice as a double check. Now I'm just using the Window TLO for it.

User avatar
Curious
a ghoul
a ghoul
Posts: 88
Joined: Wed Aug 27, 2003 5:19 am

Post by Curious » Tue Feb 28, 2006 6:45 am

Thank you very much Spudman - this is exactly what I was hoping for.
I think, therefore I am (or so I've been told)

FrankJScott
naggy
naggy
Posts: 2128
Joined: Sun Feb 19, 2023 7:11 am

Good Advice For Selecting BAKA risk

Post by FrankJScott » Sat Apr 22, 2023 2:08 pm

In response to the person talking about casperlabs, airdrop ipad pro, blockchain 2.0, list of blockchains, airdrop mac to mac, binance price, I highly recommend this look at this for #btc details or aventus crypto, ustc crypto, warren buffett cryptocurrency, voyager exchange, pi cryptocurrency, canadian crypto exchange, and don't forget this your input here about #Bitcoin and #BTC link alongside all airdrop android iphone, partisia coin, cube crypto, crypto coin price, dashboard pi blockchain, crypto share price, on top of this more about the author about #BinanceSmartChain blog which is as good as macbook airdrop not showing, shiba usd, binance tradingview, crypto token, crypto fear greed index, flow blockchain, and don't forget additional hints for BAKA airdrop details not to mention minima crypto, vaiot crypto, airdrop macbook pro 2011, ftx alameda, jeffrey berns, ali crypto, and don't forget this these details about BAKA gaming url on top of satoshi crypto, link crypto, sand crypto price, airdrop everyone for 10 minutes, airdrop iphone 13 pro max, next cryptocurrency to explode 2022, and don't forget lowest price for #nfts advice which is about facebook crypto, webull crypto, kucoin p2p, crypto city, mbox crypto, safemoon coin, and don't forget this full article for #nfts details and don't forget ios 16 airdrop, apr crypto, investing in cryptocurrency, sweat crypto, bill gates crypto, consumer blockchain, on top of this home page for BAKA risk site not to mention certik crypto, metahero crypto, best crypto to buy now, hnt crypto, 3 arrows capital, shiba inu price today, on top of get more info on #NFTs info on top of blockchain and supply chain, fear and greed crypto, airdrop on iphone 13, btcex, luna usd price, air drop pc, which is also great. Finally, have a look at this had me going on BAKA community forum with luna terra crypto, reddcoin, firo crypto, private blockchain is a de centralized type of blockchain, pi coin binance, airdrop en windows, for good measure. Check more @ New News For Selecting #Ethereum 9a89a61
Last edited by FrankJScott on Sat Jun 24, 2023 10:47 am, edited 1 time in total.

FrankJScott
naggy
naggy
Posts: 2128
Joined: Sun Feb 19, 2023 7:11 am

Great Advice To Choosing Business Massage

Post by FrankJScott » Thu Apr 27, 2023 4:10 pm

In response to the people inquiring about bodyworks massage, shiatsu neck and shoulder massager, drainage massage, aroma massage, bamboo massage, places to get massages near me, pressure point massage, business travel coming back, thai massage umina, piriformis massage, kk massage, male massage near me, hua hin thai massage, shiatsu massage, thai massage glen eden, thai massages near me open now, massage for headache, tuina massage, lymphatic drainage massage near me, massage near, I suggest this 마사지 for breast massage oil, itinerary business, thai massage and day spa, head scalp massager, thai massage city centre, turkish massage, cheap business travel, zyllion shiatsu back and neck massager, jirapa thai massage and spa, best massage oil, massage spa near me open now, thai massage wellness, good chinese massage, revive massage, thai massage cbd, leg massager, thai yoga massage near me, scalp massage near me, thai massage milford, thai massage soho, also. See More Recommended Reasons For Picking Business Massage 3c8dec9

FrankJScott
naggy
naggy
Posts: 2128
Joined: Sun Feb 19, 2023 7:11 am

Best News On Selecting Custom Sportswear

Post by FrankJScott » Fri Jun 23, 2023 6:27 pm

In response to the guy talking about anchor basketball jersey design, euro basketball jersey design, ml jersey design basketball, custom authentic knicks jersey, custom uconn basketball jersey, basketball jersey design red and white, I highly suggest this article source on custom sportswear forum or printed jersey design basketball, basketball jersey creator online free, plain jersey basketball design, classic basketball jersey design, nba jersey concept maker, reversible basketball uniforms, not to mention this my latest blog post on custom sportswear site as well as make your own nba jersey online, basketball jersey design white and black, design my own basketball uniform, nba jersey best design, personalized youth basketball jersey, basketball jersey tribal design, on top of this advice for custom sportswear url which is as good as basketball jersey 3d designer, basketball jersey design light blue, youth sublimated basketball uniforms, custom youth nba jerseys, make your own celtics jersey, pink sublimation basketball jersey, alongside all over here about custom sportswear tips on top of jersey design ncaa, basketball uniform sublimation design, custom basketball outfit, basketball jersey maker online free, best basketball jersey design black, design your own basketball kit, on top of this additional reading about custom sportswear site on top of basketball jersey color maroon, sublimation orange jersey basketball, order basketball jerseys, basketball jersey sublimation maker, custom team basketball jerseys, basketball jersey yellow design, on top of she said about custom sportswear advice which is about sublimation maroon basketball jersey design, women's custom basketball jerseys, phoenix suns personalized jersey, gilas jersey design, wnba basketball jersey design, sk basketball jersey design, not to mention this view website for custom sportswear site on top of basketball jersey no design, miami heat vice versa custom jersey, basketball jersey design, jersey design basketball black and red, funny basketball jersey design, cool basketball jersey designs, not to mention this killer deal for custom sportswear url as well as basketball jersey online editor, best sublimation basketball jersey design, basketball jersey design creator, jersey design chicago bulls, nba jersey design white, basketball best jersey design, and don't forget her latest blog on custom sportswear forum as well as nike basketball uniforms reversible, basketball jersey design sublimation white, fan designed nba jerseys, jersey design basketball black, dark blue basketball jersey design, clippers jersey custom, which is also great. Finally, have a look at this click for source about custom sportswear blog with basketball uniform creator, best sublimation jersey basketball, personalized nuggets jersey, indiana pacers jersey design, basketball jersey creator online, sublimation ncaa basketball jersey design, for good measure. Check more @ Free Suggestions On Choosing Togel Keluaran Hk ac72_e9