Quantcast
Download
(2 Kb)
Download
Updated: 09-29-16 07:03 AM
Pictures
File Info
Compatibility:
Legion (7.0.3)
Minor patch (6.2.3)
Warlords of Draenor Pre-Patch (6.0.2)
Updated:09-29-16 07:03 AM
Created:11-04-09 08:53 AM
Downloads:6,656
Favorites:59
MD5:
7.0.3

RightClickSelfCast  Updated less than 3 days ago!  Popular! (More than 5000 hits)

Version: v2.9
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.9
-Added support for tekDebug

v2.8
Updated for Legion
Updating TOC for Legion

v2.7
There was an issue with some of the repositories where the initial Push didn't complete correctly. This has been resolved. V2.7 should be the latest update. The TOC file should reflect that correctly now.

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.

v2.5
Updated for TukUI and IsAddonLoaded

-Updated the TOC
-Changed the way how addons are detected.
-Added IsAddonLoaded() to be a bit more efficient
-Added support for TukUI.

v2.4
-Toc Update for 6.0

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 (18)
File Name
Version
Size
Author
Date
v2.8
2kB
Xruptor
07-24-16 11:47 AM
v2.7
2kB
Xruptor
01-15-16 07:55 AM
v2.6
2kB
Xruptor
12-29-15 09:04 AM
v2.5
2kB
Xruptor
12-24-15 12:16 PM
v2.4
2kB
Xruptor
10-25-14 09:15 AM
v2.3
2kB
Xruptor
03-13-13 05:26 PM
v2.2
2kB
Xruptor
09-24-12 06:09 PM
v2.0
2kB
Xruptor
12-26-11 07:48 AM
v1.9
1kB
Xruptor
11-29-11 03: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 07:27 AM
1.6
18kB
Xruptor
10-30-10 08:22 AM
1.5
1kB
Xruptor
01-15-10 03:48 PM
1.4
933B
Derkyle
12-13-09 07:36 AM
1.3
1kB
Derkyle
12-11-09 07:23 AM
1.2
1kB
Derkyle
12-10-09 09:40 AM
1.1
863B
Derkyle
11-04-09 08:53 AM


Post A Reply Comment Options
Unread 07-24-16, 11:52 AM  
Xruptor
A Black Drake
 
Xruptor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 87
File comments: 633
Uploads: 37
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 Black Drake
 
Xruptor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 87
File comments: 633
Uploads: 37
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: 44
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 Black Drake
 
Xruptor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 87
File comments: 633
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(); }
Report comment to moderator  
Reply With Quote
Unread 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
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: 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
Report comment to moderator  
Reply With Quote
Unread 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.
Report comment to moderator  
Reply With Quote
Unread 12-26-11, 07:50 AM  
Xruptor
A Black Drake
 
Xruptor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 87
File comments: 633
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(); }
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
Unread 12-10-11, 12:03 AM  
Dridzt
A Pyroguard Emberseer
 
Dridzt's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1248
File comments: 781
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.
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 Black Drake
 
Xruptor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 87
File comments: 633
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(); }
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
Post A Reply



Category Jump: