Gothic Steel Breatsplate
Steel Breastplate
Black Steel Breastplate
Blood Steel Breastplate
Calcified Steel Breastplate
Cold Steel Breastplate
Etc......
"So what," you say.
Each of these items has a different .Cost
This stymies Macros such as DumpsterDiver.mac or FindCheapest.mac.
"So what," you say again.
This also stymies many data-mining posibilities like fetching an average bazaar price on a given item in order to look for steals or steels
Is there a way to search for ItemID using Bzsrch or at least doublecheck the ItemId against bzsrch results?
If so, I am in business and will have a pretty good macro/ini set posted before too long for your bazaar-profit enjoyment.
The current code I am using pulls from an ini which lists [Ini_List_ID] = Item.Name
Macro Example:
Code: Select all
/varset File1 Bazaar.ini
/varset Counter 1
:mainloop
/echo Searching for ${Ini[${File1},Names,val${Counter}]}
/bzsrch race any class any ${Ini[${File1},Names,val${Counter}]}
...etc...
/if (${Bazaar.Count}>1) {
/for l1 1 to ${Math.Calc[${Bazaar.Count}1]}
/echo ${l1} Price ${Bazaar.Item[${l1}].Price} Trader ${Bazaar.Item[${l1}].Trader}
/if (${Price}<${Vendor_Cost}) {
/goto :BuyTheSucker
...etc....ini example
Code: Select all
[Names]
Val1=Cloth Cap
Val2=Silver Dagger
[Vendor_Cost]
Val1=10
Val2=2030Code: Select all
[Item_ID]
Val1=1001
Val2=32345Throw me a bone!

