• 0

    posted a message on Autopackager Error

    https://github.com/AdiAddons/LibPlayerSpells-1.0/blob/master/.travis.yml#L29 is how use it

     

    I should have posted this link instead of my crazy copy/pasta fail, I'm sorry for this :(

     

    You could see the error message on travis-ci (scroll to the bottom and click on "Deploying application" - line 345 in the log)

    Posted in: WoW Sites Feedback
  • 0

    posted a message on Autopackager Error

    Sorry, I meant the projectID.

     

    Edit: we use this https://www.curseforge.com/forums/wow-sites/wow-sites-feedback/182992-github-and-automatic-packaging#c5 if that matters.

    Posted in: WoW Sites Feedback
  • 0

    posted a message on Autopackager Error

    When I try

    curl -sdS https://wow.curseforge.com/api/projects/{my package id}/package?token={my token id}

     I get

    <html><head><title>Object moved</title></head><body><h2>Object moved to <a href="/error?aspxerrorpath=/api/projects/my package id/package">here</a>.</h2></body></html>

     What does this mean?

     

    Posted in: WoW Sites Feedback
  • 0

    posted a message on Github and automatic packaging

    Adirelle found a way around this:

     

    1. Set up your github/bitbucket repo under Settings > Source

    2. Do NOT set up the webhook on github/bitbucket

    3. from within your tests poke the payload url, after your tests have passed:

    curl -sdS {host}/api/projects/{projectID}/package?token={tokenID}

     

    or if your tests run under Windows:

    Invoke-WebRequest -Uri {host}/api/projects/{projectID}/package?token={tokenID} -Method POST

    Posting your tokenID in public code is not a sane way to do this. You should provide this in a secure way.

    Posted in: WoW Sites Feedback
  • 0

    posted a message on Github and automatic packaging

    Currently I can have either all or just tagged commits auto-packaged. I'd like to package all commits that pass CI tests. This boils down to only package when you get the status event with state set to "success" in the payload.

    Posted in: WoW Sites Feedback
  • 0

    posted a message on Github and automatic packaging

    It is possible to only package on a success status for the sake of using CI with Github? Please take a look at https://developer.github.com/v3/activity/events/types/#statusevent

    Posted in: WoW Sites Feedback
  • 0

    posted a message on Problems with Options
    Thanks again for your help, Phanx, it is much appreciated!

    The reason for the current code structure is:
    I have two versions of oUF_Rain - one with a gui config and one without. I wanted then to add the gui config in a separate file so that I could easily keep the two versions sync'd. I understand the problem with it now and will look into changing this appropriately.

    Edit: moving away from upvalues seems to solve the problem. I reference ns.cfg from within oUF:Factory, which is ran at PLAYER_LOGIN where the dababase is already populated. For rain_functions.lua and rain_modules.lua I just removed the cfg upvalue and use ns.cfg where needed, which seems to work too as all the stuff is being evaluated at oUF:SetActiveStyle from oUF:Factory. I'll look further if I missed something.

    As for the clickSpell, that's actually my current implementation of it.

    You are right about FocusHelper, your advice would simplify it a bit. The element itself only loads for hunters so I could do with one depth level less.

    Thank you for the catch about Deathknights.
    Posted in: AddOn HELP!
  • 0

    posted a message on Problems with Options
    I'm sorry, I'm still somehow not able to make it work. Until now I just laid out the options and added the profiles but the ouf layout itself was not using the savedvars. I now changed this and I'm getting the following errors:

    4x oUF_Rain_GUI-beta\oUF_Rain.lua:282: attempt to index upvalue "cfg" (a nil value)
    oUF_Rain_GUI-beta\oUF_Rain.lua:282: in function "func"
    oUF-1.5.15\factory.lua:17: in function <oUF\factory.lua:13>
    (tail call): ?
    
    Locals:
    self = <unnamed> {
     0 = <userdata>
     PLAYER_LOGIN = <func> @oUF\factory.lua:13
     active = true
    }
    (for generator) = <func> =[C]:-1
    (for state) = <table> {
     1 = <func> @oUF_Rain_GUI\oUF_Rain.lua:280
    }
    (for control) = 1
    _ = 1
    func = <func> @oUF_Rain_GUI\oUF_Rain.lua:280
    _QUEUE = <table> {
     1 = <func> @oUF_Rain_GUI\oUF_Rain.lua:280
    }
    oUF = <table> {
     DisableBlizzard = <func> @oUF\blizzard.lua:39
     SetActiveStyle = <func> @oUF\ouf.lua:333
     EnableFactory = <func> @oUF\factory.lua:35
     ColorGradient = <func> @oUF\colors.lua:45
     SpawnHeader = <func> @oUF\ouf.lua:503
     RegisterStyle = <func> @oUF\ouf.lua:323
     AddElement = <func> @oUF\ouf.lua:571
     UnitlessTagEvents = <table> {}
     Factory = <func> @oUF\factory.lua:24
     RegisterMetaFunction = <func> @oUF\ouf.lua:312
     Tags = <table> {}
     TagEvents = <table> {}
     colors = <table> {}
     units = <table> {}
     objects = <table> {}
     DisableFactory = <func> @oUF\factory.lua:39
     version = "1.5.15"
     RunFactoryQueue = <func> @oUF\factory.lua:43
     HandleUnit = <func> @oUF\units.lua:8
     RegisterInitCallback = <func> @oUF\ouf.lua:308
     IterateStyles = <func> @oUF\ouf.lua:346
     Spawn = <func> @oUF\ouf.lua:548
    }


    and

    4x oUF_Rain_GUI-beta\rain_functions.lua:13: attempt to index local "cfg" (a nil value)
    oUF_Rain_GUI-beta\rain_functions.lua:13: in main chunk
    
    Locals:


    I believe the problem is because I don't exactly mimic my default options in SavedVars. This is only the case for the buffTable, debuffTable and clickSpell tables and this is where the errors occur. Am I right about this? How would I have to change the code in order to get the tables as they are in my config? I tried
    args = {
    	clickSpell = {
    		[ns.playerClass] = {
    			type = "input",
    			name = "Click-spell",
    			desc = "Spell to be cast on middle-click",
    		},
    	},
    },


    but it doesn't seem to be the right way to do it (or of course I'm wrong about the reasons)

    You could see the whole code at https://github.com/Rainrider/oUF_Rain_GUI. My default options are contained in rain_config.lua, savedvars and the aceconfig option tables are created in rain_gui.lua

    Thanks for helping me through this.
    Posted in: AddOn HELP!
  • 0

    posted a message on Problems with Options
    Oh, silly me. Works like charm. Thank you very much Phanx
    Posted in: AddOn HELP!
  • 0

    posted a message on Problems with Options
    I'm sorry, I mistakenly posted an old error log. The line in question is 265 in my pastebin. The error message is the same. It is the call to AceDBOptions. As I said, the options are functional if I comment the line out.
    Posted in: AddOn HELP!
  • 0

    posted a message on Problems with Options
    Hello,

    it trying to move the options for my oUF layout to an ace3 GUI config.

    rain_gui.lua - This is where I create my SavedVars and layout the options for the bliz config panel.
    rain_config.lua - This is my original config, which I use as default

    Everything is working fine up to the point where I try to add the profile options through AceDBOptions-3.0. I get the following error:

    24x Ace3-r1039\AceDBOptions-3.0\AceDBOptions-3.0-12.lua:306: table index is nil
    Ace3-r1039\AceDBOptions-3.0\AceDBOptions-3.0-12.lua:306: in function <Ace3\AceDBOptions-3.0\AceDBOptions-3.0.lua:295>
    Ace3-r1039\AceDBOptions-3.0\AceDBOptions-3.0-12.lua:409: in function "GetOptionsTable"
    oUF_Rain-beta\rain_gui.lua:296: in main chunk
    
    Locals:
    self = <table> {
     optionTables = <table> {}
     handlers = <table> {}
     GetOptionsTable = <func> @Ace3\..\AceDBOptions-3.0.lua:402
    }
    db = nil
    noDefaultProfiles = nil
    tbl = <table> {
     type = "group"
     name = "Profiles"
     desc = "Manage Profiles"
    }
    AceDBOptions = <table> {
     optionTables = <table> {}
     handlers = <table> {}
     GetOptionsTable = <func> @Ace3\..\AceDBOptions-3.0.lua:402
    }
    L = <table> {
     delete_sub = "Deletes a profile from the database."
     current = "Current Profile:"
     delete_confirm = "Are you sure you want to delete the selected profile?"
     reset_desc = "Reset the current profile back to its default values, in case your configuration is broken, or you simply want to start over."
     delete_desc = "Delete existing and unused profiles from the database to save space, and cleanup the SavedVariables file."
     reset_sub = "Reset the current profile to the default"
     new_sub = "Create a new empty profile."
     copy = "Copy From"
     intro = "You can change the active database profile, so you can have different settings for every character."
     new = "New"
     delete = "Delete a Profile"
     choose_sub = "Select one of your currently available profiles."
     profiles_sub = "Manage Profiles"
     default = "Default"
     profiles = "Profiles"
     copy_desc = "Copy the settings from one existing profile into the currently active profile."
     choose = "Existing Profiles"
     choose_desc = "You can either create a new profile by entering a name in the editbox, or choose one of the already existing profiles."
     reset = "Reset Profile"
    }
    getOptionsHandler = <func> @Ace3\..\AceDBOptions-3.0.lua:295
    optionsTable = <table> {
     current = <table> {}
     copydesc = <table> {}
     deldesc = <table> {}
     choose = <table> {}
     desc = <table> {}
     copyfrom = <table> {}
     delete = <table> {}
     descreset = <table> {}
     new = <table> {}
     choosedesc = <table> {}
     reset = <table> {}
    }
    
    


    I don't believe I'm passing an empty table for it or am I? Could you help me please?
    Posted in: AddOn HELP!
  • 0

    posted a message on Mendeleev [PT3]
    First of all I appologize for picking up on an old thread, I just didn't find another official one for Mendeleev.

    I changed my local copy to get rid of LibBabble-Class as it is depricated for quite some time now. The change is fairly trivial and done by using FillLocalizedClassList from the Blizz API. I wanted to upload the changes myself but don't have access to the repo and don't know where or who I should ask about it. I attach the changed files, so you could preview or merge them yourselves if you wish.

    Best regards
    Rainrider
    Posted in: General AddOns
  • 0

    posted a message on Bollo - Customizable Modular Buff display
    Hi Zariel, i just wanted to ask whether you'll develop this mod further and if there is going to be a LK version of it. There is not much being commited vo github either.
    Posted in: General AddOns
  • 0

    posted a message on Bollo - Customizable Modular Buff display
    In Beta 2.4.3-19.1:

    'Enable' and 'Font Size' options in the 'Duration' module for 'Weapon Buffs' do not get saved between sessions.
    Profile changes do not apply until /rl again.

    Waiting on a feature complete Bollo2 :)

    Edit: forgot to mention which module
    Posted in: General AddOns
  • 0

    posted a message on Bollo - Customizable Modular Buff display
    Bugs in 2.4.3-Beta17:
    'Weapon Buffs' and 'Totems' do not save exact anchor frame position between sessions.
    'Weapon Buffs' and 'Totems' do not save BF color information between sessions (I'm sorry, I don't like the default "equipped" color and set to full transparency).

    There is still a minor issue with blizzard like duration - blizzard rounds up and you round down, so flasks state 2hrs duration in buff tooltip and Bollo displays 1hr. (or a 3min debuff apears as 2min in Bollo)

    Feature Request:
    Could we have right click possible on totem buffs, so we could remove the totem? With this Bollo would become feature complete for me.

    Thank you so much for the effort you put in this.
    Posted in: General AddOns
  • To post a comment, please or register a new account.