Download
(256Kb)
Download
Updated: 06-12-10 02:46 PM
Pictures
File Info
Updated:06-12-10 02:46 PM
Created:12-03-08 04:31 PM
Downloads:20,067
Favorites:230
MD5:
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

CHANGELOG

* (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..."
functionality.

* (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 03-01-09, 11:17 PM  
kellewic
Premium Member
 
kellewic's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 131
Uploads: 4
Re: Re: Re: Tooltip text joining bug?

Originally posted by RHuebner
The most irritating thing about this bug is the randomness. Things start out fine, and then go bad as I play, but I can't figure out any particular trigger.

And the errors are applied so inconsistently... first maybe some of the Recount tooltip lines will mash left (not all of them mind you, just some), but the skill buttons are OK. Then later some of the skill cast time/cooldown lines will go bad, and then maybe later the mana cost/range lines go (or maybe not). And sometimes some of the tooltip lines added by DrDamage go bad, but not often. And BTW, the GS2 skill required line for nodes usually goes bad at some point, too. And now that I'm watching it more closely, I think I've seen cases where a line was bad and then went back to normal again later. Argh.

I wouldn't have posted this here at all since I can't localize the problem yet, except that the only effect I've been able to reliably reproduce is that it doesn't happen when GS2 isn't loaded. It may not be GS2 doing the damage, but just GS2's presence in the notify chain triggering some other addon's bug somehow. And the progressive nature of the bug is truly weird as well; none of the addons do anything differently for the 1000th tooltip popup than for the 1st, so why doesn't the bug appear immediately after logon? More argh.

I'll keep watching for clues, and do some more testing as time permits.
One thing you can try as well to see if it's just the presence of GS2 causing problems is go into the GS2_Main.lua file and find the TT_OnShow() function. Comment out the addon:ProcessTooltip(...) line (should be the last line in the TT_OnShow() function). This will prevent GS2 from processing the tooltip at all. Any hooking and such GS2 does as part of its setup will still be run, so it might narrow the scope of what might be causing the issue.

I'll keep my eye out a bit more for weird behaviour, but I've found when dealing with the tooltip, weird behaviour is kind of the norm...
Report comment to moderator  
Reply With Quote
Unread 03-02-09, 02:36 AM  
RHuebner
A Kobold Labourer

Forum posts: 1
File comments: 17
Uploads: 0
Re: Re: Re: Re: Tooltip text joining bug?

Originally posted by kellewic
Comment out the addon:ProcessTooltip(...) line
OK, did that, and did some hard leveling for a couple hours without any problems appearing. Verified the mod was loaded but inert by finding it on the interface addons list, but with no special info showing in node or ore tooltips. Logged out, removed the comment marks, logged back into the same char, and saw the problem again within 5 minutes. Hmm.

So I guess the next logical step would be to start commenting out parts of the ProcessTooltip function (and/or dummying them out by hard-setting variables) to see which part is triggering things.

More as time permits.
Report comment to moderator  
Reply With Quote
Unread 03-02-09, 06:36 AM  
RHuebner
A Kobold Labourer

Forum posts: 1
File comments: 17
Uploads: 0
Re: Re: Re: Re: Re: Tooltip text joining bug?

Found the culprit. It's Auctioneer. I'm currently running AuctioneerSuite-5.3.4014.zip, which contains several associated pieces. If either the Auctioneer core addon or the Informant addon are enabled, along with GS2, then the tooltips get messed up. If neither Auctioneer-core or Informant are loaded, GS2 is safe, and as shown earlier, if GS2 isn't loaded, then Auctioneer and Informant are safe.

This makes sense functionally, as both Auctioneer-core and Informant do major tooltip work. They both add a secondary tooltip box below the normal tooltip, or combine to share a secondary box if both are enabled. Auctioneer-core uses this to display AH price analysis info, and Informant displays general info like vendor availability & prices, associated quests, etc. If neither is loaded, the secondary tooltip box isn't displayed, and a bunch of gnarly tooltip processing is presumably avoided.

Of course, now that I've tracked it down, the Auctioneer team decided to just now today release a new version, with some tooltip behavior changes even, so more testing with the new version is now needed. But whether the problem still exists or not, Auctioneer is one of my most crucial must-have addons, so I'm just going to have to live with the bug.

With any luck, you might be able to reproduce the problem now and fix it on your end if you feel like it. I found I was able to reproduce the problem fairly quickly by opening my bags and scrubbing the mouse pointer back and forth over the bag contents and action bars for a while to force a high volume of tooltip traffic.
Report comment to moderator  
Reply With Quote
Unread 03-02-09, 07:55 PM  
kellewic
Premium Member
 
kellewic's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 131
Uploads: 4
Re: Re: Re: Re: Re: Re: Tooltip text joining bug?

Originally posted by RHuebner
Found the culprit. It's Auctioneer. I'm currently running AuctioneerSuite-5.3.4014.zip, which contains several associated pieces. If either the Auctioneer core addon or the Informant addon are enabled, along with GS2, then the tooltips get messed up. If neither Auctioneer-core or Informant are loaded, GS2 is safe, and as shown earlier, if GS2 isn't loaded, then Auctioneer and Informant are safe.

This makes sense functionally, as both Auctioneer-core and Informant do major tooltip work. They both add a secondary tooltip box below the normal tooltip, or combine to share a secondary box if both are enabled. Auctioneer-core uses this to display AH price analysis info, and Informant displays general info like vendor availability & prices, associated quests, etc. If neither is loaded, the secondary tooltip box isn't displayed, and a bunch of gnarly tooltip processing is presumably avoided.

Of course, now that I've tracked it down, the Auctioneer team decided to just now today release a new version, with some tooltip behavior changes even, so more testing with the new version is now needed. But whether the problem still exists or not, Auctioneer is one of my most crucial must-have addons, so I'm just going to have to live with the bug.

With any luck, you might be able to reproduce the problem now and fix it on your end if you feel like it. I found I was able to reproduce the problem fairly quickly by opening my bags and scrubbing the mouse pointer back and forth over the bag contents and action bars for a while to force a high volume of tooltip traffic.
Yeah, I had a suspicion it might have been an Auctioneer / GS2 issue since I mostly saw it while auctioning and I also updated my Auctioneer recently.

I'll have to set some time aside to try to reproduce it with various Auctioneer modules enabled/disabled and then dig through the Auctioneer code to see how they are messing with the GameTooltip.

I can usually work around the problem with other addons once I know what they are doing.

Thanks for debugging it a bit for me
Report comment to moderator  
Reply With Quote
Unread 03-05-09, 08:57 PM  
kellewic
Premium Member
 
kellewic's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 131
Uploads: 4
Re: Tooltip text joining bug?

Just a little more info from the basic testing I have done. As you said this is easily reproducible so it will make it easier to try to track down the cause.

I did notice Auctioneer has some tooltip library it uses to basically abstract the regular GameTooltip and some extended tooltip they use. They do this so the API calls are the same, but they operate on one of the 2 tooltip objects depending in what is loaded.

I noticed they do a lot of re-anchoring so that might be the cause, although I have not really had a chance to dig into it yet.

Basically when the lines get pushed together, the two FontStrings (left and right) are still set correctly, it just looks like the right FontString is repositioned to push up against the left FontString.

GS2 does not ever move the right FontString, but it does reposition the left FontString when it hides the tooltip textures. It simply repositions them to where they are suppose to be when the textures are hidden (the same position as in the GameTooltip XML file).

I thought I read in some of the Auctioneer code comments that it tries to re-align the right font text to be left justified rather than right justified; something I need to check out more closely.

I'll also have to see what this extended tooltip thing is it references. I wonder if this happens with it enabled?
Report comment to moderator  
Reply With Quote
Unread 03-06-09, 04:01 AM  
RHuebner
A Kobold Labourer

Forum posts: 1
File comments: 17
Uploads: 0
Re: Re: Tooltip text joining bug?

Originally posted by kellewic
I'll also have to see what this extended tooltip thing is it references. I wonder if this happens with it enabled?
Isn't that referring to what I called the "secondary" tooltip in my earlier post, where they create a separate tooltip box stacked below the normal one, to segregate out their content from the normal tooltip content?

In a related note, the new version of Auctioneer adds an option to only show this secondary (/extended?) tooltip box when you hold the Alt key. Since I only need to see the Auctioneer data occasionally (and the secondary tooltip box can be annoyingly big when you don't need it), I've turned this on, and found it cuts down on the amount of tooltip corruption encountered. Which makes sense; the less often you show the Auctioneer tooltip info, the less collisions there are with GS2, and the closer you are to the situation where Auctioneer isn't loaded at all.

Just another data point, confirming the bug is behaving as expected.
Report comment to moderator  
Reply With Quote
Unread 03-06-09, 01:56 PM  
Duchess
An Aku'mai Servant

Forum posts: 34
File comments: 90
Uploads: 0
Just wondering if this one works like Gatherer...where it will show where nodes are and such?

Thanks
Report comment to moderator  
Reply With Quote
Unread 03-06-09, 05:53 PM  
kellewic
Premium Member
 
kellewic's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 131
Uploads: 4
Originally posted by Duchess
Just wondering if this one works like Gatherer...where it will show where nodes are and such?

Thanks
GatherSage2 does not do what Gatherer does; it simply (well maybe not "simply" ) modifies the GameTooltip to show the skill you need to gather a given resource (mining nodes, herbs, skinnable creatures, etc).
Report comment to moderator  
Reply With Quote
Unread 03-07-09, 01:04 PM  
kellewic
Premium Member
 
kellewic's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 131
Uploads: 4
Re: Re: Re: Tooltip text joining bug?

*** REMOVED THIS POST AS I THINK I RESOLVED THE ISSUE AND DIDN'T WANT TO CONFUSE PEOPLE WITH OTHER "HACK" FIXES ***
Last edited by kellewic : 03-07-09 at 06:14 PM.
Report comment to moderator  
Reply With Quote
Unread 03-07-09, 06:20 PM  
kellewic
Premium Member
 
kellewic's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 131
Uploads: 4
Auctioneer tooltip issue

I think I resolved this issue and a new version (2009-03-07) is pending approval from the powers that be...

Basically, I just took the fixRight() function from Auctioneer's tooltip library and incorporated it into my tooltip library. I then call this function for every processTooltip() call regardless of whether GatherSage2 will actually process the tooltip.

I did this since a lot of spell and item tooltips were being corrupted somehow. Calling this function corrects the issue as far as I can tell.

I still don't know the exact cause since it seemed to happen at random times and I suspect it's something internal that the game is doing since you would think the same Lua code being called the same way would produce the same results.

There are some other changes in this version that I never released:
  • 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.
  • I think I fixed an issue when mousing over Titanium nodes as well.
Report comment to moderator  
Reply With Quote
Unread 03-08-09, 12:45 AM  
RHuebner
A Kobold Labourer

Forum posts: 1
File comments: 17
Uploads: 0
Re: Auctioneer tooltip issue

I'm sorry to say that it's still happening to me with this version. Ironically, GS2's own tooltip change (the skill required line) is the most commonly hit, followed by the top 3 lines of DrDamage's DPS analysis and Recount's total damage/DPS summary tooltip. Since I enabled Auctioneer's new "only show with Alt key" option, it doesn't seem to be happening as much to the normal class skill buttons, but that may just be luck considering how weirdly random this glitch's effects are.

What was the hack workaround you deleted? I'd like to give it a try if it might give any further clue on what works and what doesn't.
Report comment to moderator  
Reply With Quote
Unread 03-08-09, 05:21 AM  
smedeley
An Aku'mai Servant
 
smedeley's Avatar
AddOn Author - Click to view AddOns

Forum posts: 30
File comments: 34
Uploads: 1
Using your latest version, I'm still getting errors when mousing over various items.

Date: 2009-03-08 07:17:06
ID: 1
Error occured in: Global
Count: 1
Message: ..\AddOns\GatherSage2\GS2_Main.lua line 648:
attempt to perform arithmetic on local 'skillLevelRequired' (a string value)
Debug:
[C]: ?
GatherSage2\GS2_Main.lua:648: ProcessTooltip()
GatherSage2\GS2_Main.lua:265:
GatherSage2\GS2_Main.lua:251
(tail call): ?
[C]: ?
[C]: ?
[C]: ?
TipTac\core.lua:906: Show()
...AddOns\Auc-Advanced\Libs\LibExtraTip\LibExtraTip.lua:105:
...AddOns\Auc-Advanced\Libs\LibExtraTip\LibExtraTip.lua:98
...AddOns\Auc-Advanced\Libs\LibExtraTip\LibExtraTip.lua:277: OnTooltipSetItem()
Enchantrix\EnxMain.lua:220:
Enchantrix\EnxMain.lua:216
MobInfo2\MI2_Events.lua:615:
MobInfo2\MI2_Events.lua:612
[C]: ?
[C]: ?
...AddOns\Auc-Advanced\Libs\LibExtraTip\LibExtraTip.lua:251:
...AddOns\Auc-Advanced\Libs\LibExtraTip\LibExtraTip.lua:245
[C]: ?
[C]: ?
[C]: SetBagItem()
TBag\TBag.lua:2146: SetInventoryItem()
TBag\Buttons.lua:44: OnEnter()
[string "*:OnEnter"]:1:
[string "*:OnEnter"]:1
AddOns:
Swatter, v5.3.4105 (DingoIII)
Ace2, v
Ace3, v
Achieved, v0.2
AggroNotifier, v1.2.2
Atlas, v1.13.0
AtlasBattlegrounds, v1.13.0
AtlasDungeonLocs, v1.13.0
AtlasOutdoorRaids, v1.13.0
AtlasTransportation, v1.13.0
AucAdvanced, v5.3.4105 (DingoIII)
AucFilterBasic, v5.3.4105 (DingoIII)
AucFilterOutlier, v5.3.4105.2531
AucMatchUndercut, v5.3.4105.2531
AucScanData, v5.3.4105 (DingoIII)
AucStatClassic, v5.3.4105 (DingoIII)
AucStatHistogram, v5.3.4105 (DingoIII)
AucStatiLevel, v5.3.4105 (DingoIII)
AucStatPurchased, v5.3.4105 (DingoIII)
AucStatSales, v5.3.4105.2842
AucStatSimple, v5.3.4105 (DingoIII)
AucStatStdDev, v5.3.4105 (DingoIII)
AucStatWOWEcon, v5.3.4105.2530
AucUtilAHWindowControl, v5.3.4105.3311
AucUtilAppraiser, v5.3.4105.2530
AucUtilAskPrice, v5.3.4105.3175
AucUtilAutoMagic, v5.3.4105.3142
AucUtilCompactUI, v5.3.4105.2530
AucUtilEasyBuyout, v5.3.4105.3583
AucUtilItemSuggest, v5.3.4105.3108
AucUtilPriceLevel, v5.3.4105.2545
AucUtilScanButton, v5.3.4105.2530
AucUtilScanFinish, v5.3.4105.2530
AucUtilScanProgress, v5.3.4105.2530
AucUtilSearchUI, v5.3.4105.3655
AucUtilSimpleAuction, v5.3.4105.0
AucUtilVendMarkup, v5.3.4105.2530
Babylonian, v5.1.DEV.130
Bartender4, v4.2.6
BeanCounter, v5.3.4105 (DingoIII)
BlizzMove, v0.2
BonusScanner, v4.5
Broker2FuBar, v1.0
BrokerAllXP, v1.3.0-release
BrokerCT, v1.1
BrokerTinyPad, v1.0
Btex, v2.7.3
Carbonite, v2.57
CarboniteTransfer, v1.01
ChatFadeDisable, v
Configator, v5.1.DEV.130
Cooldowns, v
CTCore, v3.013 (CTMod 3.0)
CTViewport, v3.003 (CTMod 3.0)
DebugLib, v5.1.DEV.130
Enchantrix, v5.3.4105 (DingoIII)
EnchantrixBarker, v5.3.4105 (DingoIII)
EquipCompare, v2.15
FBMergeDatabase, v0.9.6
FBOutfitDisplayFrame, v0.9.6h
FBTrackingFrame, v0.9.6d
FishingBuddy, v0.9.6j
FuBar, v
FuBarAmmoFu, v2.0
FuBarAtlasFu, v
FuBarBagFu, vv1.1.3
FuBarCompass, v1.2
FuBarDurabilityFu, v2.11
FuBarEmoteFu2, v0.1.5
FuBarFarmerFu, v2.0.$Revision: 63418 $
FuBarFishingBuddyFu, v2.2d
FuBarFuXPFu, v3
FuBarMicroMenu, v1.0.4
FuBarMoneyFu, vv1.2
FuBarMSBTFu, v1.0
FuBarPerformanceFu, v2.0
FubarRecipeBookFu, v3.0.08
FubarRecipeRadarFu, v3.0.3
FuBarSkillsPlusFu, v3.0.5
FuBarSmartBuffFu, v3.0a
FuBaruClock, v2.0.12
Gatherer, v3.1.11
GathererDBWowhead, v1.0.%date%
GatherSage2, v2009-03-07
InFlightLoad, v3.0.012
Informant, v5.3.4105 (DingoIII)
IWantCoolChatToo, v
MapNotes, v5.15.30000
MapNotesBrowser, vv1.00.30000
MapNotesForAtlas, v1.00.30000
MapNotesIconLib, v1.04.30000
MapNotesIconLibFancy, v
MapNotesIconLibLegacy, v
MapNotesIconLibNeptunia, v
MapNotesIconLibNumbers, v
Mapster, v1.1.3
MikScrollingBattleText, v5.3.33
MobInfo2, v3.71
MoveAnything, v3.0.2-7
MSBTOptions, v
MyNameTogglesWhenIAFK, v30400-0.1.02
Overachiever, v0.38
OverachieverTrade, v0.38
PetLeash, v1.2
PhoenixTooltip, v0.7
pMinimap, v30000.74
RecipeBook, v
RecipeRadar, v1.29
SatrinaBuffFrame, v3.1
SlideBar, v5.3.4105 (DingoIII)
SmartBuff, v3.0e
Stubby, v5.3.4105 (DingoIII)
TBag, v
TinyPad, v
TipTac, v08.12.05
TipTacItemRef, v08.12.03
TipTacTalents, v08.11.05
Volumizer, v3.0.9-1.0.5
WoWKB, v20003.6
XPerl, v3.0.2a
XPerlArcaneBar, v
XPerlParty, v
XPerlPartyPet, v
XPerlPlayer, v
XPerlPlayerBuffs, v
XPerlPlayerPet, v
XPerlRaidAdmin, v
XPerlRaidFrames, v
XPerlRaidHelper, v
XPerlRaidMonitor, v
XPerlRaidPets, v
XPerlTarget, v
XPerlTargetTarget, v
(ck=dbc)
Looks like some conflicting with Auctioneer Suite.

Love this addon, but the errors are getting out of hand, heh. On average, during a couple hours of play, I'll get between 5-15 of these errors.
Report comment to moderator  
Reply With Quote
Unread 03-08-09, 11:15 AM  
kellewic
Premium Member
 
kellewic's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 131
Uploads: 4
Re: Re: Auctioneer tooltip issue

Originally posted by RHuebner
I'm sorry to say that it's still happening to me with this version. Ironically, GS2's own tooltip change (the skill required line) is the most commonly hit, followed by the top 3 lines of DrDamage's DPS analysis and Recount's total damage/DPS summary tooltip. Since I enabled Auctioneer's new "only show with Alt key" option, it doesn't seem to be happening as much to the normal class skill buttons, but that may just be luck considering how weirdly random this glitch's effects are.

What was the hack workaround you deleted? I'd like to give it a try if it might give any further clue on what works and what doesn't.
Weird... I've only been testing it at the auction house and making the current changes I could not get the bug to reproduce itself.

You can try opening up Auc-Advanced\Libs\LibExtraTip\LibExtraTip.lua and commenting out line 1058 that should read:

Code:
fixRight(p)
This will cause the GameTooltip to not be the same size as the extra tooltip if the extra tooltip ends up being larger (not a huge issue IMO). This was the cause of the bug as far as I can tell when viewing items at the auction house. If you have the "hold ALT to show extra tip" option on, then this code is not even run unless you hold ALT down.

I've only been seeing this weirdness in the last few weeks. I don't recall this being the case before then.
Last edited by kellewic : 03-08-09 at 11:15 AM.
Report comment to moderator  
Reply With Quote
Unread 03-08-09, 11:54 AM  
kellewic
Premium Member
 
kellewic's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 131
Uploads: 4
Originally posted by smedeley
Using your latest version, I'm still getting errors when mousing over various items.

Looks like some conflicting with Auctioneer Suite.

Love this addon, but the errors are getting out of hand, heh. On average, during a couple hours of play, I'll get between 5-15 of these errors.
I've never seen that error before from GatherSage2, although I get errors like that all the time from various addons and then they simply go away. I don't even see how that can happens since that variable is always a number and guaranteed to be set or I would have seen "nil" errors way before now.

I guess the only thing I can do in that instance is advise you to change line 647 in GS2_Main.lua from:

Code:
skillLevelRequired = itemRef["skill"][1]
to

Code:
skillLevelRequired = tonumber(itemRef["skill"][1]) or 0
I don't see this error as being related to the Auctioneer issue since as far as I know it would not be able to affect a local variable. For some reason, the game interpreter all of a sudden thought the one variable wasn't a number. I can't even imagine what goes on in that tangled mess after you have 100 addons loaded (which I normally do).

The error shows how many addons are grabbing on to GameTooltip events. It looks like it starts on a mouseover on a bag item and then goes through like 4 mods before it even hits the tooltip mod to show the tooltip (why the hell is MobInfo2 even in there for a bag item?) and then GS2 kicks off to modify the tooltip and errors out.

I've been running this version for many weeks and have never seen an actual error like this, but you are running several mods I do not run so who knows what is going on in the background.
Report comment to moderator  
Reply With Quote
Unread 03-08-09, 01:02 PM  
kellewic
Premium Member
 
kellewic's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 131
Uploads: 4
Tooltip bug

OK, more information... as far as I can tell, this is not related to any other mod. I have unloaded everything except GS2 and I can still reproduce the bug by quickly mousing over all my bag items, however, this does not mess up all the tooltips. Most of the time, it will simply mess up 1 or 2 of them and the rest are fine. The really weird part is when I run the following when moused over a corrupted tooltip:

Code:
/run GatherSage2:Tooltip_FixRightFontStrings(GameTooltip)
I can see the right FontString move to where it should be and then automatically get kicked back to the wrong position.

I can't explain it except that I do not remember this behaviour in 3.08. Does anyone recall this happening before the 3.09 patch was applied?

It may very well be a GatherSage2 bug only, but I can't explain why the right FontStrings would reposition themselves to the wrong position after running the above code since GatherSage2 relies on the GameTooltip:OnShow() event and if I am hovering over an item, the OnShow event has already fired so something else is moving those right FontStrings. I suspect it's the game itself since I have no other mods loaded at this point, but I am not ruling out some tooltip behaviour change in the new patch that is causing GatherSage2 to do weird things.

Another strange thing is if I only mouse over items that GatherSage2 knows about, I don't see the bug appear (I did this for 5 minutes just mousing back and fourth over 4 ores). The second I mouse over something it doesn't know about, then I instantly see the bug. This is with just GatherSage2 loaded. Can anyone confirm this for me?

*** EDIT ***

OK, I may have fixed this. If you all can add the following line in GS2_Main.lua at line 832:

Code:
self:Tooltip_FixRightFontStrings(tooltip)
In case your GS2_Main.lua is different than mine, this is in the processTooltip() function and should look like this after added:

Code:
		-- Wrap all lines that match these texts.
		WrapLongLines(
			tooltip,
			strconcat(L["USE"], ": "),
			[["Commonly found .*%."]],
			[["Commonly obtained .*%."]],
			[["Rarely found .*%."]],
			[["Rarely obtained .*%."]]
		)
		
		self:Tooltip_HideAllTextures(tooltip, true)
		self:Tooltip_FixRightFontStrings(tooltip)
		tooltip:Show()
So far, this looks to fix the issue, although I still don't know the cause. It does happen with no other addons loaded.

*** ANOTHER EDIT ***

I've searched and searched and cannot find any documented change to how GameTooltip works. I really don't know why this bug suddenly manifested itself. I'm not ruling out that it is my fault, but I sure can't find the cause yet.
Last edited by kellewic : 03-08-09 at 05:32 PM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: