R
(2Kb)
Download
Updated: 04-08-24 10:47 AM
C
(2kB)
Download
Updated: 04-08-24 10:47 AM
BC
(2kB)
Download
Updated: 09-19-21 08:12 AM
WL
(2kB)
Download
Updated: 04-08-24 10:47 AM
Ca
(2kB)
Download
Updated: 04-08-24 10:47 AM
Pictures
File Info
Compatibility:
Cataclysm Classic (4.4.0)
Updated:04-08-24 10:47 AM
Created:11-04-09 08:53 AM
Downloads:11,177
Favorites:60
MD5:

RightClickSelfCast  Popular! (More than 5000 hits)

Version: v5.0, Classic: v5.0
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.


NOTE: This addon is not compatible with Bartender, Dominos or UI addons that alter the actionbars like ElvUI or TukUI.



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.

RightClickSelfCast
v5.0 (2024-04-08)
Full Changelog Previous Releases
  • Fix for WOWInterface.com and Cataclysm Classic support.
Optional Files (0)


Archived Files (14)
File Name
Version
Size
Author
Date
v4.9
2kB
Xruptor
04-06-24 03:26 PM
v4.8
2kB
Xruptor
09-18-23 03:52 PM
v4.7
2kB
Xruptor
05-26-23 06:35 AM
v4.6
2kB
Xruptor
01-25-23 07:03 AM
v4.5
2kB
Xruptor
11-26-22 08:31 AM
v4.4
2kB
Xruptor
11-15-22 05:51 PM
v4.3
2kB
Xruptor
11-10-22 04:38 PM
v4.2
2kB
Xruptor
10-31-22 07:44 AM
v4.1
2kB
Xruptor
10-31-22 07:02 AM
v4.0
2kB
Xruptor
09-19-21 08:11 AM
v3.9
2kB
Xruptor
05-28-21 07:38 AM
v3.8
2kB
Xruptor
04-06-21 09:51 AM
v3.7
2kB
Xruptor
03-16-21 04:28 PM
v3.6
2kB
Xruptor
03-12-21 02:40 PM


Post A Reply Comment Options
Unread 12-10-11, 12:03 AM  
Dridzt
A Pyroguard Emberseer
 
Dridzt's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1360
File comments: 829
Uploads: 55
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.
Report comment to moderator  
Reply With Quote
Unread 02-27-11, 08: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 08:44 AM.
Report comment to moderator  
Reply With Quote
Unread 02-27-11, 07:43 AM  
Xruptor
A Flamescale Wyrmkin
 
Xruptor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 137
File comments: 640
Uploads: 22
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(); }
Report comment to moderator  
Reply With Quote
Unread 02-27-11, 02: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.
Report comment to moderator  
Reply With Quote
Unread 01-21-10, 01:56 PM  
Xruptor
A Flamescale Wyrmkin
 
Xruptor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 137
File comments: 640
Uploads: 22
Originally posted by guin
Thanks it works perfectly.
Cool!

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

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

Forum posts: 0
File comments: 18
Uploads: 0
Thanks it works perfectly.
Report comment to moderator  
Reply With Quote
Unread 01-15-10, 03:46 PM  
Xruptor
A Flamescale Wyrmkin
 
Xruptor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 137
File comments: 640
Uploads: 22
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 07:13 AM.
Report comment to moderator  
Reply With Quote
Unread 01-15-10, 02:54 PM  
guin
A Kobold Labourer
 
guin's Avatar

Forum posts: 0
File comments: 18
Uploads: 0
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.
Report comment to moderator  
Reply With Quote
Unread 12-13-09, 07:38 AM  
Xruptor
A Flamescale Wyrmkin
 
Xruptor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 137
File comments: 640
Uploads: 22
Originally posted by Dexter74
v1.1 works with the new patch and still no errors, so is most probably together with the new features.
The error, however, come with normal abilities / spells zb Holy Shield
Okay I look it up a bit and you were right. It does trigger a blizzard protection function call. The reason it doesn't show up on my client is because it's triggered before the error is processed. However, the SetAttribute function is protected for Action buttons but not for Bars.

I've gone ahead and uploaded version 1.4 that has the macro checking feature reverted. I've also gone ahead and kept the Extrabar compatibility. Thank you for pointing this out. I will continue to research the issue and see if there is a way around it. Thanks again.
__________________
Click HERE for the ultimate idiot test.

if (sizeof(sadness) > sizeof(happiness)) { initDepression(); }
Report comment to moderator  
Reply With Quote
Unread 12-13-09, 02:03 AM  
Dexter74
A Kobold Labourer

Forum posts: 0
File comments: 167
Uploads: 0
v1.1 works with the new patch and still no errors, so is most probably together with the new features.
The error, however, come with normal abilities / spells zb Holy Shield
Report comment to moderator  
Reply With Quote
Unread 12-12-09, 05:12 PM  
Xruptor
A Flamescale Wyrmkin
 
Xruptor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 137
File comments: 640
Uploads: 22
Originally posted by Dexter74
i use the default blizzard UI, but the German client
I'll take a look into it. I'm not sure why your getting that error as I'm not getting it at all on my English client. When I get a chance I'll research and see if I can reproduce the error. If more people are getting this then obviously something is wrong. However, your the first one to come across this bug.
__________________
Click HERE for the ultimate idiot test.

if (sizeof(sadness) > sizeof(happiness)) { initDepression(); }
Report comment to moderator  
Reply With Quote
Unread 12-12-09, 01:19 PM  
Dexter74
A Kobold Labourer

Forum posts: 0
File comments: 167
Uploads: 0
i use the default blizzard UI, but the German client
Report comment to moderator  
Reply With Quote
Unread 12-12-09, 07:29 AM  
Xruptor
A Flamescale Wyrmkin
 
Xruptor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 137
File comments: 640
Uploads: 22
Originally posted by Dexter74
I get many error messages


["message"] = "<event>ADDON_ACTION_BLOCKED:AddOn 'RightClickSelfCast' tried to call the protected function 'ActionButton1:SetAttribute()'.\n<in C code>: in function `SetAttribute'\nRightClickSelfCast-1.3\\RightClickSelfCast.lua:41: in function `RCSC_doRightClick'\nRightClickSelfCast-1.3\\RightClickSelfCast.lua:74: in function <...ace\\AddOns\\RightClickSelfCast\\RightClickSelfCast.lua:72>\n\n ---",
["type"] = "event",
["time"] = "2009/12/11 16:52:08",
["session"] = 6,
["counter"] = 32,



["message"] = "<event>ADDON_ACTION_BLOCKED:AddOn 'RightClickSelfCast' tried to call the protected function 'MultiBarBottomLeftButton1:SetAttribute()'.\n<in C code>: in function `SetAttribute'\nRightClickSelfCast-1.3\\RightClickSelfCast.lua:41: in function `RCSC_doRightClick'\nRightClickSelfCast-1.3\\RightClickSelfCast.lua:74: in function <...ace\\AddOns\\RightClickSelfCast\\RightClickSelfCast.lua:72>\n\n ---",
["type"] = "event",
["time"] = "2009/12/11 16:52:08",
["session"] = 6,
["counter"] = 32,

It works fine for me, are you using an action bar mod? This is supposed to be used with the default blizzard UI not with another action bar mod.
__________________
Click HERE for the ultimate idiot test.

if (sizeof(sadness) > sizeof(happiness)) { initDepression(); }
Report comment to moderator  
Reply With Quote
Unread 12-12-09, 07:05 AM  
Dexter74
A Kobold Labourer

Forum posts: 0
File comments: 167
Uploads: 0
I get many error messages


["message"] = "<event>ADDON_ACTION_BLOCKED:AddOn 'RightClickSelfCast' tried to call the protected function 'ActionButton1:SetAttribute()'.\n<in C code>: in function `SetAttribute'\nRightClickSelfCast-1.3\\RightClickSelfCast.lua:41: in function `RCSC_doRightClick'\nRightClickSelfCast-1.3\\RightClickSelfCast.lua:74: in function <...ace\\AddOns\\RightClickSelfCast\\RightClickSelfCast.lua:72>\n\n ---",
["type"] = "event",
["time"] = "2009/12/11 16:52:08",
["session"] = 6,
["counter"] = 32,



["message"] = "<event>ADDON_ACTION_BLOCKED:AddOn 'RightClickSelfCast' tried to call the protected function 'MultiBarBottomLeftButton1:SetAttribute()'.\n<in C code>: in function `SetAttribute'\nRightClickSelfCast-1.3\\RightClickSelfCast.lua:41: in function `RCSC_doRightClick'\nRightClickSelfCast-1.3\\RightClickSelfCast.lua:74: in function <...ace\\AddOns\\RightClickSelfCast\\RightClickSelfCast.lua:72>\n\n ---",
["type"] = "event",
["time"] = "2009/12/11 16:52:08",
["session"] = 6,
["counter"] = 32,
Report comment to moderator  
Reply With Quote
Unread 12-10-09, 03:45 PM  
leizeQ
A Murloc Raider
 
leizeQ's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 8
File comments: 44
Uploads: 1
thanks for the update ... im gonna test it ASAP and give feedback
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: