HALP:
Just downloaded sc 2.3 and used the xml updater and it broked.[2:47:24 AM] 3428:<0> [ERROR] XML Parsing Error line 12 - Error reading Attributes.
[2:47:24 AM] 3428:<0> Writing to Console: SpellCast: XML Parsing Error: line 12 - Error reading Attributes.
[2:47:24 AM] 3428:<0> [ERROR] Document is not valid.
[2:47:24 AM] 3428:<0> Writing to Console: SpellCast: Your document failed to load. Please view the error above, and once it is corrected type /sc reload
[2:47:24 AM] 3428:<0> Checking: Nishida/default.xml
[2:47:24 AM] 3428:<0> Loading filename: Nishida/default.xml
[2:47:24 AM] 3428:<0> Checking: Nishida
[2:47:24 AM] 3428:<0> Loading filename: Nishida.xml
Can't help you unless you show your XML, there's something wrong on line 12.
Nevermind I fixed it. @_@ seems the converter doesn't correct everything..was pain to find the mistakes in all 3 xmls ; ;
Anyone know how to get Spellcast to equip stuff based on when you are idling?
More specifically, Im trying to equip my trotter boots when Im not engaged, after each action.
I have:
<if spell="autosets">
<if status="idle">
<action type="equip" when="idle" set="Standing" />
</if>
</if>
But it isnt doing it. I also tried adding the
<if status="idle">
<action type="equip" when="idle" set="Standing" />
</if>
To the end of each of my rule sets (so if utsusemi, it does haste gear, then swaps back to TP set, then has that check to see if idling and put me in standing set) , but that isnt working either Q.Q.
Well, "autosets" is wrong, it's "autoset". Here are two snippets from my NIN xml that should show what you're trying to do:
This first snippet is from the top of the rules section, it handles equipping my TP set when I engage and my idle set after the fight, the "return" action tells SpellCast to skip the rest of my file if one of these things happened. This is just for efficiency.
This snippet tells Spellcast which set to equip after casting Ninjutsu spells. If I was engaged at the time, it'll go back to my TP set. If I wasn't engaged (pulling using Kurayami, etc), it'll go back to my idle set instead.Code:<if spell="autoset"> <equip when="engaged" set="tp" /> <equip when="idle" set="idle" /> <action type="return" /> </if>
Code:<elseif type="Ninjutsu"> <if status="Engaged"> <equip when="aftercast" set="tp" /> </if> <elseif status="Idle"> <equip when="aftercast" set="idle" /> </elseif> <if spell="Utsusemi: Ichi"> <action type="midcastdelay" delay="2.5" /> <equip set="ichi" /> <action type="command" when="midcast">cancel 66</action> </if> <elseif spell="Utsusemi: Ni"> <equip set="haste" /> </elseif> <elseif spell="Kurayami*|Jubaku*|Hojo*"> <equip set="ninjutsu" /> </elseif> </elseif>
Edit: too slow, but same idea.Code:<if spell="autoset"> <equip when="resting" set="Resting" /> <equip when="engaged" set="Standard" /> <if status="Engaged"> <equip when="idle" set="Standard"/> </if> <else> <equip when="idle" set="Idle"/> </else> </if>
<if spell="Utsusemi:*">
<equip when="midcast" set="Haste" />
<if status="engaged">
<equip set="TP" when="AfterCast" />
<aftercastdelay delay="5" />
</if>
<elseif status="idle">
<equip set="idle" when="AfterCast" />
<aftercastdelay delay="5" />
</elseif>
</if>
Something like this should work. You can put in Cancel if you like as well
Oh man those are a lifesaver, I couldn't figure out how to get the Status= to work when trying to put it in with the autoset tags instead of nesting it. I can't count how many times I casted Drain or Dread Spikes while running away from Campaign shiz and got stuck in my dusk gear because I've defaulted to my engaged set.
Now I need a toggling variable so I can have it use my 'oh crap' pseudo-tanking set when I've activated it.
If I have them in my autoset statement, why would I also need them in my aftercast?
Autosets only trigger when your status changes, for example when you engage or disengage. If you cast a spell, your status doesn't change as part of that, so you need some way of telling it which aftercast set to use.
An alternative method is to set a variable inside the autosets section, representing the name of the aftercast set, but I find this isn't as intuitive. For example I could have a variable that gets set to "tp" when the "engaged" autoset triggers, and set to "idle" when the "idle" autoset triggers. Then I only need one <equip when="aftercast" /> line saying to switch back to whatever set that variable is currently holding.
Same thing as before but I remember to copy the line directly above.
Spoiler: show
Autoset triggers when you do things like engage, rest, disengage(when=idle), not when you're casting a spell.
Edit: my god, refresh in new window then post
Thanx guys.
those were awesome, been looking for something like that for awhile but couldn't get it to work.
There are a few things I wanted to do with my RNG spellcast. These are probably simple questions, but I am not sure how to do it.
First, I want to keep on my Barrage gear until my next RA, is there a way to lock it in even if it is going to be a while and I move or disengage before the next RA?
Second, if I want to put on a piece of gear (like Skadi feet for a kited fight) is there a way to do that to override my normal set for a short period then have it go back to normal?
Is there any reason you need the equipment to be persistently equipped? You could do a simple check when performing a ranged attack to see if Barrage is active and equip the appropriate gear when firing.
For the Skadi question you could have a second group that inherits the first and override the sets where you want Skadi equipped.
I agree with what Xanthe said, but if you really want to lock gear then you can do something like:
Code:<if BuffActive="Barrage"> <hands lock="yes"></hands> </if>
It was just an example of the syntax. I'm sure he can figure out how to replace "hands" with whatever other slots he has in mind.
I want the gear persistently equipped because trying to fire a Barrage on a kited fight is more annoying than trying to something, something... sorry out of analogies today, but it fucking sucks if your gear keep switching.![]()
I think I just might make a separate macro set for kited fights. /giveup