Tooltip - LuaTexts
(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.
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
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
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>
and
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.
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
If you feel that some function should be included create a Ticket.
If I add any custom text at all, my tooltip shows only player name and ignores all other lines, regardless of wether I changed the code for that line or not. (e.g i change the code for Target in line 3, the Guild info in line 2 disappears)
Umm how do I include stuff like "Rare"...or "Elite" and etc? I did try reading the help files, but I couldn't find syntax for err...wtv "Rare" and etc are belonging to.
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
1x CowTip_LuaText-v0.4.1-beta\LuaText.lua:86: bad argument #3 to 'format' (string expected, got nil)
CowTip-r68121\CowTip.lua:253: in function <CowTip\CowTip.lua:246>
(tail call): ?:
(tail call): ?:
(tail call): ?:
(tail call): ?:
That one is quite hard to track. I'll try to add some locals to get a better trace.
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)
Debug:
...libs\LibRockModuleCore-1.0\LibRockModuleCore-1.0.lua:400 CallMethodOnAllModules()
CowTip\CowTip.lua:239
CowTip\CowTip.lua:229
CowTip\CowTip.lua:253
CowTip\CowTip.lua:246
(tail call): ?
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
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
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?
ID: 2
Error occured in: Global
Count: 1
Message: ..\AddOns\cowtip_luatext\LuaText.lua line 427:
attempt to index local 'left_2' (a nil value)
Debug:
(tail call): ?
...libs\LibRockModuleCore-1.0\LibRockModuleCore-1.0.lua:400: CallMethodOnAllModules()
CowTip\CowTip.lua:239:
CowTip\CowTip.lua:229
CowTip\CowTip.lua:253:
CowTip\CowTip.lua:246
(tail call): ?
(tail call): ?
(tail call): ?
QuestHelper\manager_event.lua:43:
QuestHelper\manager_event.lua:25
QuestHelper\manager_event.lua:163:
QuestHelper\manager_event.lua:163
AddOns:
Swatter, v5.6.4424 (KangaII)
AckisRecipeList, v1.0 2501
ACP, v3.2.0.20
Altoholic, v3.2.002b
AtlasLoot, vv5.08.04
AucAdvanced, v5.6.4424 (KangaII)
AucDb, v5.1.DEV.3583
AucFilterBasic, v5.6.4424 (KangaII)
AucFilterOutlier, v5.6.4424.2531
AucMatchUndercut, v5.6.4424.2531
AucStatClassic, v5.6.4424 (KangaII)
AucStatHistogram, v5.6.4424 (KangaII)
AucStatiLevel, v5.6.4424 (KangaII)
AucStatPurchased, v5.6.4424 (KangaII)
AucStatSales, v5.6.4424.2842
AucStatSimple, v5.6.4424 (KangaII)
AucStatStdDev, v5.6.4424 (KangaII)
AucStatWOWEcon, v5.6.4424.2530
AucUtilAHWindowControl, v5.6.4424.3311
AucUtilAppraiser, v5.6.4424.2530
AucUtilAskPrice, v5.6.4424.3175
AucUtilAutoMagic, v5.6.4424.3142
AucUtilCompactUI, v5.6.4424.2530
AucUtilEasyBuyout, v5.6.4424.3583
AucUtilFixAH, v5.6.4424 (KangaII)
AucUtilItemSuggest, v5.6.4424.3108
AucUtilPriceLevel, v5.6.4424.2545
AucUtilScanButton, v5.6.4424.2530
AucUtilScanFinish, v5.6.4424.2530
AucUtilScanProgress, v5.6.4424.2530
AucUtilSearchUI, v5.6.4424.3655
AucUtilSimpleAuction, v5.6.4424.0
AucUtilVendMarkup, v5.6.4424.2530
Babylonian, v5.1.DEV.130
Bartender4, v4.4.1
BeanCounter, v5.6.4424 (KangaII)
BonusScanner, v5.2
BrokerBonusScanner, v1.2
BrokerRaidSave, v1.6
BrokerRecountStats, vv1.72
Cartographer, v2.0
CartographerBattlegrounds, v2.0
CartographerFoglight, v2.0
CartographerGroupColors, v2.0
CartographerGuildPositions, v2.0
CartographerInstanceLoot, v2.0
CartographerInstanceMaps, v2.0
CartographerInstanceNotes, v2.0
CartographerLookNFeel, v2.0
CartographerNotes, v2.0
CartographerPOI, v2.0
CartographerWaypoints, v2.0
CartographerZoneInfo, v2.0
Configator, v5.1.DEV.130
CowTip, v
cowtipluatext, v
Critline, v2.2.2
DataStore, v3.2.002b
DataStoreAchievements, v3.2.002
DataStoreAuctions, v3.2.002
DataStoreCharacters, v3.2.002
DataStoreContainers, v3.2.002
DataStoreCrafts, v3.2.002
DataStoreCurrencies, v3.2.002
DataStoreInventory, v3.2.002
DataStoreMails, v3.2.002
DataStorePets, v3.2.002
DataStoreQuests, v3.2.002
DataStoreReputations, v3.2.002
DataStoreSkills, v3.2.002
DataStoreSpells, v3.2.002
DataStoreStats, v3.2.002
DataStoreTalents, v3.2.002
DBMBurningCrusade, v
DBMCore, v
DBMLDB, v
DebugLib, v5.1.DEV.130
DKIDiseases, v
DKIRunes, v
DoTimer, v4.3.6
DoubleWideTradeSkills, vv0.1
DrDamage, v1.7.1_beta-2
EasyPoisons, v30100.01
Enchantrix, v5.6.4424 (KangaII)
EnchantrixBarker, v5.6.4424 (KangaII)
Examiner, v09.08.13
FishingBuddy, v0.9.8b
Gladius, vv1.0.2
GroupCalendar5, v5.0b10
HonorView, v2.1
Informant, v5.6.4424 (KangaII)
MikScrollingBattleText, v5.4.66
Omen, v3.0.8
OneBag3, vv3.3.10
OneBank3, vv3.3.6
OneRing3, vv3.2.5
oRA2, v2.0.$Revision: 666 $
Outfitter, v4.8
PawnRU, v1.2.5
Poisoner, v3.0
Postal, v3.2.2
Prat30, v3.2.4
Prat30Libraries, v
PreformAVEnabler, v2.42
QuestHelper, v1.1.21
RatingBuster, v
Recount, v
RogueFocus, v1.3.0
RoguePowerBars, v
SexyMap, v
SharedMedia, v3.0.1-177
SlideBar, v5.6.4424 (KangaII)
SpellAlerter, v2.05
Stubby, v5.6.4424 (KangaII)
Talented, vv2.4.3-release
TalentedSpecTabs, vv2.4.3-release
Titan, v4.3.0.30200 - Revision 316
TitanAmmo, v4.3.0.30200
TitanBag, v4.3.0.30200
TitanClock, v4.3.0.30200
TitanCoords, v4.3.0.30200
TitanGoldTracker, v4.3.0.30200
TitanGuild, v3.6e
TitanHonor, v1.0
TitanLootType, v4.3.0.30200
TitanPerformance, v4.3.0.30200
TitanRegen, v4.3.0.30200
TitanRepair, v4.3.0.30200
TitanVolume, v4.3.0.30200
TitanWG, v1.1.5.30200
TitanXP, v4.3.0.30200
VanasKoS, v4.21-$Rev: 427 $
WowLua, v32
XPerl, v3.0.6
XPerlArcaneBar, v
XPerlParty, v
XPerlPlayer, v
XPerlPlayerBuffs, v
XPerlPlayerPet, v
XPerlRaidAdmin, v
XPerlRaidFrames, v
XPerlRaidHelper, v
XPerlTarget, v
XPerlTargetTarget, v
BlizRuntimeLib_ruRU v3.2.2.30200 <eu>
(ck=f5c)