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.
Try something like this in LibScriptableDisplayPluginLuaTexts:482:
local function Guild(unit)
local guildName
guildName = select(2, PluginUnitTooltipStats.GetUnitTooltipStats(unit))
if not guildName then
guildName = select(1, GetGuildInfo(unit))
end
return guildName
end
Call using return Guild(unit)
Npc guild tags can still fall off, but player guilds will always show. This because LibScriptableDisplayPluginUnitTooltipStats crashes when there is no tooltip to parse, and there isn't an easy way to reinitialize it.
Hope this helps someone.
Date: 2010-11-09 06:33:32
ID: 1
Error occured in: Global
Count: 4
Message: [string "Main Name (requires Chatter) right"] line 1:
attempt to call method 'Stop' (a nil value)
Debug:
[C]: Stop()
[string "Main Name (requires Chatter) right"]:1: runnable()
...yEvaluator-1.0\LibScriptableDisplayEvaluator-1.0.lua:132: ExecuteCode()
StarTip_UnitTooltip\UnitTooltip.lua:627:
StarTip_UnitTooltip\UnitTooltip.lua:617
StarTip_UnitTooltip\UnitTooltip.lua:1215: SetUnit()
StarTip\StarTip.lua:672:
StarTip\StarTip.lua:646
[C]: ?
AddOns:
Swatter, v5.9.4961 (WhackyWallaby)
Ace3, v
AutoRepair, v
Bagnon, v2.14.0
BagnonForever, v1.1.2
BagnonTooltips, v
Bartender4, v4.4.13
caelLib, v
caelMedia, v
caelNamePlates, v
ComboPointsRedux, v2.1.0
DBMCore, v
DoomCooldownPulse, v
DXELoader, v
ElkBuffBars, v2.3.0-160
ErrorMonster, v3
Grid, vr1393
MikScrollingBattleText, v5.5.91
Omen, v3.0.11
OmniCC, v3.1.4
PitBull4, vv4.0.0-beta17
PitBull4Aggro, vv4.0.0-beta17
PitBull4Aura, vv4.0.0-beta17
PitBull4HealthBar, vv4.0.0-beta17
PitBull4HideBlizzard, vv4.0.0-beta17
PitBull4HostilityFader, vv4.0.0-beta17
PitBull4LeaderIcon, vv4.0.0-beta17
PitBull4LuaTexts, vv4.0.0-beta17
PitBull4MasterLooterIcon, vv4.0.0-beta17
PitBull4PowerBar, vv4.0.0-beta17
PitBull4QuestIcon, vv4.0.0-beta17
PitBull4RaidTargetIcon, vv4.0.0-beta17
PitBull4RangeFader, vv4.0.0-beta17
PitBull4ReadyCheckIcon, vv4.0.0-beta17
PitBull4RestIcon, vv4.0.0-beta17
PitBull4RoleIcon, vv4.0.0-beta17
PitBull4Sounds, vv4.0.0-beta17
PitBull4VisualHeal5, vv4.0.0-beta17
Poisoner, v3.4
Postal, v3.4.4
Prat30, v3.4.10
Prat30Libraries, v
Proculas, v2.0-beta4
Quartz, v3.0.4
Recount, v
RoguePowerBars, v4.0.1.1
simpleMinimap, v40000-3
StarTip, vv1.3.48
StarTipAppearance, v1.0
StarTipBars, v1.0
StarTipBorder, v@package-version@
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
BlizRuntimeLib_enUS v4.0.1.40000 <us>
(ck=662)
1. No GearScore tip
2. No Quest Info tip when mousing over someone.
But, another I haven't seen...
3. I used to be able to mouse over an NPC and if they were a dealer of some sort of good, it would tell me in the tool tip. <Trade Goods>, <Bowyer>, <Fishing Supplies, etc, etc etc. Would be nice to have that back.
Now... Can you do anything about quest info??? :D
Great job, btw.
Thanks,
hardtofin
5x <string>:"Main Name (requires Chatter) right":1: attempt to call method 'Stop' (a nil value)
LibScriptableDisplayEvaluator-1.0-15:132: in function `ExecuteCode'
StarTip_UnitTooltip-1.0\UnitTooltip.lua:628: in function <StarTip_UnitTooltip\UnitTooltip.lua:618>
StarTip_UnitTooltip-1.0\UnitTooltip.lua:1218: in function `SetUnit'
StarTip-v1.3.43\StarTip.lua:672: in function <StarTip\StarTip.lua:646>
<in C code>: ?
AceHook-3.0-5 (Ace3):95: in function <Ace3\AceHook-3.0\AceHook-3.0.lua:87>
Locals:
self =
UpdateMem = <function> @ StarTip\Libs\LibScriptableDisplay-1.0\LibScriptableDisplayPluginResourceTools-1.0\LibScriptableDisplayPluginResourceTools-1.0.lua:224:
strbyte = <function> defined =[C]:-1
rshift = <function> defined =[C]:-1
UnitDefense = <function> defined =[C]:-1
UnitHasAllEffectStrings = <function> @ StarTip\Libs\LibScriptableDisplay-1.0\LibScriptableDisplayPluginUnitControl-1.0\LibScriptableDisplayPluginUnitControl-1.0.lua:27:
GetNumGuildEvents = <function> defined =[C]:-1
DeclineGuild = <function> defined =[C]:-1
SpellHasEffectString = <function> @ StarTip\Libs\LibScriptableDisplay-1.0\LibScriptableDisplayPluginUnitControl-1.0\LibScriptableDisplayPluginUnitControl-1.0.lua:20:
UnitGUID = <function> defined =[C]:-1
UnitRace = <function> defined =[C]:-1
ComboSymbols = <function> @ StarTip\Libs\LibScriptableDisplay-1.0\LibScriptableDisplayPluginLuaTexts-1.0\LibScriptableDisplayPluginLuaTexts-1.0.lua:1089:
UnitClass = <function> defined =[C]:-1
Classification = <function> @ StarTip\Libs\LibScriptableDisplay-1.0\LibScriptableDisplayPluginLuaTexts-
1.0\LibScriptableDisplayPluginLuaTexts-1.0.lua:702:
floor = <function> defined =[C]:-1
GetTabardCreationCost = <function> defined =[C]:-1
Alpha = <function> @ StarTip\Libs\LibScriptableDisplay-1.0\LibScriptableDisplayPluginLuaTexts-1.0\LibScriptableDisplayPluginLuaTexts-1.0.lua:1156:
tonumber = <function> defined =[C]:-1
UnitIsTappedByPlayer = <function> defined =[C]:-1
GetEffectMaskByName = <function> @ StarTip\Libs\LibScriptableDisplay-1.0\LibScriptableDisplayPluginUnitControl-1.0\LibScriptableDisplayPluginUnitControl-1.0.lua:16:
HostileColor = <function> @ StarTip\Libs\LibScriptableDisplay-1.0\LibScriptableDisplayPluginColor-1.0\LibScriptableDisplayPluginColor-1.0.lua:252:
ConvertMethodToFunction = <function> @ StarTip\Libs\LibScriptableDisplay-1.0\LibScriptableDisplayPluginUtils-1.0\LibScriptableDisplayPluginUtils-1.0.lua:243:
UnitIsRaidOfficer = <function> defined =[C]:-1
atan = <function> defined compat.lua:18
WidgetHistogram =
GetCPUUsage = <function> @ StarTip\Libs\LibScriptableDisplay-1.0\LibScriptableDisplayPluginResourceTools-1.0\LibScriptableDisplayPluginResourceTools-1.0.lua:180:
GetEffectStringByMask = <function> @ StarTip\Libs\LibScriptableDisplay-1.0\LibScriptableDisplayPluginUnitControl-1.0\LibScriptableDisplayPluginUnitControl-1.0.lua:18:
UnitIsDeadOrGhost = <function> defined =[C]:-1
UnitHasEffectString = <function> @ StarTip\Libs\LibScriptableDisplay-1.0\LibScriptableDisplayPluginUnitControl-1.0\LibScriptableDisplayPluginUnitControl-1.0.lua:26:
Angle = <function> @ StarTip\Libs\LibScriptableDisplay-1.0\LibScriptableDisplayPluginLuaTexts-1.0\LibScriptableDisplayPluginLuaTexts-1.0.lua:639:
XP = <function> @ StarTip\Libs\LibScriptableDisplay-1.0\LibScriptableDisplayPluginLuaTexts-1.0\LibScriptableDisplayPluginLuaTexts-1.0.lua:1106:
UnitGroupRolesAssigned = <function> defined =[C]:-1
strupper = <function> defined =[C]:-1
short = <function> @ StarTip\Libs\LibScriptableDisplay-1.0\LibScriptableDisplayPluginString-1.0\LibScriptableDisplayPluginString-1.0.lua:40:
GetMemUsage = <function> @ StarTip\Libs\LibScriptableDisplay-1.0\LibScriptableDisplayPluginResourceTools-1.0\LibScriptableDisplayPluginResourceTools-1.0.lua:280:
asin = <function> defined compat.lua:17
UnitIsFeignDeath = <function> defined =[C]:-1
GetUnitPitch = <function> defined =[C]:-1
IsAutoRepeatSpell = <function> defined =[C]:-1
LibAlts =
UnitAura = <function> defined =[C]:-1
rand = <function> defined =[C]:-1
GuildInfo = <function> defined =[C]:-1
ClearSpec = <function> defined @StarTip\Libs\LibScriptableDisplay-1.0\LibScriptableDis
---