Quantcast
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:3,172
Favorites:21
MD5:
StarTip-Rift
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 11-04-12, 05:40 AM  
Elaani
 
Elaani's Avatar

Forum posts: 0
File comments: 46
Uploads: 0
OK, I figured out there are two problems with the issue I posted and regardless of whether "Defailt" was meant to be Default or Detail the whole thing is deprecated as of patch 1.10 (maybe even 1.9) which leads me to ask if this is being updated still?

The 1.10 Live Addon Changelog shows the following:
Quote:
Event.Unit.Detail.TitlePrefix
Event.Unit.Detail.TitleSuffix
- For 1.9, use Event.Unit.Detail.TitlePrefixName/TitleSuffixName instead. For 1.10, use Event.Unit.Detail.TitlePrefixId/TitleSuffixId, then use Inspect.Title.Detail() to look up the localized name.
So, now anytime I change which title I display I get the following:
Code:
Error: Event Event.Unit.Detail.TitleSuffix is deprecated, the addon environment is not in compatibility mode, and LibScriptablePluginUnit_1_0 has an active hook (named Detail.TitleSuffix).
    In LibScriptablePluginUnit_1_0 / Detail.TitleSuffix, event Event.Unit.Detail.TitleSuffix
stack traceback:
	[C]: in function 'error'
My concern is this changed in 1.9 (if I'm reading the changelog right) and again in 1.10 and we're in 1.11 with 9 days to go until 2.0...which is why again I ask if this addon is being worked on still?
Elaani is offline Report comment to moderator  
Reply With Quote
Unread 11-01-12, 09:49 AM  
Elaani
 
Elaani's Avatar

Forum posts: 0
File comments: 46
Uploads: 0
got the following during some warfronts today:

Code:
Error: Event Event.Unit.Detail.TitleSuffix is deprecated, the addon environment is not in compatibility mode, and LibScriptablePluginUnit_1_0 has an active hook (named Defailt.TitleSuffix).
    In LibScriptablePluginUnit_1_0 / Defailt.TitleSuffix, event Event.Unit.Detail.TitleSuffix
stack traceback:
	[C]: in function 'error'
I got a similar one also mentioning that "Defailt.TitleSuffix" (which I'm guessing is the culprit as I assume it was meant to be default) but it failed the whole copy to clipboard. Though it was probably due to how long I waited to use "Paste" lol.
Elaani is offline Report comment to moderator  
Reply With Quote
Unread 10-20-12, 02:10 PM  
Zagadka
Zombie

Forum posts: 2
File comments: 2
Uploads: 0
Hm, may just be duncing out, but where in the code can I tell it to position the tooltip to the bottom right of the cursor instead of centered on it?
Zagadka is offline Report comment to moderator  
Reply With Quote
Unread 04-24-12, 06:19 PM  
Whorigami

Forum posts: 0
File comments: 2
Uploads: 0
I need to get this to where I can set it to anchor to the bottom right corner of the tooltip window. How do I do that?
Whorigami is offline Report comment to moderator  
Reply With Quote
Unread 12-24-11, 10:36 PM  
TimeBomb
Claw of Regulos
AddOn Author - Click to view AddOns

Forum posts: 21
File comments: 54
Uploads: 6
Hey, would you be able to implement target player's prestige rank and have it display as a row in the tooltip? That would be really awesome and helpful.
I assume it can be done through achievements, and I would suspect that cacheing other user's prestige ranks on a per-character-name basis would help lower achievement function calls and thus resource usage.

Here is a thread on the RIFT forums that involves this...
http://forums.riftgame.com/beta-addon-api-development/259178-favor-prestige-bar-possible.html

Thanks, and happy holidays!!
Last edited by TimeBomb : 12-24-11 at 10:37 PM.
TimeBomb is offline Report comment to moderator  
Reply With Quote
Unread 12-18-11, 09:44 AM  
starlon
Claw of Regulos
 
starlon's Avatar
AddOn Author - Click to view AddOns

Forum posts: 10
File comments: 24
Uploads: 8
Quote:
Originally Posted by TimeBomb
I am not able to reproduce the second issue I had, either. It was late and I was tired, so what may have happened is he got rid of his public group while I started to mouseover him, and I just never noticed, and thought it was a bug that the tooltip was hiding.
I ran into something that may be what you're talking about; however it happens when StarTip is not loaded. Sometimes when I hover over that public group icon, the small public group tooltip will vanish and the real player tooltip will appear.
starlon is offline Report comment to moderator  
Reply With Quote
Unread 12-17-11, 11:46 AM  
TimeBomb
Claw of Regulos
AddOn Author - Click to view AddOns

Forum posts: 21
File comments: 54
Uploads: 6
Quote:
Originally Posted by starlon
Quote:
Originally Posted by TimeBomb
I've noticed a couple minor-ish issues lately. I don't know if these have always been issues and I am just noticing them now, or if they are a recent-patch issue.

Two issues:

1) When I hover over a raid member on the left edge of my UI, half of the startip is cut off and lost in the edge of the screen.

2) When I hover over a target frame's public party icon - i.e. the button you can press to join someone's public party, the StarTip hides the hovering tooltip that normally shows you how many people are in the target's public party.

Overall, fantastic addon that keeps getting better. GJ.
1) Should be fixed in v1.2.9. I think.

2) I'm not able to reproduce this, unless I fixed it somehow without knowing it was broke. Rift frames should be above addon frames I think.

This is what it looks like for me. Am I looking at the right thing?

1.2.9 did fix the first issue.
I am not able to reproduce the second issue I had, either. It was late and I was tired, so what may have happened is he got rid of his public group while I started to mouseover him, and I just never noticed, and thought it was a bug that the tooltip was hiding.

Thanks!
TimeBomb is offline Report comment to moderator  
Reply With Quote
Unread 12-17-11, 04:00 AM  
starlon
Claw of Regulos
 
starlon's Avatar
AddOn Author - Click to view AddOns

Forum posts: 10
File comments: 24
Uploads: 8
Quote:
Originally Posted by TimeBomb
I've noticed a couple minor-ish issues lately. I don't know if these have always been issues and I am just noticing them now, or if they are a recent-patch issue.

Two issues:

1) When I hover over a raid member on the left edge of my UI, half of the startip is cut off and lost in the edge of the screen.

2) When I hover over a target frame's public party icon - i.e. the button you can press to join someone's public party, the StarTip hides the hovering tooltip that normally shows you how many people are in the target's public party.

Overall, fantastic addon that keeps getting better. GJ.
1) Should be fixed in v1.2.9. I think.

2) I'm not able to reproduce this, unless I fixed it somehow without knowing it was broke. Rift frames should be above addon frames I think.

This is what it looks like for me. Am I looking at the right thing?

starlon is offline Report comment to moderator  
Reply With Quote
Unread 12-17-11, 01:07 AM  
TimeBomb
Claw of Regulos
AddOn Author - Click to view AddOns

Forum posts: 21
File comments: 54
Uploads: 6
I've noticed a couple minor-ish issues lately. I don't know if these have always been issues and I am just noticing them now, or if they are a recent-patch issue.

Two issues:

1) When I hover over a raid member on the left edge of my UI, half of the startip is cut off and lost in the edge of the screen.

2) When I hover over a target frame's public party icon - i.e. the button you can press to join someone's public party, the StarTip hides the hovering tooltip that normally shows you how many people are in the target's public party.

Overall, fantastic addon that keeps getting better. GJ.
TimeBomb is offline Report comment to moderator  
Reply With Quote
Unread 12-11-11, 05:47 AM  
starlon
Claw of Regulos
 
starlon's Avatar
AddOn Author - Click to view AddOns

Forum posts: 10
File comments: 24
Uploads: 8
Should be fixed in v1.2.5. Sorry for the trouble.
starlon is offline Report comment to moderator  
Reply With Quote
Unread 12-11-11, 05:03 AM  
Shailo

Forum posts: 0
File comments: 2
Uploads: 0
Errors

I had the same Prob as Elaani, please Fix it
Shailo is offline Report comment to moderator  
Reply With Quote
Unread 12-11-11, 01:36 AM  
Elaani
 
Elaani's Avatar

Forum posts: 0
File comments: 46
Uploads: 0
Quote:
Originally Posted by TimeBomb
Latest version: 1.2.4 has a major bug.
The animations are bugged and the main StarTip window never shows when mousing over.

The error:
http://i.imgur.com/BtG89.png
Confirmed, getting same thing in 1.2.4.

Code:
07:28:16: [StarTip] ---------
07:28:16: [StarTip] Error: StarTip/Animation.lua:31: attempt to index upvalue 'animation' (a nil value)
07:28:16: [StarTip]     In StarTip / Mouseover, event LibUnitChange.mouseover.Change
07:28:16: [StarTip] stack traceback:
07:28:16: [StarTip] 	StarTip/Animation.lua:31: in function 'RunFrame'
07:28:16: [StarTip] 	StarTip/Animation.lua:70: in function 'SetUnit'
07:28:16: [StarTip] 	StarTip/StarTip.lua:376: in function <StarTip/StarTip.lua:372>
07:28:16: [StarTip] 	LibUnitChange/main.lua:49: in function <LibUnitChange/main.lua:18>
Elaani is offline Report comment to moderator  
Reply With Quote
Unread 12-10-11, 01:18 PM  
TimeBomb
Claw of Regulos
AddOn Author - Click to view AddOns

Forum posts: 21
File comments: 54
Uploads: 6
Latest version: 1.2.4 has a major bug.
The animations are bugged and the main StarTip window never shows when mousing over.

The error:
http://i.imgur.com/BtG89.png
TimeBomb is offline Report comment to moderator  
Reply With Quote
Unread 11-26-11, 05:47 PM  
starlon
Claw of Regulos
 
starlon's Avatar
AddOn Author - Click to view AddOns

Forum posts: 10
File comments: 24
Uploads: 8
Quote:
Originally Posted by astrocanis
I upgraded to the latest version (1.1.11) and am receiving so many errors that I can't count them.

I have gone back to 1.0.21-beta and the problems have been resolved.

Most of the errors centered around a bunch of addons I don't have installed, like a damage meter mod.

Sorry for the lack of content, but I can't cut and paste on this computer and I don't want to type in what looked like well over a hundred lines of errors. Here is one example:

Error:
LibScriptablePluginSimple_meter_1_0/LibScriptablePluginSimpl:52:atempt to index local "SimpleMeter" (a function value)
in StarTip / Mouseover, event
LibUnitChange.mouseover.Change
stack traceback:
...
Should be fine in v1.1.12-beta. Sorry for the mishap.
starlon is offline Report comment to moderator  
Reply With Quote
Unread 11-26-11, 02:54 PM  
astrocanis
Zombie

Forum posts: 1
File comments: 8
Uploads: 0
I upgraded to the latest version (1.1.11) and am receiving so many errors that I can't count them.

I have gone back to 1.0.21-beta and the problems have been resolved.

Most of the errors centered around a bunch of addons I don't have installed, like a damage meter mod.

Sorry for the lack of content, but I can't cut and paste on this computer and I don't want to type in what looked like well over a hundred lines of errors. Here is one example:

Error:
LibScriptablePluginSimple_meter_1_0/LibScriptablePluginSimpl:52:atempt to index local "SimpleMeter" (a function value)
in StarTip / Mouseover, event
LibUnitChange.mouseover.Change
stack traceback:
...
astrocanis is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: