Download
(2 Kb)
Download
Updated: 12-26-11 06:48 AM
Pictures
File Info
Tested:Hour of Twilight 4.3
Updated:12-26-11 06:48 AM
Created:11-04-09 07:53 AM
Downloads:3,897
Favorites:41
MD5:
This AddOn is 4.3 compatible
RightClickSelfCast
Version: v2.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.


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.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 (10)
File Name
Version
Size
Author
Date
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 12-26-11, 06:50 AM  
Xruptor
A Black Drake
 
Xruptor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 82
File comments: 473
Uploads: 36
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.
-Xruptor
Xruptor is online now 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 Molten Giant
AddOn Author - Click to view AddOns

Forum posts: 667
File comments: 667
Uploads: 66
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 online now 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: 82
File comments: 473
Uploads: 36
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.
-Xruptor
Xruptor is online now 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: 82
File comments: 473
Uploads: 36
Originally posted by guin
Thanks it works perfectly.
Cool!

Your welcome.
__________________
Click HERE for the ultimate idiot test.
-Xruptor
Xruptor is online now 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: 13
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: 82
File comments: 473
Uploads: 36
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.
-Xruptor
Last edited by Xruptor : 01-17-10 at 06:13 AM.
Xruptor is online now Report comment to moderator  
Reply With Quote
Old 01-15-10, 01:54 PM  
guin
A Kobold Labourer
 
guin's Avatar

Forum posts: 0
File comments: 13
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.
guin is offline Report comment to moderator  
Reply With Quote
Old 12-13-09, 06:38 AM  
Xruptor
A Black Drake
 
Xruptor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 82
File comments: 473
Uploads: 36
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.
-Xruptor
Xruptor is online now Report comment to moderator  
Reply With Quote
Old 12-13-09, 01:03 AM  
Dexter74
A Kobold Labourer

Forum posts: 0
File comments: 116
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
Dexter74 is offline Report comment to moderator  
Reply With Quote
Old 12-12-09, 04:12 PM  
Xruptor
A Black Drake
 
Xruptor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 82
File comments: 473
Uploads: 36
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.
-Xruptor
Xruptor is online now Report comment to moderator  
Reply With Quote
Old 12-12-09, 12:19 PM  
Dexter74
A Kobold Labourer

Forum posts: 0
File comments: 116
Uploads: 0
i use the default blizzard UI, but the German client
Dexter74 is offline Report comment to moderator  
Reply With Quote
Old 12-12-09, 06:29 AM  
Xruptor
A Black Drake
 
Xruptor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 82
File comments: 473
Uploads: 36
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.
-Xruptor
Xruptor is online now Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: