StarTip-Rift

Natural

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 profile addon that you or someone else writes. 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.

Here's an example to give you a feel: http://rift.curseforge.com/addons/startip-rift/pages/example-profile/

To load it, type: /startip profile YourProfileName

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.

You must login to post a comment. Don't have an account? Register to get one!

  • 10 comments
  • Avatar of Yelina2 Yelina2 Dec 20, 2012 at 11:14 UTC - 0 likes

    @Yelina2: Go

    Well apparently this addon is 'dead'. Very pity. I like it a lot.

  • Avatar of Yelina2 Yelina2 Dec 13, 2012 at 18:43 UTC - 0 likes

    I got an error since today's patch. (2.1) Looking in the addon folder for the name of the thingie that gives an error I ended up in Startip.

    So I really hope you will be able to fix it. I will paste the error, I get ingame, below.

    Error: LibScriptablePluginUnit_1_0/LibScriptablePluginUnit-1.0.lua:646: bad argument #1 to 'insert' (table expected, got nil) In LibScriptablePluginUnit_1_0 / LibScriptablePluginUnit-1.0.lua stack traceback: [C]: in function 'insert' LibScriptablePluginUnit_1_0/LibScriptablePluginUnit-1.0.lua:646: in main chunk

  • Avatar of Yelina2 Yelina2 Sep 17, 2012 at 11:57 UTC - 0 likes

    I noticed the addon won't install thru the Curse client. It doesn't say there is an update even if I see it on the website. Clicking 'install thru curse client' don't do anything. Nothing happens. Well it opens the client and goes to the download page there, but it isn't downloading. So I installed the addon manually from the curse site. (Version 1.4.2.) and I reopened the curse client. BUT the curse client still says that I have version 1.2.11. So something is wrong there. Also I noticed it didn't say there was an update in the Curse Client since at least 14-7. But I think it was earlier, cause back than I also was looking into that I believe. So I missed the last couple of updates. In the client, in the column 'status' it keeps on saying its modified. While it isn't. It also says that after a fresh manual install of the addon.

  • Avatar of starlon starlon Jul 05, 2012 at 00:34 UTC - 0 likes

    @Yelina2: Go

    Nah, I'm still around to keep my addons at least updated.

    Trion started sending us addon authors bug reports through email, so that alerted me to the bug.

  • Avatar of Yelina2 Yelina2 Jul 04, 2012 at 22:37 UTC - 0 likes

    @Yelina2: Go

    Thanks a lot for the update :))))

  • Avatar of Yelina2 Yelina2 Jul 03, 2012 at 08:54 UTC - 0 likes

    Hey. Is there still maintenance for this addon? I really love it! Since patch 1.9 an error keeps popping up. This is what I get ingame. I hope some one is still working on the addon. I surely would miss it a lot.

    Error: LibScriptable_1_0/config.lua:197: ']' expected near '=' In LibScriptable_1_0 / config.lua

  • Avatar of kine420 kine420 Mar 02, 2012 at 02:51 UTC - 0 likes

    i really like the look of your tooltip addon here. man the default one is so bad haha. glad you have made this.

    i do have one question though.

    is it possible to attach StarTip to the cursor? thanks!

  • Avatar of Unrak Unrak Sep 27, 2011 at 17:49 UTC - 0 likes

    Many thanks, I had looked through the API and couldn't see a way of doing it, hence the question. Thanks for clarifying.

  • Avatar of starlon starlon Sep 27, 2011 at 04:19 UTC - 0 likes

    At some point you'll be able to choose to position the tooltip wherever -- such as anchoring it in the bottom right hand corner if so desired. I'm not sure when that will happen.

    To clarify; Trion doesn't want to give us the ability to hook into hard coded elements, but we'll have the ability to hide elements at some point. This will happen _after_ 1.5 some time if they go forward with it.

    Last edited Sep 27, 2011 by starlon
  • Avatar of Unrak Unrak Sep 26, 2011 at 15:56 UTC - 0 likes

    Is it possible to hook Startip to the default tooltip leaving my viewport clear?

  • 10 comments

Facts

Date created
Sep 12, 2011
Category
Last update
Sep 24, 2012
Development stage
Release
Language
  • enUS
License
GNU General Public License version 3 (GPLv3)
Curse link
StarTip-Rift
Downloads
11,588
Recent files

Authors