samedi 31 janvier 2015

BuyItem core function does not function for items with higher quantities...

Usually I would report this to either the Bug Report or Feedback threads at the main forum stickies however those are currently closed.



I've found a issue with a core function where it does not let you buy items that hold multiple quantities, an example is the Draenic Dust, that is sold at the Trading Post by one of the daily spawned NPC's for example Trader Yula.



What happens is that the Draenic Dust sold by those NPC's come in the quantities of 5 and the method available within MerchantFrame Class called BuyItem, does not seem to work for that purpose.



If you run BuyItem with the item index and quantity, it will tell you that you cannot buy that amount of that item in the wow window in red letters.



What I believe the issue is, is that, that method does not take into account the item quantity and rather tries to buy the quantity of 1, 5 times which is the cause of the in-game warning in red letters.



I would like to request the BuyItem to be updated so that we are able to further use it to safely buy items from Trading Post, Honor NPC's and alike that sell mats in different quantities.



I am aware that I can buy those using a LUA call like such:


Code:



/script BuyMerchantItem(itemSlot, itemQuantity)


And unhappily since i have no access to the source of BuyItem I can't say why it would be better or not to have that method updated other than assume that it possible hooks to internal game calls to execute the item purchase rather than a LUA code making it safer to use specially on repeated amount of purchases?



I would like to leave here my request to update that method so that it properly functions for any purchase methods available within the game which from what it seems this was the one missing...



Thanks.





BuyItem core function does not function for items with higher quantities...

Aucun commentaire:

Enregistrer un commentaire