Go to Page... |
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 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
Comment Options |
smedeley |
View Public Profile |
Send a private message to smedeley |
Find More Posts by smedeley |
Add smedeley to Your Buddy List |
03-08-09, 07:58 PM | ||
|
|
|
|
kellewic |
View Public Profile |
Send a private message to kellewic |
Find More Posts by kellewic |
Add kellewic to Your Buddy List |
03-08-09, 11:31 PM | |
A Kobold Labourer
Forum posts: 1
File comments: 17
Uploads: 0
|
I think you've nailed it. Made both changes (though I've never seen that "arithmetic on string" error either) and after an hour+ of hard leveling with frequent mouse scrubbing (which always caused an error pretty quickly before), I've not seen a single tooltip glitch, from GS2, DrDamage, Recount, or the standard skills.
As for the way the /run command moved the tooltip to the right position, and then it moved back... doesn't OnShow() tick once a second or maybe faster? To support dynamic content like timers, etc.? Sounds like the addon displayed the tooltip with the glitch, the /run updated it to be without the glitch, and then the addon ticked and redisplayed it with the glitch again. It may well be that this started with 3.09. I know I never saw this when testing in January, so it started after your 1-30 release. I'd thought it might be tied to an Auctioneer update, but it does make sense that it's some kind of client LUA bug, since it's so random and inconsistent despite the fixed and static addon code.
Last edited by RHuebner : 03-09-09 at 12:55 AM.
|
|
RHuebner |
View Public Profile |
Send a private message to RHuebner |
Find More Posts by RHuebner |
Add RHuebner to Your Buddy List |
03-08-09, 11:48 PM | ||
|
Same happens if you keep the mouse over the mob when it dies... when the tooltip changes to show the target is skinnable, GS2 does not pick this up since it operates via catching the OnShow() event. Again, if you mouse out then back in, the tooltip shows up appropriately. I think the game itself updates the tooltip in the background dynamically without ever kicking off OnShow()... I suspect it might kick off OnUpdate(), but every time I try to hook this, it ends up very badly, especially if I change the tooltip in the OnUpdate(). This method fires so often, it can really corrupt the tooltip if special attention is not made and there is no way to know what other mods are firing via OnUpdate and in what order. I can't see anything hooking OnUpdate() that would cause this issue since my fix simply re-positions the right FontStrings before GameTooltip:Show() is called and that is right before the tooltip is shown... GameTooltip:Show() is simply a way to tell the engine to re-layout the tooltip before showing it (resizing, etc). I can only attribute this to some change in how the game handles the tooltip. Since this seems to be fixed, I am posting the new version...
Last edited by kellewic : 03-09-09 at 12:22 AM.
|
|
|
kellewic |
View Public Profile |
Send a private message to kellewic |
Find More Posts by kellewic |
Add kellewic to Your Buddy List |
04-07-09, 08:06 AM | |
|
I am getting the following error with version 2009-03-08
Code:
GatherSage2-2009-03-08\GS2_Main.lua:457: attempt to compare string with number GatherSage2-2009-03-08\GS2_Main.lua:634: in function `ProcessTooltip' GatherSage2-2009-03-08\GS2_Main.lua:265: in function <Interface\AddOns\GatherSage2\GS2_Main.lua:251> Examples: Mosshoof Runner Ironfur Bear etc. After it breaks on one of those, more and more tooltips start showing the problem, but I *think* it always starts with such mobs.
Last edited by Dridzt : 04-07-09 at 05:04 PM.
|
|
Dridzt |
View Public Profile |
Send a private message to Dridzt |
Find More Posts by Dridzt |
Add Dridzt to Your Buddy List |
04-07-09, 08:26 PM | ||
|
I ran into the same error that someone posted before and the code that runs fine in most instances, for some reason simply breaks so it seems I will likely have to add another tonumber() conversion on both vars to force them to numbers (even though they should already be numbers). The baffling part is this code is run on every object GatherSage2 knows about regardless of if it is a mob, a plant, a mine, etc so it stands to reason it should break every time. If you could do a test I would appreciate it... change GS2_Main.lua line 457 from: Code:
if (skillLevel < n) then Code:
if (tonumber(skillLevel) < tonumber(n)) then Thanks. |
|
|
kellewic |
View Public Profile |
Send a private message to kellewic |
Find More Posts by kellewic |
Add kellewic to Your Buddy List |
04-14-09, 09:51 PM | |
|
New version
Nothing real huge in this update:
Nothing really broke for 3.1 but I bumped to TOC file in case anyone doesn't load outdated mods. |
|
kellewic |
View Public Profile |
Send a private message to kellewic |
Find More Posts by kellewic |
Add kellewic to Your Buddy List |
04-17-09, 04:06 PM | |
A Kobold Labourer
Forum posts: 0
File comments: 153
Uploads: 0
|
not hooking properly
when out in he baisin farming saronite ..at some point when i hover over a nod i get a hooking error and the mod shuts down \Addons\Sagegather2\GS2_Main.lua line 458: attempt to compare nil with number
Last edited by lewal : 04-17-09 at 06:50 PM.
|
|
lewal |
View Public Profile |
Send a private message to lewal |
Find More Posts by lewal |
Add lewal to Your Buddy List |
04-17-09, 09:20 PM | ||
|
Re: not hooking properly
Will post a new version this weekend to allow for some debugging. I don't see these errors at all so I will have to rely on users to help me pinpoint this problem. |
|
|
kellewic |
View Public Profile |
Send a private message to kellewic |
Find More Posts by kellewic |
Add kellewic to Your Buddy List |
05-16-09, 04:59 PM | |
|
Is there anyway possible to add when you mouse over fish that you could add where they are fished at
|
|
tednik |
View Public Profile |
Send a private message to tednik |
Find More Posts by tednik |
Add tednik to Your Buddy List |
05-30-09, 12:04 PM | ||
|
|
|
|
kellewic |
View Public Profile |
Send a private message to kellewic |
Find More Posts by kellewic |
Add kellewic to Your Buddy List |
06-08-09, 12:17 AM | ||
|
Re: Re: not hooking properly
Any News on fixing this? I looked at the entry in mining.lua for Saronite Deposit and the numbers are all there for the item references so i don't know why
458: if (level < tonumber(n)) then is causing an error. .... took another look and i think the error is here: 471: local function GetSkillLevelAndParent(skillName) not the function declaration but the process of getting the skill level, i think that the mod is erroring finding the skill level and comparing it against the array of numbers in ["skill"] array for the SARONITE (note: i have had this error crop up on more than just saronite)
|
|
|
Grim Notepad |
View Public Profile |
Send a private message to Grim Notepad |
Find More Posts by Grim Notepad |
Add Grim Notepad to Your Buddy List |
06-12-09, 09:55 AM | ||
|
Re: Re: Re: not hooking properly
I have looked at it many times and I cannot reproduce the error. I can add more checks to make sure everything is there, but there is no reason why that error should exist at all.
I am planning to make other changes today so I will revisit this and add as many checks as I can to try to prevent this.
|
|
|
kellewic |
View Public Profile |
Send a private message to kellewic |
Find More Posts by kellewic |
Add kellewic to Your Buddy List |
06-25-09, 02:56 PM | |
|
New version
I uploaded a new version. There is no real new functionality only cleanup of code and adding more checks to avoid some reported Lua errors.
The only thing that is new is a Debugging tab in the options GUI. If you want to enable more aggressive code checks for some reported Lua errors, set the log level to DEBUG. This is off by default (set to INFO). Since I can't reproduce the errors reported, I haven't really been able to test the effectiveness of this -- feedback would be appreciated. I also added a stub module for Fishing I will try to work on more as it was requested. Not sure when I will get to it actually due to work and raid schedule. |
|
kellewic |
View Public Profile |
Send a private message to kellewic |
Find More Posts by kellewic |
Add kellewic to Your Buddy List |
07-11-09, 07:01 AM | |
|
Error
Hi,
I get the following error when fishing and I catch a fish: Date: 2009-07-11 08:49:40 ID: 1 Error occured in: Global Count: 1 Message: ..\AddOns\GatherSage2\GS2_Event.lua line 97: attempt to perform arithmetic on a nil value Debug: (tail call): ? GatherSage2\GS2_Event.lua:97: ?() ...Ons\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:146: ...Ons\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:146 [string "safecall Dispatcher[12]"]:4: [string "safecall Dispatcher[12]"]:4 [C]: ? [string "safecall Dispatcher[12]"]:13: ?() ...Ons\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:91: Fire() Ace3\AceEvent-3.0\AceEvent-3.0.lua:70: Ace3\AceEvent-3.0\AceEvent-3.0.lua:69 Thanks, Twidget |
|
Twidget |
View Public Profile |
Send a private message to Twidget |
Find More Posts by Twidget |
Add Twidget to Your Buddy List |