${Bazaar.Item[].Trader} returns incorrect names

A forum for reporting bugs NOT related to custom plugins.

Moderator: MacroQuest Developers

sumon
decaying skeleton
decaying skeleton
Posts: 1
Joined: Mon Sep 25, 2017 10:22 pm

${Bazaar.Item[].Trader} returns incorrect names

Post by sumon » Mon Sep 25, 2017 10:23 pm

Code: Select all

  Sub main
    /declare itemName string outer Extra Planar Potential Shard
    /bzsrch ${itemName}
      /delay 5s ${Bazaar.Done}==TRUE && ${Window[BazaarSearchWnd].Child[BZR_QueryButton].Enabled}==TRUE

    /declare result int local 0
    /for result 1 to ${Bazaar.Count}
      /echo ${Bazaar.Item[${result}].Name} ${Spawn[${Bazaar.Item[${result}].Trader}].Name} ${Bazaar.Item[${result}].Price}
    /next result
    /return

Check results in bazaar window vs results in mq2 log. Seems to be an issue with offline traders maybe.