Project

General

Profile

Bug #2053

Vendor.Merchant does not seem to work anymore

Added by ethreayd about 6 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
vbulletin_issue_id:

Description

Hello,

 

I have this script that worked before in PoP to automatically buy the gear from the Tishan lockbox merchant :

function get_Gear()
{
variable string MerchantName="Tishan's Lockbox"
target ${Me.Name}
wait 10
target ${Me.Name}
wait 10
QuestBotAPI -LSTask ${Me.Name} "100 - Navigation - To PoM NPC Tishan" "1" "FALSE" "14"
wait 100
do
{
target ${Me.Name}
wait 10
}
while (${Actor["${MerchantName}"].Distance} > 10)
echo reach ${MerchantName}
wait 5
Actor["${MerchantName}"]:DoTarget
Actor["${MerchantName}"]:DoubleClick
wait 5
Vendor.Merchant["Plane Traveler's Weapon Kit: ${Me.Archetype}"]:Buy[1]
;don't know why that does not work with my bard
wait 10
switch ${Me.Class}
{
case crusader
Vendor.Merchant["Plane Traveler's Kit: Plate"]:Buy[1]
break
case warrior
Vendor.Merchant["Plane Traveler's Kit: Plate"]:Buy[1]
break
case cleric
Vendor.Merchant["Plane Traveler's Kit: Plate"]:Buy[1]
break
case brawler
Vendor.Merchant["Plane Traveler's Kit: Leather"]:Buy[1]
break
case druid
Vendor.Merchant["Plane Traveler's Kit: Leather"]:Buy[1]
break
case sorcerer
Vendor.Merchant["Plane Traveler's Kit: Cloth"]:Buy[1]
break
case enchanter
Vendor.Merchant["Plane Traveler's Kit: Cloth"]:Buy[1]
break
case summoner
Vendor.Merchant["Plane Traveler's Kit: Cloth"]:Buy[1]
break
default
Vendor.Merchant["Plane Traveler's Kit: Chain"]:Buy[1]
break
}
wait 10
EQ2UIPage[Inventory,Merchant].Child[button,Merchant.WindowFrame.Close]:LeftClick
EQ2UIPage[Inventory,Merchant].Child[button,Merchant.WC_CloseButton]:LeftClick
wait 5
echo Now unpack and equip after toon have returned to start point in 5 secs! Then relaunch autopop
}
 
I try on my Bard and it does not work. But it was working on my Zerk. Now I have tried it with my Zerk and it's not working anymore. In fact it was working with a lot of class before and it's not working with any anymore.
Maybe it's me but I double check and it looks like a regression to me.
Another thing. It seems that when you request the price of a merchandise, you only get the price of merchandise you can sell to the merchant. I did not manage to get the price of object to buy.
 
Regards,

Also available in: Atom PDF