StarTip
This project is being retired in favor of its successor, StarTip2. This new addon is still in beta, but it already fixes bugs that existed in StarTip the original. http://wow.curseforge.com/addons/startip2/
-
-
StarTip - Tooltips from OuterSpace
Credits:
Huge appreciation goes out to ckknight for a ton of code. If you know CowTip, StarTip is similar. Props to Shefki for LuaTexts.
And many tributes go out to the many library authors whom have written the numerous libraries StarTip's script environment is built upon.
Customization Tips
StarTip provides an environment for your scripts.. This environment provides WoW API functions such as UnitName, UnitLevel, etc... If it's not available, try _G. Also, much of LuaTexts by Shefki is included, but be aware that modifications have been made and elements either removed or added. Also be aware that how you format your return values is incompatible with Pitbull4's implementation. In StarTip you simple return a string that's already formatted.
There are many plugins available. I imagine if you're willing to write an actual Lua script that you won't mind reading code. Go into the Libs folder and click into LibScriptable-1.0. Note all the LibScriptablePlugin* elements. These are what provide StarTip's script environment with functions and other elements.
Check here for a brief tutorial.
StarTip also has LibDogTag support. Just return the dog tag from your script, and click the check mark labeled "Dog Tag" to enable this feature.
Note: If you know of a library that you want to make available in your own scripts. let me know and I'll see about writing a plugin for it.
Bug Reports and Feature Requests
StarTip will take advantage of BugGrabber if it's installed, and will attempt to disable lines that cause errors. Note that the errors are not suppressed.
Report any bugs or feature requests here: StarTip Forum.
Or create a ticket here: StarTip Ticket Tracker
You can also post on the Wowace forum thread.
If you find a bug and you want to revert to a stable version, try the upload on Wowinterface.com
Note: Please write a ticket if you have a back trace: StarTip Ticket Tracker
Note to Translators: You can easily support this project by translating some phrases at either two locations: StarTip and LibScriptable-1.0.
The comments on Curse.com have been disabled. They're too much of a hassle to keep up with and use to communicate with users. There are numerous other options mentioned in this description for filing bug reports, or for simply seeking general help. Try the Wowace.com forums if you're still not sure where to go.
Time: 10/23/10 12:47:12
Count: 1
Stack: [C]: in function `wipe'
Interface\AddOns\StarTip_Bars\Bars.lua:219: in function `ClearBars'
Interface\AddOns\StarTip_Bars\Bars.lua:433: in function `RebuildOpts'
Interface\AddOns\StarTip\StarTip.lua:539: in function `RebuildOpts'
Interface\AddOns\StarTip\StarTip.lua:603: in function `?'
...ns\Bartender4\libs\AceConsole-3.0\AceConsole-3.0.lua:94: in function `?'
Interface\FrameXML\ChatFrame.lua:4106: in function <Interface\FrameXML\ChatFrame.lua:4054>
[C]: in function `ChatEdit_ParseText'
Interface\FrameXML\ChatFrame.lua:3717: in function `ChatEdit_SendText'
Interface\FrameXML\ChatFrame.lua:3755: in function `ChatEdit_OnEnterPressed'
[string "*:OnEnterPressed"]:1: in function <[string "*:OnEnterPressed"]:1>
Locals: (*temporary) = nil
(*temporary) = "table expected, got nil"
ID: 8
Error occured in: Global
Count: 1
Message: ..\AddOns\StarTip_UnitTooltip\UnitTooltip.lua line 585:
attempt to index field 'evaluator' (a nil value)
Debug:
(tail call): ?
[C]: ?
StarTip_UnitTooltip\UnitTooltip.lua:585:
StarTip_UnitTooltip\UnitTooltip.lua:570
StarTip_UnitTooltip\UnitTooltip.lua:1153: SetUnit()
StarTip\StarTip.lua:659:
StarTip\StarTip.lua:633
[C]: ?
AddOns:
Just my oen talents are showing.
Iam using tomquest2 and if i turn on mob tooltip modification the other tooltip addon shows me achievement info, like gritters i loved or not loved yet. missing that in startip.
5x StarTip_Portrait-1.0\Portrait.lua:103: Usage: SetPortraitTexture(texture, "unit")
StarTip_Portrait-1.0\Portrait.lua:103: in function `SetUnit'
StarTip-v1.3.25\StarTip.lua:659: in function <StarTip\StarTip.lua:633>
<in C code>: ?
<in C code>: in function `SetUnit'
PitBull4-v4.0.0-beta15\UnitFrame.lua:346: in function <PitBull4\UnitFrame.lua:341>
Locals:
self =
SetDefaultModuleLibraries = <function> @ Ace3\AceAddon-3.0\AceAddon-3.0.lua:381:
SetItem = <function> @ StarTip_Portrait\Portrait.lua:123:
OnInitialize = <function> @ StarTip_Portrait\Portrait.lua:66:
NewModule = <function> @ Ace3\AceAddon-3.0\AceAddon-3.0.lua:255:
EnableModule = <function> @ Ace3\AceAddon-3.0\AceAddon-3.0.lua:346:
modules =
GetModule = <function> @ Ace3\AceAddon-3.0\AceAddon-3.0.lua:230:
IterateEmbeds = <function> @ Ace3\AceAddon-3.0\AceAddon-3.0.lua:456:
SetUnit = <function> @ StarTip_Portrait\Portrait.lua:100:
defaultModuleLibraries =
toggled = true
text = GameTooltipTextLeft1 {}
SetDefaultModulePrototype = <function> @ Ace3\AceAddon-3.0\AceAddon-3.0.lua:423:
GetOptions = <function> @ StarTip_Portrait\Portrait.lua:96:
name = "Portrait"
model = <unnamed> {}
IsEnabled = <function> @ Ace3\AceAddon-3.0\AceAddon-3.0.lua:465:
DisableModule = <function> @ Ace3\AceAddon-3.0\AceAddon-3.0.lua:364:
IsModule = <function> @ Ace3\AceAddon-3.0\AceAddon-3.0.lua:237:
db =
SetDefaultModuleState = <function> @ Ace3\AceAddon-3.0\AceAddon-3.0.lua:401:
texture = <unnamed> {}
OnDisable = <function> @ StarTip_Portrait\Portrait.lua:88:
enabledState = true
OnHide = <function> @ StarTip_Portrait\Portrait.lua:144:
SetSpell = <function> @ StarTip_Portrait\Portrait.lua:134:
baseName = "StarTip_Portrait"
Enable = <function> @ Ace3\AceAddon-3.0\AceAddon-3.0.lua:313:
IterateModules = <function> @ Ace3\AceAddon-3.0\AceAddon-3.0.lua:451:
GetName = <function> @ Ace3\AceAddon-3.0\AceAddon-3.0.lua:298:
SetEnabledState = <function> @ Ace3\AceAddon-3.0\AceAddon-3.0.lua:438:
OnEnable = <function> @ StarTip_Portrait\Portrait.lua:74:
moduleName = "Portrait"
defaultModuleState = true
Disable = <function> @ Ace3\AceAddon-3.0\AceAddon-3.0.lua:328:
}
StarTip =
OnTooltipSetSpell = <function> @ StarTip\StarTip.lua:676:
RebuildOpts = <function> @ StarTip\StarTip.lua:536:
opposites =
UNIT_RAID_GROUPS =
EnableModule = <function> @ Ace3\AceAddon-3.0\AceAddon-3.0.lua:346:
modules =
copy = <function> @ StarTip\StarTip.lua:311:
GameTooltipHide = <function> @ StarTip\StarTip.lua:694:
UnregisterComm = <function> @ Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:181:
MODIFIER_STATE_CHANGED = <function> @ StarTip\StarTip.lua:832:
Printf = <function> @ Ace3\AceConsole-3.0\AceConsole-3.0.lua:69:
SetDefaultModulePrototype = <function> @ Ace3\AceAddon-3.0\AceAddon-3.0.lua:423:
rightLines =
OnTooltipShow = <function> @ StarTip\StarTip.lua:778:
GetMouseoverUnit = <function> @ StarTip\StarTip.lua:822:
defaultModuleState = false
IsEnabled = <function> @ Ace3\AceAddon-3.0\AceAddon-3.0.lua:465:
ScheduleTimer = <function> @ Ace3\AceTimer-3.0\AceTimer-3.0.lua:276:
DisableModule = <function> @ Ace3\AceAddon-3.0\AceAddon-3.0.lua:364:
GetLSMIndexByName = <function> @ StarTip\StarTip.lua:803:
RegisterMessage = <function> @ Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:118:
UnregisterMessage = <function> @ Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:181:
unit = false
IsHooked = <functi
1x StarTip_Portrait-1.0\Portrait.lua:31: attempt to index global 'model' (a nil value)
(tail call): ?:
<in C code>: ?
<string>:"safecall Dispatcher[2]":9: in function <[string "safecall Dispatcher[2]"]:5>
(tail call): ?:
AceConfigDialog-3.0-50:797: in function <...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:612>
(tail call): ?:
<in C code>: ?
<string>:"safecall Dispatcher[3]":9: in function <[string "safecall Dispatcher[3]"]:5>
(tail call): ?:
AceGUI-3.0-33 (AddonManage):314: in function `Fire'
...er4\libs\AceGUI-3.0\widgets\AceGUIWidget-EditBox.lua:69: in function <...er4\libs\AceGUI-3.0\widgets\AceGUIWidget-EditBox.lua:66>:
ID: 11
Error occured in: Global
Count: 1
Message: ..\AddOns\StarTip_Texts\Texts.lua line 385:
bad argument #1 to 'pairs' (table expected, got nil)
Debug:
(tail call): ?
(tail call): ?
[C]: pairs()
StarTip_Texts\Texts.lua:385: ClearTexts()
StarTip_Texts\Texts.lua:551: RebuildOpts()
StarTip\StarTip.lua:539: RebuildOpts()
StarTip\StarTip.lua:603: OpenConfig()
StarTip\StarTip.lua:404:
StarTip\StarTip.lua:404
(tail call): ?
[C]: ?
[string "safecall Dispatcher[3]"]:9:
[string "safecall Dispatcher[3]"]:5
(tail call): ?
...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:797:
...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:612
(tail call): ?
[C]: ?
[string "safecall Dispatcher[4]"]:9:
[string "safecall Dispatcher[4]"]:5
(tail call): ?
Ace3\AceGUI-3.0\AceGUI-3.0.lua:314: Fire()
...dOns\Ace3\AceGUI-3.0\widgets\AceGUIWidget-Button.lua:21:
...dOns\Ace3\AceGUI-3.0\widgets\AceGUIWidget-Button.lua:19
AddOns:
Swatter, v3.1.15 (<%codename%>)
Ace3, v
Atlas, v1.17.2
AtlasBattlegrounds, v1.17.2
AtlasDungeonLocs, v1.17.2
AtlasOutdoorRaids, v1.17.2
AtlasTransportation, v1.17.2
AtlasLoot, vv5.11.07
AtlasLootFu, vv5.11.07
Babylonian, v5.1.DEV.130
Bagnon, v2.14.0
BagnonConfig, v
BagnonForever, v1.1.2
BagnonTooltips, v
BigBrother, v3.1.0
BigWigs, v3.23
BonusScanner, v5.3.1
Chinchilla, vv2.2.1
Configator, v5.1.DEV.278
DBMCore, v
Decursive, v2.5.2.1
DimmedActions, vv1.4.4beta
Dominos, v1.19.7
DominosCast, v
DominosConfig, v
DominosRoll, v
DominosTotems, v
DominosXP, v
EnsidiaFails, v
Expiration2, v2.0.2-beta
Gatherer, v3.1.15
GathererHUD, v3.1.15
GathererDBWowhead, v1.0.2009-12-09
GearScore, v3.1.20 - Release
HealBot, v4.0.1.1
InviteMe, v40000.1
MinimapButtonFrame, v3.1.3
MinimapButtonFrameSkinPack, v3.0
Omen, v3.0.11
oRA3, v
Prat30, v3.4.6
Prat30HighCPUUsageModules, v
Prat30Libraries, v
Recount, v
sct, v6.2
SlideBar, v3.1.15 (<%codename%>)
StarTip, vv1.3.25
StarTipAppearance, v1.0
StarTipBars, v1.0
StarTipFade, v1.0
StarTipGestures, v1.0
StarTipHistograms, v1.0
StarTipIcons, v1.0
StarTipPortrait, v1.0
StarTipPosition, v1.0
StarTipPvP, v1.0
StarTipRaidIcon, v1.0
StarTipTargeting, v1.0
StarTipTexts, v1.0
StarTipUnitTooltip, v1.0
Vamp, v1.0
VludsQuickLootDistroLookup, v4.00.017
WebDKP, v3.1
XPerl, v3.1.0 Beta 4
XPerlArcaneBar, v
XPerlParty, v
XPerlPartyPet, v
XPerlPlayer, v
XPerlPlayerBuffs, v
XPerlPlayerPet, v
XPerlTarget, v
XPerlTargetTarget, v
BlizRuntimeLib_esES v4.0.1.40000 <eu>
(ck=66a)
ID: 10
Error occured in: Global
Count: 1
Message: ..\AddOns\StarTip_UnitTooltip\UnitTooltip.lua line 585:
attempt to index field 'evaluator' (a nil value)
Debug:
(tail call): ?
[C]: ?
StarTip_UnitTooltip\UnitTooltip.lua:585:
StarTip_UnitTooltip\UnitTooltip.lua:570
StarTip_UnitTooltip\UnitTooltip.lua:1153: SetUnit()
StarTip\StarTip.lua:659:
StarTip\StarTip.lua:633
[C]: ?
AddOns:
Swatter, v3.1.15 (<%codename%>)
Ace3, v
Atlas, v1.17.2
AtlasBattlegrounds, v1.17.2
AtlasDungeonLocs, v1.17.2
AtlasOutdoorRaids, v1.17.2
AtlasTransportation, v1.17.2
AtlasLoot, vv5.11.07
AtlasLootFu, vv5.11.07
Babylonian, v5.1.DEV.130
Bagnon, v2.14.0
BagnonForever, v1.1.2
BagnonTooltips, v
BigBrother, v3.1.0
BigWigs, v3.23
BonusScanner, v5.3.1
Chinchilla, vv2.2.1
Configator, v5.1.DEV.278
DBMCore, v
Decursive, v2.5.2.1
DimmedActions, vv1.4.4beta
Dominos, v1.19.7
DominosCast, v
DominosRoll, v
DominosTotems, v
DominosXP, v
EnsidiaFails, v
Expiration2, v2.0.2-beta
Gatherer, v3.1.15
GathererHUD, v3.1.15
GathererDBWowhead, v1.0.2009-12-09
GearScore, v3.1.20 - Release
HealBot, v4.0.1.1
InviteMe, v40000.1
MinimapButtonFrame, v3.1.3
MinimapButtonFrameSkinPack, v3.0
Omen, v3.0.11
oRA3, v
Prat30, v3.4.6
Prat30HighCPUUsageModules, v
Prat30Libraries, v
Recount, v
sct, v6.2
SlideBar, v3.1.15 (<%codename%>)
StarTip, vv1.3.25
StarTipAppearance, v1.0
StarTipBars, v1.0
StarTipFade, v1.0
StarTipGestures, v1.0
StarTipHistograms, v1.0
StarTipIcons, v1.0
StarTipPortrait, v1.0
StarTipPosition, v1.0
StarTipPvP, v1.0
StarTipRaidIcon, v1.0
StarTipTargeting, v1.0
StarTipTexts, v1.0
StarTipUnitTooltip, v1.0
Vamp, v1.0
VludsQuickLootDistroLookup, v4.00.017
WebDKP, v3.1
XPerl, v3.1.0 Beta 4
XPerlArcaneBar, v
XPerlParty, v
XPerlPartyPet, v
XPerlPlayer, v
XPerlPlayerBuffs, v
XPerlPlayerPet, v
XPerlTarget, v
XPerlTargetTarget, v
BlizRuntimeLib_esES v4.0.1.40000 <eu>
(ck=645)
I ended up with this, through trial and error:
local r, g, b
if UnitIsPlayer(unit) then
r, g, b = ClassColor(unit)
else
r, g, b = UnitSelectionColor(unit)
end
return Colorize(GetUnitTooltipStats(unit), r, g, b)
My problem now is, that this code only works if I put it into the right column, if I put it into the left, nothing is shown.
Thank you for this addon btw :)
Date: 2010-10-20 23:30:07
ID: 373
Error occured in: Global
Count: 1
Message: ..\AddOns\StarTip_Texts\Texts.lua line 386:
bad argument #1 to 'pairs' (table expected, got nil)
Debug:
(tail call): ?
[C]: pairs()
StarTip_Texts\Texts.lua:386: ClearTexts()
StarTip_Texts\Texts.lua:552: RebuildOpts()
StarTip\StarTip.lua:539: RebuildOpts()
StarTip\StarTip.lua:603: OpenConfig()
StarTip\StarTip.lua:404:
StarTip\StarTip.lua:404
(tail call): ?
[C]: ?
[string "safecall Dispatcher[3]"]:9:
[string "safecall Dispatcher[3]"]:5
(tail call): ?
...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:797:
...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:612
(tail call): ?
[C]: ?
[string "safecall Dispatcher[4]"]:9:
[string "safecall Dispatcher[4]"]:5
(tail call): ?
Ace3\AceGUI-3.0\AceGUI-3.0.lua:314: Fire()
...dOns\Ace3\AceGUI-3.0\widgets\AceGUIWidget-Button.lua:21:
...dOns\Ace3\AceGUI-3.0\widgets\AceGUIWidget-Button.lua:19
And as soon as I hover a NPC or player I get the following:
Date: 2010-10-20 23:25:51
ID: 372
Error occured in: Global
Count: 1
Message: ..\AddOns\StarTip_UnitTooltip\UnitTooltip.lua line 585:
attempt to index field 'evaluator' (a nil value)
Debug:
[C]: ?
StarTip_UnitTooltip\UnitTooltip.lua:585:
StarTip_UnitTooltip\UnitTooltip.lua:570
StarTip_UnitTooltip\UnitTooltip.lua:1153: SetUnit()
StarTip\StarTip.lua:659:
StarTip\StarTip.lua:633
[C]: ?
[C]: ?
TY!!
Message: ...Texts-1.0\LibScriptableDisplayPluginLuaTexts-1.0.lua:369: attempt to index local 'L' (a nil value)
Time: 10/20/10 22:40:42
Count: 1
Stack: ...Texts-1.0\LibScriptableDisplayPluginLuaTexts-1.0.lua:369: in main chunk
Locals: MAJOR = "LibScriptableDisplayPluginLuaTexts-1.0"
MINOR = 14
PluginLuaTexts =
GetBestUnitID = <function> defined @Interface\AddOns\StarTip\Libs\LibScriptableDisplay-1.0\LibScriptableDisplayPluginLuaTexts-1.0\LibScriptableDisplayPluginLuaTexts-1.0.lua:260
IsValidClassification = <function> defined @Interface\AddOns\StarTip\Libs\LibScriptableDisplay-1.0\LibScriptableDisplayPluginLuaTexts-1.0\LibScriptableDisplayPluginLuaTexts-1.0.lua:303
IsWackyUnitGroup = <function> defined @Interface\AddOns\StarTip\Libs\LibScriptableDisplay-1.0\LibScriptableDisplayPluginLuaTexts-1.0\LibScriptableDisplayPluginLuaTexts-1.0.lua:325
IsSingletonUnitID = <function> defined @Interface\AddOns\StarTip\Libs\LibScriptableDisplay-1.0\LibScriptableDisplayPluginLuaTexts-1.0\LibScriptableDisplayPluginLuaTexts-1.0.lua:278
timerframe = <unnamed> {
}
__index =
}
New = <function> defined @Interface\AddOns\StarTip\Libs\LibScriptableDisplay-1.0\LibScriptableDisplayPluginLuaTexts-1.0\LibScriptableDisplayPluginLuaTexts-1.0.lua:28
}
PluginUtils =
BetterUnitClassification = <function> defined @Interface\AddOns\StarTip\Libs\LibScriptableDisplay-1.0\LibScriptableDisplayPluginUtils-1.0\LibScriptableDisplayPluginUtils-1.0.lua:282
Memcopy = <function> defined @Interface\AddOns\StarTip\Libs\LibScriptableDisplay-1.0\LibScriptableDisplayPluginUtils-1.0\LibScriptableDisplayPluginUtils-1.0.lua:353
Split = <function> defined @Interface\AddOns\StarTip\Libs\LibScriptableDisplay-1.0\LibScriptableDisplayPluginUtils-1.0\LibScriptableDisplayPluginUtils-1.0.lua:367
ResizeList = <function> defined @Interface\AddOns\StarTip\Libs\LibScriptableDisplay-1.0\LibScriptableDisplayPluginUtils-1.0\LibScriptableDisplayPluginUtils-1.0.lua:341
GetMobIDFromGuid = <function> defined @Interface\AddOns\StarTip\Libs\LibScriptableDisplay-1.0\LibScriptableDisplayPluginUtils-1.0\LibScriptableDisplayPluginUtils-1.0.lua:263
IsWackyUnitGroup = <function> defined @Interface\AddOns\StarTip\Libs\LibScriptableDisplay-1.0\LibScriptableDisplayPluginUtils-1.0\LibScriptableDisplayPluginUtils-1.0.lua:170
IsSingletonUnitID = <function> defined @Interface\AddOns\StarTip\Libs\LibScriptableDisplay-1.0\LibScriptableDisplayPluginUtils-1.0\LibScriptableDisplayPluginUtils-1.0.lua:123
Intersect = <function> defined @Interface\AddOns\StarTip\Libs\LibScriptableDisplay-1.0\LibScriptableDisplayPluginUtils-1.0\LibScriptableDisplayPluginUtils-1.0.lua:423
New = <function> defined @Interface\AddOns\StarTip\Libs\LibScriptableDisplay-1.0\LibScriptableDisplayPluginUtils-1.0\LibScriptableDisplayPluginUtils-1.0.lua:18
ResizeText = <function> defined @Interface\AddOns\StarTip\Libs\LibScriptableDisplay-1.0\LibScriptableDisplayPluginUtils-1.0\LibScriptableDisplayPluginUtils-1.0.lua:319
GetCoords = <function> defined @Interface\AddOns\StarTip\Libs\LibScriptableDisplay-1.0\LibScriptableDisplayPluginUtils-1.0\LibScriptableDisplayPluginUtils-1.0.lua:360
ReplaceTable = <function> defined @Interface\AddOns\StarTip\Libs\LibScriptableDisplay-1.0\LibScriptableDisplayPluginUtils-1.0\LibScriptableDisplayPluginUtils-1.0.lua:349
GetBestUnitID = <function> defined @Interface\AddOns\StarTip\Libs\LibScriptableDisplay-1.0\LibScriptableDisplayPluginUtils-1.0\LibScriptableDisplayPluginUtils-1.0.lua:105
IsValidClassification = <function> defined @Interface\AddOns\StarTip\Libs\LibScriptableDisplay-1.0\LibScriptableDisplayPluginUtils-1.0\LibScriptableDisplayPluginUtils-1.0.lua:148
GetLocalizedClassification = <function> defined @Interface\AddOns\StarTip\Libs\LibScriptableDisplay-1.0\LibScriptableDisplayPluginUtils-1.0\LibScriptableDisplayPluginUtils-1.0.lua:226
ConvertMethodToFunction = <function> defined @Interface\AddOns\StarTip\Libs\LibScriptableDisplay-1.0\LibScriptableDisplayP
(10/20/10 16:10:38)LibScriptableDisplayWidgetGestures-1.0: Hide Tooltip:: Execute
after that addon does not work at all..