Download
(2 Kb)
Download
Updated: 03-13-13 05:26 PM
Pictures
File Info
Compatibility:
Thunder Isle (5.2)
Mists of Pandaria (5.0.4)
Updated:03-13-13 05:26 PM
Created:11-04-09 07:53 AM
Downloads:5,032
Favorites:56
MD5:
RightClickSelfCast  Popular! (More than 5000 hits)
Version: v2.3
by: Xruptor [More]

This mod makes all the Blizzard actionbars always self-cast on right-click (regardless of current target).

This is for those people whom hate the auto self-casting feature built into the default Blizzard UI.


Support for the following actionbars:

NOTE: For Macro Users
This mod will not make your macros right-click self-cast. You have to manually add the [button:2] modifier to your macro in order for it to work with right-clicks.


You can view Alpha Builds at my Github tracker.
v2.3
-Updated TOC for patch 5.2

v2.2
-Updated for Mists of Panderia patch 5.01
-Fixed an issue with missing action bars or removed for MOP

v2.0
-Changes done by Dridzt from WOWInterface. Many thanks :)
-Code added to prevent actionbar issues while loading or reloading in combat.
-Changed getglobal() to _G[] as getglobal() has been deprecated.
-Support for ElvUI 3.05+ added.

v1.9
-Toc update for patch 4.3

v1.8
-Updated for Firelands.
-YES I'm back to playing WOW, expect updates to all my addons.

Version 1.7:
-Updated TOC for patch 4.1

Version 1.6.7:
-Small update to the zip file

Version 1.6:
-Updated for patch 4.0

Version 1.5:
-Added support for Extra Bars (http://www.wowinterface.com/downloads/info13335-ExtraBars.html)

Version 1.4:
-REMOVED: Macro check as it was triggering protected functions in the blizzard UI. Will work on this when I look into it further.

Version 1.3:
-A small fix for those people whom like to move their action skills constantly.

Version 1.2:
-Updated toc for patch 3.3
-FIXED: Issue with macro's not being fired correctly. The mod will now ignore macros skills on the action bar.
-Now correctly works with macro's on the actionbars.
Optional Files (0)


Archived Files (12)
File Name
Version
Size
Author
Date
v2.2
2kB
Xruptor
09-24-12 06:09 PM
v2.0
2kB
Xruptor
12-26-11 06:48 AM
v1.9
1kB
Xruptor
11-29-11 02:14 PM
v1.8
1kB
Xruptor
10-24-11 09:45 AM
1.7
1kB
Xruptor
05-03-11 06:11 AM
1.6.7
1kB
Xruptor
12-11-10 06:27 AM
1.6
18kB
Xruptor
10-30-10 08:22 AM
1.5
1kB
Xruptor
01-15-10 02:48 PM
1.4
933B
Derkyle
12-13-09 06:36 AM
1.3
1kB
Derkyle
12-11-09 06:23 AM
1.2
1kB
Derkyle
12-10-09 08:40 AM
1.1
863B
Derkyle
11-04-09 07:53 AM


Post A Reply Comment Options
Old 03-01-14, 06:11 PM  
Seyss
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 10
File comments: 123
Uploads: 2
thanks
Seyss is offline Report comment to moderator  
Reply With Quote
Old 09-24-12, 06:19 PM  
Xruptor
A Black Drake
 
Xruptor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 87
File comments: 562
Uploads: 37
Addon update

-Addon has been Updated for Mists of Panderia patch 5.01
__________________
Click HERE for the ultimate idiot test.

if (sizeof(sadness) > sizeof(happiness)) { initDepression(); }
Xruptor is offline Report comment to moderator  
Reply With Quote
Old 08-30-12, 05:48 AM  
Nihlo
A Murloc Raider

Forum posts: 5
File comments: 125
Uploads: 0
Re: RightClickSelfCast.lua - 5.0.4 fix

Originally Posted by freshworks
from

Code:
local bars = {
"MainMenuBarArtFrame",
"MultiBarBottomLeft",
"MultiBarBottomRight",
"MultiBarRight",
"MultiBarLeft",
"BonusActionBarFrame",
"ShapeshiftBarFrame",
"PossessBarFrame",
}
to

Code:
local bars = {
"MainMenuBarArtFrame",
"MultiBarBottomLeft",
"MultiBarBottomRight",
"MultiBarRight",
"MultiBarLeft",
"PossessBarFrame",
}
yes, works pretty much
Nihlo is offline Report comment to moderator  
Reply With Quote
Old 08-29-12, 11:53 PM  
freshworks
A Kobold Labourer

Forum posts: 0
File comments: 19
Uploads: 0
RightClickSelfCast.lua - 5.0.4 fix

from

Code:
local bars = {
"MainMenuBarArtFrame",
"MultiBarBottomLeft",
"MultiBarBottomRight",
"MultiBarRight",
"MultiBarLeft",
"BonusActionBarFrame",
"ShapeshiftBarFrame",
"PossessBarFrame",
}
to

Code:
local bars = {
"MainMenuBarArtFrame",
"MultiBarBottomLeft",
"MultiBarBottomRight",
"MultiBarRight",
"MultiBarLeft",
"PossessBarFrame",
}
freshworks is offline Report comment to moderator  
Reply With Quote
Old 08-29-12, 02:09 PM  
Nihlo
A Murloc Raider

Forum posts: 5
File comments: 125
Uploads: 0
Message: ...ace\AddOns\RightClickSelfCast\RightClickSelfCast.lua:34: attempt to index local 'bar' (a nil value)
Time: 08/29/12 22:07:26
Count: 1
Stack: ...ace\AddOns\RightClickSelfCast\RightClickSelfCast.lua:34: in function `?'
...ace\AddOns\RightClickSelfCast\RightClickSelfCast.lua:15: in function <...ace\AddOns\RightClickSelfCast\RightClickSelfCast.lua:15>

Locals: self = RightClickSelfCast {
0 = <userdata>
PLAYER_LOGIN = <function> defined @Interface\AddOns\RightClickSelfCast\RightClickSelfCast.lua:23
PLAYER_REGEN_ENABLED = <function> defined @Interface\AddOns\RightClickSelfCast\RightClickSelfCast.lua:17
}
(for generator) = <function> defined =[C]:-1
(for state) = <table> {
1 = "MainMenuBarArtFrame"
2 = "MultiBarBottomLeft"
3 = "MultiBarBottomRight"
4 = "MultiBarRight"
5 = "MultiBarLeft"
6 = "BonusActionBarFrame"
7 = "ShapeshiftBarFrame"
8 = "PossessBarFrame"
}
(for control) = 6
i = 6
v = "BonusActionBarFrame"
bar = nil
(*temporary) = 6
(*temporary) = nil
(*temporary) = "unit2"
(*temporary) = "player"
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index local 'bar' (a nil value)"
bars = <table> {
1 = "MainMenuBarArtFrame"
2 = "MultiBarBottomLeft"
3 = "MultiBarBottomRight"
4 = "MultiBarRight"
5 = "MultiBarLeft"
6 = "BonusActionBarFrame"
7 = "ShapeshiftBarFrame"
8 = "PossessBarFrame"
}



in 5.0.4
Nihlo is offline Report comment to moderator  
Reply With Quote
Old 08-29-12, 12:38 PM  
chwolfgang
A Defias Bandit

Forum posts: 2
File comments: 71
Uploads: 0
Is there any chance of a MoP update? Or a replacement - please.
chwolfgang is offline Report comment to moderator  
Reply With Quote
Old 12-26-11, 06:50 AM  
Xruptor
A Black Drake
 
Xruptor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 87
File comments: 562
Uploads: 37
Re: ElvUI support

Originally Posted by Dridzt
A guildmember using RCSC asked if it was possible to add support for ElvUI v3
Apparently it was working in v2 but they did a rewrite of the actionbar code.

Anyway
I took a look and this is the result:

http://pastebin.com/KYL9QpWM

In the process I made a couple other minor changes:
- direct _G[] lookups instead of getglobal() since the latter is deprecated.
- detect if we login or reload in combat and defer setting attributes when the player exits combat
(if it's not done like this there will be ACTION_BLOCKED errors)

Hope it's of some use.
Thanks for the modifications. It gets really hectic trying to update so many of my mods and I always appreciate it when someone from the community contributes and provides modifications. Thank you so much for your contribution! You can always make modifications to any of my mods using GitHub. All my modifications can be found there

I've gone ahead and added your changes into the new 2.0 release. Credit has been given to you.
__________________
Click HERE for the ultimate idiot test.

if (sizeof(sadness) > sizeof(happiness)) { initDepression(); }
Xruptor is offline Report comment to moderator  
Reply With Quote
Old 12-24-11, 06:06 PM  
Mitrax
A Murloc Raider
 
Mitrax's Avatar

Forum posts: 3
File comments: 29
Uploads: 0
Re: ElvUI support

Originally Posted by Dridzt
A guildmember using RCSC asked if it was possible to add support for ElvUI v3
Apparently it was working in v2 but they did a rewrite of the actionbar code.

Anyway
I took a look and this is the result:

http://pastebin.com/KYL9QpWM

In the process I made a couple other minor changes:
- direct _G[] lookups instead of getglobal() since the latter is deprecated.
- detect if we login or reload in combat and defer setting attributes when the player exits combat
(if it's not done like this there will be ACTION_BLOCKED errors)

Hope it's of some use.
I was just about to ask the same thing as I use Elv's UI as well, would really love to have it working again.

Thanks in advance.
Mitrax is offline Report comment to moderator  
Reply With Quote
Old 12-09-11, 11:03 PM  
Dridzt
A Pyroguard Emberseer
 
Dridzt's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1176
File comments: 783
Uploads: 82
ElvUI support

A guildmember using RCSC asked if it was possible to add support for ElvUI v3
Apparently it was working in v2 but they did a rewrite of the actionbar code.

Anyway
I took a look and this is the result:

http://pastebin.com/KYL9QpWM

In the process I made a couple other minor changes:
- direct _G[] lookups instead of getglobal() since the latter is deprecated.
- detect if we login or reload in combat and defer setting attributes when the player exits combat
(if it's not done like this there will be ACTION_BLOCKED errors)

Hope it's of some use.
Dridzt is offline Report comment to moderator  
Reply With Quote
Old 02-27-11, 07:41 AM  
mantohu
A Kobold Labourer

Forum posts: 0
File comments: 6
Uploads: 0
Originally posted by Xruptor
Odd I thought bardtender 4 has an option to make it automatically self-cast when you right click. Either that or you have to designate a keypress or mouse click to make it self-cast. Check out the options panel or Bartender4 manual to make sure I'm not going crazy.

I used to use Bartender back in the hay-day and I do remember it doing that. I know Dominos also does it as well. Dominos is what I use.
Thanks a lot for the reply. I checked the Bartender4 options again and you are right. I miss this option. Disappointing, this only works when not select any target. I am looking forward to the always right-click-self-cast function. I know the macro like "/cast [nodead,help]heal;[btn:2,@player]heal" do the same thing, but that is sooo many buttoms i have to replace..

Sorry for the bad English by the way..
Last edited by mantohu : 02-27-11 at 07:44 AM.
mantohu is offline Report comment to moderator  
Reply With Quote
Old 02-27-11, 06:43 AM  
Xruptor
A Black Drake
 
Xruptor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 87
File comments: 562
Uploads: 37
Originally posted by mantohu
Awesome feature :P

Is there any chance to support Bartender4 ?

Sincerely hope this can happen.
Odd I thought bardtender 4 has an option to make it automatically self-cast when you right click. Either that or you have to designate a keypress or mouse click to make it self-cast. Check out the options panel or Bartender4 manual to make sure I'm not going crazy.

I used to use Bartender back in the hay-day and I do remember it doing that. I know Dominos also does it as well. Dominos is what I use.
__________________
Click HERE for the ultimate idiot test.

if (sizeof(sadness) > sizeof(happiness)) { initDepression(); }
Xruptor is offline Report comment to moderator  
Reply With Quote
Old 02-27-11, 01:05 AM  
mantohu
A Kobold Labourer

Forum posts: 0
File comments: 6
Uploads: 0
Awesome feature :P

Is there any chance to support Bartender4 ?

Sincerely hope this can happen.
mantohu is offline Report comment to moderator  
Reply With Quote
Old 01-21-10, 12:56 PM  
Xruptor
A Black Drake
 
Xruptor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 87
File comments: 562
Uploads: 37
Originally posted by guin
Thanks it works perfectly.
Cool!

Your welcome.
__________________
Click HERE for the ultimate idiot test.

if (sizeof(sadness) > sizeof(happiness)) { initDepression(); }
Xruptor is offline Report comment to moderator  
Reply With Quote
Old 01-21-10, 06:16 AM  
guin
A Kobold Labourer
 
guin's Avatar

Forum posts: 0
File comments: 19
Uploads: 0
Thanks it works perfectly.
guin is offline Report comment to moderator  
Reply With Quote
Old 01-15-10, 02:46 PM  
Xruptor
A Black Drake
 
Xruptor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 87
File comments: 562
Uploads: 37
Originally posted by guin
I have Extra Bars add-on, the one that add 4 additional bars. Pleas can you support this add-on too? I would really like have right click self cast in this bars too.
I added support for these bars in 1.5. PLEASE take note that I don't have these bars personally installed. So although I added support I'm not entirely sure it will work. Try 1.5 and if it works, if so then please let me know. Otherwise, I will need to actually install these bars (which I don't want to do).

Also if there is a taint let me know as well.
__________________
Click HERE for the ultimate idiot test.

if (sizeof(sadness) > sizeof(happiness)) { initDepression(); }
Last edited by Xruptor : 01-17-10 at 06:13 AM.
Xruptor is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: