• 0

    posted a message on Henge - Button spheres for all!
    No one's able to help clean up my code a little bit? I thought that I had set everything up right, but none of my buttons show up. My code is posted 2 posts above. Please look at it and let me know if theres anything I should change.
    Posted in: General AddOns
  • 0

    posted a message on Henge - Button spheres for all!
    No buttons show up, Could someone check my code and see if I made any mistakes? Much appreciated.

    ----------------
    -- BubbleHenge --
    ----------------


    local BubbleHenge = Henge:NewModule("BubbleHenge")

    BubbleHenge.fullname = "BubbleHenge"

    BubbleHenge.icon = "icon"

    local ML, SL, PT = nil, nil, nil


    function BubbleHenge:Test()

    local _, pClass = UnitClass("player")

    return pClass == "PALADIN"

    end


    function BubbleHenge:Load()

    ML = HengeLocale:LoadBubbleHenge()

    SL = AceLibrary("Babble-Spell-2.2")
    PT = AceLibrary("PeriodicTable-2.0")

    self.db = Henge:AcquireDBNamespace("BubbleHenge")

    -- Set up defaults

    self.defaultsPC = {}

    self.defaults = {}

    Henge:RegisterDefaults("BubbleHenge", "profile", self.defaults)

    Henge:RegisterDefaults("BubbleHenge", "char", self.defaultsPC)


    HengeSphere:AddData({

    ["id"] = "mana",

    ["name"] = ML["Mana"],

    ["func"] = function()

    return UnitMana("player"), UnitManaMax("player")

    end,

    ["event"] = "UNIT_MANA",

    ["arg1"] = "player"
    })


    local spell = {

    --Healing spells
    ["holylight"] = SL["Holy Light"],

    ["flashoflight"] = SL["Flash of Light"],

    ["layonhands"] = SL["Lay on Hands"],

    --Blessings
    ["BoM"] = SL["Blessing of Might"],

    ["BoF"] = SL["Blessing of Freedom"],

    ["BoP"] = SL["Blessing of Protection"],

    ["BoW"] = SL["Blessing of Wisdom"],
    --Blood Elf Racials
    ["MT"] = SL["Mana Tap"],
    ["AT"] = SL["Arcane Torrent"],

    --Seals + Judgements
    ["SoR"] = SL["Seal of Righteousness"],
    ["SoJ"] = SL["Seal of Justice"],
    ["SoCr"] = SL["Seal of the Crusader"],
    ["SoCo"] = SL["Seal of Command"],
    ["Ju"] = SL["Judgement"],
    --First Aid + Divine Protection
    ["DP"] = SL["Divine Protection"],
    ["FA"] = SL["Heavy Wool Bandage"],
    --Dispells
    ["Pu"] = SL["Purify"],
    --Tracking
    ["Mine"] = SL["Find Minerals"],
    ["UD"] = SL["Sense Undead"],
    --Aura
    ["DA"] = SL["Devotion Aura"],
    ["RA"] = SL["Retribution Aura"],
    ["CA"] = SL["Concentration Aura"],
    --Crowd Control
    ["HoJ"] = SL["Hammer of Justice"],
    ["TU"] = SL["Turn Undead"],
    --Rez + Hearth
    ["Rez"] = SL["Redemption"],
    ["HS"] = SL["Hearthstone"],
    --Tankadin
    ["RD"] = SL["Righteous Defense"],
    ["RF"] = SL["Righteous Fury"],
    --Holy Dmg
    ["Ex"] = SL["Exorcism"],
    ["Con"] = SL["Consecration"]
    }


    for k, v in pairs(spell) do

    HengeAction:Add({

    ["id"] = k,

    ["name"] = v,

    ["type"] = 'spell',

    ["spell"] = v
    })
    end


    HengeButton:Add({

    ["id"] = "Pu",

    ["type"] = "action",

    ["name"] = ML["Dispells"],

    ["desc"] = nil,

    ["actions"] = {

    ["LeftButton"] = "Pu",
    },

    ["options"] = {

    ["anchor"] = "sphere:Main",

    ["xpos"] = 0,

    ["ypos"] = 0,

    ["angle"] = 85,

    ["texture"] = "action:LeftButton"
    }
    })
    end


    HengeButton:Add({

    ["id"] = "holylight",

    ["type"] = "action",

    ["name"] = ML["Healing Spells"],

    ["desc"] = nil,

    ["actions"] = {

    ["LeftButton"] = "holylight",

    ["RightButton"] = "flashoflight",

    ["Shift-LeftButton"] = "layonhands"
    },

    ["options"] = {

    ["anchor"] = "sphere:Main",

    ["xpos"] = 0,

    ["ypos"] = 0,

    ["angle"] = 105,

    ["texture"] = "action:LeftButton"
    }
    })
    end


    HengeButton:Add({

    ["id"] = "MT",

    ["type"] = "action",

    ["name"] = ML["Racials"],

    ["desc"] = nil,

    ["actions"] = {

    ["LeftButton"] = "MT",

    ["RightButton"] = "AT",
    },

    ["options"] = {

    ["anchor"] = "sphere:Main",

    ["xpos"] = 0,

    ["ypos"] = 0,

    ["angle"] = 125,

    ["texture"] = "action:LeftButton"
    }
    })
    end


    HengeButton:Add({

    ["id"] = "Con",

    ["type"] = "action",

    ["name"] = ML["Holy Damage"],

    ["desc"] = nil,

    ["actions"] = {

    ["LeftButton"] = "Con",
    },

    ["options"] = {

    ["anchor"] = "sphere:Main",

    ["xpos"] = 0,

    ["ypos"] = 0,

    ["angle"] = 145,

    ["texture"] = "action:LeftButton"
    }
    })
    end


    HengeButton:Add({

    ["id"] = "RA",

    ["type"] = "action",

    ["name"] = ML["Auras"],

    ["desc"] = nil,

    ["actions"] = {

    ["LeftButton"] = "RA",

    ["RightButton"] = "CA",

    ["Shift-LeftButton"] = "DA"
    },

    ["options"] = {

    ["anchor"] = "sphere:Main",

    ["xpos"] = 0,

    ["ypos"] = 0,

    ["angle"] = 165,

    ["texture"] = "action:LeftButton"
    }
    })
    end


    HengeButton:Add({

    ["id"] = "Ex",

    ["type"] = "action",

    ["name"] = ML["Holy Warrior"],

    ["desc"] = nil,

    ["actions"] = {

    ["LeftButton"] = "Ex",

    ["RightButton"] = "TU",
    },

    ["options"] = {

    ["anchor"] = "sphere:Main",

    ["xpos"] = 0,

    ["ypos"] = 0,

    ["angle"] = 185,

    ["texture"] = "action:LeftButton"
    }
    })
    end


    HengeButton:Add({

    ["id"] = "Mine",

    ["type"] = "action",

    ["name"] = ML["Tracking"],

    ["desc"] = nil,

    ["actions"] = {

    ["LeftButton"] = "Mine",

    ["RightButton"] = "UD",
    },

    ["options"] = {

    ["anchor"] = "sphere:Main",

    ["xpos"] = 0,

    ["ypos"] = 0,

    ["angle"] = 205,

    ["texture"] = "action:LeftButton"
    }
    })
    end


    HengeButton:Add({

    ["id"] = "DP",

    ["type"] = "action",

    ["name"] = ML["Bubble"],

    ["desc"] = nil,

    ["actions"] = {

    ["LeftButton"] = "DP",

    ["RightButton"] = "FA",
    },

    ["options"] = {

    ["anchor"] = "sphere:Main",

    ["xpos"] = 0,

    ["ypos"] = 0,

    ["angle"] = 225,

    ["texture"] = "action:LeftButton"
    }
    })
    end


    HengeButton:Add({

    ["id"] = "Rez",

    ["type"] = "action",

    ["name"] = ML["Utility"],

    ["desc"] = nil,

    ["actions"] = {

    ["LeftButton"] = "Rez",

    ["RightButton"] = "HS",
    },

    ["options"] = {

    ["anchor"] = "sphere:Main",

    ["xpos"] = 0,

    ["ypos"] = 0,

    ["angle"] = 245,

    ["texture"] = "action:LeftButton"
    }
    })
    end


    HengeButton:Add({

    ["id"] = "RD",

    ["type"] = "action",

    ["name"] = ML["Tankadin"],

    ["desc"] = nil,

    ["actions"] = {

    ["LeftButton"] = "RD",

    ["RightButton"] = "RF",
    },

    ["options"] = {

    ["anchor"] = "sphere:Main",

    ["xpos"] = 0,

    ["ypos"] = 0,

    ["angle"] = 265,

    ["texture"] = "action:LeftButton"
    }
    })
    end
    Posted in: General AddOns
  • 0

    posted a message on Henge - Button spheres for all!
    Woot! Thanks for taking the time to inform us on your current progress! We appreciate all the work your doing! Although I'm not the best coder in the world, I'll see what I can do to help complete the shaman/pally modules. Again, thank you for your time on this mod! Can't wait to see it finished.
    Posted in: General AddOns
  • 0

    posted a message on Henge - Button spheres for all!
    i only said so long because this mod came out in Nov. 06 and has not seen any significant change in any way. I understand when people are busy, but its not to much to ask to have a little help on this project if its over his head or if he's just to busy or whatever. No need for hostility, I just want to see this mod functional, because it has great potential. I've downloaded every updated version and have not noticed any changes, to make this project more complete. I'm sorry if I'm impatient, but I've been looking for a mod of this type for a long long time, and would like to see some work being done on it. Guess I've just been spoiled with bi-weekly updates on 90% of my mods. I apologize if it seems I'm being rude. Like I said, I just want to see this project get finished and have some working modules for each and every class.
    Posted in: General AddOns
  • 0

    posted a message on Henge - Button spheres for all!
    So is this mod RIP or something? Theres been no updates in like 3 months. Its completely understandable if the author has a busy life or whatever, but theres no reason why someone else couldn't take over if the author is unable to. Theres no reason a mod this good should be just left to be forgotten in the dark.
    Posted in: General AddOns
  • 0

    posted a message on Henge - Button spheres for all!
    Is this mod still being updated? Cause if not, then someone should pick up the slack. This has to great of potential to just let it fall to the wayside.
    Posted in: General AddOns
  • 0

    posted a message on Henge - Button spheres for all!
    Thank you for all the hard work your putting into this project. It has extremely great potential. Just thought I'd stop by and let you know theres been another sphere mod released. The mod is Totemus. Maybe you can collaborate together to produce a greater version then either of you two ever imagined!! Or at the very least you could check out the code for some new ideas like XP/Rep tracking on the sphere via text or graphic (graphic is what you'll prob want to track it as, text might take up to much space)

    Hope to see an update soon!!!!!

    Majere - Lightning's Blade
    Although we have heard of foolish haste in war, Cleverness has never been associated with long delays.
    Posted in: General AddOns
  • 0

    posted a message on Henge - Button spheres for all!
    Great mod, love the potential it has. On my shaman everything looks pretty good, but I would like to suggest that water shield, and even earth shield be added to a sub-menu of the lightning shield button. Also under water totems, mana tide shows up even when not specced for it. Although it will only show a blank circle with the words mana tide when moused over.
    Posted in: General AddOns
  • 0

    posted a message on cyCircled - Circled buttons for more than just BT2
    Thank you for this lovely mod, but I would like to request that Bartender 3 be supported as this is the newest version that will work with BC. Thank you for your time. Hope to see this updated soon!
    Posted in: General AddOns
  • To post a comment, please or register a new account.