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.
Although, some tool tips for example fishing bobber and macros, still show up in the bottom right hand side of the screen instead of on cursor.
Message: ...\LibScriptableWidget-1.0\LibScriptableWidget-1.0.lua:47: No visitor
Time: 02/21/11 04:42:36
Count: 3
Stack: [C]: in function `assert'
...\LibScriptableWidget-1.0\LibScriptableWidget-1.0.lua:47: in function `New'
...ableWidgetColor-1.0\LibScriptableWidgetColor-1.0.lua:85: in function `New'
Interface\AddOns\StarTip_Border\Border.lua:83: in function `CreateBorders'
Interface\AddOns\StarTip_Border\Border.lua:130: in function `RebuildOpts'
Interface\AddOns\StarTip\StarTip.lua:540: in function `RebuildOpts'
Interface\AddOns\StarTip\StarTip.lua:604: in function `OpenConfig'
Interface\AddOns\StarTip\StarTip.lua:421: in function <Interface\AddOns\StarTip\StarTip.lua:421>
(tail call): ?
[C]: ?
[string "safecall Dispatcher[3]"]:9: in function <[string "safecall Dispatcher[3]"]:5>
(tail call): ?
...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:798: in function <...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:613>
(tail call): ?
[C]: ?
[string "safecall Dispatcher[4]"]:9: in function <[string "safecall Dispatcher[4]"]:5>
(tail call): ?
...erface\AddOns\StarTip\Libs\AceGUI-3.0\AceGUI-3.0.lua:314: in function `Fire'
...rTip\Libs\AceGUI-3.0\widgets\AceGUIWidget-Button.lua:22: in function <...rTip\Libs\AceGUI-3.0\widgets\AceGUIWidget-Button.lua:19>
Locals: <none>
Whenever you launch a new build where UnitTooltip.lua is being updated, the addon works fine. After a while with updates on other addons or even startip itself, the tooltip fails and goes back to Blizz's defaults in the lower right corner of the screen. It is even impossible to call the config menu then, as if the whole addon was disabled.
Here's what bugsack got me, maybe you have an idea what causes this:
1x StarTip_UnitTooltip-1.0\UnitTooltip.lua:1381: attempt to call upvalue 'lines' (a table value)
StarTip-r941\StarTip.lua:665: in function <StarTip\StarTip.lua:639>
<in C code>: ?
<in C code>: ?
Locals:
_ = "Lebento"
unit = "mouseover"
(for generator) = <function> defined =[C]:-1
(for state) =
UnitTooltip =
Appearance =
Targeting =
Text =
Border =
Fade =
RaidIcon =
PvP =
Position =
Histograms =
Portrait =
Bars =
Icons =
Gestures =
}
(for control) = "UnitTooltip"
k = "UnitTooltip"
v =
SetDefaultModuleLibraries = <function> @ AckisRecipeList\libs\AceAddon-3.0\AceAddon-3.0.lua:383:
RebuildOpts = <function> @ StarTip_UnitTooltip\UnitTooltip.lua:885:
Enable = <function> @ AckisRecipeList\libs\AceAddon-3.0\AceAddon-3.0.lua:315:
UnregisterAllEvents = <function> @ AckisRecipeList\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:202:
EnableModule = <function> @ AckisRecipeList\libs\AceAddon-3.0\AceAddon-3.0.lua:348:
modules =
GetModule = <function> @ AckisRecipeList\libs\AceAddon-3.0\AceAddon-3.0.lua:231:
IterateEmbeds = <function> @ AckisRecipeList\libs\AceAddon-3.0\AceAddon-3.0.lua:458:
SetUnit = <function> @ StarTip_UnitTooltip\UnitTooltip.lua:1332:
defaultModuleLibraries =
toggled = true
ClearLines = <function> @ StarTip_UnitTooltip\UnitTooltip.lua:760:
SetDefaultModulePrototype = <function> @ AckisRecipeList\libs\AceAddon-3.0\AceAddon-3.0.lua:425:
GetOptions = <function> @ StarTip_UnitTooltip\UnitTooltip.lua:710:
evaluator =
leftLines =
name = "Unit Tooltip"
IsEnabled = <function> @ AckisRecipeList\libs\AceAddon-3.0\AceAddon-3.0.lua:467:
orderedModules =
DisableModule = <function> @ AckisRecipeList\libs\AceAddon-3.0\AceAddon-3.0.lua:366:
timer =
rightLines =
RegisterMessage = <function> @ AckisRecipeList\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:118:
UnregisterMessage = <function> @ AckisRecipeList\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:181:
OnHide = <function> @ StarTip_UnitTooltip\UnitTooltip.lua:855:
baseName = "StarTip_UnitTooltip"
CreateLines = <function> @ StarTip_UnitTooltip\UnitTooltip.lua:773:
RefixEndLines = <function> @ StarTip_UnitTooltip\UnitTooltip.lua:1393:
GetNames = <function> @ StarTip_UnitTooltip\UnitTooltip.lua:877:
IsModule = <function> @ AckisRecipeList\libs\AceAddon-3.0\AceAddon-3.0.lua:238:
db =
SetDefaultModuleState = <function> @ AckisRecipeList\libs\AceAddon-3.0\AceAddon-3.0.lua:403:
OnDisable = <function> @ StarTip_UnitTooltip\UnitTooltip.lua:705:
UPDATE_FACTION = <function> @ StarTip_UnitTooltip\UnitTooltip.lua:715:
SetEnabledState = <function> @ AckisRecipeList\libs\AceAddon-3.0\AceAddon-3.0.lua:440:
OnEnable = <function> @ StarTip_UnitTooltip\UnitTooltip.lua:698:
enabledState = true
OnInitialize = <function> @ StarTip_UnitTooltip\UnitTooltip.lua:676:
RegisterEvent = <function> @ AckisRecipeList\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:118:
UnregisterAllMessages = <function> @ AckisRecipeList\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:202:
NUM_LINES = 0
ReInit = <function> @ StarTip_UnitTooltip\UnitTooltip.lua:651:
NewModule = <function> @ AckisRecipeList\libs\AceAddon-3.0\AceAddon-3.0.lua:256:
IterateModules = <function> @ AckisRecipeList\libs\AceAddon-3.0\AceAddon-3.0.lua:453:
defaultModuleState = true
---
r941 threw 11 errors into bugsack, r942 not even one.
I'm confused...
I used the Curse Client when I reinstalled Startip. I deleted it again and got v1.4.11 from Wowace files instead and unpacked it and then it worked without problems. I guess all libs wasn't in the version posted on curse. Anyway it works now.
Next the targeting. On the right side I was able to hide it when no target is selected. But the left side "Target:" ist still shown. How can I disable it with no target? Unfortunately I cant access my old cowtip settings where I managed to edit it.