Tooltip - LuaTexts

This project is abandoned.

Whether this project is out of date or its author marked it as abandoned, this project is no longer maintained.

If you wish to take this project over, please report it and state your intentions.

Sample tooltip

(former CowTip_LuaText)

Allows to configure the content of unit-tooltips with custom Lua-Codes.

It uses a modified version of PitBull4's LuaText-ScriptEnv.
Some functions were removed.
Some new were added.
Some were modified to better suite for tooltips.

If Cowtip is installed it automatically disables cowtips built-in dogtag-based text-module.

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of rakkarage rakkarage Aug 23, 2010 at 15:11 UTC - 0 likes

    i am not trying to be rude but if you dont believe me or dont understand me i can try to explain better?

    or its intentional that we cant have two data on one line? or put data on left instead of label?

    thank you

  • Avatar of rakkarage rakkarage Aug 13, 2010 at 22:58 UTC - 0 likes

    1. default texts and settings
    2. copy target:right to line1:right beside name
    3. change [return NONE] to [return ''] in target text line 2
        note that whole line including name disappear when mouseover has no target
    4. turn 'Always show texts' on
        note that the Status line shows. even with empty status text. <status:empty> this is ok
        note that the Zone line shows. even with empty zone text. <zone:empty> this is ok
        note that the Talent line shows. even with double empty text. <empty:empty> this is not ok

    to test it you can create two more double empty lines by removing the other two default labels status:left and zone:left, now there are 3 empty lines of text at the bottom of the tooltip (when not afk etc)

    an easy fix would be to always never show double empty
    please and thank you
    cowtip is the best

    Last edited Aug 13, 2010 by rakkarage
  • Avatar of profalbert profalbert Aug 12, 2010 at 21:29 UTC - 0 likes

    The behaviour of the hidden lines with "always show texts" off, is the same as it is for the default-line module (dogtags). So what is the difference between:

    Target: <empty string>


    Status: <empty string>

    Why should Target be hidden and Status not (from the addon's point of view).

    I suppose I could remove some trims, so you could use " " instead of the empty string.

  • Avatar of rakkarage rakkarage Aug 12, 2010 at 21:09 UTC - 0 likes

    in v0.5-beta-1-g594bb60 there is an option to "always show texts"

    i turned it on because my empty target (moved beside name and changed 'NONE' to empty quotes) caused the name to disapear when there was no target

    once this feature is enabled though it seems to show even lines that have no right or left text? because now i have all these extra lines on bottom where i put location and afk etc

    maybe possible to make the check behave like "show text on left, *if it exists*, even if no text on right? or even make that the default? like it is (?) for dogtag texts?

    thanks a lot

  • Avatar of profalbert profalbert Feb 26, 2010 at 01:18 UTC - 0 likes

    It took me some time. But I think I got it now. The format-bug should be gone in v0.4.1-beta-5-gf0d23ed

  • Avatar of profalbert profalbert Jan 03, 2010 at 22:06 UTC - 0 likes

    That one is quite hard to track. I'll try to add some locals to get a better trace.

  • Avatar of Athariel Athariel Jan 03, 2010 at 15:41 UTC - 0 likes

    The 'format' bug is still there:
    Date: 2010-01-03 18:13:23
    ID: 4
    Error occured in: Global
    Count: 44
    Message: ..\AddOns\CowTip_LuaText\LuaText.lua line 86:
       bad argument #3 to 'format' (string expected, got nil)
       ...libs\LibRockModuleCore-1.0\LibRockModuleCore-1.0.lua:400 CallMethodOnAllModules()
       (tail call): ?

    Last edited Jan 03, 2010 by Athariel
  • Avatar of profalbert profalbert Jan 02, 2010 at 01:29 UTC - 0 likes

    This was when a group-member was out of range. This should be fixed in latest alpha.

    Also some other nil-errors should be fixed

  • Avatar of braudrist braudrist Dec 29, 2009 at 15:53 UTC - 0 likes

    Bug report:

    1x cowtip_luatext-v0.4-beta-8-g4da38f4\ScriptEnv.lua:107: bad argument #1 to 'format' (string expected, got nil) CowTip-r68121\CowTip.lua:253: in function <CowTip\CowTip.lua:246> (tail call): ?: <in C code>: ? <in C code>: in function `SetUnit' CowTip-r68121\CowTip.lua:212: in function <CowTip\CowTip.lua:205> <in C code>: ? LibRockTimer-1.0-90232:297: in function <...ns\CowTip\libs\LibRockTimer-1.0\LibRockTimer-1.0.lua:227>

    It only happens when in raids I think.

    Just wanted to report it

  • Avatar of Athariel Athariel Oct 19, 2009 at 05:55 UTC - 0 likes

    I've run into a weird problem recently: cowtip has no idea what am i mousing over, when i mouse over a raid member inside the vehicle, when i don't actually see him. Is that the base addon datamining malfunction or just a problem with luatexts?

    Last edited Oct 20, 2009 by Athariel


Date created
Sep 15, 2009
Last update
Nov 10, 2014
Development stage
All Rights Reserved
Recent files