nvm found it thanks so much Radec.
nvm found it thanks so much Radec.
Actually adding the (bool) in gave another error
Was a typo all is well, thanks!
Can't seem to get the gear to trigger when either SA or TA are active during WS. Sometimes it works but not all the time ;/
Code:<elseif type="WeaponSkill"> <if TPGT="99"> <action type="castdelay" delay="0.2" /> <if buffactive="Sneak Attack|Trick Attack"> <action type="equip" when="Precast" set="WS"> <head>Hecatomb Cap</head> <body>Dragon Harness</body> </action> </if> <else> <action type="equip" when="Precast" set="WS" /> </else> <action type="aftercastdelay" delay="1" /> <action when="aftercast" type="equip" set="$mode" /> </if> <else> <action type="cancelspell" /> <action type="addtochat">Not enough TP!</action> </else> </elseif>
If you have something like
Sneakattack;pause 1.3;weaponskill
SC won't notice that Sneak is active yet, especially in laggy situations. You can either increase the delay or set variables as you hit SA/TA and have SC read those. The reset condition is trickier and w/out autoexec you're probably best just doing it manually.
Psuedo since you'll have to fit it into your own anyways and won't be able to just copy-paste.
When you "Cast" the dummy spell SC will assume SA/TA have been used. Alternatively and probably just as easy, can bind a key to reset the variables.Code:<if spell="Sneak Attack"> sc v s SA_Active 1 </if> ... <if spell="Trick Attack"> sc v s TA_Active 1 </if> ... <if spell="Some Spell you'll never cast, like thunder V"> sc v s SA_Active 0 sc v s TA_Active 0 </if>
You know, this isn't the place to ask but can someone please explain to me how to use autoexec? Getting tired of equipment not being put in, having to hit another button, and after reading the autoexec commands. It just confused the hell out of me.
http://forums.windower.net/forum/22-plugin-support/
Don't use it myself.
Thanks, but that doesn't really help me much since there isn't some kind of sticky for dummies on autoexc, because I'm having problems putting in certain gear for me.
This is the part I'm talking about:
It won't put in my acc gear after I switch to Seigan until I hit another button.Code:<if status="Engaged"> <if HPPLT="75"> <equip when ="aftercast" set="PDT" /> </if> <elseif BuffActive="*Madrigal|Hunter's Roll|Hasso"> <equip when="aftercast" set="Fullfight" /> </elseif> <else> <equip when="aftercast" set="fight" /> </else> </if>
That's because at the time you hit the Seigan macro you still have Hasso as the active buff, so it hits the elseif block. You need a spell="Seigan" check in there before the Hasso check, and also add spell="Hasso" check for when things swap the other way (can be combined with the BuffActive line).
Autoexec is only of consequence for handling buffs wearing off, which shouldn't be relevant for Hasso/Seigan.
So like this?
Code:<if status="Engaged"> <if HPPLT="75"> <equip when ="aftercast" set="PDT" /> </if> <elseif spell="Seigan|Third Eye" BuffActive="Hasso"> <equp when="aftercast" set="fight" /> </elseif> <elseif BuffActive="Hasso"> <equip when="aftercast" set="Fullfight" /> </elseif> <elseif Spell="Hasso" BuffActive="*Madrigal|Hunter's Roll|Hasso"> <equip when="aftercast" set="Fullfight" /> </elseif> <else> <equip when="aftercast" set="fight" /> </else> </if>
This should be sufficient, catches the rising edges of Hasso/Seigan/3E. As mentioned, Autoexec only really needed to catch falling edges of buffs.Code:<if status="Engaged"> <if HPPLT="75"> <equip when ="aftercast" set="PDT" /> </if> <elseif spell="Seigan|Third Eye"> <equp when="aftercast" set="fight" /> </elseif> <elseif Spell="Hasso"> <equip when="aftercast" set="Fullfight" /> </elseif> <elseif BuffActive="*Madrigal|Hunter's Roll|Hasso"> <equip when="aftercast" set="Fullfight" /> </elseif> <else> <equip when="aftercast" set="fight" /> </else> </if>
Just tired it still doesn't put in my acc gear after I hit Seigan.
Nevermind, I think I got it to work now.
Does this look alright to you?
Code:<if status="Engaged"> <if HPPLT="75"> <equip when ="aftercast" set="PDT" /> </if> <if spell="Seigan|Third Eye"> <equp when="aftercast" set="fight" /> </if> <elseif BuffActive="*Madrigal|Hunter's Roll|Hasso"> <equip when="aftercast" set="Fullfight" /> </elseif> <if Spell="Hasso"> <equip when="aftercast" set="Fullfight" /> </if> <elseif BuffActive="Seigan|Third Eye"> <equip when="aftercast" set="fight" /> </elseif> <else> <equip when="aftercast" set="fight" /> </else> </if>
If you aren't getting set Fight after hitting Seigan, it's something else that is doing it outside the snip posted.
In your rules, if you have Hasso up, it'll equip set Fight over fullFight or PDT.
Well here is everything in the rules. I hope it helps out to figure it out. It seems to be working now, but I wanted to make sure if there anything I could change.
Spoiler: show
Setting up my BLM xml, everything was running fine until I added in IneptVagrant`s tier reduction snippets. I`ve tried everything I can think of, though it has been a long time since I messed with xmls. If anyone can help me out I will love you forever.
Here the pastebin of the blm.xml: http://pastebin.com/qFfdkvLB
And here`s the blmnukerecast.xml: http://pastebin.com/duUg0vCA
The error I`m getting when I open it up in firefox is
And when I try to load it in game, Windower tells me..Code:XML Parsing Error: prefix not bound to a namespace Location: file:///C:/Windower/plugins/spellcast/blm.xml Line Number 49, Column 2: <xi:include href="blmnukerecast.xml" xpointer="/includes/include[@name='vars']/*" /> --------^
And lastly, the debug log: http://pastebin.com/f30zKKU7SpellCast: XML Parsing Error: line 0 - Error reading end tag.
SpellCast: Your document failed to load. Please view the error above, and once it is corrected type /sc reload
Quick question, is it possible to have 2 precasts sets? 1 if my hp isn't 75% for minstrel's input my -hp set. 2nd for fast cast/-song time?
Can't make precast1 precast2, no - you could do something like..
Code:<if HPPGT="75"> <action type="castdelay" delay="3"/> <action type="command" when="precast">sc set minushp; pause 1.5; sc set fastcast</action> </if> <else> <action type="castdelay" delay="0.3"/> <equip when="precast" set="Fastcast"/> </else>
thank you once again
http://pastebin.com/cQThu3dz
It's changing to my -hp set on everything i do ja/spell/song.
Ah yeah, that was supposed to be only inside a <if skill="Singing">[All that stuff]</if> block.
I`m still having trouble with my BLM xml, if anyone knows anything about xml and can help, or at least point me in the right direction/site to get help for it at.