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 |
dominoid |
View Public Profile |
Send a private message to dominoid |
Find More Posts by dominoid |
Add dominoid 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 |
timidobserver |
View Public Profile |
Send a private message to timidobserver |
Find More Posts by timidobserver |
Add timidobserver 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, 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, 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, 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: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, 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, 07:00 PM | ||
|
Oke cool you can send me an PM when your addon gets released so i can take a look |
|
|
JordyMoos |
View Public Profile |
Send a private message to JordyMoos |
Find More Posts by JordyMoos |
Add JordyMoos to Your Buddy List |
02/16/15, 02:58 AM | |
|
Gui Settings in release 0.4
Added the Gui Settings in version 0.4
Now you can toggle to test mode via the settings menu. You can also change some other settings like the max age of a sale and some intervals. For version 0.5 is planned that price per piece is also in the sale data because that is used often. Are there some more features someone would like to see?
Last edited by JordyMoos : 02/16/15 at 02:59 AM.
|
|
JordyMoos |
View Public Profile |
Send a private message to JordyMoos |
Find More Posts by JordyMoos |
Add JordyMoos to Your Buddy List |
02/23/15, 01:09 PM | |
|
Release 0.7 Events
Release 0.7 is out with events.
You can now register for the new guild sales event and your addon will then be notified if there are new sales tracked. Please check the addon information page about how to use the feature. |
|
JordyMoos |
View Public Profile |
Send a private message to JordyMoos |
Find More Posts by JordyMoos |
Add JordyMoos to Your Buddy List |
02/26/15, 03:11 PM | |
|
Release 0.8 checkVersion
Release 0.8 is out with version check functionality.
In preperation of release 1.0 i added some version check functions: getVersion and checkVersion. For documentation about functions see the Addon Info page. checkVersion can come in handly if you want to use some of the newer features. You can use the function to check if those features are actually implemented yet. For example lets say version 0.9 adds a new property to the sale data. You want to check if the addon is atleast that version so you can expect the property to exists. Instead of getting lua errors.
Last edited by JordyMoos : 02/26/15 at 03:17 PM.
|
|
JordyMoos |
View Public Profile |
Send a private message to JordyMoos |
Find More Posts by JordyMoos |
Add JordyMoos to Your Buddy List |