• 0

    posted a message on ItemValue
    Thanks, I think I know what's causing the error, forgotten I had fixed my copy of LibItemBonus-2.0 to work around it.
    Posted in: General AddOns
  • 0

    posted a message on Solving the library saved data problem?
    I'd thought of something like this in the past, abet a little heaver version. The equivalent of SharedData would be a mapping library that picked the right SharedData_## file to get the real data.... But decided against building it.

    What I'd like to see is that each directory able to have it's own .pkgmeta file and one of the fields in it be stuff to add to the TOC (including saved variables). Then let the library deal with merging if necessary.

    For example something simple might be:
    variables:
      - LibFooVar
    
    charvariables:
      - LibFooVarChar
    


    Which if the packager saw this in a .pkgmeta file including in an embedded directory it would add the named variables to the TOC of the addon.

    Libs could handle merging in the case of several addons using the same data....

    Semi-pseudo code.

    LibFooVarMerged = DEFAULTS
    
    function lib:data()
      if LibFooVar ~= LibFooVarMerged then
        -- Merge in settings from LibFooVar to LibFooVarMerged
        -- Possibly check a time stamp in LibFooVar when doing this
        if LibFooVar then
          for ... in pairs(LibFooVar) do
            -- actual data merge here.
          end
        end
        LibFooVar = LibFooVarMerged
      end
      return LibFooVar
    end


    Then using lib:data() to get the variable should make it all transparent. Renaming to mergedata() and calling at ADDON_LOADED and when the library is read etc might be another option abet a bit riskier.
    Posted in: Libraries
  • 0

    posted a message on ItemValue
    I put up some clones of ItemValue and ItemValue_DrDamage that use LibItemBonus-2.0 and should handle the new spell power stuff correctly. (Not sure if healing might need a 1.88 multiplier though.) Thexod if you are still around feel free to merge whatever you want from my changes back in to the mainline.


    Changes:
    • Uses LibDataBroker-1.1 instead of FuBarPLugin-2.0
    • Uses LibItemBonus-2.0 instead of ItemBonusLib-1.0
    • Fixed some embeds.
    • Fixed Spell damage / Healing => Spell power
    • Fixed Spell hit, crit and haste to use the new unified hit, crit and haste.
    Posted in: General AddOns
  • 0

    posted a message on Pawn alternative
    The spellpower stuff is broke in ItemValue, just put up some clones based on modifications I've been running myself.
    Posted in: Addon Ideas
  • 0

    posted a message on Baggins - Official Thread
    Quote from gregory2
    well, i tried baggins + baggins_closetgnome and it doesn't works. baggins + baggins_libfilter works fine.


    Strange. Which version of Baggins_ClosetGnome? 2008-10-25? I'll try to retest the version from curse. I wonder if I've left something out of the package that I pick up normally in SVN.
    Posted in: General AddOns
  • 0

    posted a message on PeriodicTable-3.1
    Quote from Elkano
    we could change it to use @file-date-integer@ instead of $Revision: x $ though that would mean we would have to add special treatment if a svn checkout is used since then that keyword wouldn't be replaced. though a svn cehckout can theoretically be assumed as the latest version I think.
    (see: http://www.wowace.com/knowledge-base/repository-keyword-substitutions/ )


    Problem with something like that is it might cause problems for addons that are not hosted at wowace that bring in LibPeriodicTable-3.1 via svn:externals.

    Someone already committed a fix to inflate them anyways it appears.
    Posted in: Libraries
  • 0

    posted a message on Curse Author Rewards Program
    From the FAQ all the examples of rewards seems like stuff like gift cards, etc. Is it possible to opt out of any junk (gift cards etc.) that would cost wowace / curse money and still be able to get the possibility of stuff like beta access for testing etc?

    Also you might want to check your point system so it doesn't end up counting stuff like mine twice. In my case I combined a bunch of my older plugins into a single library, and then to ease upgrades (though now wondering if I just created confusion) made the old projects become subsets of the library via embedding. So even though they are technically an addon using a library, it should probably only count once.
    Posted in: General Chat
  • 0

    posted a message on Baggins - Official Thread
    From a users point of view LibFilter is pretty much just a collection of my plugins. You only need one of the two. Baggins_LibFilter is a superset and includes Baggins_ClosetGnome plus a few other filters in a single bundle. It shouldn't hurt to have both installed, but there is no need. (The main point of libfilter is to allow me to abstract the interface so that the filters can also be used by other addons if support is added, and preventing the individual filters from having to depend on Baggins.)
    Posted in: General AddOns
  • 0

    posted a message on Baggins - Official Thread
    Quote from Nayala
    I'll probably be doing my version of Baggins_Outfitter as part of LibFilter-1.0 (perhaps this weekend). FYI mine version of Baggins_Outfitter, while offering the same features and in theory a drop in replacement is not related to the one hosted on wowace.


    Baggins_LibFilter version 2008-10-25B supports Outfitter now. You will have to remove or disable any old version of Baggins_Outfitter to be able to use the filter in LibFilter.
    Posted in: General AddOns
  • 0

    posted a message on LibFilter-1.0 - Generic Item Filter Library
    I think I've found the problem. And am also testing an outfitter filter that I just created. Uploaded. 2008-10-25 should have the fixes. Baggins_LibFilter 2008.10.25 should also have a Outfitter filter. The filter won't be visible though if either of the older Baggins_Outfitter plugins are loaded.
    Posted in: Libraries
  • 0

    posted a message on LibFilter-1.0 - Generic Item Filter Library
    The baggins outfitter on curse is not mine and I've not updated mine for Wotlk yet. The filters should work with the newest ClosetGnome. Did you have any sets defined in closetgnome?
    Posted in: Libraries
  • 0

    posted a message on LibFilter-1.0 - Generic Item Filter Library
    Do you have the old version of Baggins_ClosetGnome installed? Are you using the new Ace3 version of ClosetGnome? LibFilter-1.0 doesn't have Outfitter support yet.
    Posted in: Libraries
  • 0

    posted a message on LibFilter-1.0 - Generic Item Filter Library
    Future filter plans:
    Filter_Editor / LibFilter_Named => Allows the creation of named filters. Might require a few tweaks to the contract, but I don't think anything that should break backward compatibility. (Will probably require NewSettings be able to take an additional parameter for filter type for filters that support more than one type.)
    LibFilter_Logic => Meta filter allows other filters to be and / or together etc.

    I've also been thinking of adding support for "Categories" filter:GetCategory(settings,linkorstring) and "Ordering" filter:Compare(settings,linkorstringa,linkorstringb)
    Posted in: Libraries
  • 0

    posted a message on Do you think like a programmer?
    Quote from Xinhuan
    When you have completed it, go google for solutions on youtube. It appears that level 9 (or is it 10?) can be done in 1 move.


    I'll have to check that out. Still I want to do a second try myself before looking at a solution. I saw that someone got it in 132 from the comments at the puzzle itself.
    Posted in: General Chat
  • 0

    posted a message on Do you think like a programmer?
    Did it with 162, fun little puzzle. Noticed near the later levels unfortunately that it would count the finish at the end of functions as well as the main function, so using an "infinite loop" might actually get lower total commands.
    Posted in: General Chat
  • To post a comment, please or register a new account.