Download
(364 Kb)
Download
Updated: 09-24-12 03:54 AM
Pictures
File Info
Updated:09-24-12 03:54 AM
Created:09-12-11 06:32 AM
Downloads:5,457
Favorites:21
MD5:
StarTip-Rift  Popular! (More than 5000 hits)
Version: v1.4.3
by: starlon [More]
StarTip-Rift -- Tooltips from the Outer Rift.

StarTip-Rift is is a tooltip addon. It only tries to reproduce the unit tooltip. You can customize by installing a new addon you write. Examples exist within the StarTip directory: StarTipDefault and StarTipNatural. You can copy/paste the entire folder to your Addons folder to get started. You'll have to give it a name though -- let's say HopeBound.

To load it, type: /startip profile HopeBound


Type /startip for options, including configurations, proiles, CPU information, ...

Note that StarTip comes with two profiles: Default and Natural.

If you are unhappy with Default, then type: /startip profile Natural


If you wish to create your own profile using this profile as a template, then it's really easy. Check the file StarTipNatural.lua and adjust what you need to customize as you wish. Look under StarTip-Rift's Libs directory and note the LibScriptable-1.0 directory. Look under this directory, and you'll see LibScriptablePlugins-1.0. From there view all the various functions in the sub directories. This is your execution environment organized. The LibScriptablePluginUnit-1.0.lua file is where you might want to start.

Each run environment for each Lua script executed has a couple of special members and variables. Such as _G if you wish to reach the overall script environment. And you have 'self'. And 'unit'. Then everything included from the plugin directory.

Note that each instance of StarTip starts off with a _G, and that is the main script environment. However, we use a special table for each Lua script's environment, and _G doesn't point to that table, but rather to Rift's UI interface script environment, where Inspect.Unit.Detail exists.. So you could call '_G.StarTip:IterateModules()' or '_G.UI.CreateFrame()'. I've tried to add everything from Rift's _G into the user's Lua script's global environment, but I may have missed some things. This is what '_G' is for at this point.

I'm always in #riftuidev on freenode.net, or use this addon's comments to ask questions.
v1.4.3:
Bug fix. Users should be able to toggle animations now.

v1.3.1:
- Update deprecated event hook.

v1.3.0:
- Minor bug fix.

v1.2.9:
- Bug fix to screen clamping.

v1.2.8:
- Change how we do clamping. May help with cpu usage.

v1.2.7:
- Remove spam.
- Bug fix to Default profile.
- Tag changes from LibScriptable to cache unit details. May lower CPU usage.

v1.2.6:
- Bug fix. Try to address some "stuttering" someone complained about.
- Allow configuring of animation settings individually.

v1.2.5:
Bug fix to animations.

v1.2.4:
- Specify 'gravity' for SuperScope algorithm. Otherwise just provide the coordinates x and y from the TOPLEFT of UIParent.
- GetFullWidth is now GetWidth as the former is deprecated now.
- Stop using ResizeTo* functions since they're going away.

v1.2.3:
- Bug fixes to animations.
- Bump version. Thanks to lXl for helping with color choices.
- * New command: /startip dumpenv * It will dump StarTip's run environment. Specifically 'StarTip.core.environment'. * Modified colors on LibScriptable's end to use colorsafe colors. Thanks to Cairenn for the suggestion.
- Change animationFrame to animatioBegin. It is called when you mouseover someone.
- Move class/tag line above the target line.
- Use StarTip.unit where needed.

v1.2.2-beta:
- Bump version. Thanks to lXl for helping with color choices.
- * New command: /startip dumpenv * It will dump StarTip's run environment. Specifically 'StarTip.core.environment'. * Modified colors on LibScriptable's end to use colorsafe colors. Thanks to Cairenn for the suggestion.
- Change animationFrame to animatioBegin. It is called when you mouseover someone.
- Move class/tag line above the target line.
- Use StarTip.unit where needed.

v1.2.1:
First major release. Enjoy.

v1.1.20-beta:
- Provide a way to configure animations via profiles. profile.borderSize is not profile.border.borderSize
- Bug fix to screen clamping. Still not perfect as it stutters sometimes.
- Break out of this loop just in case.
- Slow it down.
- Add Animation module.
- Provide an option to turn animations off.
- Add an animation feature.

v1.1.19-beta:
- StarTip should now try to disable a line if it produces an error. The line will return once you reload the UI.
- Give it a better description.

v1.1.18-beta:
- Bug fix with the default profile. Sorry if it crapped out. :\

v1.1.17-beta:
- Give a way to turn off the entrance message.
- Bug fix.

v1.1.16-beta:
Bug fix to Natural profile. Should display correctly for the Natural profile.

v1.1.15-beta:
- Bug fix again.

v1.1.14-beta:
- Bug fix.
- The SimpleMeter line now shows the unit's most recent DPS score since mousing over the unit.
-- It will lag before displaying more than zero.
- Add an option to turn off the startup message.

v1.1.13-beta:
- Print some help info on login. Tells about `/startip` and `/startip profile Natural`.
-- Made UnitTooltip's default text more descriptive.
- Rename StarTip Natural to just Natural.
- Startup with the tooltip hidden.

v1.1.12-beta:
BUg fix. Shouldn't crap out when SimpleMeter's not installed.

v1.1.11-beta:
Bug fixes.

v1.1.10-beta:
- Bug fixes.
- Move the SimpleMeter code to a LibScriptable plugin... SimpleMeter(unit, "dps", "top5")
- Use class color for target line.
- Show class and lvl in target line.
- Bug fix.

v1.1.9-beta:
- Bug fixes.
- Cosmetic changes. Seems to be a bug; Sometimes Level doesn't appear.
- Make the Guild line in the Natural profile a pingpong scroller.
- Copy the SimpleMeter line to the Natural profile.
- Include credits to Jor.
- Add some documentation for the SimpleMeter line

v1.1.8-beta:
- Cosmetic fix.
- Bug fixes and enhancements to SimpleMeter line.
- Bug fix.

v1.1.7-beta:
- Add a line to Default profile called SimpleMeter. Shows information about the latest encounter, using SimpleMeter information.

v1.15-beta:
Use InitializeProfile instead of InitializeAddon. InitializeAddon still exists.

v1.1.4-beta:
Profile support's available. Check under the '/startip' slash command for more info. You have two profiles -- Default and StarTip Natural. The idea is you can install your own addons and switch to that profile through slash commands. Your profile option will remain between UI reloads.

v1.0.23-beta:
You can now create separate little addons that depend on StarTip-Rift, and you provide a "profile" from there. Updating project Description to link to StarTip Natural, the first StarTip-Rift profile, which can be used as a template for new profiles.

v1.0.22-beta:
Fix the Faction line, and use Event.Mouse.Move instead of a refresh ticker when moving the tooltip with the mouse.

v1.0.21-beta:
- Add Faction and fix a couple of display bugs.
- Update and bug fix.
- Add a few more lines to reflect changes made to Inspect.Unit.Detail

v1.0.19-beta:
- Bug fix with StarTip<->Cursor compatibility.

v1.0.18-beta:
- Address the issue of cells mixing up. Should fix the issue where tooltip cells would reverse from top to bottom, causing bitter ugliness.
- Change "OnEnable" to "OnStartup."

v1.0.17-beta:
- Bug fix. The saved variables table should exist now for fresh installs.
- Add support for FooBar. Clicking the module simply opens StarTip's config dialog.
- Make the tooltip a bit more opaque.
- Hide StarTip from _G.
- Add riftdocs to keep a local version history of API changes.

v1.0.15-beta:
- Position the moveme frame smarter so it reflects the last position instead of just re-centering on the screen.
- Bug fix.
- Bug fix.
- Bug fix
- Bug fix. Temporarily anchor tooltip cells to TOPLEFT of tooltip frame, adjusting vertically per line height.

v1.0.14-beta:
- Bug fixes
- Add port of Dongle, and provide first ability to save tooltip position. Needs work.
- Dry coded saved variable support.
- Basic mouse positioning, although without SVs. More to come.
- Move :Hide's function to :FadeOut and make :Hide do what the name suggests as opposed to fading out.

v1.0.13-beta:
- Make use of the new field energyMax to account for rogue talent granting 20 extra energy points.
- * Add core to StarTip global. * Add cast bar.

v1.0.11-beta:
- * Add a DPS line. For now it's "always shown" since it refreshes.
- * Added a new script 'onMouseover' which is run when the 'mouseover' unit becomes available.

v1.0.9-alpha:
- * Bug fixes. * Recycle text frames.
- Bug fix. Show offline and afk times similar to Pitbull4/DogTag/LuaTexts.
- Place braces around the guild line.
- Colorize the level line based on difficulty.
- Add /startip slash command. So far it just accepts one command: '/startip cpu', which dumps CPU usage stats.
- Remove some stray lines.

v1.0.8-alpha:
- * Bug fixes. * Implement fading.
- * Give README some text. * Increase background opacity so it's more opaque.
- Bug fix.
- * Add the background module. * Implement clamping.
- Sanity check.

v1.0.7-alpha:
Bug fix.

v1.0.6-alpha:
- * Color up name and target lines a bit. * Guild line will show 'Title' if it's an npc.
- Give the name line some color.
- Typo fix. Power/Energy/Mana should update now.
- Use class power colors (default unit frame color) for mana bar.
- Bug fix
Optional Files (0)


Archived Files (33)
File Name
Version
Size
Author
Date
v1.4.2
364kB
starlon
09-16-12 04:58 AM
v1.3.1
364kB
starlon
07-04-12 05:25 AM
v1.2.9
363kB
starlon
12-17-11 03:58 AM
v1.2.8
357kB
starlon
12-16-11 05:00 AM
v1.2.7
357kB
starlon
12-16-11 04:33 AM
v1.2.6
353kB
starlon
12-15-11 01:04 AM
v1.2.5
353kB
starlon
12-11-11 05:46 AM
v1.2.4
353kB
starlon
12-10-11 11:00 AM
v1.2.1
358kB
starlon
11-30-11 10:01 PM
v1.1.18-beta
355kB
starlon
11-30-11 08:03 AM
v1.1.18-beta
270kB
starlon
11-29-11 12:32 AM
v1.1.16-beta
270kB
starlon
11-28-11 05:12 AM
v1.1.15-beta
270kB
starlon
11-28-11 04:13 AM
v1.1.12-beta
270kB
starlon
11-26-11 05:46 PM
v1.1.11-beta
270kB
starlon
11-26-11 04:55 AM
v1.1.10-beta
271kB
starlon
11-26-11 03:29 AM
v1.1.7-beta
267kB
starlon
11-25-11 07:03 PM
v1.1.5-beta
267kB
starlon
11-25-11 05:48 PM
v1.1.4-beta
281kB
starlon
11-25-11 09:37 AM
v1.0.23-beta
278kB
starlon
11-24-11 06:17 AM
v1.0.22-beta
277kB
starlon
11-23-11 10:01 PM
v1.0.21-beta
276kB
starlon
11-18-11 11:56 PM
v1.0.19-beta
276kB
starlon
10-24-11 02:21 PM
v1.0.18-beta
276kB
starlon
10-18-11 09:11 PM
v1.0.17-beta
276kB
starlon
10-02-11 06:38 AM
v1.0.15-beta
262kB
starlon
09-29-11 09:10 PM
v1.0.13-beta
249kB
starlon
09-27-11 09:59 PM
v1.0.11-beta
248kB
starlon
09-21-11 08:35 PM
v1.0.8-alpha
247kB
starlon
09-14-11 02:34 AM
v1.0.7-alpha
243kB
starlon
09-14-11 12:32 AM
v1.0.6-alpha
243kB
starlon
09-13-11 09:55 PM
v1.0.5-alpha
238kB
starlon
09-13-11 12:12 PM
v1.0.4-alpha
241kB
starlon
09-12-11 06:32 AM


Post A Reply Comment Options
Unread 09-12-11, 10:27 AM  
Sunspots
Claw of Regulos
 
Sunspots's Avatar
AddOn Author - Click to view AddOns

Forum posts: 23
File comments: 34
Uploads: 1
I were thinking about making one of these, good job!
I'm guessing stuff like level, HP, hostility and stuff like that could be added without too much hassle.
Last edited by Sunspots : 09-12-11 at 10:28 AM.
Sunspots is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: