If it's 2.1, it should work. If not, then... idk yet.
If it's 2.1, it should work. If not, then... idk yet.
Anyone mind posting their SAM xml please?
Edit: Masa
Fixed a RDM error where I had LockMain instead of $LockMain for Utsusemi.
EDIT: nevermind, for some reason I thought there was a small delay before casting by default
Also removed $ImpetusSet from the WS rules. I wasn't thinking about the effect of Impetus when I wrote that (Most MNKs wouldn't notice it unless you WS in a Non-Tantra+2 body).
Did I write these rules right? I always screw up lock rules, so I'm unsure of myself on this part.
Code:<if BuffActive="Double Shot"><equip when="precast|engaged|aftercast"><head lock="Sylvan Gapette +2"></head></equip></if> <if BuffActive="Bounty Shot"><equip when="precast|engaged|aftercast"><hands lock="Syl. Glvltte. +2"></hands></equip></if>
No.
<equip when="precast|engaged|aftercast"><head lock="yes">Sylvan Gapette +2</head></equip>
Fixed that, but I'm getting an error on the last line of the XML.
Code:<!--Variables--> <variables clear="True"> <var name="TP-Set">1</var> </variables> <!--End--> <rules> <!--Toggles--> <if spell="Ifrit"> <if advanced='"$TP-Set" = "0"'> <var cmd="set TP-Set 1" /> <addtochat color="57">TP Toggle - Ranged</addtochat> </if> <elseif advanced='"$TP-Set" = "1"'> <var cmd="set TP-Set 0" /> <addtochat color="57">TP Toggle - Melee</addtochat> </elseif> </if> <!--End--> <!-- Ranged Attack --> <if Spell="Ranged"> <equip when="Precast" set="PreShot" /> <aftercastdelay delay="0.8" /> <equip when="Midcast" set="Ranged-TP" /> </if> <!--End--> <!--Aftercast Prep--> <if spell="Ifrit"><var cmd="set Time precast" /></if> <elseif spell="autoset"> <if status="resting"><var cmd="set Time resting" /></if> <elseif status="idle"><var cmd="set Time idle" /></elseif> <elseif status="engaged"><var cmd="set Time engaged" /></elseif> </elseif> <else><var cmd="set Time aftercast" /></else> <!--End--> <!--Aftercast--> <if status="engaged"> <if Advanced='"$TP-Set" = "0"'><equip when="$Time" set="Melee-TP" /></if> <elseif Advanced='"$TP-Set" = "1"'><aftercastdelay delay="0.5" /><equip when="$Time" set="Ranged-TP" /></elseif> </if> <else><equip when="$Time" set="Idle" /></else> <if advanced='"$Time" = "precast"'><cancelspell /><return /></if> <!--End--> <!--Weapon Skills--> <if spell="Jinshu's Radiance"><equip when="precast" set="Jinshu" /></if> <elseif spell="Wildfire"><equip when="precast" set="Wildfire" /></elseif> <elseif spell="Sidewinder"><equip when="precast" set="Side" /></elseif> <elseif spell="Slugshot"><equip when="precast" set="Slug" /></elseif> <!--End--> <!--Job Abilities--> <if spell="Sharpshot"><equip when="precast"><legs>Hunter's Braccae</legs></equip></if> <elseif spell="Barrage"><equip when="precast" set="Barrage" /></elseif> <if BuffActive="Double Shot"><equip when="precast|engaged|aftercast"><head lock="yes">Sylvan Gapette +2</head></equip></if> <if BuffActive="Bounty Shot"><equip when="precast|engaged|aftercast"><hands lock="yes">Syl. Glvltte. +2</hands></equip></if> <!--End--> </rules> </spellcast>
Sorry just got back with the guy I wrote it for to find out.
Parsing error: line 236 - error reading end tag.
I've scoured the part prior to rules and figured that was the broken part was in what I posted, but I guess I'll post everything just incase I'm still missing something.
Spoiler: show
Spellcast is capitalized in <spellcast> but not in </spellcast> so it's treating them as two different tags. After changing the first tag to lowercase it opened fine in Firefox for me.
Alright, I've been doing some debugging on my XML (hence the lack of a released version) and I seem to have run into a snag.
I wanted to implement some March-related rules this update to automatically swap my TP body and potentially tweak my entire TP set when I have haste and 2x Marches active. However, using
does not produce the result I was hoping for. It increments properly on the first march but does not increment on the second; when I allowed them to wear off I experienced the reverse result (the variable did not decrement until both marches had worn off). Has anybody else run into this issue before and if so were you able to resolve the issue?Code:<register event="gainbuff_March" silent="true">sc var inc Marches; input /ma "Dancing Chains" <t></register> <register event="losebuff_March" silent="true">sc var dec Marches; input /ma "Dancing Chains" <t></register>
Everything else is long since complete and tested, I just hadn't had a chance to go back and review this again until now. If I don't find a solution tonight I'll remove the code and release NIN v2.0 as is.
Dancing Chains is a WS not magic.
Edit: The march idea was purely theoretical. If it's not working, then I guess it won't work with that.
I do /ma by habit since all my old triggers except Sentinel were spells, but Spellcast automatically fixes it regardless. I'll correct it though, thanks for pointing that out.
Did you explore any alternatives when you looked at it previously or did you just present the concept and leave it at that? I'm at a loss for options beyond simply adding a toggle of some sort but it would be nice to automate this somewhat to avoid losses when buffs go down, especially given that I might write a DRK XML next and there are fairly drastic changes between TP sets with Last Resort up if you have buffs.
EDIT: Found the posts, guess not. I'll post my xml shortly then.
http://pastebin.com/KBh0iVds
As always, the most up to date version will be available here. The autoexec code is included in the commentary; no include.xml is needed.
Hopefully this thread is also for Autoexec questions. Is there a way to setup for incoming tells to have a keyword and input a command after? Like player1>> haste plz "input /ma "Haste" <r> ?
What about from a specific person? something like "specificplayer>> Haste me you c5 machine! input /ma "Haste" <Specificplayer> ?
Thanks
Edit: I found the page for autoexec commands. Going to try
Code:<register event="chat_tell_gustavve_haste">input /ma "Haste" Gustavve</register>
This will haste the person in the party that types haste in party chat automatically:
<register event="chat_party_*_haste" silent="true">wait .3;haste <r></register>
The format is chat_$1_$2_$3 $1: Chat Mode (say/tell/shout/party/linkshell/emote) - $2: Sender Name - $3: Message
FYI you can set this up to do the same for silence silena paralyna paralyzed yada yada but biggest caveat is that it can be missed if busy doing something else I use tells myself that only respond to me don't want just anyone asking for a cure lol.
Spoiler: show
I have what seems to me like a pretty stupid question that I cannot figure out.
I'm using Yugl's DRG.xml which I like a lot and thank you! But on past drg xml's i found it to use my dragoons healing breath and can't figure this out on Yugl's.
I'm using a Drachen Armet to trigger healing breath then i want it to switch to the Saurian helm. I thought I had this right but when i cast a magic spell nothing happens, like poisona, blinda ect.
Is this where I make the change on his xml? Thanks
Code:<set name="WyvernHP"> <back>Lancer's pelerine</back> <rear>Lancer's earring</rear> </set> <set name="Spirit Link"> <head>Drn. Armet</head> <hands>Lncr. Vmbrc. +2</hands> </set> <set name="HealingBreathTrigger"> <head>Drachen Armet</head> </set> <set name="Restoring Breath" baseset="WyvernHP"> <head>Saurian helm</head>