• You've discovered RedGuides, an EverQuest multi-boxing and scripting community 🧙‍♀️⚙️. We want you to play several EQ characters at once, come join us and say hello! 👋

  • A TLP without truebox has thawed (Very Vanilla ready)
    Frostreaver

Trader.mac

Joined
Sep 13, 2011
RedCents
408¢
Hello,

After using bazaar.mac for a while, I decided to try and add / fix some things that were bothering me. Props to everyone who has worked on bazaar.mac, but I hope this will replace it for most of you.

Features:
  • Auto pricing with custom undercut percentages.
  • Large undercut/price change protection.
  • Random update interval.
  • Detailed output of sales.

Roadmap:
  • Ignore trader lists.
  • Buyout competition configuration
  • Automatic restock and plat delivery
  • buyer.mac

Basic Usage:

/mac trader

Settings:
General:
Rich (BB code):
[Settings]
DefaultUndercut=.98
DefaultTolerance=.5
RepriceWindowMin=60
RepriceWindowMax=120

DefaultUndercut = % to undercut the competition should no other rules or settings apply to an item.
Example: Lowest item listed by another seller is priced at 50,000pp, if your undercut % is .95 you will price the item at 47,500.
DefaultTolerance = % of last listed price that you are willing to undercut by your undercut %..
Example: You were previously selling an item for 50,000pp, but a new seller has listed the item for 24,999pp. If your tolerance was .5, you would skip repricing this item. (50000 * .5 = 25000, which is greater than the price of the other seller).

RepriceWindowMin = Minimum amount of time to wait until repricing in minutes.
RepriceWindowMax = Maximum amount of time to wait until repricing in minutes.
The macro will pick a random time in between these each time it waits to update again.

Ranges:
Rich (BB code):
[Ranges]
NumberOfRanges=0
Range1=0|2000
Range1Tolerance=.75
Range1Undercut=.9
Range2=10000|200000
Range2Tolerance=.5
Range2Undercut=.95
Range3=200000|2000000
Range3Tolerance=.3
Range3Undercut=.98

Ranges allow you to define custom plat ranges and apply undercut and tolerance percentages (and soon buyout rules) to items in each range, based off the last price you were selling the item for.

NumberOfRanges = The number of custom ranges you have defined.
Range#=Min|Max = Define the range, inclusive.
Range#Tolerance = % tolerance for competition for items in this value range.
Range#Undercut = % to use for undercutting competition on items in this value range.

Item Specific:
Rich (BB code):
[Instructions]
ItemName=Goes under its first letter
ItemPrices=|Min|Max|Default|Last(internal)
[D]
Distillate of Celestial Healing V=0|0|500|500
Distillate of Skinspikes VI=-1|-1|-1|-1
[P]
Philter of the Wolf V=-1|-1|-1|7

As you price each item a new entry for that item will appear in trader.ini. As with loot.ini, each item is filed under the first letter of it's name. The value for each item is |Min|Max|Default|Last.
Min: The minimum price at which you are willing to sell this item.
Max: The maximum price at which you are willing to sell this item.
Default: The price at which to sell this item if no others exist for sale.
Last: The price you were last selling this item for, mostly used for internal purposes.

Slash Commands
/sales - output of what you've sold
/setmaxprice - change the price of an item, mouseover it in the trader window, hit a macro /setmaxprice. Will set max price of item in INI (useful for manually handling undercuts)
/setdefaultprice - same as above, resets default price if you've been undercut.

Rename trader_servername.ini to use your server and /mac trader.

Hopefully you all find this as useful as I do. Please report any bugs/issues you may see and I'll do my best to get them fixed quickly. Feature requests are great too!
 

Attachments

Last edited:
Badass I'll give it a try... I've been doing a lot of trading lately and was thinking of some similar mods... you saved some time :)
 
Do you want to always match the price of excluded traders? Ignore them completely? I have my traders set up with no overlap so I never used this feature of bazaar.mac and am curious of the use case.
 
Do you want to always match the price of excluded traders? Ignore them completely? I have my traders set up with no overlap so I never used this feature of bazaar.mac and am curious of the use case.

2 lists would be ideal... Match on a friendly exclude list
Ignore on an ignore exclude list

Use Cases:
Friendly: Multiple traders on multiple computers on same server
Ignore: People that like to try to undercut and catch people with bazaar macros and get huge profit / stupid people that just post ridiculous prices

Third Use case:: Buying out anything under your price + repost = solves the stupid prices problem but not the other.

I intentionally randomize and use different timers on my traders to avoid being obvious that they are the same person.
 
2 lists would be ideal... Match on a friendly exclude list
Ignore on an ignore exclude list

Use Cases:
Friendly: Multiple traders on multiple computers on same server
Ignore: People that like to try to undercut and catch people with bazaar macros and get huge profit / stupid people that just post ridiculous prices

Third Use case:: Buying out anything under your price + repost = solves the stupid prices problem but not the other.

I intentionally randomize and use different timers on my traders to avoid being obvious that they are the same person.

Was on vacation for a bit, but this is something I'll get to this week. Buyout is sort of working in my private version, but I want to test that quite a bit more before releasing (lest anyone else spend 2 mil plat on various bullshit that you would never want).
 
Excellent Macro but I found a bug, if you have 2 items in your bags that have the same name, right next to each other, it stops working. To fix this you can modify the following line. However it will price the item twice
/if (${i}) {
/for j 0 to ${Math.Calc[${i}-1]}
/if (${itemName.Equal[${Window[BZW_BazaarSlotsWnd].Child[BZR_BazaarSlot${j}].Tooltip}]}) {
/if (${DebugSpam}) /echo ${itemName} already priced skipping.
|/goto :NextSlot ||||||||||||||||||||||||||||||| Just comment out this line|||||||||||||||||||||
}
/next j
}
 
Trader.mac

Users who are viewing this thread

Back
Top
Cart