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,178
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 11-04-09, 01:29 PM  
leizeQ
A Murloc Raider
 
leizeQ's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 8
File comments: 44
Uploads: 1
macros

should this work with macros ? i've been looking into the source and didn't find why it shouldn't but i cant get it to work.

any ideas?

i have nothing else enabled
Report comment to moderator  
Reply With Quote
Unread 11-04-09, 04:13 PM  
Chrnotic
I am Pupper
 
Chrnotic's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 28
Uploads: 2
It's an addon made for a clicker, I doubt it' work with anything else
Report comment to moderator  
Reply With Quote
Unread 11-05-09, 02:56 AM  
leizeQ
A Murloc Raider
 
leizeQ's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 8
File comments: 44
Uploads: 1
Originally posted by Chrnotic
It's an addon made for a clicker, I doubt it' work with anything else
i am a clicker (;

in my main bar i have a basic spell (for example Mark of the Wild) and a macro:

Code:
#showtooltip
/cast [mod:alt] Gift of the Wild
/castsequence [nomod] reset=10/target Mark of the Wild, Thorns
the basic spell works, the macro doesn't
Report comment to moderator  
Reply With Quote
Unread 11-05-09, 06:17 AM  
Xruptor
A Flamescale Wyrmkin
 
Xruptor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 137
File comments: 640
Uploads: 22
Re: macros

Originally posted by leizeQ
should this work with macros ? i've been looking into the source and didn't find why it shouldn't but i cant get it to work.

any ideas?

i have nothing else enabled
Odd my macros work just fine, but I'll take a look into it for you
__________________
Click HERE for the ultimate idiot test.

if (sizeof(sadness) > sizeof(happiness)) { initDepression(); }
Report comment to moderator  
Reply With Quote
Unread 11-07-09, 04:23 AM  
leizeQ
A Murloc Raider
 
leizeQ's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 8
File comments: 44
Uploads: 1
Re: Re: macros

Originally posted by Derkyle
Odd my macros work just fine, but I'll take a look into it for you
i've been trying it againt to verify.
here is a screenshot where you can see that addon is loaded. it disappears later but i assume that it has finished its job and garbage collector deletes it from memory.

also there is my spell and macro (the same as in my previous comment). and still the macro won't work but spell does.

any idea?
could you post your working macro?
Report comment to moderator  
Reply With Quote
Unread 11-14-09, 02:34 PM  
Xruptor
A Flamescale Wyrmkin
 
Xruptor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 137
File comments: 640
Uploads: 22
Re: Re: Re: macros

Originally posted by leizeQ
i've been trying it againt to verify.
here is a screenshot where you can see that addon is loaded. it disappears later but i assume that it has finished its job and garbage collector deletes it from memory.

also there is my spell and macro (the same as in my previous comment). and still the macro won't work but spell does.

any idea?
could you post your working macro?
I was able to reproduce your error. I'm trying now to figure out ways to circumvent this issue. I cannot give you an ETA but suffice to say that I'm working on it. Seems to happen mostly with multiple targeting macros.
__________________
Click HERE for the ultimate idiot test.

if (sizeof(sadness) > sizeof(happiness)) { initDepression(); }
Report comment to moderator  
Reply With Quote
Unread 11-16-09, 07:22 AM  
leizeQ
A Murloc Raider
 
leizeQ's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 8
File comments: 44
Uploads: 1
Re: Re: Re: Re: macros

Originally posted by Derkyle
I was able to reproduce your error. I'm trying now to figure out ways to circumvent this issue. I cannot give you an ETA but suffice to say that I'm working on it. Seems to happen mostly with multiple targeting macros.
thank you very much

take your time, i can deal with it with [button:2] check until you're done.
Report comment to moderator  
Reply With Quote
Unread 11-18-09, 07:11 AM  
Xruptor
A Flamescale Wyrmkin
 
Xruptor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 137
File comments: 640
Uploads: 22
Re: Re: Re: Re: Re: macros

Originally posted by leizeQ
thank you very much

take your time, i can deal with it with [button:2] check until you're done.
Yes I noticed that it will still work if the checks for keypresses is done. I'm looking through the action button code to see if something gets overwritten. It seems odd that blizzard wouldn't give priority to a macro in terms of keypress. If anything I'm thinking of parsing each of the buttons and enable to right click cast on everything but macro buttons. Whenever a button is moved or replaced on the actionbar, to have the mod scan through them again.

Again this is a trial and error issue as I'm not entirely sure why the hell Blizzard would do it this way.
__________________
Click HERE for the ultimate idiot test.

if (sizeof(sadness) > sizeof(happiness)) { initDepression(); }
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
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-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, 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, 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-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-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
Post A Reply



Category Jump: