R
(2Kb)
Download
Updated: 09-18-23 03:52 PM
C
(2kB)
Download
Updated: 09-18-23 03:52 PM
BC
(2kB)
Download
Updated: 09-19-21 08:12 AM
WL
(2kB)
Download
Updated: 09-18-23 03:52 PM
Pictures
File Info
Compatibility:
WotLK Patch (3.4.2)
Updated:09-18-23 03:52 PM
Created:11-04-09 08:53 AM
Downloads:11,156
Favorites:60
MD5:

RightClickSelfCast  Popular! (More than 5000 hits)

Version: v4.8, Classic: v4.8
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
v4.8 (2023-09-18)
Full Changelog Previous Releases
  • TOC Update
    TOC Update
Optional Files (0)


Archived Files (12)
File Name
Version
Size
Author
Date
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 05-26-21, 07:44 AM  
Xruptor
A Flamescale Wyrmkin
 
Xruptor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 133
File comments: 640
Uploads: 22
Hello everyone!

A reminder, please put all questions, bug/issues or feature requests at the following site.

https://github.com/Xruptor/RightClickSelfCast/issues

Thanks!

----------------------------------------------------------------------------------------

Originally Posted by Nihlo
Do you plan to do a tbc-update ?
It should technically work if you check "out of date addons" in the addon settings on client launch. I don't exactly have an active working subscription at the moment. So it will be awhile before I add the TBC tags.
__________________
Click HERE for the ultimate idiot test.

if (sizeof(sadness) > sizeof(happiness)) { initDepression(); }
Report comment to moderator  
Reply With Quote
Unread 05-25-21, 07:22 AM  
Nihlo
A Murloc Raider

Forum posts: 7
File comments: 158
Uploads: 0
Do you plan to do a tbc-update ?
Report comment to moderator  
Reply With Quote
Unread 02-01-20, 08:32 AM  
Xruptor
A Flamescale Wyrmkin
 
Xruptor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 133
File comments: 640
Uploads: 22
Hello everyone!

A reminder, please put all bug/issues or feature requests at the following site.

https://github.com/Xruptor/RightClickSelfCast/issues

Thanks!
__________________
Click HERE for the ultimate idiot test.

if (sizeof(sadness) > sizeof(happiness)) { initDepression(); }
Last edited by Xruptor : 02-01-20 at 08:40 AM.
Report comment to moderator  
Reply With Quote
Unread 08-30-19, 05:39 AM  
loser2k1
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Question Update for WoW Classic

Dear @Xruptor, is it possible to update this addon for WoW Classic?
Many thanks in advance!
Report comment to moderator  
Reply With Quote
Unread 07-24-16, 11:52 AM  
Xruptor
A Flamescale Wyrmkin
 
Xruptor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 133
File comments: 640
Uploads: 22
v2.7
Updated for Legion
Updating TOC for Legion
__________________
Click HERE for the ultimate idiot test.

if (sizeof(sadness) > sizeof(happiness)) { initDepression(); }
Report comment to moderator  
Reply With Quote
Unread 12-29-15, 09:04 AM  
Xruptor
A Flamescale Wyrmkin
 
Xruptor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 133
File comments: 640
Uploads: 22
v2.6
Update for TukUI and ElvUI
Modified the code again to remove checks isAddOnLoaded() checks for TukUI and ElvUI. Since there are so many different modified versions of TukUI and ElvUI. Just do a cover all for them.
__________________
Click HERE for the ultimate idiot test.

if (sizeof(sadness) > sizeof(happiness)) { initDepression(); }
Report comment to moderator  
Reply With Quote
Unread 12-22-15, 12:35 PM  
Wetxius
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 7
File comments: 51
Uploads: 2
Can you add this code to work with Tukui based UI?
Lua Code:
  1. for id=1, 12 do
  2.         local button = _G["ActionButton"..id]
  3.         if button ~= nil then
  4.             button:SetAttribute("unit2", "player")
  5.         end
  6.     end
Report comment to moderator  
Reply With Quote
Unread 03-01-14, 07:11 PM  
Seyss
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 10
File comments: 123
Uploads: 2
thanks
Report comment to moderator  
Reply With Quote
Unread 09-24-12, 06:19 PM  
Xruptor
A Flamescale Wyrmkin
 
Xruptor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 133
File comments: 640
Uploads: 22
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(); }
Report comment to moderator  
Reply With Quote
Unread 08-30-12, 05:48 AM  
Nihlo
A Murloc Raider

Forum posts: 7
File comments: 158
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
Report comment to moderator  
Reply With Quote
Unread 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",
}
Report comment to moderator  
Reply With Quote
Unread 08-29-12, 02:09 PM  
Nihlo
A Murloc Raider

Forum posts: 7
File comments: 158
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
Report comment to moderator  
Reply With Quote
Unread 08-29-12, 12:38 PM  
chwolfgang
A Defias Bandit

Forum posts: 2
File comments: 70
Uploads: 0
Is there any chance of a MoP update? Or a replacement - please.
Report comment to moderator  
Reply With Quote
Unread 12-26-11, 07:50 AM  
Xruptor
A Flamescale Wyrmkin
 
Xruptor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 133
File comments: 640
Uploads: 22
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(); }
Report comment to moderator  
Reply With Quote
Unread 12-24-11, 07:06 PM  
Mitrax
A Murloc Raider
 
Mitrax's Avatar

Forum posts: 3
File comments: 28
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.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: