Download
(6Kb)
Download
Updated: 08-15-09 05:56 AM
Pictures
File Info
Updated:08-15-09 05:56 AM
Created:11-08-08 05:54 PM
Downloads:7,472
Favorites:52
MD5:

mBindings  Popular! (More than 5000 hits)

Version: 3
by: Mickelus [More]

Allows you to easily keybind abilities from your spellbook and macros from your macro frame(give your macros different names or this wont work).
Mouseover an ability/macro and press a key to bind them together.
I have also implented a profile system which allows you to easily swap between diffrent sets of keybindings.

mBindProfile(number or string) may be used change profile with a macro or an addon.
Example 1: mBindProfile(1) will load the first profile in the list.
Example 2: mBindProfile("tank") will load a profile named tank.
Example 3: /run if GetActiveTalentGroup()==1 then mBindProfile("damage") else mBindProfile("heal") end will change to the damage profile if you're in primary spec or change to the heal profile if you're in secondary spec.

2 Added macro bindings and profile thingie.
1.01 Fixed a major and a minor bug.
Optional Files (0)


Post A Reply Comment Options
Unread 06-28-09, 09:47 AM  
Mickelus
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 4
File comments: 117
Uploads: 8
Originally posted by parker
Hi, I like this AddOn a lot and was wondering if any progress has been made lately on DualSpec support?
It already supports dualspec?
Report comment to moderator  
Reply With Quote
Unread 08-14-09, 01:13 AM  
Argumentative
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Change Profiles

Hey, sorry if this is a stupid question, but is there a way to include changing mBinding profiles in a talent/gear macro?

something like:

Code:
/equipset [spec:1] Prot; [spec:2] Holy
/mBindings setProfile [spec:1] Prot; [spec:2] Holy
/usetalents [spec:1] 2; [spec:2] 1

Edit: Thanks for the info.
Last edited by Argumentative : 08-15-09 at 11:31 AM.
Report comment to moderator  
Reply With Quote
Unread 08-15-09, 11:43 AM  
Annekynn
A Fallenroot Satyr

Forum posts: 21
File comments: 144
Uploads: 0
Is this able to bind Shift + Mouse Left Click?
Report comment to moderator  
Reply With Quote
Unread 08-15-09, 01:51 PM  
Mickelus
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 4
File comments: 117
Uploads: 8
Originally posted by Annekynn
Is this able to bind Shift + Mouse Left Click?
Nope.

but is there a way to include changing mBinding profiles in a talent/gear macro?
Now there is, check the addon description.
Report comment to moderator  
Reply With Quote
Unread 08-16-09, 06:30 AM  
Lunarion
A Deviate Faerie Dragon
 
Lunarion's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 12
File comments: 73
Uploads: 1
Because this addon supports profile, spec, and gear changes I love it a lot more than Click2Cast. The only catch however is that it is unable to bind Shift + Left Click and Shift + Right Click. Do you have any intentions of adding such support?
__________________
Report comment to moderator  
Reply With Quote
Unread 08-16-09, 07:21 AM  
Mickelus
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 4
File comments: 117
Uploads: 8
You can't bind the left and right mouse button. Click2Cast does what it does by modifying attributes of secure frames. So no, I have no intetions of adding such suppoer at this time.
Report comment to moderator  
Reply With Quote
Unread 08-16-09, 05:03 PM  
Lunarion
A Deviate Faerie Dragon
 
Lunarion's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 12
File comments: 73
Uploads: 1
Originally posted by Mickelus
You can't bind the left and right mouse button. Click2Cast does what it does by modifying attributes of secure frames. So no, I have no intetions of adding such suppoer at this time.
Alright. Shame, but thanks for the info. I suppose I could run both and just use C2C for my cures whilse using mBindings and it's profiles for everything else if I reallly wanted too.

Good work on the addon none the less. ^.^
__________________
Report comment to moderator  
Reply With Quote
Unread 09-09-09, 05:16 PM  
ßlink
A Deviate Faerie Dragon

Forum posts: 19
File comments: 50
Uploads: 0
i do not understand how to make different profiles
Report comment to moderator  
Reply With Quote
Unread 09-09-09, 05:18 PM  
Mickelus
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 4
File comments: 117
Uploads: 8
there's an editbox that should say profile by default, change that to whatever you want to name your profile, press enter and then press the new profile button C=
Report comment to moderator  
Reply With Quote
Unread 09-09-09, 05:25 PM  
ßlink
A Deviate Faerie Dragon

Forum posts: 19
File comments: 50
Uploads: 0
Originally posted by Mickelus
there's an editbox that should say profile by default, change that to whatever you want to name your profile, press enter and then press the new profile button C=
an edit box where? ingame i see the checkbox and thats it. do i have to create new profiles through the lua?

doh wow addons menu. nvm haha
Last edited by ßlink : 09-09-09 at 05:31 PM.
Report comment to moderator  
Reply With Quote
Unread 10-06-09, 05:18 AM  
nightcracker
A Molten Giant
 
nightcracker's Avatar
AddOn Author - Click to view AddOns

Forum posts: 716
File comments: 428
Uploads: 22
Can I bind the mousewheel with this?
Report comment to moderator  
Reply With Quote
Unread 10-06-09, 12:12 PM  
Mickelus
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 4
File comments: 117
Uploads: 8
yes
Report comment to moderator  
Reply With Quote
Unread 10-08-09, 09:42 AM  
nightcracker
A Molten Giant
 
nightcracker's Avatar
AddOn Author - Click to view AddOns

Forum posts: 716
File comments: 428
Uploads: 22
Originally posted by Mickelus
yes
How then, when I hover over an ability in my spellbook and scroll it doesn't bind.
Report comment to moderator  
Reply With Quote
Unread 10-08-09, 11:28 AM  
Mickelus
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 4
File comments: 117
Uploads: 8
ooo, seems like there's no such feature =C.
Report comment to moderator  
Reply With Quote
Unread 06-12-10, 07:23 AM  
Stoty
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
Profile changing bug

This is the best bindings mod I've found, however, there is a serious bug in the profile switching code.

When you change profiles, only the bindings in the new profile are added, the ones in the old profile are not removed.

Thus, If you have two profiles, one where you bind a spell to 'x' and another where you bind it to 'y', after changing profiles the spell is bound to both 'x' and 'y'.

Here is the fixed mBindProfile function:


Code:
function mBindProfile(asd)
	--Remove all bindings defined by the current CSV
	--Save the current CSV
	oldCSV = mbindCSV

	if type(asd)=="number" then
		mbindCSV = asd
	elseif type(asd)=="string" then
		for i=1, #mbindSV do
			if mbindSV[i].name==asd then
				asd = i
				mbindCSV = asd
				break
			end
		end
		if type(asd)=="string" then
			print("Profile does not exist.")
			return
		end
	end
	print("Attempting to delete old bindings from "..(mbindSV[oldCSV].name)..".")
	for i=1, #(mbindSV[oldCSV].bindings) do
		--print(mbindSV[oldCSV].bindings[i].name)
		SetBinding(mbindSV[oldCSV].bindings[i].bind1)
		if mbindSV[oldCSV].bindings[i].bind2 then
			SetBinding(mbindSV[oldCSV].bindings[i].bind2)
		end
	end

	print("Attempting to load bindings from "..(mbindSV[mbindCSV].name)..".")
	for i=1, #(mbindSV[mbindCSV].bindings) do
		--print(mbindSV[mbindCSV].bindings[i].name)
		SetBinding(mbindSV[mbindCSV].bindings[i].bind1, mbindSV[mbindCSV].bindings[i].name)
		if mbindSV[mbindCSV].bindings[i].bind2 then
			SetBinding(mbindSV[mbindCSV].bindings[i].bind2, mbindSV[mbindCSV].bindings[i].name)
		end
	end
	updateBindProfile()
end

regards
Last edited by Stoty : 06-12-10 at 07:23 AM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: