Hi, did some more extensive testing today.
Modifiers
My goal with modifiers is, that i wanted to be able to create leaderless-hotstring like I suggested to Freedy here and revisioned here.
To cut it short, i wanted to be able to define not a single key as master- and slave-key, but a hole key-modifier combination.
To give an example, what is possibe :
Say your ModifierOrder, to identify a Toon, for TonnC is 'alt' + 'shift' .
I define 'shift + 2' as the master-key and 'ctrl + u' as the slave key.
What happens when I press 'shift +2' on ToonC is:
1. 'shift+2' is send to ToonC (the leader)
2. 'ctrl + alt + shift + u' is send to the slaves (ToonA,ToonB,ToonD,ToonE)
Why this is very usefull I will explain after I descriebed how it is done.
Basic Idea to make this possible is very simple:
- Instead of defining 1 command like 'assistX', which must have as parameter the master-key combination and the slave-key combination ..
- ...simply define 2 seperate command:
- one to assistX if you are the leader (assistXMaster), which only sends the master-key-combination to ToonX
- another to assistX if you are a slave (assistXSlave), which sends the slave-key-combination to all slvaes (all but ToonX)
This can be accomplished with HotKeyNet for example Toon3 with:
Code:
<command assist3Master>
<SendPC Local>
<SendWin WoW3>
<Key %all%>
<command assist3Slave>
<SendPC Local>
<SendWinM WoW1>
<Key alt shift %all%>
<SendWinM WoW2>
<Key alt shift %all%>
<SendWinM WoW4>
<Key alt shift %all%>
<SendWinM WoW5>
<Key alt shift %all%>
.. to make it work for all five, you have to add such a template for all 5 by changing the modifier-combination (here 'alt + shift) to the one of the corresponding Toon, and changing to which window the master and slave-keys are sent.
So, now i have defined all five <assistXMaster> and <assistXSlave>, how do i define a master-slvae-key-combination like mentioned above?
(Master-Key: 'shift + 2' / Slave-Key: 'ctrl + u')
like the following:
<Hotkey shift 2>
<If ActiveWinIs WoW1> <Assist1Master %trigger%><Assist1Slave ctrl u>
<Else If ActiveWinIs WoW2> <Assist2Master %trigger%><Assist2Slave ctrl u>
<Else If ActiveWinIs WoW3> <Assist3Master %trigger%><Assist3Slave ctrl u>
<Else If ActiveWinIs WoW4> <Assist4Master %trigger%><Assist4Slave ctrl u>
<Else If ActiveWinIs WoW5> <Assist5Master %trigger%><Assist5Slave ctrl u>
Yeah, quit 'simple' and jet so powerfull 
So, the goal for modifiers are accomplished :thumbsup: .
Using modifiers directly in your /cast macro
or: Why the hassle, above?
One major problem/misunderstanding of the ftl-setup is that a macro, which should activate on '2', like:
/cast [mod:alt,harm] Corruption; [harm] Shadowbolt
can normaly only be achived in a ftl setup, by seperatly define a hotkey for '2' and a hotkey for 'alt + 2' which lead to 2 different slavekeys.
For more information see: http://www.dual-boxing.com/wiki/inde...etup#Modifiers
This is only half of the truth, as it is possible to use the same slave-key as long as you are not using the modifier which is used in the macro (here: alt) as part of your modifier-order which defines your leading Toon.
Ok, in theory this is possible, but when i want to define a modifier-order for a 5-Toon-Team i have to use at leats 3 different modifiers.
You might ask: "So what are you telling me here? It is possible, but becasue i need 3 different modifiers for my order its inpractical! -So shut up, don't waste my time!"
You were right, if there are only 3 modifiers!
But I shortly realized, that there are indeed 6 (!) modifiers not only 3, if you differentiate between left + right shift,alt,ctrl :thumbsup:
So the basic idea:
Simply use ralt, rshift and rctrl to define the modifier-order and voila, lalt,lshift and lctrl can be used in your macros! jipi!
so instead of using:
‘Ctrl + Shift + key’ ---> ‘command.ToonA’
‘Ctrl + Alt + key’ ---> ‘command.ToonB’
‘Alt + Shift + key’---> ‘command.ToonC’
‘Ctrl + Alt + Shift + key’ ---> ‘command.ToonD’
‘Ctrl + key’ ---> ‘command.ToonE’
as your modifier combination, use:
‘rCtrl + rShift + key’ ---> ‘command.ToonA’
‘rCtrl + rAlt + key’ ---> ‘command.ToonB’
‘rAlt + rShift + key’---> ‘command.ToonC’
‘rCtrl + rAlt + rShift + key’ ---> ‘command.ToonD’
‘rCtrl + key’ ---> ‘command.ToonE’
and by doing so you can use a macro like the following on your slave key:
/assist
[mod:rctrl,mod:rshift,nomod:ralt]ToonA;
[mod:rctrl,mod:ralt,nomod:rshift]ToonB;
[mod:ralt,mod:rshift,nomod:rctrl]ToonC;
[mod:rctrl,mod:ralt,mod:rshift]ToonD;
[mod:rctrl,nomod:ralt,nomod:rshift]ToonE
/cast [harm,mod:shift]Chain Lightning;[harm]Lightning Bolt
Horray
Connect With Us