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.
Just wanted to let you know though, it having a few bugs as of this last patch (WoW 4.2), and that's with the update to the current version on the addon. Basically, it just doesn't seem to work at the moment. The tool tips just look like the default tool tips, and when I click the button for the StarTip config, it does nothing. And to make it even more odd, when I type in /startip, it won't let me enter it. The chatlog stays open with that in there.
Hoping another update is on the way soon. =) And again, I really like this addon a lot, so thank you. =)
Also, there's UnitPVPStats(unit) which can be used to retrieve a fairly raw table of honor and arena stats. You'll have to refer to PluginTalents under Libs\LibScriptable-1.0 for details about the format.
Any help appreciated... :)
What is the easiest way to change the color lighter blue ("mage blue" for example works fine)? I suppose I have to edit modules > unit tooltip > mana > Right segment but I got no clue what write in there.
Thanks
local mana = UnitMana(unit)
local maxMana = UnitManaMax(unit)
local r, g, b = PowerColor(nil, unit)
local value = "Unknown"
if maxMana == 100 then
value = Colorize(tostring(mana), r, g, b)
elseif maxMana ~= 0 then
value = Colorize(format("%s/%s (%d%%)", short(mana), short(maxMana), mana/maxMana*100), 0.41, 0.44, 0.94)
end
self.lastMana = value
return value
This seems to work for me. Not too light, not too dark. Doesn't effect pet focus or runic power. Not sure how to isolate that. But hey what can you do? It's free.
LibFail-2.0-44:1015: bad argument #1 to 'band' (number expected, got string)
LibFail-2.0-44:1015: in function <...s\LibScriptable-1.0\Libs\LibFail-2.0\LibFail-2.0.lua:1014>
LibFail-2.0-44:624: in function <...s\LibScriptable-1.0\Libs\LibFail-2.0\LibFail-2.0.lua:609>
1x StarTip_UnitTooltip-1.0\UnitTooltip.lua:41: Usage: GetModule(name, silent): 'name' - Cannot find module 'Appearance'.
AceAddon-3.0-10 (Bartender4):233: in function `GetModule'
StarTip_UnitTooltip-1.0\UnitTooltip.lua:41: in main chunk
Locals:
self =
SetDefaultModuleLibraries = <function> @ Bartender4\libs\AceAddon-3.0\AceAddon-3.0.lua:383:
RebuildOpts = <function> @ StarTip\StarTip.lua:537:
opposites =
UNIT_RAID_GROUPS =
EnableModule = <function> @ Bartender4\libs\AceAddon-3.0\AceAddon-3.0.lua:348:
modules =
CancelTimer = <function> @ Broker_XPBar\Libs\AceTimer-3.0\AceTimer-3.0.lua:311:
IterateEmbeds = <function> @ Bartender4\libs\AceAddon-3.0\AceAddon-3.0.lua:458:
SecureHookScript = <function> @ Bartender4\libs\AceHook-3.0\AceHook-3.0.lua:413:
RawHookScript = <function> @ Bartender4\libs\AceHook-3.0\AceHook-3.0.lua:398:
Printf = <function> @ Bartender4\libs\AceConsole-3.0\AceConsole-3.0.lua:69:
SetDefaultModulePrototype = <function> @ Bartender4\libs\AceAddon-3.0\AceAddon-3.0.lua:425:
rightLines =
OnTooltipShow = <function> @ StarTip\StarTip.lua:799:
SINGLETON_CLASSIFICATIONS =
defaultModuleState = false
IsEnabled = <function> @ Bartender4\libs\AceAddon-3.0\AceAddon-3.0.lua:467:
ScheduleTimer = <function> @ Broker_XPBar\Libs\AceTimer-3.0\AceTimer-3.0.lua:276:
DisableModule = <function> @ Bartender4\libs\AceAddon-3.0\AceAddon-3.0.lua:366:
GetLSMIndexByName = <function> @ StarTip\StarTip.lua:824:
RegisterMessage = <function> @ Baggins_LibFilter\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:118:
GetArgs = <function> @ Bartender4\libs\AceConsole-3.0\AceConsole-3.0.lua:144:
hooks =
SendCommMessage = <function> @ BugSack\Libs\AceComm-3.0\AceComm-3.0.lua:73:
db =
UnregisterAllComm = <function> @ Baggins_LibFilter\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:202:
SetEnabledState = <function> @ Bartender4\libs\AceAddon-3.0\AceAddon-3.0.lua:440:
Hook = <function> @ Bartender4\libs\AceHook-3.0\AceHook-3.0.lua:277:
enabledState = true
RegisterEvent = <function> @ Baggins_LibFilter\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:118:
IterateModules = <function> @ Bartender4\libs\AceAddon-3.0\AceAddon-3.0.lua:453:
RawHook = <function> @ Bartender4\libs\AceHook-3.0\AceHook-3.0.lua:316:
HideAll = <function> @ StarTip\StarTip.lua:692:
leftLines =
lastConfig = <unnamed> {}
baseName = "StarTip"
MODIFIER_STATE_CHANGED = <function> @ StarTip\StarTip.lua:853:
Enable = <function> @ Bartender4\libs\AceAddon-3.0\AceAddon-3.0.lua:315:
UnregisterAllEvents = <function> @ Baggins_LibFilter\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:202:
del = <function> @ StarTip\StarTip.lua:314:
GetMouseoverUnit = <function> @ StarTip\StarTip.lua:843:
SetOptionsDisabled = <function> @ StarTip\StarTip.lua:832:
GetModule = <function> @ Bartender4\libs\AceAddon-3.0\AceAddon-3.0.lua:231:
GameTooltipFadeOut = <function> @ StarTip\StarTip.lua:812:
ShowTooltip = <function> @ StarTip\StarTip.lua:613:
SetDefaultModuleState = <function> @ Bartender4\libs\AceAddon-3.0\AceAddon-3.0.lua:403:
defaultModuleLibraries =
TimeLeft = <function> @ Broker_XPBar\Libs\AceTimer-3.0\AceTimer-3.0.lua:363:
Deserialize = <function> @ BugSack\Libs\AceSerializer-3.0\AceSerializer-3.0.lua:240:
UnregisterChatCommand = <function> @ Bartender4\libs\AceConsole-3.0\AceConsole-3.0.lua:111:
NewModule = <function> d
---
*happy*
Is there a way to move the the unit name a bit more to the right ? Its very close to the portrait and sometimes a bit hard to read,
i got 3d model enabled.