Looking at this now. Currently it only appears to attempt to handle items that are already listed in buyer and doesn't appear to do that correctly.
[Palladium Ore]
SellPriceMin=2
SellPriceMax=1
BuyPriceMin=1
BuyPriceMax=1
I'm showing a BuyPriceMax=1 so 1 should happen. But it's saying my max is 0. Which is inaccurate. Thinking there might be a typo in an INI information request somewhere. So I'm going to look into that.
If you want to attach a picture like I just did, Select "Thumbnail" after attaching the photo.
Edit:
Deleted the INI entry for Palladium Ore and run again, defaults written for me were
[Palladium Ore]
BuyPriceMin=1
BuyPriceMax=1000
Based on internal settings that can be user modified.
However, the macro is still reporting BuyPriceMax was 0.
Adding some debug code I'm finding that
/if (${Ini[bazaar.ini,${ItemName}].Length}) {
/varset minBuyPrice ${Ini[bazaar.ini,${ItemName}, BuyPriceMin]}
/varset maxBuyPrice ${Ini[bazaar.ini,${ItemName}, BuyPriceMax]}
I'm reporting a length, but the INI entries for the BuyPriceMin and BuyPriceMax are both NULL.
The error was found to be a space preceeding "BuyPriceMax" and "BuyPriceMin" making them " BuyPriceMin" and " BuyPriceMax" which are not the same thing.
Submitting the updated code to the Resource as an update.