Pally Buffs
Is the any chance of someone making an info panel mod for all of the pally blessings and greater blessings similar to the mage potral addon?
|
Rofl, I was thinking something along those lines for my priest/mage buffs so I can finally get rid of cryolysis as that is all I use it for now.
Technically it should be possible to make one to work with all classes and add the buttons dynamically :D I'll have to look into it and see whats possible and go from there. Unless someone else was thinking of doing this ? In which case I won't be greedy and step back for someone else to have fun :D |
Actually, I love pally power, is there any way to fit that into an info-panel thingy?
|
I whold love to take a shot at this but i have no idear how to go about making any addon :(
|
Use either the Mage Portal or Professions InfoPanel as a guide.
Use wowhead to find the spellIDs for the spells you want to utilise and set them up in the list in the main file. Use GetSpellInfo with ID to get the details, with Link to see if they know it. If they don't the button gets greyed out until it is known. I think I had it tracking level up or new ability learnt event so that it triggers an update. Professions was based on Mage Portals and I know Mage Portals fitted 2 lines of centered buttons assigned to spells ready to press as required. A little tweaking and removing of code will get you a working version to test out. |
Speaking of Mage Portals...
Is it possible to get it to restock arcane dust as well as the teleport/portal runes? Every time I finally get to the reagent seller, I just hit the OK button and forget to grab more powder. :o |
Quote:
|
Ok, let me re-ask this question. Where in the code could I go and tweak to add in the arcane powder, so that I may continue to be lazy and forget to actually buy powder without actually forgetting?
:D |
Quote:
Okay in file MagePorts.lua In function MagePorts_ReagentRestock(Confirmed) add the following before the for loops. Code:
It should then include arcane powder in your restocking routine. Any other items you may need restocking then just copy that block and change the number to the itemID wowhead shows for it. |
Quote:
:D /edit - sorry I think i just answered my own question by rereading your post. (answer being yes) |
Quote:
Edit: Okay, here goes. Look for this block of code and you should see what I changed. Code:
-- Check to see if this is a reagent vendor |
Ok do I need to post both things or just make the later changes in that area? I am so lost as I am SO not a coder. lol
/edit - If I put both sets of info in, I throw an error on opening the reagent vendor. If I only make the changes you listed later, I throw the error only when I am trying to hit the ok buy button. |
Ok, I give up for now. I can't seem to get it to work right, so if there is simply a way for me to just add the arcane powder to the item list and have it at least stock the the max of 20 I set that would be great. I tried to just add the itemID for the powder to the beginning of that line but that seems to break it too. So I will wait until you are more available and will try again later.
|
I'll do some coding on it to make it more flexible and test it to make sure what you want will work. That code I posted was untested so it might have had some bugs in it.
|
Quote:
|
Quote:
I still at the marco area of coding... |
Can you direct me to where I would look to learn to make info panels plug ins? I only have practice with c and c++, but if I can figure out how to make a plug-in for pallypower, it'll be worth it.
|
Quote:
Since then I have moved on and learnt more and have tidied up the code somewhat to separate the infopanel coding from the addons they are pluging into so you might want to also look at my decursive / omen plugin as that is an example of such separation. My more recent visits to infopanel coding is to create a self contained plugin that doesn't require any other addon. In that instance I had a separate lua file that contained the functionality and treated it as if it was a separate addon within the infopanel coding. The MagePortals addon is an example of that. There are others out there and I am sure there are a few of us that can help you if you have any queries. But your first steps would be to identify the frames in the addon you want to reparent into the infopanel and think up how they can be anchored in there. |
So no word yet on the reagent thingy?
/sheepish grin |
Sorry, not had a chance to work on them yet. Sleep pattern got totally messed up and Ive been waking up about 2 hrs before raid time rofl. Need to get repair money :D
|
All times are GMT -6. The time now is 09:07 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI