• 0

    posted a message on Summoning Battle Pets from a Secure Button

    That's not the answer I wanted, but it is the information I needed. Thanks!

    Posted in: Lua Code Discussion
  • 0

    posted a message on Summoning Battle Pets from a Secure Button

    Does anyone know what attributes to set on a SecureActionButton to summon a battle pet? I was sure I'd figured this out at one point, but when I went back to my notes and tested the code, it didn't work.

    Code:
    btn = CreateFrame("Button", "TestPet", UIParent, "SecureActionButtonTemplate,ActionButtonTemplate");
    btn:SetAttribute("type", "summonpet");
    btn:SetAttribute("summonpet", C_PetJournal.GetPetInfoByIndex(1));
    btn:SetPoint("Center",UIParent)

    I can't seem to find any documentation anywhere on what to set the "type" attribute to. GetActionInfo() helpfully tells me "summonpet" is a thing, but is that the type? It's own attribute? Both?

     

    I know summoning pets can be done without going the Secure route, but everything else in AutoBar is secure.

    Posted in: Lua Code Discussion
  • 0

    posted a message on Packager not producing Release
    I created the tag on my end and pushed it, and it seems to have worked. Is Tagging via CurseForge not supposed to work?
    Posted in: Need Help?
  • 0

    posted a message on Packager not producing Release
    I created the tags via the CurseForge UI, and each time I did the packager fired up and decided there was nothing to do.
    Posted in: Need Help?
  • 0

    posted a message on Packager not producing Release
    I've tried tagging MuffinLibPTSets to get a Release, but it keeps producing alphas. The documentation states:

    A version string is the name you give your tags when you do a right click -> tag/branch. If this name contains only dots and digits and optionally starts with the letter v (such as "v1.2.3" or "v1.23" or "3.2") or contains the word "release", then it is considered a release tag and a release zip will be created. If the above conditions don't match, it is considered a beta tag and a beta zip will be created. All other commits (that are not tagged) are alphas and alpha zips will be created.


    I have tried various combinations of that without any luck.
    Posted in: Need Help?
  • 0

    posted a message on PeriodicTable-3.1
    Quote from Graubar
    noob question - can we use LPT to filter BoE items? I am looking through the files, but didn't see anything. I used to have baggins set up, nicely, where all my BoE drops were nicely grouped together.


    I don't think LibPT is a good way to do this. The list of items would be massive and it also wouldn't handle the fact that using a BoE item makes it soulbound, so soulbound items would show up in your list too.

    I don't know about Baggins, but ArkInventory can set up rules to handle what you want.
    Posted in: Libraries
  • To post a comment, please or register a new account.