Can we see the XML then? Is the variable changing when you use Restraint?
Can we see the XML then? Is the variable changing when you use Restraint?
http://pastebin.com/6cT7vTtV
And I'm not sure, I think something is going wrong with the aftercast of afterusing restraint and while being engaged. Rule itself does seem to be working propperly, let's say Restraint buff is currently active and i perform any action like a ws or JA like Hasso after using Hasso spellcast changes my gear to Ravager's Mufflers +2. However, it doesn't seem to register correctly when I'm using Restraint and swaping from
Phorcys -> Ravager
instead it does this
Phorcys- > Ravager -> Phorcys
<variables>
<var name="Restraint(Active)">BlankSet</var>
</variables>
<!-- Restraint rule -->
<if mode="OR" Spell="Restraint" BuffActive="Restraint">
<var cmd="set Restraint(Active) Restraint" />
</if>
<else>
<var cmd="set Restraint(Active) BlankSet" />
</else>
These worked when I tested (Changed the variable upon use). Didn't have the hands to test the gear though.
Tested stuff multiple times in VW and on mobs outside Jeuno, but just doesn't work for me I have no idea why. QQ![]()
Did you remember to unload > delete before using the new spellcast?
Yes, usually use //sc reload but have also used unload spellcast and load spellcast in the console.
I meant when you downloaded the new spellcast.
Yes, ofcourse. I unloaded it and reloaded it. When I got the new spellcast that was a few days ago. Also have restarted client a few times since then.
Edit:
Hey again Yugl, thanks for all your help I just couldn't solve the issue, but I've come up with an alternative solution incase you're interested I've removed the var and blankset instead I've used this.
Currently set to Hasso, because Restraint recast is simply too long to test out new rules. And created two tp sets 1 set with mufflers and 1 set with phorcys.HTML Code:<if Status="engaged"> <if mode="or" spell="Hasso" buffactive="Hasso"> <action type="equip" when="aftercast|idle|engaged" set="6-hitR" /> <command when="engaged|aftercast">input /echo :: [Warrior 6-hit Hasso set] ::</command> </if> <else> <action type="equip" when="aftercast|idle|engaged" set="6-hit" /> <command when="engaged|aftercast">input /echo :: [Warrior 6-hit set] ::</command> </else> </if>
I still don't know what is causing the other method to fail, because that was was more efficient in my opion and less lines used. Last time I've been using this spellcast was 8 months ago and like I said it worked fine without any issues.
Actually, I think the issue is the rule is after your equip rule. Place the var rule before the equip rule and you should have that working. Not sure though because I would think the aftercast rule would pick up on the variable change, but maybe not.
i got a small problem at hand. would like to use a WS cancel rule in this new war XML i got since i had one in my old one and got used to it but when i try it i get an error where sc thinks every action i do is a WS (ja/engage/rest w/e).
this would be the link to the xml : http://pastebin.com/i1W4nzdg
and this is the type of rule i am trying to put in there:
Spoiler: show
This is what I have.
Not sure if it helps you.HTML Code:<if type="weaponskill"> <!-- Cancel WS if unable to cast --> <if Mode="OR" BuffActive="Amnesia|Sleep|Stun|Terror" TPLT="100" advanced='%spelltargetdistance > 8.0'> <action Type="CancelSpell" /> <action type="Return"/> </if> <!-- Ukko's Fury WS rule --> <if spell="Ukko's Fury">
the rule would work, so does the one i posted but just not in the xml i posted above, its prob interfering with another rule but i cant find it.
i get the addtochat msg after every action and not just when i try to WS and have less then 100tp or out of range the way it should.
edit: the rule works, i could remove the addtochat msg and i prob wouldnt notice that something is wrong but i kinda cant ignore it now that i know it.
The issue is that you didn't exclude triggers from the rule and the rule has "mode=OR" + "TPLT=100" etc. The triggers used are WS, so they activate the rule and that happens every aftercast. You need to do one of these:
1. <if type="Weaponskill" notSpell="*trigger spells here*">
2. Change the triggers to the new trigger spells (See Spell Resources for list)
3. Use <if Spell="Triggershere"> <elseif type="Weaponskill">
The exact same rule works in various other XML tho... Wouldnt do that if its formated wrong or i need to exclude all other triggers except WS or would it? Not a expert at writing xml, actually horrible at it but will try the exclude part even tho i would need to exclude each an every JA/heal/engage/disengage?
edit: meh nvm excluding dancing chains fixed it i think -.- weak moment there
Trying to make a rule, while weakened use twilight on idle/tp. With the following code, but it's screwing up my restraint rule.
Makes 6-hit and 6-hitR set fire off at the same time making my restraint rule fail. What's the best way of doing this? TyHTML Code:<if Status="engaged"> <if mode="or" spell="Restraint" buffactive="Restraint"> <action type="equip" when="aftercast|idle|engaged" set="6-hitR" /> <command when="engaged|aftercast">input /echo :: [Warrior 6-hit Restraint set] ::</command> </if> <if buffactive="Weakness"> <action type="equip" when="aftercast|idle|engaged" set="6-hit"> <head>Twilight Helm</head> <body>Twilight Mail</body> </action> <command when="engaged|aftercast">input /echo :: [Warrior weakened set] ::</command> </if> <else> <action type="equip" when="aftercast|idle|engaged" set="6-hit" /> <command when="engaged|aftercast">input /echo :: [Warrior 6-hit set] ::</command> </else> </if>![]()
You have the <else> attached to the non-Restraint <if>. Move the <else> stuff right after the restraint rule.
I have the FPS problem too -.-
I have a weird problem also. When i log on the char this macro don't work. It does not go back to idle gear
<if status="Idle" >
<equip when="Aftercast|Idle" set="Standard" />
</if>
but after i do /heal. Everything go back to normal
its like when i log on , he don't know which status i am
When you first go onto FFXI, no status is present (You're not idle or otherwise).
Double post
It's been a while since i had to bother editing rules. Mind helping me adjust it for nightingale/troubadour?
http://pastebin.com/Ddb0QHSv
For some reason some of my songfastcast gear stays on when it should swap for a +1 piece of armour as well if I have more than 2~3 pieces in inventory. It's kinda annoying.