#61 Would it be possible to have some way of having Inspect.* functions return something other than nil when the reason its nil is because the data isnt available yet, rather than there not being any ?
For example, in my Onslaught addon, I have
Local ql = Inspect.Quest.List()
Now, sometimes after changing zone this comes back with a nil value - and its not possible as far as I can see, to tell the difference between, "this data is not available", and "there is no data to return"
#63 Would like to see the internal font list of RIFT, so we haven't to supply fonts by ourselves.
And a monospaced font like Courier New would be appreciated.
And could you return this in all :Set*-Methods?
local frame = UI.CreateFrame()
frame:SetPoint()
frame:SetText()
...
is a pain.
Code:local frame = UI.CreateFrame() frame:SetPoint() :SetText() :SetXYZ() ...![]()
Vince
GAME OVER
WORLD FIRST PRE NERFZ REGULOS
The list returned by Inspect.Quest.Complete() does not update when you actually complete a quest. I have an event handler for Event.Quest.Complete which simply tells my addon to reload the Inspect.Quest.Complete() list, but the list still holds the old values (and not for the quest you just completed).
Logging out/back in does not update the list either, only exiting Rift and restarting does...it looks like the list is cached somewhere when you first load the game.
Or can I just take the elements passed to the Event.Quest.Complete handler and add them to the list manually? This would be an OK alternative I guess.
Last edited by Sarim; 12-08-2012 at 04:14 AM.
Suggestion for a Text feature:
If a width is set, have a "truncate-with-elipses" option.
Rationale: You CAN do this in Lua code, but it is extremely hard, because you have to experiment iteratively to find a width at which this works. Since the fonts are proportional, you can't easily guess how much you would have to strip to reach a given width, so you end up with something like:
My guess is that the lower-level code has a MUCH easier time with tasks like "render the initial substring of this that is at most N pixels wide".Code:foo:SetText(s) if foo:GetWidth() > n then s = s .. "..." while foo:GetWidth() > n and #s > 3 s = string.sub(s, 1, #s - 4) .. "..." foo:SetText(s) end end
Last edited by the_real_seebs; 12-11-2012 at 01:16 PM.
You can play WoW in any MMO. You don't have to play WoW in RIFT. Oh, and no, RIFT is not a WoW clone. Not having fun any more? Learn to play, noob! I don't speak for Riftui, but I moderate stuff there. Got ideas for improving the RIFT community? Feel free to PM me. Just came back? Welcome back! Here's what's changed. (NOTE NEW URL)
#67 You can play WoW in any MMO. You don't have to play WoW in RIFT. Oh, and no, RIFT is not a WoW clone. Not having fun any more? Learn to play, noob! I don't speak for Riftui, but I moderate stuff there. Got ideas for improving the RIFT community? Feel free to PM me. Just came back? Welcome back! Here's what's changed. (NOTE NEW URL)
This doesnt seem the case, they are still missing.Originally Posted by ZorbaTHut
What are the changes you could add (to frame, text, texture etc etc etc) .Event.Visible and Event.NotVisible or something along those lines.... I need a way to fire off functions when windows become visible and not visible =P
The first line works as expected.Code:Command.Tooltip(Inspect.Item.Detail("sg01.001").type) Command.Tooltip(Inspect.Item.Detail("sg01.001").id)
The second one does nothing.
Author of the Imhothar's Bags addon.
hi,
I worked with the Addon Message System to send messages between different Shards and I have noticed Inspect.Time.Server() has a deviation of over 10 seconds.
NTP not enabled? This is a problem if you want to work with timestamps.
Perhaps that is the reason why some servers can join earlier conquest ;)
Last edited by MattiEN; 01-06-2013 at 04:46 AM.
As far as I can tell this can't be done yet, but I'd like it if we could inspect the souls of group/raid members without having to inspect buffs and hope for the best. Points would be cool, but not highly important. It would make the PvP Data Analysis tool I'm writing a lot more powerful if I could keep track of damage by soul distribution.
Also, as a thread in this forum states SetFont(source,font) is not working.
Bookmarks