add <if notarea="Abyssea*">? Might get some fairly deep layers of if's but it works.
Edit: Read it as 2 xmls, not 2 sets of rules, which that effectively would be.
add <if notarea="Abyssea*">? Might get some fairly deep layers of if's but it works.
Edit: Read it as 2 xmls, not 2 sets of rules, which that effectively would be.
Does adding "not" before specifiers such as area work for any of them or only for certain ones (NotBuffActive/Area)?
According to testimony, this is using the Melee-Lance for sub mage too when changing in MH. Is this being caused by Melee-Lance being the default?Code:<!--Melee or Mage sub--> <if SubJob="RDM|WHM|BLM|BLU|PLD|SCH|DRK" area="Town"> <command>sc group Mage-Lance</command> </if> <elseif SubJob="WAR|SAM|NIN|MNK|BST|RNG|DNC|COR|THF" area="Town"> <command>sc group Melee-Lance</command> </elseif>
First off: I'm assuming they don't literally have area="Town" in the rule, rather than area="<list of town zones>" (Aside, if this actually works, cool! but never seen it done)
Secondly, they'd have to run through the rules once after every SJ change - on Main or Sub change SC looks and tries to load <name>_<main>_<sub>.xml then <name>_<main>.xml then <name>.xml, so even using the same xml file for all SJs, it gets reloaded when you change, resetting the group to default.
Try doing any ability while in "town" to update it, then check the group.
Helllo would anyone mind posting lv 90 updated xmls for pld drk blu rng war with new abilites, spells, etc thx in adavance.
Ok, I'll have them try that. Meanwhile, I would personally like to know whether you think it's a good idea to put <castdelay> before all JAs. Before, he couldn't get angon to work, so I'm about to make him try it with the castdelay and see if it works. If it does, would that indicate a need to put that before all JAs?
Edit: He changed it to port and it didn't work. Neither did taking an action. Also, Angon didn't work. Would this mean that equipment is not changing for ALL JAs as well?
Post/PM the file please and will try it as a sanity check.
I use a 0.3 cast delay on WS/JA/precast FC gear on long enough spells, never had a problem with it unless I'm mashing the macro too much.
Worked for me, blm/rdm swapped to mage-lance. I did change area="Port Jeuno" to area="Xarcabard" to test it though since middle of events.
3 things I could think of:
1) Editting in wordpad/notepad, not notepad++. This gave some errors last page.
2) Using 2.2* or before and <command/> not working.
3) Slipped a bad character into the "Port Jeuno" somehow (or entered MH from non-port?), I'd retry with area="*Jeuno*|*lude*"
Also, he tried 0.4 Delay for Angon and it still does not work. I assume it has something to do with the fact that you can't even use the JA if you don't have it equipped. He used regular notepad to test it, so it cannot be notepad++ causing the issue. Tested again, it seems to work in Port jueno outside the MH if you take an action. Basically, it's not going to change the group if you only change your sub and when it does change it, it will always change it (Taking any action apparently brings up the "Changed group to Mage-Lance" message).
Angon I'll test when I can borrow a drg account tomorrow, but the "always swaps in town" is an easy fix (don't know why it wouldn't work in MH, but sure)
Added benefit of not needing to be in town, but it won't swap at all once you've specified a *-staff group.Code:<if SubJob="RDM|WHM|BLM|BLU|PLD|SCH|DRK" group="melee-lance"> <command>sc group Mage-Lance</command> </if> <elseif SubJob="WAR|SAM|NIN|MNK|BST|RNG|DNC|COR|THF" group="mage-lance"> <command>sc group Melee-Lance</command> </elseif>
Will that appear each time I do an action though? That was the main reason I limited it to town.
Just right after you swap SJ, once it's processed the group change once, the if condition will be false from then on.
Oh nice! Thanks.
Edit: I had to look at it a few times to understand the logic error you're creating and I have to say that's brilliant.
Angon: Didn't work until I took castdelay up to 0.5, so probably system dependant. Try from 1.0 and work your way down.
Sweet, thanks.
is there a rule in spellcast like the gainbuff rule for autoexec? i'd like to addtochat some text after i gain a maneuver effect!
Not when you gain a buff, but if you hit the macro, sure.
Will fire every time you hit the maneuver though, so if spamming the macro waiting for recast, you'll get it in log every time.Code:<if spell="*Maneuver"> <command>input /echo %Spell</command> </if>
yeah that is what i'm using atm! ty tho! another question, a rule to check if an ability is up or is still in downtime?