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:
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.
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).
Changed Version Number in txt file and globals.lua file.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.