Go to Page... |
Compatibility: | Update 5 (1.5.2) |
Updated: | 03/08/15 09:27 AM |
Created: | 02/13/15 11:57 AM |
Monthly downloads: | 34 |
Total downloads: | 6,238 |
Favorites: | 1 |
MD5: | |
Categories: | Discontinued & Outdated, Auction House & Vendors, Developer Utilities |
sale = { saleTimestamp = '', seller = '', -- The account name like @player buyer = '', quantity = '', itemLink = '', price = '', pricePerPiece = '', tax = '', itemId = '', guildName = '', isKioskSale = '', -- true when the buyer is not a guild member }
data = { guildList = { -- Guilds are stored by their name "Name of first guild" = { name = '', description = '', memberList = { "@player" = "@Player", -- etc.. }, -- List of sales as described above saleList = { sale, sale, sale, }, }, "Name of second guild" = {}, -- Etc.. } }
local saleList = JMGuildSaleHistoryTracker.getSalesFromUser("@Player")
local salesList = JMGuildSaleHistoryTracker.getBuysFromUser("@Player")
local saleList = JMGuildSaleHistoryTracker.getSalesFromItemId(1000)
local saleList = JMGuildSaleHistoryTracker.getAllSalesFromGuildId(guildId)
local saleList = JMGuildSaleHistoryTracker.getAllSalesFromGuildIndex(guildIndex)
local version = JMGuildSaleHistoryTracker.getVersion()
--- --- @param atLeastVersion Means that you need this addon be at least in the given version --- @param lessThanVersion (optional) Means that the addon needs to be less than the given version --- JMGuildSaleHistoryTracker.checkVersion(atLeastVersion, lessThanVersion) --- --- If you do not assign the second argument than it will be automatically assigned to the next mayor version --- For example if your atLeastVersion is 0.5 than the lessThanVersion will become 1.0 --- You can also set false to the second parameter and than there will be no check against the lessThanVersion version --- --- Examples: --- - Lets say that this currents addon version is 1.7 in all the examples then: --- --- Will return true because 1.5.1 is less than 1.7 and not more than 2.0 (the next mayor) local isCorrectVersion = JMGuildSaleHistoryTracker.checkVersion('1.5.1') --- --- Exactly the same as the previous example local isCorrectVersion = JMGuildSaleHistoryTracker.checkVersion('1.5.1', '2.0') --- --- False: The current version is lower than what you require local isCorrectVersion = JMGuildSaleHistoryTracker.checkVersion('1.7.1') --- --- False: The current version is more than the next mayor local isCorrectVersion = JMGuildSaleHistoryTracker.checkVersion('0.6.1') --- --- True: The current version is between the asLeast and LessThan local isCorrectVersion = JMGuildSaleHistoryTracker.checkVersion('0.6.1', '2.0') --- --- True: We ignore the LessThan local isCorrectVersion = JMGuildSaleHistoryTracker.checkVersion('0.6.1', false)
JMGuildSaleHistoryTracker.registerForEvent(event, callback)
JMGuildSaleHistoryTracker.unregisterForEvent(event, callback)
JMGuildSaleHistoryTracker.events
JMGuildSaleHistoryTracker.events.NEW_GUILD_SALES
JMGuildSaleHistoryTracker.registerForEvent(JMGuildSaleHistoryTracker.events.NEW_GUILD_SALES, function (guildId, saleList) d('We found ' .. #saleList .. ' new sales for guild id ' .. guildId) d(saleList) end)
/jm_gsht @somebody
Info for @somebody Seller: 5 Buyer: 10 ItemId: 0 Guild: 0 |
/jm_gsht 1
Info for 1 Seller: 0 Buyer: 0 ItemId: 0 Guild: 3000 |
Comment Options |
JordyMoos |
View Public Profile |
Send a private message to JordyMoos |
Find More Posts by JordyMoos |
Add JordyMoos to Your Buddy List |
JordyMoos |
View Public Profile |
Send a private message to JordyMoos |
Find More Posts by JordyMoos |
Add JordyMoos to Your Buddy List |
JordyMoos |
View Public Profile |
Send a private message to JordyMoos |
Find More Posts by JordyMoos |
Add JordyMoos to Your Buddy List |
JordyMoos |
View Public Profile |
Send a private message to JordyMoos |
Find More Posts by JordyMoos |
Add JordyMoos to Your Buddy List |
02/14/15, 04:04 PM | ||||
Forum posts: 37
File comments: 299
Uploads: 0
|
|
|||
|
timidobserver |
View Public Profile |
Send a private message to timidobserver |
Find More Posts by timidobserver |
Add timidobserver to Your Buddy List |
02/14/15, 02:54 PM | |||
|
I will create a new version when i am home with less messages, higher timers and right directory naming |
||
|
JordyMoos |
View Public Profile |
Send a private message to JordyMoos |
Find More Posts by JordyMoos |
Add JordyMoos to Your Buddy List |
02/14/15, 02:34 PM | ||
Forum posts: 37
File comments: 299
Uploads: 0
|
Also note, your testing mode spams the chat and causes the game to be kicked from the server.
Last edited by timidobserver : 02/14/15 at 02:36 PM.
|
|
|
timidobserver |
View Public Profile |
Send a private message to timidobserver |
Find More Posts by timidobserver |
Add timidobserver to Your Buddy List |
02/14/15, 02:26 PM | |||
Forum posts: 37
File comments: 299
Uploads: 0
|
Last edited by timidobserver : 02/14/15 at 02:27 PM.
|
||
|
timidobserver |
View Public Profile |
Send a private message to timidobserver |
Find More Posts by timidobserver |
Add timidobserver to Your Buddy List |
02/14/15, 05:55 AM | |
|
If the addon works or does not work by other users then please let me know
|
|
JordyMoos |
View Public Profile |
Send a private message to JordyMoos |
Find More Posts by JordyMoos |
Add JordyMoos to Your Buddy List |
02/14/15, 04:23 AM | ||
|
It might not work in combination with other addons that do the same, like shopkeeper. Weird that you do not even have a saved variables file...
Last edited by JordyMoos : 02/14/15 at 04:25 AM.
|
|
|
JordyMoos |
View Public Profile |
Send a private message to JordyMoos |
Find More Posts by JordyMoos |
Add JordyMoos to Your Buddy List |
02/13/15, 09:19 PM | |
Forum posts: 37
File comments: 299
Uploads: 0
|
I tried this addon and it is not working. The slash commands do not work and no saved variables file is being generated. However, it is listed in my addons list and it is enabled.
|
|
timidobserver |
View Public Profile |
Send a private message to timidobserver |
Find More Posts by timidobserver |
Add timidobserver to Your Buddy List |
02/13/15, 02:14 PM | ||
|
That is exactly what this addon is for
Scanning the guild etc takes at lot focus of the intention of those addons, which is showing information in some usefull way like shopkeeper etc does. With this addon the other addons like shopkeeper can focus more on what they want to achieve and care less about how they got the data This addon focuses on the guild sale history. I made another addon that focuses on what is currently in the guild. http://www.esoui.com/downloads/info9...eSnapshot.html Both can be used independent of each other but can be even more valuable when used in a graphical addon together
|
|
|
JordyMoos |
View Public Profile |
Send a private message to JordyMoos |
Find More Posts by JordyMoos |
Add JordyMoos to Your Buddy List |
02/13/15, 01:55 PM | |
|
Sounds like this might be what is desperately needed. Things like Shopkeeper, Price Tracker or Guild Store Search all of which provide different function and all of which must query the guild sales history/guild store separately really need a common library that reduces these lengthy functions.
|
|
dominoid |
View Public Profile |
Send a private message to dominoid |
Find More Posts by dominoid |
Add dominoid to Your Buddy List |