Quantcast WoWInterface - Search Results
Showing results 1 to 25 of 358
Search took 0.02 seconds.
Search: Posts Made By: Rainrider
Forum: Legion Beta AddOn Help & Feedback 07-14-16, 12:29 PM
Replies: 41
Views: 2,812
Posted By Rainrider
This implies that the player you are inspecting...

This implies that the player you are inspecting has the library installed :)
Forum: Legion Beta AddOn Help & Feedback 07-13-16, 04:31 PM
Replies: 41
Views: 2,812
Posted By Rainrider
If I understand correctly Ketho is wanting...

If I understand correctly Ketho is wanting something to tell the progression of characters he doesn't know. It is probably at least to some extent doable through the combat log as the golds are...
Forum: General Authoring Discussion 07-08-16, 12:10 PM
Replies: 13
Views: 579
Posted By Rainrider
Both LibStub and CBH have stand-alone versions as...

Both LibStub and CBH have stand-alone versions as of now. Also the post does not provide any reasoning as to why not to strip them and not to include them in the #OptDeps field of the .toc
Forum: General Authoring Discussion 07-06-16, 02:38 AM
Replies: 13
Views: 579
Posted By Rainrider
But something like: assert(LibStub, "MyLib...

But something like:

assert(LibStub, "MyLib requires LibStub")
local otherLib = LibStub("OtherLib-1.0") -- second argument is nil, so errors are not silenced

should be enough to tell the user why...
Forum: General Authoring Discussion 07-05-16, 08:53 AM
Replies: 13
Views: 579
Posted By Rainrider
One further thing I don't quite get about...

One further thing I don't quite get about CallbackHandler and LibStub is why it is recommended that they are embedded into the lib that uses them. If the author supports disembedded use and the user...
Forum: Lua/XML Help 06-30-16, 10:51 AM
Replies: 2
Views: 181
Posted By Rainrider
Try this instead: local runes = 0 for rune = 1,...

Try this instead:


local runes = 0
for rune = 1, 6 do
if GetRuneType(rune) == 1 then
local _, _, ready = GetRuneCooldown(rune)
if ready then
runes = runes + 1
end
Forum: Legion Beta AddOn Help & Feedback 06-30-16, 08:53 AM
Replies: 41
Views: 2,812
Posted By Rainrider
The game will fail to switch artifacts when one...

The game will fail to switch artifacts when one of those occurs:

You change from a spec with an acquired artifact to one without (the previous artifact remains equipped)
You change from a spec...
Forum: General Authoring Discussion 06-29-16, 03:42 AM
Replies: 13
Views: 579
Posted By Rainrider
I'm sorry, I didn't mean to make it sound like it...

I'm sorry, I didn't mean to make it sound like it is LibStub's or CallbackHandler's fault. I see it is so by design and there is no real way around and not much harm in it. A part of my learning...
Forum: General Authoring Discussion 06-28-16, 03:14 PM
Replies: 13
Views: 579
Posted By Rainrider
So the only way would be to disallow embedding...

So the only way would be to disallow embedding the library and lock the lib object with some meta table magic? And then rawset remains :(

I will follow your advice and just ignore that then. It...
Forum: General Authoring Discussion 06-28-16, 10:38 AM
Replies: 13
Views: 579
Posted By Rainrider
The library is...

The library is https://github.com/Rainrider/LibArtifactData-1.0

Me is me. I don't want to prevent using the library, I want to prevent somebody returning data instead of me.

Edit:
Maybe I still...
Forum: General Authoring Discussion 06-28-16, 10:06 AM
Replies: 13
Views: 579
Posted By Rainrider
Understanding CallbackHandler

The documentation for CallbackHandler-1.0 states that the way for mixing it in a library is like that:

local lib = LibStub:NewLibrary("MyLibName", 1)
lib.callbacks = lib.callbacks or...
Forum: Legion Beta AddOn Help & Feedback 06-27-16, 12:04 PM
Replies: 41
Views: 2,812
Posted By Rainrider
Relic updates are now in as well as the knowledge...

Relic updates are now in as well as the knowledge level tracking. The knowledge multiplier can only be updated when an artifact is viewed, so if I pick a new level I just send a message that the...
Forum: Legion Beta AddOn Help & Feedback 06-26-16, 04:47 AM
Replies: 41
Views: 2,812
Posted By Rainrider
@myrroddin The first return should be just...

@myrroddin
The first return should be just "item", but it contains the color too. The 15th return should be a table containing the bonusIDs for the first gem if I understand your documentation...
Forum: Legion Beta AddOn Help & Feedback 06-25-16, 08:29 AM
Replies: 41
Views: 2,812
Posted By Rainrider
Dump:...

Dump: value=GetInventoryItemLink("player",16)
[1]="|cffe6cc80|Hitem:128826::137313:137412:137411::::110:254:256:9:1:727:210:3:1826:1467:3339:2:1726:1477:2:1826:1457|h[Thas'dorah, Legacy of the...
Forum: Legion Beta AddOn Help & Feedback 06-24-16, 01:29 AM
Replies: 41
Views: 2,812
Posted By Rainrider
@SDPhantom :128826::137313:137412:::::110:254:256...

@SDPhantom

:128826::137313:137412:::::110:254:256:9:1:727:210:3:1826:1467:3339:2:1726:1477:

:128826::137313:137412:137411::::110:254:256:9:1:727:210:3:1826:1467:3339:2:1726:1477:2:1826:1457:
This...
Forum: Legion Beta AddOn Help & Feedback 06-23-16, 11:43 AM
Replies: 41
Views: 2,812
Posted By Rainrider
The relics are considered gems. You can get them...

The relics are considered gems. You can get them from the item link. Socketing the relic triggers UNIT_INVENTORY_CHANGED and 3 ARTIFACT_UPDATE. If it is the equipped artifact PLAYER_EQUIPMENT_CHANGED...
Forum: Legion Beta AddOn Help & Feedback 06-23-16, 08:23 AM
Replies: 41
Views: 2,812
Posted By Rainrider
I wasn't aware of that, will investigate...

I wasn't aware of that, will investigate further.


That seems weird, I'll test this one too.


ARTIFACT_XP_UPDATE is fine. Both events fire when purchasing traits. However I don't need to scan all...
Forum: AddOn Search/Requests 06-22-16, 08:14 PM
Replies: 9
Views: 631
Posted By Rainrider
You may try...

You may try http://www.wowinterface.com/downloads/info23891-DejaCharacterStats.html
Forum: Legion Beta AddOn Help & Feedback 06-21-16, 02:21 PM
Replies: 41
Views: 2,812
Posted By Rainrider
I do exactly as SDPhantom says - look up...

I do exactly as SDPhantom says - look up PrepareForScan() and RestoreStateAfterScan(). They are called only from InitializeScan(), which in turn is called either upon PEW, or PLAYER_EQUIPMENT_CHANGED...
Forum: Legion Beta AddOn Help & Feedback 06-20-16, 10:30 AM
Replies: 41
Views: 2,812
Posted By Rainrider
I also started a data store library for...

I also started a data store library for artifacts. If you are interested take a look at the code (https://github.com/Rainrider/LibArtifactData-1.0).

I still have to figure some stuff out, like...
Forum: oUF (Otravi Unit Frames) 06-15-16, 04:46 AM
Replies: 0
Views: 280
Posted By Rainrider
oUF events and elements

A lot of oUF elements use

if (unit ~= self.unit) then return end

in their update function. Is there any benefit to it? I thought oUF's event dispatcher takes care about this and the frame only...
Forum: Legion Beta AddOn Help & Feedback 06-13-16, 01:55 PM
Replies: 41
Views: 2,812
Posted By Rainrider
The way you uploaded it, it won't load at all (no...

The way you uploaded it, it won't load at all (no ToC file).

You need a way to tell users when data changed. You could use CallbackHandler for this.

Your RefreshEquipped() and RefreshBags() are...
Forum: Legion Beta API and Graphics Changes 05-23-16, 08:30 AM
Replies: 12
Views: 748
Posted By Rainrider
You could look them up here...

You could look them up here (https://www.townlong-yak.com/framexml/beta). Don't know how they got them though, but the strings are probably in some db file right now.

EDIT: Sorry for the useless...
Forum: Legion Beta AddOn Help & Feedback 05-22-16, 12:45 PM
Replies: 41
Views: 2,812
Posted By Rainrider
Tested with the macro: /run local...

Tested with the macro:

/run local u,e,a=UIParent,"ARTIFACT_UPDATE",C_ArtifactUI;u:UnregisterEvent(e);SocketInventoryItem(16);for i,p in ipairs(a.GetPowers()) do...
Forum: Legion Beta AddOn Help & Feedback 05-21-16, 06:22 AM
Replies: 41
Views: 2,812
Posted By Rainrider
@Simca you can load the addon, but the...

@Simca you can load the addon, but the C_ArtifactUI API returns just nils while the ArtifactFrame is not open. Or I'm too short sighted to get it.

@dssd yes, but only one artifact can be active at a...
Showing results 1 to 25 of 358