ff14-advanced-market-search / AzerothAuctionAssassin

Apache License 2.0
7 stars 8 forks source link

Automatically read undercut alerts #81

Closed cohenaj194 closed 3 months ago

cohenaj194 commented 5 months ago

ok cool i also had another feature in mind and i think we can actually build it. So my addon tracks and makes this undercut alert json does it store it in a file somewhere? If so lets make a file that AAA can automatically read.

we do that here https://github.com/ff14-advanced-market-search/local-aetheryte/blob/main/wow_undercut.py#L12

so thats a python script that when given a discord webhook and the undercut alert json it can produce the alerts

i could import that exact script into AAA and then change that one line to take an expected file path or env var.

then users would just need to select the file in the SaddlebagExchangeWoW folder and we are gtg. Can you make the addon produce perfect json for AAA to use and just drop it in its own folder?

cohenaj194 commented 5 months ago

This shows where the datas located, might have to read it as a LUA table and convert it from there.

https://github.com/ff14-advanced-market-search/AzerothAuctionAssassin/issues/41#issuecomment-1953291290

E:\World of Warcraft\_retail_\WTF\Account\1234567#1\SavedVariables\SaddlebagExchangeWoW.lua

cohenaj194 commented 3 months ago

ref https://github.com/ff14-advanced-market-search/local-aetheryte/blob/main/wow_auto_undercut_update.py#L21-L48

not going to add this to AAA too much spam