(256 Kb)
Updated: 06-12-10 02:46 PM
File Info
Updated:06-12-10 02:46 PM
Created:12-03-08 04:31 PM
Categories:TradeSkill Mods, ToolTip

GatherSage2  Popular! (More than 5000 hits)

Version: 2010-06-12
by: kellewic [More]

GatherSage2 is a re-write of the original GatherSage. Almost all of the original GatherSage functionality made its way into GatherSage2 and a lot more was added.

GatherSage2 shows what level is required to mine, pick, smelt, prospect, mill, or skin a resource (vein, deposit, ore, animal, plant, etc). The tooltip will show all skills for which the resource can be gathered or used up (i.e. an herb that can be both picked and milled).

It also shows you your current skill, how many skill ups you have gained since you logged in, and the difference between the skill you need to work with the resource and the skill you currently have.

It displays this information in the tooltip when you mouse over a resource in the world, minimap, inventory, auction house, mailbox, guild bank, and pretty much anywhere the item can be displayed. It will also show you if that resource has a chance of yielding special items (such as stone, gems, or other herbs).

A lot of testing has gone into making sure GatherSage2 does not interfere with other addons you may have loaded. Please report any problems found.

There is a readme.txt file that contains detailed information on GatherSage2


* (2010-06-12): No code changes. Added all Perl code-generation code to the package in case someone
needs to update the English locale or module Lua files.

* (2010-06-06): Fixed a bug where a creature has the same name as something else (i.e. Jade)
Also fixed a bug in the pattern matching of targets.

* (2010-06-04): Fixed bug with GameTooltip text going "wonky"... that's what happens when
you move stuff around :)

* (2010-05-30): Code cleanup and a few bug fixes.
Removed AceEvent-3.0, AceHook-3.0, AceAddon-3.0 dependencies
Added basic module code.
Changed how the locale strings work.
Cleaned up the GUI options panel.
Removed FR locale since it hasn't been updated
Updated DE locale
Added skill strings to items when the skill is different per item

* (2010-04-26): Removed support for ItemLevel module. It doesn't look to be maintained and the game now
provides the item level in the tooltip.

Removed all functionality related to quests. I have never used it and no one has ever
asked about it. It was a PITA to keep maintaining. Items gathered for quests should
still be listed on the tooltip.

Updated all module's data with what seems the most recent skill levels.

Updated code to fix reported issues. I cannot replicate the issues now so hopefully
they are good to go.

* (2009-09-08): Removed most tabs from the GUI options and condensed them to the "General" tab.

When disabling the addon in the options, all modules will be disabled.

When enabling the addon in the options, only modules for which you have a skill in
will be re-enabled by default. Manually enabling additional modules still works after
the addon is re-enabled.

When enabling parent modules (such as Mining), their child modules will also enable
(such as Smelting). If, for some reason, you don't want the child enabled, just uncheck it
after loading the parent. If for some reason you only want the child, uncheck both and re-check
the child.

Removed informational messages from displaying by default. This includes enable/disable
messages. They will appear if you set the log level to DEBUG.

Fixed an issue with deep copying game objects for no good reason. This resolved an issue
with the BasicChatMods addon and likely reduced memory footprint a tiny bit, which is
hardly ever a bad thing.

Fixed some creatures that used to be skinnable, but are no longer skinnable.

* (2009-09-04): Removed GUI configuration "Debugging" tab; placed all items under "General" tab.

Added options to only show tooltip information when a configured modifier key is used. All
modifier keys are supported (feature request).

* (2009-08-30): Updated herbalism, mining, and skinning locales and module files with new data from WoWHead.

Fixed an issue where adjusting the tooltip money frame was causing a lot of blank lines
to appear. In addition to removing the blank lines, the money frame and text was changed
to match the new in-game style.

Manually added in Titanium prospecting data.
Updated TOC for 3.2

* (2009-07-19): Changes made to Herbalism broke a few things so I had to fix them.
Minor code optimizations

* (2009-07-18): Re-organizing core code
Minor code optimizations

Fixed herbalism gathering from creatures skill levels. It seems these are the
same as skinning (based on level).

* (2009-07-11): Fixed issue with Fishing skill not being read correctly.

* (2009-06-23): Added fishing stub module for future development (was requested)

Removed data recording as the feature is fairly useless since GS2 keeps its own
database of information.

Removed locale files with no translations.

* (2009-04-18): Added debugging routines and associated GUI options. If the logging level is DEBUG or greater,
additional information will be shown in the default chat window.

There is a new dump state function that will dump all of GS2's internal state to the database. This
will allow people to PM the file to me for debugging purposes. Some people see 'tonumber' errors that
do not always show up. Hopefully this feature will help track down what is going on. This data is cleared
at login.

This version was not released.

* (2009-04-14): Fixed a bug related to numbers being compared with strings.
Fixed some other miscellaneous bugs that came up in daily use of the addon.
Updated the readme.txt file.
Added some more "unknown" items to be ignored in the locale/ignore.lua file (only available for enUS).
Bumped TOC interface number to 3.1.0

Fixed herbalism skill for Frozen Herb. It seems Wowhead has 3 entries for it and only
one of them is corect.

Updated herbalism, skinning, and mining locale and modules files from Wowhead.

Fixed Tiger Lily skill to 375 from 400 as per 3.1 patch notes.

* (2009-03-08): The "Auctioneer" bug had nothing to do with Auctioneer after further testing.
I think I finally have this fixed, although I still don't know the cause of it.

Added a logging library to aid in future debugging. Modified the Print()
method to be more friendly to the logging library.

Removed the DEBUG variable as it's not longer needed.

* (2009-03-07): Fixed a weird bug when Auctioneer was loaded. For some reason the right
FontStrings of the GameTooltip would shift left in some instances.

* (2009-01-31): Created a locale "ignore.lua" file that contains items that appear to be of
interest, but are not. This only affects the recording of unknown data.

Mining has its own locale file now that is automatically generated from
Wowhead data.

Fixed bug where known data was being recorded as unknown data.

This version was not released.

* (2009-01-28): Updated deDE locale files with name changes that Peter sent me via email. Thanks!

Herbalism has its own locale file now, others will follow this paradigm soon.
Added many more creatures and items that herbalists can gather from.

Updated skinning locale and module files - 8 new creatures, 1 new item

* (2009-01-19): Fixed the skinning locale and module data. Known NPCs should now show the correct
skinning information in the tooltip.

* (2009-01-08): Fixed a bug that caused Altoholic tooltip lines to flow off the tooltip.
Releasing this version.

* (2009-01-03): Removed all slash commands in favor of a GUI configuration screen, which
can be found in the game Interface screen.

Fixed herbalism skill levels to follow the +25, +50, +100 progression.

Added code to save items and units it does not recognize to the database. These
will need to be posted on the mod forum so they can be added to the static data
and be recognized.

Unknown items are saved in global.UNKNOWN_DATA.
Recorded items are saved in global.RECORDED_DATA.
The file these are saved to is WOW_DIR\WTF\Account\NAME\SavedVariables\GatherSage2.lua

Removed esES localization file as it was empty.

Separated out pieces of the locale files as they were getting really big
with the addition of skinning.

Changed the version number to be shorter since the mod hosting sites don't like
it to be really long and it kept getting truncated.

Added a "skill distance" in the tooltip, which is the difference
between your current level and the required level. The format is
(without the dashes):

Required (req. level) -------- curSkill (skillUps/distance)

Requires XXXXX (250) --------- 105 (+10/-145)

Filled in all known skinning targets and items. These files are automatically
generated from WoWHead so it's a bit easier to accomplish now.

Fixed a few small display bugs. Wrong colors, bad line wrapping, etc.

Added inscription data to show what inks can be made from
which pigments. This revealed a weakness in how data is
associated and a small display change was made. If a single item
(i.e. Alabaster Pigment) can be used to create more than one item
at differing skill levels, then for the main "Requires" line, the
skill level is not shown; instead "varies" is shown. In the "Chance of"
listing, the skill level will appear per item line in the right column
correctly color coded. A screenshot is provided as an example. So far,
Alabaster Pigment is the only item in the addon that follows this, but I
added the ability so any module can use it in case more are encountered as
I suspect they will be with jewelcrafting.

Inscription locale data added to the English locale. Other locales will need
someone to translate them.

Corrected code comments.
Added more code comments in case anyone else feels like messing with it :)

* (2008-12-25): Added initial skinning information
Fixed a few bugs and potential problems

Added more items to the locale tables. Hopefully I didn't break
the German locale again.

If the threat meter is showing on the tooltip, it is adjusted
down the tooltip and it's little diamond texture is hidden (along
with all other textures since there is no easy way to differentiate
what texture belongs to which line).

Added support for more than a dozen other tooltip mods. GatherSage2
should co-exist with a good portion of the tootlip mods out there.

These changes also cover the 2008-12-25-2 release which was a minor bug
fix for skinning.

* (2008-12-05-4): Fix for German clients (I hope)

* (2008-12-05): Added prospecting information and a stub for jewelcrafting.

Re-wrote portions of code to get smelting and prospecting data
sets to play nice. Tooltips will now display both skills on
things such as "Copper Ore". If more than one skill has
"chance of" items, these will be tagged by skill. This is really
only relevant for Mining Jewelcrafters and other such combinations
that have two skills that use much of the same items.

German localizations added thanks to EnSabahNur

Added support for RatingBuster and ItemLevel as they modify the
tooltip in ways that interferes with GatherSage2 displaying all
pretty :)

Added colorization of all "chance of" items.

* (2008-12-03): Re-structured code a bit more.
This version is being tagged as Alpha since it does pretty much
what the original GatherSage did minus the "You can now pick..."

* (2008-11-30): More code optimization and structuring.
This version was not released.

* (2008-11-27): Split code up to be more manageable (hopefully :))
Verified all data sets via wowhead, wowwiki, and thotbot.
Added "quest-awareness" for quest items that can be gathered.
This version was not released.

* (2008-11-08): Initial re-write of GatherSage.
This version was not released.
Post A Reply Comment Options
Unread 10-19-10, 02:51 PM  
A Kobold Labourer
Garr3tt's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 5
Uploads: 1
yeah that's because of GetNumSkillLines() witch was removed u have to replace it with :
name, icon, rank, maxrank, numspells, spelloffset, skillline = GetProfessionInfo(index)

and use :
prof_1, prof_2, archaeology, fishing, cooking, firstaid = GetProfessions()
to get the inedxes

i just havent figured out how yet
Nothing is true, everything is permitted
Report comment to moderator  
Reply With Quote
Unread 10-20-10, 12:10 AM  
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 16
Uploads: 2
I'm working on fixing it. Got it most of the way done now. Will post a continuation soon with the fixes for 4.0.1
Report comment to moderator  
Reply With Quote
Unread 11-06-10, 11:25 PM  
A Kobold Labourer

Forum posts: 0
File comments: 8
Uploads: 0
Originally posted by Spiritfire
I'm working on fixing it. Got it most of the way done now. Will post a continuation soon with the fixes for 4.0.1

if you have it anywhere close to working could you post the changes? reading this code makes my head hurt.. silly blizz
Report comment to moderator  
Reply With Quote
Unread 11-28-10, 02:08 PM  
Grizzly UK
A Black Drake
Grizzly UK's Avatar

Forum posts: 81
File comments: 132
Uploads: 0
Re: New author

Originally posted by kellewic
You may notice a new author added to the project. I have finally found someone (or should I say he found me) to take over GatherSage2 with which I am extremely pleased.

Look for more updates in the near future.
So, some 6 weeks later and there's been zero information from this new author who is supposed to have taken over GatherSage2! Nothing about an updated version that fixes the error on log-in, nothing about working on an updated version, nothing about an update for the upcoming Cataclysm changes, just absolutely nothing! Maybe I've got it wrong, but if someone volunteers to take over an addon, shouldn't they actually do something with it? At least let users know what's happening!
Last edited by Grizzly UK : 12-07-10 at 08:02 PM.
Report comment to moderator  
Reply With Quote
Unread 12-07-10, 08:08 PM  
Grizzly UK
A Black Drake
Grizzly UK's Avatar

Forum posts: 81
File comments: 132
Uploads: 0
In case anyone's interested, there's a new BETA version available at both GatherSage2 @ WoW UI and GatherSage2 @ Curse! Don't know why it hasn't been posted here as well, maybe there's an issue with uploading rights or something? Anyway, I haven't had a chance to test this new BETA version, but thought that others may appreciate the heads-up!
Report comment to moderator  
Reply With Quote
Unread 01-07-11, 01:08 PM  
A Molten Giant
tinyu's Avatar
AddOn Author - Click to view AddOns

Forum posts: 817
File comments: 335
Uploads: 16
i got the new beta version and it works great just dosnt have the cata items in it yet, ive added the cata herbs for myself

there is also GatherSageCT

edit: Just got done updating prospecting and milling.
"There's no such thing as too many addons."
Titan Dev Team Member.
Last edited by tinyu : 01-07-11 at 04:16 PM.
Report comment to moderator  
Reply With Quote
Post A Reply

Category Jump: