Download
(29 Kb)
Download
Updated: 06/25/14 03:46 PM
Pictures
File Info
Compatibility:
Craglorn (1.1)
Live (1.0)
Beta (0.18)
Updated:06/25/14 03:46 PM
Created:03/01/14 08:55 PM
Monthly downloads:76
Total downloads:29,014
Favorites:71
MD5:
XrysGatherer  Popular! (More than 5000 hits)
Version: 1.0.4
by: Xrystal [More]
Latest News:
Time to move on. The game hasn't pulled at my brain strings enough to keep me away from WoW long enough to make it worth paying for any longer. Anyone is welcome to take over the addon as they see fit. Otherwise I would suggest the following addon which should work in a similar way and with HarvestMerge allows importing of data from other sources:

http://www.esoui.com/downloads/info57-HarvestMapEsoheadMarkers.html

What it does:
  • v1.0.0 - New Data Layout so make a backup of your old data as it will be replaced with an empty file.
  • Tracks and Records Harvest Nodes and tradeskill related items as you loot from them.
  • Optionally Displays Output on screen.
  • Stores in the Saved Variables table account wide.
  • Map and compass shows nodes stored - Icon is for tradeskill of an item looted from it, wording is of the node itself
  • Options to filter display of nodes on map and compass as well as verbose output per character.
  • Scrollable and Filterable History Window listing what is in the harvest history table
  • Ability to import other saved variables files of the same version, it is tricky so instructions are in the readme file.
  • Control Panel to show current location and buttons to open the other windows.
  • Now locale enabled. Simply create a copy of the locale/en.lua file and save as your own locale name file if it doesn't exist and change the words inside to be more language specific.

Slash commands:
  • /xrga toggle - Toggle the Control Panel Window
  • /xrga help - Display the commands available

Credits
I want to thank the following people for figuring the following items out for me to learn from:
  • Pawkette - For the Console addon which enabled me to see how Combo Boxes were made
  • Dolby - For the Esohead addon which helped me start working on the saved variables system
  • Shinni - For the Esohead Markers addon which will help me get the harvesting pins and filters in place
  • Zerorez - For the zrMinimap addon which has inspired me to create an optional gatherer minimap
  • Skyraker - For being a guinea pig to help find out the problems he was getting

To Do
  • Gatherer Database Website Upload/Download Facility - Under Investigation

Git Repository Links
v1.0.4
Changed Version Number in txt file and globals lua file.
Changed API Version in txt file.
Add TOU for Addons to txt file.
Removed XrysGatherer_ImportData table from saved variables table list in the txt file as it seems to cause a repeat of an empty table. Should not affect importing as long as the table name copied into the file as per the import readme is changed to that name. Import ability will be added in version 2.0.0 as a separate mini addon that won't need to be run if you have nothing to import.
Removed ImportData saved variables initialisation from the savedvars.lua file.
Added a mention of the new changes in the HowToImport readme file.
Added check in History file to make sure that the node data table contained items before it tried accessing it.

v1.0.3
Changed Version Number in txt file and globals.lua file.
Changed API Version in txt file.
Done my best via multiple reverse google translates to actually set the German and French locale files up.
No longer stores node info for nodes that are unknown. Old Unknown nodes will be removed when the new data conversion routine is in place in Version 2.0.0.
Removed NoTarget event as I have yet to have that triggered since it was implemented.
Added language and addonVersion to NodeData and ItemData tables within the SavedVars to help keep track of language version.
It is assumed that you have only imported same language data from other sources.
Tidied up some non localed text and placed it into the locale files.
Added some validation code to catch extraneous data in the wrong format ( as in my initial attempt at v2.0.0 data conversion first time round without making a data backup rofl).

v1.0.2
Changed Version Number in txt file and globals.lua file.
NodeInteract:
Various changes to the code to ensure that looting works as close to identically as possible regardless of loot options.
Tested under : Auto Loot = on or off and Consolidate Loot = on or off. But did not test Auto Loot = Off and Consolidate Loot = Off as I suspect that would work the same as with Consolidate Loot = on.

v1.0.1
Too many changes to list them separately here but the PatchInfo.info file does have everything detailed.
Basically, this update fixes the accidental access to someone else node data ( and throws in debug tests for those that want to test it to see whether it gets all of the gathering data without messing up the person gathering it).
It also fixes some minor glitches noticed such as no verbose mode at all on old nodes and the compass pins not resizing based on position around the player and the chance that you harvest a node before realising you don't have space to loot at the same time, old versions may not have caught the details to record the pin data. You need to loot to get that information correctly at least once for each item.
If you wish to test the possibility of sharing node information amongst nearby harvesters or group members, maybe even guild members then set the value in the nodeinteract.lua file debugOtherLoot to true to display 3 debug messages per looted item from a harvest node. Screen printing these and keeping these on file until I ask for the information would be appreciated. I am however unsure whether this will work accurately enough for the map and compass pin required data. Which is why this part isn't activated outside of displaying the information.

v1.0.0
Rewrite of the whole addon working around the map and compass pins to ensure they are in the correct location regardless of what map you may have viewed prior to gathering.
Import is back and will allow import from Version 1 data. Version 0 data is now invalid for the most part. Version 0.0.9 data may have some salvagability to it but the ability to import that data isn't in the addon. Email me a copy of 0.0.9 data and I will see if I can convert it to 1.0.0 format to the best of my abilities. It may take a little while.
History window is still there but without the wipe ability. All data is gathered, you just choose what to display on the map and compass based on your options.
Data is stored account wide but options on what gets tracked on the map and compass is character wide.
The same /xrga toggle exists like before to display the mini control panel that houses your position and buttons to open the other windows.

v0.0.9a
Bypass areas of the harvest data that are not in the correct and expected format.
Made sure that the newly introduced information that isn't being used yet is saved in the right location, the cause of the error.


v0.0.9
Added Description field to txt file.
Added the ability to Import new Data from another file ( see the included readme file for the details) and Remove selected portions of the table.
Removed the old alert window and replaced it with a scrolling message window that is embedded into the new control panel.
Added a new control panel where you can now click buttons rather than type your way around the addon.
There is now only 1 slash command and that is the one to toggle the addon into activity by toggling the visibility of the control panel.
The alert message screen colorises the text to reflect a close or nearby node.
Addon is now localised. There is now an EN, FR and DE language files but the FR and DE versions contain the same text as the EN version. But I have been unable to test it due to a massive download.
The new Control Panel now controls the node alerter update routine and it can be toggled off if you want to view the list that has been shown for the area you are in without it refreshing on you every second. This also stops the harvestHistory table from being updated but see below regarding that.
The harvestHistory table that is used for quick access cycle reading is rebuilt from the latest data every time you open the import window, history window and every 5 minutes if you have the alerter on.
All the old slash commands have been removed and a new one created /xrga toggle to toggle the display of the control panel.

v0.0.8
Added selection boxes on the history window to allow some flexibility in what is displayed.
Frames are now created in XML files with flexible values updated programmatically, at least until I can write them all in lua.
All frames are movable but at present do not save their place. All windows default to the center of the screen when you log in and can be moved.
Split the History and Alert frame functions into their own files and their own copy of the history data update function.

v0.0.7
A slight addition to the addon whereby it also keeps track of items looted from said nodes and records the tradeskill and type of item which has been looted. Additional slash commands have been added to match.
/xrga tradeskill [tradeskill]
/xrga itemtype [itemtype]
Removed testing text display from the history window.
Added test for CraftingInteractionType so that it traps and ignores crafting which sometimes triggers a harvesting action.
Uses table.insert instead of creating an index key.
Slash commands are no longer case specific.
Changed the width of the History Window to hold the new longer TradeSkill Loot History Lines.

v0.0.6
Next best thing to displaying pins on the map, a little frame to let you know there is a know node in the area (0.05) or nearby (0.01).
Added /xrga alert to toggle the display on or off.
Ooops added the show/hide slash commands.

v.0.0.5
Added /xrga show and /xrga hide to display the harvest history window that offers a scrolling frame view of all the harvests recorded so far.
Put the creation of the Harvest History table into a separate function as it is used in several places.


v0.0.4
Thanks to BluePhoenix, cause of the missing action/object values has now been explained to moving the recepticle off of the object milliseconds after interacting with it and the information being wiped out. Have now stored the last successful interaction so it can be used for the database.

v0.0.3
PatchInfo.txt renamed to PatchInfo.info so it doesn't appear in addon screen.
Fixed Slash Commands so that you can now use it without errors, including spaces words.
Added "Unknown Action" for when the action truly is unknown.

v0.0.2
Added a temporary harvestHistory table for easier traversing as required for reporting/viewing
Now keeps track of the last item harvested for viewing where else it has been gathered before
Use, Talk and Examine have been known to intermittently think they are interacting with a harvest node, so ignore those
Added a PlayerActivated Event Function to initially generate the harvestHistory table.
Added slash commands for traversing the history table in verbose mode:

/xrga update - Rebuild the harvestHistory table with the latest data
/xrga history - Traverse the harvestHistory table and report all harvests in verbose mode
/xrga zone [zone] - Traverse the harvestHistory table and report on all harvests in the selected/current zone
/xrga item [item] - Traverse the harvestHistory table and report on all harvests of the selected/last item
/xrga help - Display the commands available

v0.0.1 - New Addon
Tracks and Records Harvest Nodes into the Saved Variables table.
Optional Files (0)


Archived Files (14)
File Name
Version
Size
Uploader
Date
1.0.3
28kB
Xrystal
05/25/14 05:02 AM
1.0.2
28kB
Xrystal
05/15/14 05:43 PM
1.0.1
28kB
Xrystal
05/11/14 07:30 PM
1.0.0
26kB
Xrystal
04/25/14 11:03 PM
0.0.9a
15kB
Xrystal
04/13/14 05:54 PM
0.0.9
15kB
Xrystal
04/13/14 05:09 AM
0.0.8
11kB
Xrystal
04/05/14 03:31 PM
0.0.7
8kB
Xrystal
03/30/14 04:59 PM
0.0.6
7kB
Xrystal
03/15/14 03:19 PM
0.0.5
6kB
Xrystal
03/15/14 10:21 AM
0.0.4
5kB
Xrystal
03/15/14 05:33 AM
0.0.3
4kB
Xrystal
03/14/14 05:13 PM
0.0.2
4kB
Xrystal
03/04/14 03:34 PM
0.0.2
3kB
Xrystal
03/01/14 08:55 PM


Post A Reply Comment Options
Unread 05/10/14, 09:47 PM  
skyraker
AddOn Author - Click to view AddOns

Forum posts: 154
File comments: 129
Uploads: 4
Trying new beta files. Used a different character to ensure some new nodes. This is what I get.

https://www.dropbox.com/s/h89y4e1fco...510_224106.BMP

Also, do you plan on releasing new version through the site also, or only through GIT?
Last edited by skyraker : 05/10/14 at 09:50 PM.
Report comment to moderator  
Reply With Quote
Unread 05/10/14, 04:07 PM  
Xrystal
caritas omnia vincit
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 369
File comments: 85
Uploads: 0
Mini update on Git Repository for testing ...

This mini update has the following changes and includes some debug messages for testing purposes.

HarvestPins:
Added GetMapPinManager function so that access to map pin data is possible outside of the harvestpins file.
Added test for existence of XrysGathererWindow so that it doesn't error out if it tries to run the update routine before the window is created.

NodeInteract:
Renamed old function ReceiveLoot to SlotUpdate to get bag/slot item information.
Added new function ReceiveLoot to monitor who actually received loot so that it doesn't accidently send the information to someone nearby.
Added new temporary table to store NodeData in case it is an old node so that we can display that info.
Added new temporary table to store ItemData to use in the new ReceiveLoot function after it has been proved it is your data.

Skyraker, if you can test this again with your wife and see if this update resolves what you are seeing and whether she receives a message on her screen that you looted the item rather than herself. Once the addon knows it is the player who looted it will update the item gathered data and map data accordingly.

Flak, can you see if this resolves your problem. I am now starting to wonder if your problem is similar to Skyrakers in that there was someone nearby with the addon that was shanghai'ing that last bit of information. Although it doesn't explain why you are not receiving the node information as that is stored the moment you interact with something. Let me know if you still don't get any nodes reported and I will see if there is something else that is affecting you. I assume that you have tested without other addons just in case there is a conflict with some of them that do some similar functionality that I do.

Thanks for both of your reports.
Report comment to moderator  
Reply With Quote
Unread 05/10/14, 01:14 PM  
Xrystal
caritas omnia vincit
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 369
File comments: 85
Uploads: 0
Thanks for this spark of inspiration. At least twice now I have spotted the same happening to me but for almost all of my gathered items I have received a report. This could very well be because I have not had anyone close enough to me to take my gathering information rofl. I will investigate this and see if there are some tests I can do to make sure that it is information from yourself that is only recorded otherwise location wise the information would be somewhat wrong.

Originally Posted by skyraker
Hi Xrystal, a note and at least one question.

I do not know when it specifically happened, but Gatherer is not reporting any verbose information for me (old or new nodes). I disabled all other addons to check if they were conflicting (because I had received a couple map pin errors recently), and even tried different zones but the result has been the same.

The question: I do not know if this was from your addon or one of the others, but my wife used to have map pins created for nodes I harvested when she was nearby. I swear this wasn't from this addon, but she says it stopped when I had her disable Gatherer and is not doing it when she re-enabled it. Was this 'feature' part of Gatherer?

EDIT: I added my info about node reporting not working with all other addons disabled to the bug report.
Report comment to moderator  
Reply With Quote
Unread 05/10/14, 01:11 PM  
Xrystal
caritas omnia vincit
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 369
File comments: 85
Uploads: 0
I have already looked at the harvestmap data and tried to work out an import routine but the data is too different to work. I use localised locations and names whereas he uses numbers for the node types and items looted and texture filenames for the locations.

Bear in mind that the loading time for esohead is quite possibly due to the amount of data being loaded into memory. Of course I would need less data but it is possible that the same problem may exist as any of the saved variable files like these fill up with the data. It is all loaded into memory and this takes time the larger the file. Just looked at the esohead daily data file as well and can already see problems with it. The place names have some dodgy characters in that I don't recall seeing on the map for those places so not sure what is happening there. It also doesn't seem to differentiate between what type of nodes are gathered which will mean I will not know what to ignore and what to import etc.

This is the reason I am trying to work on my own database site for users of this addon to use. I have been painstakingly levelling several characters through different zones gathering as I go. Where I am not interested in end game content and dungeons the gathering and crafting is the important factor for me so I do have quite a bit of data gathered so far despite only having level 10s. At present I am trying to work out how to deal with the language barrier so that the online database can be used by anyone regardless of language but at present I am stuck with that limitation. My brother has been working on a way of extracting the data so that it can be injected into a database and then later downloaded in bulk/portions etc.

But now with the latest bug report I want to concentrate on figuring out what is happening there before I do anything else. I have a couple of minor bug fixes to incorporate and it looks like I will probably have to add in a language flag for the data file for when I have the database up and running and some other additional items to the data to help that side of things as well.
Report comment to moderator  
Reply With Quote
Unread 05/10/14, 09:33 AM  
Lionizer

Forum posts: 0
File comments: 7
Uploads: 0
Would be sweet if you could expand the import function to allow import from HarvestMarker and/or ESOhead for people who were previously using those two addons.

The daily esohead file is amazing for a big database and the import in harvestmap that lets you choose which professions to import is sweet as well

I just grabbed the esohead file (8,5mb) and imported enchanting alchemy and got a 2MB harvestmap database optimized to me.

I want to try out xrys of course, since I am unhappy with the 10-30 seconds additional loading time from esohead and harvestmarker and I hope xrys is faster
Report comment to moderator  
Reply With Quote
Unread 05/10/14, 09:01 AM  
skyraker
AddOn Author - Click to view AddOns

Forum posts: 154
File comments: 129
Uploads: 4
Hi Xrystal, a note and at least one question.

I do not know when it specifically happened, but Gatherer is not reporting any verbose information for me (old or new nodes). I disabled all other addons to check if they were conflicting (because I had received a couple map pin errors recently), and even tried different zones but the result has been the same.

The question: I do not know if this was from your addon or one of the others, but my wife used to have map pins created for nodes I harvested when she was nearby. I swear this wasn't from this addon, but she says it stopped when I had her disable Gatherer and is not doing it when she re-enabled it. Was this 'feature' part of Gatherer?

EDIT: I added my info about node reporting not working with all other addons disabled to the bug report.
Last edited by skyraker : 05/10/14 at 09:03 AM.
Report comment to moderator  
Reply With Quote
Unread 05/03/14, 05:56 AM  
Xrystal
caritas omnia vincit
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 369
File comments: 85
Uploads: 0
Gatherer Database Idea

My brother has given me an idea on how I can solve the lack of a gatherer database. Give me some time to figure out how I can do this. I have access to my own webserver so will see what I can do to have this working for users. I will keep you updated on this and will let you know the details when they are available.
Report comment to moderator  
Reply With Quote
Unread 04/26/14, 06:36 PM  
Xrystal
caritas omnia vincit
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 369
File comments: 85
Uploads: 0
Reporting Old Nodes

Well it seems I overlooked this test somehow, although I thought I had tested both but anyhow.

A new node will report correctly as the information will always be available at the time of receiving the loot. However, an old node doesn't store the node details once it has completed it's interaction stage and moved onto receiving the loot. I have corrected this internally at present and will incorporate it at the next update as this only effects verbose output of existing nodes.
Report comment to moderator  
Reply With Quote
Unread 04/26/14, 05:19 PM  
Xrystal
caritas omnia vincit
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 369
File comments: 85
Uploads: 0
As per a request via site messaging I have attempted to import the data from HarvestMap saved variables. However, for some strange reason it will not import correctly. The code thinks it has imported but the data doesn't stay in the saved variables table. What it did let me do is overlay my images onto the ones he has used, which defeats the object. It looks like at present, both addons need to be run ( which at present I cannot see any problems doing so as it hasn't stopped storing data in either addon ) until you have got most or all of your existing harvestmap data stored properly in the gatherer database.

However, it does allow you to import from another source of the newest gatherer data with no problems.
Report comment to moderator  
Reply With Quote
Unread 04/26/14, 03:34 PM  
Xrystal
caritas omnia vincit
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 369
File comments: 85
Uploads: 0
Thanks. It is starting to look like a conflict as it doesn't even seem to register that you have gatherered anything at all with my addon. So another addon seems to trigger mine to turn off somehow and be ignored.
Report comment to moderator  
Reply With Quote
Unread 04/26/14, 02:22 PM  
Flak

Forum posts: 0
File comments: 46
Uploads: 0
I did as requested
Report comment to moderator  
Reply With Quote
Unread 04/26/14, 12:35 PM  
Xrystal
caritas omnia vincit
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 369
File comments: 85
Uploads: 0
Originally Posted by Flak
Originally Posted by Xrystal
As I mentioned in the notes it empties your old data as it had to be rerormatted to work with the map pin and compass pin functionality. The old data had the wrong information to work with that stuff. That is why I said to make a copy of your old data as it would be emptied. As you start gathering it will add the nodes.

Yes, I read that. Hence I said:
This doesn't seem to be tracking anything for me anymore? It's not showing up in the window or on the map and all options are checked.

Meaning, I never used this addon previously because it didn't have the map pins. So I tried it for the first time last night. It did not record a single resource location for me in around 2hrs of play.
Oh I see, I apologise. I was just surprised as I have been playing this for weeks and once I got the map pins working I have always had them showing. I even tested the new settings to make sure that they showed when ticked and didn't show when not ticked.

I will take another look and ensure that with an empty data table it updates the pins as well.

edit:
I assume you mean they are not appearing on the compass if you back up and face where you just harvested from ? And the in game default (M)ap when you are in the correct zone for the harvest you just made ?

edit2:
Deleted saved variables file and started game. Found node, harvested, backed up and compass shows tradeskill icon as expected. Pressed (M) to show map and it showed current location with tradeskill icon and node name when hovered over at location just harvested.

Can you post a screenshot of the compass and map on a bug report on my portal page please.
Last edited by Xrystal : 04/26/14 at 12:46 PM.
Report comment to moderator  
Reply With Quote
Unread 04/26/14, 11:49 AM  
Flak

Forum posts: 0
File comments: 46
Uploads: 0
Originally Posted by Xrystal
As I mentioned in the notes it empties your old data as it had to be rerormatted to work with the map pin and compass pin functionality. The old data had the wrong information to work with that stuff. That is why I said to make a copy of your old data as it would be emptied. As you start gathering it will add the nodes.

Yes, I read that. Hence I said:
This doesn't seem to be tracking anything for me anymore? It's not showing up in the window or on the map and all options are checked.

Meaning, I never used this addon previously because it didn't have the map pins. So I tried it for the first time last night. It did not record a single resource location for me in around 2hrs of play.
Report comment to moderator  
Reply With Quote
Unread 04/26/14, 05:47 AM  
Xrystal
caritas omnia vincit
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 369
File comments: 85
Uploads: 0
Esohead and HarvestMap data

A sudden spark of inspiration has come to me in regards to the ability to at least show on the map other resource data thanks to an onsite message I was sent since I logged out last night.

If someone can send me a significant size of harvest map file and esohead file I will see if I can incorporate an "ImportedData" section to the saved variables file that will simply hold enough information from the other data to show on the map until you harvest it again and fill out the other information. This information will not appear in your harvest history due to the lack of other information but will at least save you sometime locating the nodes.

Seeing as I don't use HarvestMap or EsoHead myself I don't have the data to test this myself. So the sooner someone can send me something the sooner I can see what can be done.
Report comment to moderator  
Reply With Quote
Unread 04/26/14, 05:42 AM  
Xrystal
caritas omnia vincit
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 369
File comments: 85
Uploads: 0
As I mentioned in the notes it empties your old data as it had to be rerormatted to work with the map pin and compass pin functionality. The old data had the wrong information to work with that stuff. That is why I said to make a copy of your old data as it would be emptied. As you start gathering it will add the nodes.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: