WARNING: THESE MODIFICATIONS ARE NOT TESTED AND ARE LIKELY TO CAUSE CATASTROPHIC ISSUES AT THIS TIME. ANY ATTEMPT TO USE THIS REVISION IS NOT RECOMMENDED.
Added LibMapData and began transitioning map data needs to use LibMapData.
Began changing the data collection, yet again. Once this goes beta, the new collection system will be in place... My hope is to allow QH to "learn" as you play, eliminating any need for data compilation, though I will still make attempts to compile said data into a full on db.
Added some code that will eventually be usable to get data from LightHeaded. This is not yet implemented in full, but will be the preferred method of QH doesn't know about a quest. Order of preference will eventually be: 1) Learned data, 2) Internal DB, 3) LightHeaded, 4) WoW client.
NOTE: THIS COMMIT IS ON THE WOW-DB-GET BRANCH. An alpha release will be up on the downloads page by 6:30 US EST on February 29, 2012 (tomorrow).
I THINK I have covered all the changes in this, but I have done so much since my last commit, I cannot be sure.
"/qh find elder[s] achievement [elder_or_achievement]" will track the incomplete achievements of the specified elder or achievement, or all incomplete elder achievements if none is specified.
"/qh find elder[s] clear" will clear the tracker of all tracked elders regardless of completion.
This works for a brand new character, but is untested on an established character that has previously completed the achievements. Theoretically it should work on such a character, since the quests are annual quests and the completion status should reset each year.
Please note that tracking of regular quests is still not working in this branch. QH WILL, repeat WILL break if you have ANY quests in your log.
Removed the ugly database hacks, they are not necessary with the planes set to be the map ID's and no calls going out to the built in database.
Fixed the elders in Stranglethorn.
Also changed planes to be the same as the equivalent mapID. Eliminated instances for the time being, as this whole scheme may go by the wayside in upcoming iterations.
WARNING: This revision MAY NOT work at all (and if it does, Elder tracking won't work). With that said, feel free to test and note any issues you discover, with the exception of Elder tracking not working (I didn't touch that at all).
Please note that though these files have been added, nothing has changed yet in the main system to support this separation... i.e. no files have been removed and no files have been changed in the main system for this.
I implemented a QuestHelper_GetTime function for the next time Blizzard decides to fiddle with the time functions. It returns debugprofilestop() / 1000, to exactly match the precision of GetTime().
I also re-removed references to Cartographer from the rollback.