• 0

    posted a message on Skillet - Official Thread
    Quote from spifffers »

    I looked at that jira link and didn't see an issue for my suggestion.

    The one thing I love about the default interface is filtering recipes by reagent. For example if i have lots of felweed and want to see what I can craft with it. Type in felweed and it displays only the recipes that use that reagent. Unfortunatly neither Skillet or ATSW do this. They only filter by recipe name.

    Is this a useful enough idea to be put on a list of future enhancements?


    I've recently changed the recipe filtering so that it checks both recipe names and reagent names. In your example, typing in 'felweed' will display any recipe with Felweed in the name, or in the list of reagents. This was filed as http://jira.wowace.com/browse/SKL-32

    I'm planning on expanding the filtering options in future versions, but doing that right is going to take a bit more time than I have at the moment, so I've pushed it to a future version.
    Posted in: General AddOns
  • 0

    posted a message on Skillet - Official Thread
    Quote from Ackis »

    I have the skill level, and a sorting function for it as well if that's what you mean. I don't know how that would integrate into skillet however.


    You can call Skillet:AddRecipeSorter() in ThirdPartyHooks.lua. There should be enough comments for that method to get you started. This will allow you to put your own sorting method in the drop down list in the main UI. It will also tell Skillet which method to call when items need to be sorted.
    Posted in: General AddOns
  • 0

    posted a message on Common library for inventory tracking
    Quote from Industrial »

    why don't you go and _improve_ what's already there?


    Well, that's kind of what this thread is about. I could not find anything even close to what I'm trying to implement so I wanted to know if anyone else knew of a library that I missed.

    To be clear here, I do not want to write another inventory tracking mod or library. There are already lots of those. I want to slap a common API over top of all the existsing libraries I can so that I can use whatever the end-user happens to have installed. I'll check with Elkano and see if he thinks his LibInventory library is close enough in purpose that it can have these extra features added in.
    Posted in: Libraries
  • 0

    posted a message on Common library for inventory tracking
    Quote from Siz »

    There's InventoryLib by Elkano. I haven't looked into its code though.


    I looks at it first and as I understand it, it just caches inventory info for the current session


    Just thinking out loud from my experience playing with Possessions... I would love to see a well written, efficient inventory tracking library.


    Interesting ideas, but I think you misunderstand my intent. I was not going to write an inventory tracking library, I was going to write a library that but a common interface on existing libraries. Much the same way Auction does for WoW_Econ, KC_Items, Auctioneer, etc.
    Posted in: Libraries
  • 0

    posted a message on Skillet - Official Thread
    Quote from fred »

    Don't know what has changed to show these errors when doing a tradeskill scan , for a mod called GuildTradeskills.


    2007/10/29 22:00:15-187-x2]: Skillet-1.10-53338\ThirdPartyHooks.lua:160: AckisRecipeListFrameScanButton:SetPoint(): AC_UseButton is dependent on this
    <in C code>: in function `CastSpellByName'


    Wow, I don't even know that that error message *means* :(

    I will look into it though, and see if it is something Skillet is doing.
    Posted in: General AddOns
  • 0

    posted a message on Common library for inventory tracking
    I've a need in my mod to track inventory across multiple characters. So I've started looking around for libraries that already do this. So far, I've found:

    • OneStorage
    • Sanity2
    • Character Info Storage
    • BankItems
    • BankList
    • Possessions

    Rather than writing support for all three (and any other that I can find) into my mod, I've decided to write a library that does the same thing as Auction-1.0. Namely, present a common API to any of the inventory tracking libraries that happen to be installed.

    I was going to call it LibInventory, but that name is already taken so I'm thinking of something like LibStorage, or LibCommonStorage.

    I was wondering if anyone had any strong opinions about the idea or the name? Even better, does anyone know if this kind of wrapper library has already been written?

    Edit: Looks like this post is less that clear on what I'm planning, so I though I'd flesh it out.

    I am going to create a very thin wrapper around existing mods or libraries that track character inventory so that they can be accessed with a common API. I am not going to be tracking inventory in any way, shape, or form myself with this new library.

    I won't be scanning inventory, nor will I be writing anything to disc

    I got the idea from http://svn.wowace.com/wowace/trunk/Auction-1.0/, and I will be structuring the library is almost exactly the same fashion. Here's an example of how you would use the library:

    local inventory = LibStub and LibStub:GetLibrary('LibPossessions')
    local count = inventory:GetItemCount(itemID)


    LibPossessions:GetItemCount would then call a method in the first mod it detected as being supported and installed to get the total count of the specified item ID across all characters and return it. In Sanity2, this would be Sanity:GetOwnersFor(), In CharacterInfoStorage, this would be CharacterInfoStorage:GetNumItems()

    In the process of creating this mod, I am also going to write up a proposed common API that can be used by the mods listed above. Much the same way http://www.wowwiki.com/API_GetSellValue does for vendor prices.
    Posted in: Libraries
  • 0

    posted a message on Skillet - Official Thread
    Quote from lilsparky »

    oh. haha. i thought you were using a library to handle all that stuff.

    okay, take a look at adding the word "MENU" to your dropdown init function. like:

    UIDropDownMenu_Initialize(SkilletSortDropdown, Skillet.SortDropdown_Initialize, "MENU")

    it's not documented on wow wiki, but that tells the init routine to modify the dropdown to remove the arrow and the frame around the selection, plus change the dropdown menu borders to be rounded vs squared.


    I tried it out and I really did not like the look of it. I think I'll be sticking with the standard combo box for now.


    or you could do this: (which is copied from the blizzard dropdown init code)
    -- trimmed --
    basically it makes the arrow invisible and spanning the entire area of the pulldown textbox so clicking on the text brings up the dropdown.

    even if you don't drop the arrow, the rounded look on the dropdown looks nicer with the rest of the skillet framing.



    SkilletSortDropdown.displayMode = "MENU"; -- changes the pop-up borders to be rounded instead of squar


    I do like the way the displayMode = "MENU" looks and have already checked that in. However, I don't think I'll be ditching the arrow on the combobox. I may, however, move the arrow indicating sort direction so that it is not right next to the combo box. That does look a bit odd.


    oh, and on the subject of drop-downs. you should check for the longest sort label being registered and either grow the dropdown menu selector to fit, or come up with some kind of clipping routine. "LSW: Reagent Cost" is too long and steps on other elements in the frame.


    Sure, that's a good idea.
    Posted in: General AddOns
  • 0

    posted a message on Skillet - Official Thread
    Quote from lilsparky »

    yeah, i meant for the combo box. it seems odd to have 2 arrows next to each other, but the placement of the sort order reverse makes perfect sense -- right next to the dropdown. maybe then it's a request for the author of the library than handles the combo box to have a way to disable the arrow.


    It's a Blizzard standard combobox, so I don't think they're going to change it :-)
    Posted in: General AddOns
  • 0

    posted a message on Skillet - Official Thread
    Quote from Ringleron »

    By chance there are future plans on being able to viewing an Alt's professions and recipes?


    Filed as http://jira.wowace.com/browse/SKL-36. I'm not sure when I could get to this as I suspect that the current design of Skillet might make this a bit tricky.


    Or perhaps, in the Skillet tooltip that displays what items are needed to make the items, the name of the alt that can make the ingredient could be displayed.

    Say the current character is a tailor and wants to make a silk pack.

    One of the ingredients is heavy leather. Somewhere in the heavy leather area, it would say an alt (who is a leatherworker) can make it. Of course, if the alt doesn't know the recipe, it won't appear. (Alt B has the recipe.)

    And if tracking the inventory of an alt is possible, then if the alt can make the heavy leather based on items in bags/bank, the tooltip will note it otherwise. (Alt B has the recipe and can make it.)


    Filed as http://jira.wowace.com/browse/SKL-37. This one should be less of a problem and will probably make it into the next version within the next couple of weeks.
    Posted in: General AddOns
  • 0

    posted a message on Skillet - Official Thread
    Quote from lilsparky »

    woot for the reversible sort! double woot for the saved-per-sort method sort-order! for the sort plug in api, would it be possible to define a default order? my sort routine for sorting by cost puts the cheapest first by default whereas the others all sort by most expensive/highest first. if i could tell skillet that, it would be great.


    Should not be too hard, logged as http://jira.wowace.com/browse/SKL-35


    is there a way to get rid of the down arrow on the pulldown list of sorting methods?


    You mean the one in the combo box or the one for the sort order? For the combo box definitely not, for the sort order maybe. Why do you want to get rid of it?
    Posted in: General AddOns
  • 0

    posted a message on Skillet - Official Thread
    Quote from Tylius »

    While having the alchemy window open and learning a few recipes

    Date: 2007-10-26 17:19:26
    ID: 51
    Error occured in: Global
    Count: 1
    Message: ..\AddOns\Skillet\UI\Sorting.lua line 154:
     invalid order function for sorting
    Debug:
     Ace2\AceEvent-2.0\AceEvent-2.0.lua:304: TriggerEvent()
     Ace2\AceEvent-2.0\AceEvent-2.0.lua:962:
       Ace2\AceEvent-2.0\AceEvent-2.0.lua:955
    AddOns:
    <snip>



    This looks to be one of these "this can never happen" errors, but I'm looking into it now.


    Also, tooltip scaling based on the UI options doesn't seem to be working (or do I need to reset the config for skillet first?)


    The tooltip scaling is based on the global UI scale right now. When I put this in I debated on whether or not to use the global setting or Skillet's setting. I choose the global setting because I think haveing all tooltips in the game use the same scaling works a bit better.

    Let me know what you think of that. I'm always looking for feedback on this kind of thing.
    Posted in: General AddOns
  • 0

    posted a message on Skillet - Official Thread
    Quote from lilsparky »

    i could swear that skillet used to tell me how many items i could craft based on available craftable items. like if i had raw cloth enough to make 10 bolts and i was going to make something that took 2 bolts each, it'd tell me that i could make 5 based on my inventory. anyway, if it did, it doesn't seem to be working for me. if it didn't, it should. :)


    Nope, this has never been a feature of Skillet. However, it should not be too hard to write. I'll file a feature request for it and see about getting it in.
    Posted in: General AddOns
  • 0

    posted a message on Skillet - Official Thread
    Quote from torano »

    I'm sure someone has already suggested this, but would be great to see how many of the mats required to make something are available on ALTS. ATSW does this.


    Yup, I'm planning on focussing on inventory features for the next release, and that is at the top of the list.
    Posted in: General AddOns
  • 0

    posted a message on Skillet - Official Thread
    Quote from Speeddymon »

    The buttons added to the skillet frame by the function in ThirdPartyHooks, even though it checks if the button is the same, can somehow still be added in and the old button not created.. EG AckisRecipeList's Scan Recipes button. If I open the skillet window, then close it, then open the same one again, the button is spaced farther to the left, as if the original button was added to the frame still.


    Yeah, the problem is that a new button is being created an passed to the function in Skillet's ThirdPartyHooks each time the window is opened. I fired off a message to Ackis about this and am currently pondering how to deal with it in the Skillet code.

    It's tricky because a new button *is* being added each time the window is opened, and the old one is still there (just hidden).
    Posted in: General AddOns
  • 0

    posted a message on Skillet - Official Thread
    Quote from Seerah »

    The ATSW search filter also takes into account mats. So, if I typed "primal" into the filter field, I would see not only something with the word primal in the name, but also anything that uses a Primal to make. Could this be implemented, please? Thank you. :)


    Sure thing. Filed as http://jira.wowace.com/browse/SKL-32 and checked in. Enjoy!
    Posted in: General AddOns
  • To post a comment, please or register a new account.