1. #1

    Alternative addon to Key Profiler2?

    Wondering if anyone has/knows of an alternative addon to Key Profiler 2? I use different keybinds for my PvE Enhance spec and PvP Resto Spec and need a working addon that will change keybinds on spec. Thanks!

  2. #2
    Put the spells on the correct buttons for each spec and don't worry about making the binds change? That's how I deal with it.

    I use Dominos and would think it would have something like this built in but I haven't noticed it or bothered looking for it.

    Download my UI here: Barretta UI

  3. #3
    Yeah I've tried that but the way I have my bars set up are totally different. Kinda had to exaplin but I think I've found a work around to it, thanks for the reply though

  4. #4
    github.com/haste/oBindings
    oBindings does what you are looking for.

  5. #5

  6. #6
    Field Marshal Tonyp's Avatar
    10+ Year Old Account
    Join Date
    Mar 2010
    Location
    A Long over populated Island
    Posts
    68
    question; does obindings work on the blizz ui or do i need some other addon like bartender?

  7. #7
    You don't need any other addon to make oBindings work, but be aware that this is a binding management for mad people.
    You need to edit the bindings in the lua files (no ingame configuration)
    But if you look in the bindings folder inside oBindings folder you will see some examples.
    If you want to make a new profile, for example for a druid you do it like this:

    First off, make a file in the bindings folder called "druid.lua" (or call it whatever you want, but for the purpose of this we want to make it simple)
    Then have this at the top of the file (edit it in notepad or any other simple text editor):
    Code:
    if(select(2, UnitClass'player') ~= 'DRUID') then return end
    local _, bindings = ...
    Then we can start on the bindings itself, we start on naming the bindings group, we shall start with feral
    Code:
    local feral = {
    Now, this is where the fun stuff starts.
    Here is where we insert all the bindings, it's fairly logical if you look at some of the examples

    Code:
    's|spell1', -- button 1
    's|spell2', -- button 2
    's|spell3', -- button 3
    [5] = 's|spell4', -- button 5
    As you can see over here, if we just are listing up 1,2,3,4,5 etc we don't need the number in front of it, but since we skipped 4 we had to insert [5] infront of the 5
    also, the first bit is what type of button it is, like "s" stands for spell, and we got 2 others also, "m" for macro and "i" for item
    You can also bind normal keys like this:
    Code:
    V = 's|spell1',
    R = 's|spell2',
    T = 's|spell3',
    F = 'm|/y HELLO',
    when it comes to modifiers it's the same there
    Code:
    ctrl = {
    's|spell1', -- button 1
    's|spell2', -- button 2
    's|spell3', -- button 3
    [5] = 's|spell4', -- button 5
    V = 's|spell1',
    R = 's|spell2',
    T = 's|spell3',
    F = 'm|/y HELLO',
    },
    Code:
    bear = {
    's|spell1', -- button 1
    's|spell2', -- button 2
    's|spell3', -- button 3
    [5] = 's|spell4', -- button 5
    },
    Since you should start to see the logical part in this i will now explain the last part and then i'll paste in a full example for a druid at the end

    The last thing you need in the file is something that link your profile to your specc, since we called our profile "feral" we have to use that name again like this:
    Code:
    oBindings:RegisterKeyBindings('Feral Combat', bindings.base, feral)
    'Feral Combat' Is what the specc is called ingame, bindings.base is the base bindings located in base.lua (you should edit these) and the last part is the name of your local profile here.

    Full example:

    Code:
    if(select(2, UnitClass'player') ~= 'DRUID') then return end
    local _, bindings = ...
    
    local feral = {
    's|spell1', -- button 1
    's|spell2', -- button 2
    's|spell3', -- button 3
    [5] = 's|spell4', -- button 5
    V = 's|spell1',
    R = 's|spell2',
    T = 's|spell3',
    F = 'm|/y HELLO',
    
    ctrl = {
    's|spell1', -- button 1
    's|spell2', -- button 2
    's|spell3', -- button 3
    [5] = 's|spell4', -- button 5
    V = 's|spell1',
    R = 's|spell2',
    T = 's|spell3',
    F = 'm|/y HELLO',
    },
    
    shift = {
    's|spell1', -- button 1
    's|spell2', -- button 2
    's|spell3', -- button 3
    [5] = 's|spell4', -- button 5
    V = 's|spell1',
    R = 's|spell2',
    T = 's|spell3',
    F = 'm|/y HELLO',
    },
    
    alt = {
    's|spell1', -- button 1
    's|spell2', -- button 2
    's|spell3', -- button 3
    [5] = 's|spell4', -- button 5
    V = 's|spell1',
    R = 's|spell2',
    T = 's|spell3',
    F = 'm|/y HELLO',
    },
    
    bear = {
    's|spell1', -- button 1
    's|spell2', -- button 2
    's|spell3', -- button 3
    [5] = 's|spell4', -- button 5
    },
    
    cat = {
    's|spell1', -- button 1
    's|spell2', -- button 2
    's|spell3', -- button 3
    [5] = 's|spell4', -- button 5
    },
    
    stealth = {
    's|spell1', -- button 1
    's|spell2', -- button 2
    's|spell3', -- button 3
    [5] = 's|spell4', -- button 5
    },
    
    } -- this is the ending of local feral = {
    
    oBindings:RegisterKeyBindings('Feral Combat', bindings.base, feral)
    Here is a list over modifiers that can be used:
    1. alt
    2. ctrl
    3. shift
    4. possess
    5. bar2
    6. bar3
    7. bar4
    8. bar5
    9. bar6
    10. stealth
    11. shadowDance
    12. shadow
    13. bear
    14. cat
    15. moonkintree
    16. battle
    17. defensive
    18. berserker
    19. demon

    When you are done making your profile you have to go to oBindings.toc and edit that file
    You should see a list over files that will be loaded, just add your file like this:
    Code:
    bindings\druid.lua
    Hope this helps, but be aware this is only for mad people
    Last edited by Dyneslott; 2010-11-22 at 08:20 AM. Reason: Full example is now actually a full example

  8. #8
    Wow, I didn't realise it was so complicated but your guide has helped a lot! I'll see if I can somehow pull it off but I doubt my ability with lua programming will get me far hehe
    Last edited by Menc; 2010-11-22 at 03:35 AM.

  9. #9
    It might be a bit scary at first, but after a while you start to see the logical things in it, and then it starts to get easy.
    Just ask if you get stuck on something and i'll be happy to help.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •