• 0

    posted a message on Not packaging new versions of my addon

    My update took a little more than a day to show up.  I haven't touched it since, though I've been trying to figure out a clean way to be able to resize text from a customizable setting.  Probably won't get updated again any time soon...

     

    Posted in: Need Help?
  • 0

    posted a message on Not packaging new versions of my addon

    Mine finally updated. I think this might be a case of things just taking reeeeeealy long to process, or it getting hung up sometimes.

    Posted in: Need Help?
  • 0

    posted a message on Not packaging new versions of my addon

    In reply to olafskiii:

     

    It's not just you, I'm having the same issue with the addon I've been maintaining.  I use the same svn process and it just acts as if I've done nothing.  I have updated branches and verified the tag pushed properly.  My guess is that there's something still off in relation to the subversion deploy process.

    Posted in: Need Help?
  • 0

    posted a message on Twitch App displaying wrong version of game compatibility

    So, has anyone actually found out what's causing this issue?  I'm having the same problem.  Looks like this is still lingering with no resolution.  Mine's showing 3.3.0 on Twitch.  Could it be related to legacy mods (ones that've been around for a very long time)?  Maybe it's something about old subversion?

    Posted in: Project Discussion
  • 0

    posted a message on Glyphs and Glyph Spells
    A minor update. I logged characters for all classes but monks and grabbed the glyph id values. Manually matching them to their Glyph itemNames (there's some funky stuff going on with some of the newer glyphs like Bear Cub having multiple references). So far, I've found nothing that crashes things and my addon's up and working.

    Thanks a ton for the help. Looks like foreign language Wow Clients will be supported.
    Posted in: Need Help?
  • 0

    posted a message on Glyphs and Glyph Spells
    Looks like I'm back to manually grabbing data again. The way I'm now getting the data is like this:

            local glyphList = {};
    	if (GetNumGlyphs() > 0) then
    		for index = 1, GetNumGlyphs() do
    			local name, glyphType, isKnown, _, id, glyphLink = GetGlyphInfo(index);
    			if (name ~= "header") then
    				GlyphReporter_Print("Glyph Id: " ..id);
    				glyphList[id] = { ["id"] = name, ["Type"] = glyphType, ["Known"] = isKnown };
    			end	
    		end
    	end
    	local Player = { ["Glyphs"] = glyphList };
    	ReporterDB[realm][player] = Player;


    This gives me all the glyphs a character can learn and what are already known. I put that data into my database on the last line and it's saved on logout. Originally, I saved by name and used it as my key to check known glyphs by stripping off the "Glyph of" or "Glyph of the" from the Glyph names.

    Using this, I can grab all the glyph info by logging in a character of each class. It's a bit slow but workable. At least it'll give me a mostly complete list until I can log a monk character for the data.
    Posted in: Need Help?
  • 0

    posted a message on Glyphs and Glyph Spells
    Ever have one of those weeks where everything turned into a much more complicated situation than should be? Well, this is one of them.

    Apparently, glyphs are a special sort of item that have a third reference that is neither the spellId nor the itemId. The third is an id that I get when I perform a GetGlyphInfo call. It's being reported both in the id return and in the glyphLink when I yank the id out.

    Now, I can try working with this different set of references, but am worried about working with something I'm now unclear on. So, I'm casting out for some knowledge first. What is the id I'm getting back when I perform a GetGlyphInfo call? Is there any danger in using it as a unique glyph identifier (since I'm only comparing glyphs)?

    Ugh, and I thought I was just going to do a quick knockout of this stuff.
    Posted in: Need Help?
  • 0

    posted a message on Glyphs and Glyph Spells
    Quote from Phanx
    Yep. For example, the Glyph of Astral Recall item has the ItemID 43381, and the Glyph of Astral Recall spell has the SpellID 58058.

    local data = { -- itemID => spellID
    	[43381] = 58058, -- Astral Recall
    	[41526] = 55442, -- Capacitor Totem
    	[41518] = 55449, -- Chain Lightning
    }
    


    The comments aren't necesary, but I'd recommend including them so you know which IDs are which.

    If you need to convert the IDs into names, you can use GetItemInfo or GetSpellInfo, or string matching on a link if that's what you're working with.


    I'm actually starting to warm up to this. It'll be a bit tedious to set up but shouldn't be changing much since I'm implementing it now rather than mid-way through an expansion. Moment I get home, I'll knock this out.

    Thanks a ton! I'm just getting the hang of how addons work and have gotten far too spoiled with Visual Studio's helpers.
    Posted in: Need Help?
  • 0

    posted a message on Glyphs and Glyph Spells
    Quote from Phanx
    If you're using IDs, there is no language support to manage... IDs are the same in every language. ???


    From what I'm understanding, I need to have a list of all the itemIDs and spellIDs. I was confusing item names and item ids. My brain's running 4 directions. I've a deadline at work and would rather fiddle with my addon.

    Only having a single list of references isn't sooo bad, I guess.
    Posted in: Need Help?
  • 0

    posted a message on Glyphs and Glyph Spells
    Quote from Phanx
    A better solution might be to build your map using ItemID => SpellID, since those are locale-independent. wowhead.com kgo!


    Yeah, that's the original idea. I just hate the idea of manually managing lists of all the glyphs on all the supported languages and was grasping at straws to make things less intensive.
    Posted in: Need Help?
  • 0

    posted a message on Glyphs and Glyph Spells
    Ugh, I was afraid of that. I guess if I want to put in localization support, I could look into whether or not other languages have the same sort of prefixing that I could strip off as well. Of course, I'm one of those lamers that only knows English so I'd be flying in the dark...
    Posted in: Need Help?
  • 0

    posted a message on Glyphs and Glyph Spells
    Does anyone know of an easy way to grab what Glyph Spell is associated with a particular Glyph inventory item? I'm trying to figure out a simple way to check if the glyph is known in a predefined list of known glyph spells (from an alt).

    So far,I've just been stripping off "Glyph of" or "Glyph of the" from the Glyph's name. It works fine as long as it's running in English, but completely falls apart with any localization. The only alternative I can think of is to host a manual database of Spell->Glyph name associations I'd have to manually manage and update for any supported languages. Any ideas?
    Posted in: Need Help?
  • To post a comment, please or register a new account.