Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(5 Kb)
Download
Updated: 08-23-06 01:36 PM
Pictures
File Info
Updated:08-23-06 01:36 PM
Created:unknown
Downloads:2,586
Favorites:20
MD5:
JustClick
Version: 1.2.4
by: Soin [More]
Development halted.


Yes, JustClick is yet another "ClickToCast" AddOn, but this one is slightly different. Based on the same concepts as EasyRaid (great User Interface and built as much as possible on top of WoW Foundations), JustClick revolutionizes the genre. Speaking about User Interface, I probably deserves an entry in the Guiness records book for that one. Actually, JustClick has no User Interface at all, neither slash commands! :-p How is it possible? WoW provides a great UI already, the one called "Key Bindings", why don't use it? This is exactly what JustClick does, the all UI is done with just one tiny modification of the WoW behavior allowing Left and Right mouse buttons in key bindings.

In case you don't know what is a "ClickToCast" AddOn, let me explain what JustClick does. Usually, you have to select a target before triggering any action (or select an action before clicking a target), this is the way WoW works. JustClick eradicates this targeting need, this is it, you are able to launch any action with Just One Click on any target. Believe me, when you are in a middle of a fight, one click (or key) saved to trigger an action is a lot. JustClick allows you to bind any action available in the Key Bindings windows to any mouse/key combos. For example, my priest uses a Ctrl-LeftClick to flash heal and a Shift-LeftClick to shield targets.

JustClick supports any target that you can see in the WoW standard UI (party members, raid members, pets, player, target and target of target frames) and every unit frames displayed by CT_RaidAssist, DiscordUnitFrames, PerfectRaid , XRaid, Sage, Perl Classic Unit Frames and of course EasyRaid. I'm sorry for the another AddOns I don't support yet, I plan to add more in the future though I think the best approach is to implement JustClick support into the AddOns themselves. The JustClick API is not going to change while the AddOns are often changing (ie: a new kind of frame is added). So, AddOn authors, have a look to the minimalist JustClick API (one simple function) documented in the JustClick.lua file.

However, any AddOns can benefit from JustClick without any modification. Since JustClick is based on the WoW Key Bindings, it can be used to trigger any kind of actions including macros and features added by another AddOns. Imagine you creating a killer-powerfull-intelligent-cast-healing AddOn, you add an entry to the Key Bindings windows to heal the current target, well done. Now you would like to be able to heal raid members just by clicking them. Don't reinvent the wheel, it's not that easy to implement a click-casting feature working with any kind of unit frame. Tell your users to install JustClick and you are done.

Finally, JustClick implements the so essential "SelfCast" feature, RightClick a spell from your action bar to cast it on yourself.

Changelog

Version 1.2.4 (August 23, 2006)
  • .toc updated to WoW 1.12 (11200)
Version 1.2.3 (June 20, 2006)
  • .toc updated to WoW 1.11 (11100)
  • 1.10 backward compatibility code removed.
Version 1.2.2 (June 19, 2006)
  • FlexBar support.
  • Telo's BottomBar and SideBar support.
  • DiscordActionBars support.
Version 1.2.1 (June 14, 2006)
  • Bongos support.
  • DiscordUnitFrames support bug fix.
Version 1.2 (June 10, 2006)
  • WoW 1.11 ready (target of target support).
  • Sage support.
  • Perl Classic Unit Frames support.
Version 1.1 (May 23, 2006)
  • CT_UnitFrames support.
  • DiscordUnitFrames support.
  • SelfCast feature bug fix.
Version 1.0 (May 20, 2006)
  • Initial release.
Optional Files (0)


Post A Reply Comment Options
Unread 12-12-06, 04:14 AM  
Soin
A Defias Bandit
AddOn Compiler - Click to view compilations

Forum posts: 1
File comments: 38
Uploads: 2
Development halted.
Soin is offline Report comment to moderator  
Reply With Quote
Unread 10-15-06, 03:17 PM  
Südseeperle
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
Hi, first i like to thank you for this mod - its just GREAT!!!
on the other hand my eng... -.-

i have one question:
do you update this mod in the next months?

because i have one wish for this update (if its come).
compatibility to ag_unitframes

sry for my eng and thanks for reading,
Südseeperle...
Südseeperle is offline Report comment to moderator  
Reply With Quote
Unread 07-11-06, 02:09 PM  
lgerbarg
A Kobold Labourer

Forum posts: 1
File comments: 5
Uploads: 0
Okay, after having used this for a day I am experiencing a nasty interaction that is a consequence of the implementation. It appears you are storing the mouse bindings in the normal keybindings, instead of a side store using SavedVariables. It also appears some of the blizzard frames can correctly interpret mouse buttons in their bindings. The results of this are:

If I bind button 4 it no longer causes me to auto run when I click in the world frame
If I shift-click I no longer autoloot

In both those cases it does trigger the configured binding. It even does so if JustClick is no longer loaded, since the bug is caused by the blizzard frame interpretting the stored keybinding ;-)

As I see it this can be fixed either by storing mouse bindings in a SavedVariable and interpretting them in the mod (would require some new code in your keybinding hooks), or patching whatever frames are picking them up to ignore them.
lgerbarg is offline Report comment to moderator  
Reply With Quote
Unread 07-09-06, 11:27 PM  
lgerbarg
A Kobold Labourer

Forum posts: 1
File comments: 5
Uploads: 0
I actually hacked up my copy to do what I described. Here is a modification for the DAB handler. Clearly You would want to refactor this if you were going to change all the hnadlers:

Code:
-- DiscordActionBars support
if ( IsAddOnLoaded("DiscordActionBars") ) then
	local _, _, id = string.find(action, "^DAB_(%d+)");
	if ( id ) then
		if (UnitIsFriend("player", "target")) then
			if (UnitIsUnit("target", unit)) then
				DAB_KeybindingDown(tonumber(id))
				DAB_KeybindingUp(tonumber(id))
			else
				TargetUnit(unit);
				DAB_KeybindingDown(tonumber(id))
				DAB_KeybindingUp(tonumber(id))
				TargetLastTarget();
			end
		else
			DAB_KeybindingDown(tonumber(id))
			DAB_KeybindingUp(tonumber(id))
	
			if(SpellCanTargetUnit(unit)) then
				SpellTargetUnit(unit);
			else
				SpellStopCasting();
			end
		end

		return true;
	end
end
Last edited by lgerbarg : 07-09-06 at 11:31 PM.
lgerbarg is offline Report comment to moderator  
Reply With Quote
Unread 07-09-06, 09:19 PM  
lgerbarg
A Kobold Labourer

Forum posts: 1
File comments: 5
Uploads: 0
Originally posted by Soin
Thanks Aeliel, I'll check the code of these mods to find out how they manage to keep combopoints. For sure, they have to switch the target, but perhaps there is a little trick I don't know.
If you are targetting an enemy and, cast a spell that is ineligible to target it like (like a buff) then you SpellTarget a friendly it will cast on them without changing target. You can actually see this behaviour in the default UI:

Start attacking a mob
Click on a friendly only spell (a heal or a buff)
See your cursor outline light up, indicating you have a pending spellcast with no valid target
Click on yourself
See the spell cast without your primary target changing
lgerbarg is offline Report comment to moderator  
Reply With Quote
Unread 06-20-06, 04:55 PM  
Soin
A Defias Bandit
AddOn Compiler - Click to view compilations

Forum posts: 1
File comments: 38
Uploads: 2
Thanks Aeliel, I'll check the code of these mods to find out how they manage to keep combopoints. For sure, they have to switch the target, but perhaps there is a little trick I don't know.
Soin is offline Report comment to moderator  
Reply With Quote
Unread 06-20-06, 01:29 PM  
Aeliel
A Deviate Faerie Dragon

Forum posts: 18
File comments: 11
Uploads: 0
How do mods like Benecast, Group Buttons, etc manage it then? (Not being sarcastic, just wondering.) I used to use Benecast, and Group Buttons, and when I clicked a button to heal, it didn't switch my target (and therefore didn't lose combopoints, turn off autoattack, and so on).
Aeliel is offline Report comment to moderator  
Reply With Quote
Unread 06-20-06, 12:10 PM  
Soin
A Defias Bandit
AddOn Compiler - Click to view compilations

Forum posts: 1
File comments: 38
Uploads: 2
Hi Aeliel,

I think there is no way to fix this issue. When you cast a spell to someone, your target changes to this person, the spell is casted and your target comes back to your previous target. This is done so quickly that you can't see it, but the target changes anyway.
Soin is offline Report comment to moderator  
Reply With Quote
Unread 06-20-06, 04:34 AM  
Aeliel
A Deviate Faerie Dragon

Forum posts: 18
File comments: 11
Uploads: 0
Hi,

I'm using JustClick to replace a variety of healing mods I used to use. It's lovely, and it works great, but I have a small request.

I'm playing a druid. When I heal, buff or cure somebody - whether it's me via rightclick, somebody else via keybindings or me via keybindings - the game acts as if I switched targets then regained my previous target: I stop autoattacking, and, most importantly, I lose any combopoints I might have had on said target. Which is a bit inconvenient

Any chance this could be fixed?

Thanks!
Aeliel is offline Report comment to moderator  
Reply With Quote
Unread 06-14-06, 10:38 AM  
Soin
A Defias Bandit
AddOn Compiler - Click to view compilations

Forum posts: 1
File comments: 38
Uploads: 2
Thanks for your feedack Kyron, there was a little bug in DiscordUnitFrames support, fixed now, a new JustClick release is coming.

Kailef, I tested Bongos, awesome addon indeed, I'm going to use it and support it.
Soin is offline Report comment to moderator  
Reply With Quote
Unread 06-11-06, 07:38 PM  
Kailef
A Fallenroot Satyr
 
Kailef's Avatar

Forum posts: 27
File comments: 37
Uploads: 0
Soin,

I noticed something - I use the (awesome) mod Bongos to give me control over sizing and positioning of my toolbars. It's made by the same guy that did Sage.

JustClick works great as long as the commands I am assigning to clickcast with are on bar #1. If they are on any of the other bars, however, click cast doesn't seem to work. It's not that much of a problem - I mean, I just put all the stuff I want to work with justclick on bar #1, but, I figured I'd let you know.
Kailef is offline Report comment to moderator  
Reply With Quote
Unread 06-10-06, 02:21 PM  
Caellian
A Frostmaul Preserver
 
Caellian's Avatar

Forum posts: 268
File comments: 250
Uploads: 5
Count: 1
Error: Interface\AddOns\JustClick\JustClick.lua:260: DUF_PlayerFrame doesn't have a "" script
Caellian is offline Report comment to moderator  
Reply With Quote
Unread 06-04-06, 03:07 PM  
Kailef
A Fallenroot Satyr
 
Kailef's Avatar

Forum posts: 27
File comments: 37
Uploads: 0
Originally posted by Soin
Hi Kailef,

It should not be very hard to add Sage support, I'll do it in the next version.
Awesome.... I can't wait.
Kailef is offline Report comment to moderator  
Reply With Quote
Unread 06-03-06, 05:10 AM  
Soin
A Defias Bandit
AddOn Compiler - Click to view compilations

Forum posts: 1
File comments: 38
Uploads: 2
Hi Kailef,

It should not be very hard to add Sage support, I'll do it in the next version.
Soin is offline Report comment to moderator  
Reply With Quote
Unread 06-03-06, 03:28 AM  
Kailef
A Fallenroot Satyr
 
Kailef's Avatar

Forum posts: 27
File comments: 37
Uploads: 0
Hey,

Another great mod! This could replace AceHeal for me and the rest of my guild! :-) However, before that happens, JustClick would need to support the Sage unit frames. I'm not sure how hard that would be for you to implement, but if you could do it, I'd be happy as a clam. Well, maybe not a clam. They can't be all that happy, always being cooked and thrown into chowder and all that. Still, you know what I mean. What do you think, can it be done?
Kailef is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: