• 0

    posted a message on Summoning Battle Pets from a Secure Button

    Wowpedia has a page about the SecureActionButtonTemplate. The possible values of the "type" attribute along with whatever attributes are connected to them are listed about halfway down the page or so. 

     

    http://wow.gamepedia.com/SecureActionButtonTemplate

     

    Posted in: Lua Code Discussion
  • 0

    posted a message on Cant get Secure Button to work

    My reply might be a bit late here, but can the issue be something as simple as another frame with a higher strata or framelevel covering it? And has the frame been enabled for mouse input? 

     

    Posted in: Lua Code Discussion
  • 0

    posted a message on pkgmeta: moving a subfolder with the same name as the main folder up one level
    Quote from Torhal >>

    You people are clearly insane.

     :D :D :D :D
    You made my day! ;)
    Posted in: WoW Sites Feedback
  • 0

    posted a message on pkgmeta: moving a subfolder with the same name as the main folder up one level

    Well, first of all, the repository is on github. It's not a local curseforge one. I used to work with two separate repositories, one for github and one for curseforge, but with the recent changes to curseforge it just seemed simpler to use a single repository for everything. No more copying of files back and forth needed for me. 

     

    When creating my git repository I put the addon folder in a subfolder, for various reasons. One of them being that the project will eventually contain multiple addons, and it made more sense to keep it in the same repository since they all belonged to the same project. In retrospective this probably wasn't the smartest choice. 

     

    I guess the best solution is simply to rearrange the folders in the git repository. Less headache that way. ;) 

    Thanks for the answer, though! :) 

     

     

     

     

    Posted in: WoW Sites Feedback
  • 0

    posted a message on pkgmeta: moving a subfolder with the same name as the main folder up one level

    I have a slight problem with a git repository I'm linking. The problem is that the actual addon is located within a sub folder of the repository. So my folder structure will end up as follows in the zipped file people download:  


    MyAddOn

       MyAddOn

           otherfolder

           otherfolder

           otherfolder

           MyAddOn.toc

     

    But of course what I would want to have is: 

     

    MyAddOn

        otherfolder

        otherfolder

        otherfolder

        MyAddOn.toc


    Not a big problem, as I can easily use the pkgmeta to move all the subfolders and files up a level. That solution does however leave me with an empty folder inside the zipped addon with the same name as the main addon folder. And that seems... messy. So I was wondering if it is possible to move the entire subfolder with the addon up one level to WoWs AddOn directory, even though there already is a folder with that name there, and thus have its content replace the "wrong" addon folder? If you understand.

     

    Basically I'm asking (before I jump into it and start messing up people's downloads by trying) if it's possible to do the following in the pkgmeta file, without the world imploding or something: 

     

     

    move-folders: 
       MyAddOn/MyAddOn: MyAddOn

     

     

    Posted in: WoW Sites Feedback
  • 0

    posted a message on Access to /SAVEDVARIABLES/ ???
    You cannot use the savedvariables files to update or import data while the game is running, and the reason is simple.

    WoW reads the saved variables when you login, and saves them when you log out/reload. So any values you change when the game is running, will be overwritten by the WoW client when you reload or relog, since WoW does nothing but writing to the savedvariables file on exits, and nothing but reading on login. See the problem?

    If you wish to import data while the game is running, the solution is to split your addon into separate files, for example one data.lua and one main.lua. Make sure data.lua is loaded before the main.lua. Then you'll have your external program update information in the data.lua file, and your addon can access it after a reload/relog.

    You can share information between different files in your addon by adding something like this at the very start of each file:
    local addon, ns = ...
    Where 'addon' will return the (folder)name of your addon, and 'ns' refers to the addons namespace. Or a shared table for all the files in your addon, to put it in simpler terms.

    So if you put let's say this in the data.lua file:
    local addon, ns = ...
    ns.myName = "Lars"
    Then you can access it in the main.lua file later by this:
    local addon, ns = ...
    print(ns.myName) 
    This however, doesn't solve all of your problems, because to syncronize data between and out-of-game client and an in-game addon is a two way operation. First you need to use the mentioned way to import data, since savedvariables is useless for this. But the savedvariables files is however the ONLY way to export data. So your program needs to import data to a file in the addon directory, and export using the savedvariables file.

    And you need to make a system so the addon knows what's what. For example; if the data in the data.lua file is older then what is found in your savedvariables file, it shouldn't import the data.lua data, but rather use the savedvariables data. You need to put timestamps of some sort on all your data, in other words.

    Good luck!
    Posted in: Need Help?
  • 0

    posted a message on Store Gift Card Restock?
    Quote from Nevcairiel
    Check the "Item Codes" list on the store page (Tab on the far right - https://www.wowace.com/home/item-codes/)
    Look for your order id that went missing, it should show all item codes in that list, in case the mail went missing on the way or something.

    If its not in there, contact Kaelten directly.


    Item code is not listed in my item codes, that was one of the first things I checked.

    I did as instructed and mailed Kaelten, but he appears to be AFK for a while, to put it that way.

    Anybody got any idea at all on when the store will be restocked on amazon.co.uk gift certificates? (...and when Kaelten or whomever handles the store will be back?)

    Or is this one of those times I should simple be more patient, and wait and see?
    Posted in: General Chat
  • 0

    posted a message on Store Gift Card Restock?
    Don't mean to necro a thread here, but the store has been out of £10 gift cards for quite some time. And now the £20 are empty too.

    Also, after 7 days, I have yet to receive the code for one I did order. The order is labeled as "fulfilled", but no e-mail or item code has become available for me yet.

    Any word on when the store will be restocked?
    Posted in: General Chat
  • 0

    posted a message on Fubar_HonorFuPlus
    On thing that bothers me with both FuBar_Honor and Plus; Diminishing returns. They don't exist anymore. The tooltip tells me that a guy I've killed twice today, only gives 80% honor, which hasn't been the case since 2.4.0. They provide 100% every single kill now, until they have been killed 50 times, then you get 0 for the remaining duration of the battleground. This however resets when the BG ends.

    Other than that, great work! - Keep it up. ;)
    Posted in: FuBar AddOns
  • To post a comment, please or register a new account.