GithubHelp home page GithubHelp logo

tekkompare's Introduction

tekKompare is my own personal replacement for EquipCompare and similar addons. It’s super-small, designed to do two things:

  • Give you always-on compare tooltips
  • Show tooltips for links in chat when hovering over them

If you want to disable the hovertips, just delete the HoverTips.lua file.

Links

Visit my site for more great addons
Please report all bugs and feature requests to my Github tracker
Please direct all feedback and questions to my Google Groups mailinglist.

tekkompare's People

Contributors

tekkub avatar arrowmaster avatar

Stargazers

Anders Birkenes avatar  avatar Rick avatar Angus H. avatar db avatar Herb Brewer avatar  avatar  avatar

Watchers

 avatar James Cloos avatar  avatar

tekkompare's Issues

Tooltip overlapping

Using 3.2.0.6-Beta, if you hover over an item in you bag so that the comparison tooltip fits neither on the left side nor on the right side into the screen, the tooltips are overlapping.
Example: http://img19.imageshack.us/img19/9030/wowscrnshot081709225239.jpg
(Also happens if tekKompare is the only active Addon.)

I once had a tooltip comparison Addon (sadly forgot the name) that moved the main tooltip a bit in that cases so the tooltips didn't overlap. Would be good if tekKompare could do this too.

tonumber_all.lua do not load

the tonumber_all.lua file is not loading (at least on windows) due to the following line in the .toc
externals/tonumber_all.lua
it should be
externals\tonumber_all.lua

LUA error 3.2

Not entirely sure if this is a tekKompare issue or a bagnon issue. I tried the lua file dated July 09 as well.

Interface\FrameXML\GameTooltip.lua:126: StatLogicTooltipMoneyFrame1:SetPoint(): Couldn't find region named 'StatLogicTooltipTextLeft11':
Interface\FrameXML\GameTooltip.lua:126: in function SetTooltipMoney': Interface\FrameXML\GameTooltip.lua:88: in functionGameTooltip_OnTooltipAddMoney':
:":OnTooltipAddMoney":1: in function <[string ":OnTooltipAddMoney"]:1>
: in function SetHyperlink' LibStatLogic-1.1-52:12346: in functionGetSum'
RatingBuster-1.4.4 (r$Revision: 226 $)\RatingBuster.lua:2254: in function handler' LibTipHooker-1.1-2:193: in function <...ingBuster\libs\LibTipHooker-1.1\LibTipHooker-1.1.lua:187> <in C code>: in functionSetHyperlinkCompareItem'
tekKompare-3.0.3.5\tekKompare.lua:14: in function <Interface\AddOns\tekKompare\tekKompare.lua:7>
tekKompare-3.0.3.5\tekKompare.lua:41: in function <Interface\AddOns\tekKompare\tekKompare.lua:37>
: ?
Informant-5.5.4293\Libs\LibExtraTip\LibExtraTip.lua:280: in function <...ce\AddOns\Informant\Libs\LibExtraTip\LibExtraTip.lua:276>
: ?
: ?
: ?
: ?
Informant-5.5.4293\Libs\LibExtraTip\LibExtraTip.lua:252: in function SetBagItem' Interface\FrameXML\ContainerFrame.lua:743: in functionContainerFrameItemButton_OnEnter':
Bagnon-2.9.2\components\item.lua:215: in function <Interface\AddOns\Bagnon\components\item.lua:197>

Updating?

Not a bug or problem. Will you be updating this for Cata?

Battlepet hover tooltips

Hi tekkub,

I'd love to see Battlepet tooltips when hovering those links in chat. Unfortunately, Blizzard had to created a whole new concept for those :(

I noticed you like your code clean and simple (which I love) so I'll just suggest my sluggish hackish attempt in here, rather than a pull request.

local linktype, data = link:match("^([^:]+):?([^|]*)")
<snip>
elseif linktype and linktype == "battlepet" then
    data = { strsplit(":", data) }
    for k,v in pairs(data) do
        data[k] = tonumber(v)
    end
    BattlePetToolTip_Show(unpack(data))
end

on enter and

BattlePetTooltip:Hide() 

on leave would do the trick.

Lua error in 3.3.0.7-Release

I'm getting this error when I click an item link and then move the tooltip. After that, the comparison window hides and never shows again.

tekKompare-3.3.0.7\tekKompare.lua:28: attempt to call global 'SetTips' (a nil value)

Seems like the whole function is missing in the file.

tekKompare Gear Click Compare Error

When clicking on a linked piece of gear, the following error will result:

Message: Interface\FrameXML\GameTooltip.lua:286: attempt to index local 'anchorFrame' (a number value)
...
Interface\AddOns\tekKompare\tekKompare.lua:9: in function... tekKompare.lua:8

The error appears to be related to "GameTooltip_ShowCompareItem(self, 1)" and I'm not sure if the second passed param (1) is either needed anymore or needs to be changed. I tried replacing with "true" but this did not fix the problem.

Item Tooltips Display Incorrect Vendor Values

When TekKompare is enabled, all vendor values for items are hugely inflated. For example, an item valued at (and vendored for) 5s47c showed a vendor value of over 21gold. I narrowed it down to TekKompare by disabling all addons, then re-enabling until the error appeared.

Gems and Socket Bonuses

Not sure if this is a bug so much as a feature that hasn't been added that I think would be helpful. I very much support the decision to not take enchants into account since comparing a new item will obviously be behind by whatever enchant is on the current item and the new item will eventually get the same enchant.

However, when comparing a new item (without sockets) to an equipped item (with gems and a socket bonus), I think those stats should be taken into consideration because the new item simply cannot gain those stats.

I guess this may largely be a limitation of the Blizzard UI and/or beyond the scope of the addon, but I think it would be nice.

Current Master version for 3.2 has a typo bug that kills mod

WoW 3.2.0 live, USEnglish client/server, (master) tekkub-tekkompare-361668e9c38105a270d425309a07150cdd17f626.tar.gz download.

Install, log on and mouse over a link, the following error occurs:
["message"] = "tekKompare-Alpha\tekKompare.lua:55: unexpected symbol near 'Ë'\nAddonLoader-2.0\AddonLoader.lua:109: in function `LoadAddOn'\nAddonLoader-2.0\Conditions.lua:124: in function <Interface\AddOns\AddonLoader\Conditions.lua:117>\n\n ---",
["type"] = "error",
["counter"] = 1

Exited, headed into tekKompare.lua, scrolled to line 55, removed the "˝" symbol from the left of the "local _, link = frame:GetItem()" line, saved the file. Log back on, no further issues so far.

Comparison tooltips closing on mouse out

Using 3.2.0.6-Beta, if you open a tooltip from chat (hoverlinks disabled), move the cursor into the main tooltip and then either move the cursor out again or move it over the close button, the comparison tooltips are closed.
Also happens if tekKompare is the only active Addon.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.