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 10-08-11, 05:37 AM  
Rustycage
Claw of Regulos
 
Rustycage's Avatar

Forum posts: 20
File comments: 150
Uploads: 0
Like this.

This is a nice addon, but there is 1 small problem I'm having with it. When I use it, every time I login, it will show a semi transparent box on the top left corner that is really huge and it will not go away, it doesn't say anything on it. If I press Esc a few times, and then relog it seems to go away but it always comes back every time I leave or enter a dungeon/warfront or if I relog.
Rustycage is offline Report comment to moderator  
Reply With Quote
Unread 10-06-11, 10:08 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 sarellia
I can confirm that Startip is now working, error free.
Thanks for this Starlon - you have made my job as a tank SO much easier. Now i can see by tooltip if a mob is not targetting me. Awesome work.

One request though - would it be possible to add the 'quest target' functionality from the default tip? so you get an extra line for example:
This isn't possible yet. I think it is somewhere on Zorba's list of priorities if my memory serves me right.
starlon is offline Report comment to moderator  
Reply With Quote
Unread 10-06-11, 04:59 AM  
sarellia
Zombie
 
sarellia's Avatar

Forum posts: 1
File comments: 9
Uploads: 0
I can confirm that Startip is now working, error free.
Thanks for this Starlon - you have made my job as a tank SO much easier. Now i can see by tooltip if a mob is not targetting me. Awesome work.

One request though - would it be possible to add the 'quest target' functionality from the default tip? so you get an extra line for example:
Quote:
They all fall down
Kill Mathosian Soldiers and Knights
6/8
sarellia is offline Report comment to moderator  
Reply With Quote
Unread 10-02-11, 06:40 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 adelea
I move the 'Move Me' window, hit close...
Ok, tagged v1.0.17-beta. Hopefully this fixes things. Thanks for letting me know.
starlon is offline Report comment to moderator  
Reply With Quote
Unread 10-02-11, 06:12 AM  
adelea
Claw of Regulos
AddOn Author - Click to view AddOns

Forum posts: 22
File comments: 285
Uploads: 6
I move the 'Move Me' window, hit close...

12:08:44: [StarTip] ---------
12:08:44: [StarTip] Error: StarTip/StarTip.lua:328: attempt to index upvalue 'config' (a nil value)
12:08:44: [StarTip] In StarTip / StarTip.Start position mouse:LeftPress
12:08:44: [StarTip] stack traceback:
12:08:44: [StarTip] [string "Rift core"]:207: in function '__index'
12:08:44: [StarTip] StarTip/StarTip.lua:328: in function 'eventElement'
12:08:44: [StarTip] [string "Rift core"]:205: in function <[string "Rift core"]:204>
12:08:44: [StarTip] [C]: in function 'xpcall'
12:08:44: [StarTip] [string "Rift core"]:204: in function <[string "Rift core"]:194>
12:08:50: [StarTip] ---------
12:08:50: [StarTip] Error: StarTip/StarTip.lua:319: attempt to index upvalue 'config' (a nil value)
12:08:50: [StarTip] In StarTip / StarTip.Position tooltip here:LeftUp
12:08:50: [StarTip] stack traceback:
12:08:50: [StarTip] [string "Rift core"]:207: in function '__newindex'
12:08:50: [StarTip] StarTip/StarTip.lua:319: in function 'eventElement'
12:08:50: [StarTip] [string "Rift core"]:205: in function <[string "Rift core"]:204>
12:08:50: [StarTip] [C]: in function 'xpcall'
12:08:50: [StarTip] [string "Rift core"]:204: in function <[string "Rift core"]:194>

Doesnt look like config gets populated if it doesnt exist.

If I follow this up with a /reloadui, I get a saved variable created containing:

StarTip_SavedVariables = nil

And another error message:

12:11:20: [StarTip] Error: StarTip/StarTip.lua:374: bad argument #2 to '...' (string, table, expected, got nil)
12:11:20: [StarTip] In StarTip / player loaded, event Event.Unit.Available
12:11:20: [StarTip] stack traceback:
12:11:20: [StarTip] [string "Rift core"]:173: in function <[string "Rift core"]:172>
12:11:20: [StarTip] [C]: in function 'error'
12:11:20: [StarTip] Dongle/Dongle.lua:250: in function 'argcheck'
12:11:20: [StarTip] Dongle/Dongle.lua:973: in function 'InitializeDB'
12:11:20: [StarTip] StarTip/StarTip.lua:374: in function <StarTip/StarTip.lua:371>
12:11:20: [StarTip] [string "Rift core"]:171: in function <[string "Rift core"]:147>
12:11:20: [StarTip] [C]: in function 'xpcall'
12:11:20: [StarTip] [string "Rift core"]:147: in function <[string "Rift core"]:138>
12:11:20: [StarTip] [C]: in function 'xpcall'
12:11:20: [StarTip] [string "Rift core"]:138: in function <[string "Rift core"]:133>
adelea is offline Report comment to moderator  
Reply With Quote
Unread 10-01-11, 10:28 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 fostot
Positioning doesn't work for me or my friends who are trying it. Maybe I misunderstood. It is just stuck in the upper-left corner. Do we need to install Dongle separately to get it to work?
Nah, Dongle's included. I just downloaded StarTip from here, and made sure it wasn't missing any files or causing errors somewhere. It seems to be ok, and I was able to configure and position the mouse.

What steps are you taking? You should be able to position it by taking these steps:

Type '/startip config'

Click the toggle box called "Position with Mouse" so that it's disabled. A little button should appear to the right labeled "Position Tooltip." Click that button.

The dialog should disappear and two things should appear in the middle of the screen. A button labeled "Close" and a little box labeled "Move Me."

Just move the box labeled "Move Me" around where you want to position the tooltip.

When finished just click the "Close Me" button.
starlon is offline Report comment to moderator  
Reply With Quote
Unread 10-01-11, 07:47 PM  
fostot
Zombie
 
fostot's Avatar

Forum posts: 3
File comments: 28
Uploads: 0
Positioning doesn't work for me or my friends who are trying it. Maybe I misunderstood. It is just stuck in the upper-left corner. Do we need to install Dongle separately to get it to work?
fostot is offline Report comment to moderator  
Reply With Quote
Unread 10-01-11, 02:34 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 moulin
A static tooltip would probably be more prudent at this time than one that is attached to the tooltip. Reason being is that while I like how clean this tooltip is, it becomes annoying very quickly when trying to heal over the raid unit frames.

Just a thought.
I wrote this addon primarily for myself. I like the tooltip attached to the mouse. Therefore, I add the features and designs I like myself first. You guys come second.

But that doesn't really matter cause I'm a step ahead of you. Type '/startip config' when you log back in.

Changelog: - Add port of Dongle, and provide first ability to save tooltip position. Needs work.

That and one other log entry were the only mentions, though. Sorry I didn't more clearly state that I added the support. Oh and the comment here right before yours also mentions the addition, although still not clearly. Sorry again.

Let me know if you think of any improvements.
Last edited by starlon : 10-01-11 at 02:36 PM.
starlon is offline Report comment to moderator  
Reply With Quote
Unread 10-01-11, 11:01 AM  
moulin
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 9
Uploads: 6
A static tooltip would probably be more prudent at this time than one that is attached to the tooltip. Reason being is that while I like how clean this tooltip is, it becomes annoying very quickly when trying to heal over the raid unit frames.

Just a thought.
Last edited by moulin : 10-01-11 at 11:01 AM.
moulin is offline Report comment to moderator  
Reply With Quote
Unread 09-30-11, 02:00 AM  
starlon
Claw of Regulos
 
starlon's Avatar
AddOn Author - Click to view AddOns

Forum posts: 10
File comments: 24
Uploads: 8
Very beta support for saved variables is in. Our first fields that we can save are profile.mouse, profile.x, and profile.y.

You can modify these fields via the dialog that is brought up by issuing the command: /startip config

I hope it's straight forward enough. I'm not much of a GUI designer. Feedback is welcome.
starlon is offline Report comment to moderator  
Reply With Quote
Unread 09-29-11, 08:40 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 Codeine
Any possibility that you can release an anchored version or point out to me in the code where I can change it from mouseover to an anchored tooltip. I've looked but couldn't find it.

Many Thanks.
I'm working on that as we speak. I need to figure out something for dealing with saved variables though. I'm not sure how to do it "right" yet. I'm looking into porting a really simple one-file addon framework written for WoW called Dongle. We'll see. But I definitely will provide settings for positioning the tooltip where you'd like.
starlon is offline Report comment to moderator  
Reply With Quote
Unread 09-29-11, 06:38 AM  
Codeine

Forum posts: 0
File comments: 2
Uploads: 0
Any possibility that you can release an anchored version or point out to me in the code where I can change it from mouseover to an anchored tooltip. I've looked but couldn't find it.

Many Thanks.
Codeine is offline Report comment to moderator  
Reply With Quote
Unread 09-28-11, 12:20 PM  
pengh
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 1
Uploads: 1
wonderful little addon, thanks for your work ;->
pengh is offline Report comment to moderator  
Reply With Quote
Unread 09-22-11, 01:43 PM  
blottica
Zombie
 
blottica's Avatar

Forum posts: 1
File comments: 3
Uploads: 0
just tried this on pts this is working really well, keep it up
blottica is offline Report comment to moderator  
Reply With Quote
Unread 09-12-11, 12:03 PM  
starlon
Claw of Regulos
 
starlon's Avatar
AddOn Author - Click to view AddOns

Forum posts: 10
File comments: 24
Uploads: 8
Yes, it's all very easy to add. It's a matter of writing short scripts, mostly one liners. I just ran out of time, and wanted to get a placeholder over here at riftui.

edit: But there's still work to do for LibScriptableRift. The Unit* functions need to be reworked so I'm not calling Inspect.Unit.Detail every single tooltip cell.

Some other details need to be worked out, such as localizations for calling names, etc...
Last edited by starlon : 09-12-11 at 12:12 PM.
starlon is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: