Any reason why reloading an XML, without changing the XML, would cause POL to crash?
Edit: Thought I had this fixed, but nope! I crash when I zone....
Any reason why reloading an XML, without changing the XML, would cause POL to crash?
Edit: Thought I had this fixed, but nope! I crash when I zone....
Looking for a standard variable thing for locking TH hands and boots
Edit: K I got it to where if I engage it'll switch but if I use anything or do anything that calls for a set it changes gloves.<var name="TH">1</var>
<if advanced='"$TH"="1"'>
<action type="equip" when="idle|engaged|aftercast" set="TH" />
<hands lock="Yes">Assassin's Armlets</hands>
</if>
Hi guys, i need some advice in my spellcast, is there anyway to check for cool down of my spell.
for example using cure 6 but is in Cooldown. Spellcast check if is in CD use cure 5?
another question, i have been looking at others pastebin that provided and i realise this code but was unsure what does it mean.
<equip when="precast|midcast" set="haste" />
what does the or(|) mean in here? during precast and midcast use haste gear?
<equip when="Midcast" set="Haste|Enhancing" />
During midcast use haste or Enhancing?
thank you^^
Spellcast cannot access recast values.
The (|) is called a "pipe." There are two uses for the pipe.
1. For equip sets, this overlaps gear.
<equip set="Haste|Enhancing" />
Means "equip Enhancing and any slot not covered by enhancing should use Haste." So if your enhancing set has [Body+Hands] and your Haste set has [Body+Feet], you will equip the [Body+Hands] from the enhancing set and only the [Feet] from the haste set.
2. Means the lesser form of "Or"
Strong "Or": You can have soup or salad (But not both)
Lesser "Or": If you have a five dollar bill or a ten dollar bill, you can afford this pack of cards
So if you see
<if Buffactive="Berserk|Impetus|Warcry">
<do action>
</if>
This means if either Berserk, Impetus, Warcry, or any combination of those are up, do the action.
Or, explained from the other direction: Equip the Haste set, then equip the Enhancing set (ie: read from left to right in the list); anywhere the two sets overlap, Enhancing takes priority (ie: you can view it as laying the Enhancing set on top of the Haste set).1. For equip sets, this overlaps gear.
<equip set="Haste|Enhancing" />
Means "equip Enhancing and any slot not covered by enhancing should use Haste." So if your enhancing set has [Body+Hands] and your Haste set has [Body+Feet], you will equip the [Body+Hands] from the enhancing set and only the [Feet] from the haste set.
Thanks Yugl for the detail explanation.
<equip when="precast|midcast" set="haste" />
Sorry i still very new to spellcast but can i ask a stupid question.
Why does pple do this? how do spellcast determine when to use haste set? during precast or midcast?
It some how dont make sense to me, when precast or midcast use haste set. Is like saying use haste set in either condition.
<equip set="Haste|Enhancing" />
just to clarify the parameter on the right(enchancing) has a higher priority than the one on the left(haste)?
Yes, enhancing takes priority.
As for why people do this; it's because they want to equip the set before they cast and keep that set on during cast. To break this down, think of casting on a time scale
<|Precast---|Midcast---------|Aftercast|>
If you want the equipment on during the precast and midcast block, you would need to use the pipe. Same for any other combination.
Ideally, you would just use midcast and use a fast cast set for precast. However, I can understand that some people may use the Haste set for precast and midcast if they are using Witful belt.
Oh oh i get it now, haha that was ur bard code i was looking at, doing some mortification on it. As i think having -recast delay on haste set is better than having haste gear in there. For example finale has like 2 cd sec if u have the bard AF3+2 leg and harmory cape on. If u have full haste is like 10-15 sec cd.
Really like using ur code. thx for sharing them^^
I were checking by istake files version, and noticed something:
my current files in the directory Resources have this line:
but when i check Radec's, i find this instead:Code:<!--Radsources last updated 2012.04.01. This file generated on 2012.04.04-->
i did //updateresources, didnot change anything. Are there any changes, isit normal behavior or a bug?Code:<!--Radsources last updated 2012.04.05. This file generated on 2012.04.05-->
The first date is the last time the generator program was changed, the 2nd date is the time the file was generated - not the time you downloaded it.
If, post-FFXI-update, you still have a 2012.04.05 date, you'll know there hasn't been a new file made yet.
Also the 04.05 update was a minor thing to add a md5 file iirc, and won't be reflected in //updateresources until new major patch.
pastebin.com/5mcXBK1m
Keep getting end tag error on line 322, and cannot figure out why. Tried running it through online XML validator's but they want did not help at all.
If I just want a super simple spellcast with very limited sets -- Idle, TP, WS, this will work, right?
Code:<if spell="autoset"> <action type="equip" when="%Status" set="%Status" /> </if> <if type="WeaponSkill"> <castdelay delay="0.3" /> <if spell="%Spell"> <equip when="precast" set="%Spell" /> <equip when="aftercast" set="%Status" /> </if> </if>
Mostly correct. Spell="%Spell" is a tautology; it's impossible for it to be false (or if it is possible, it's a bug), so there's no point in using that.
Sets you need: Idle, Resting, Engaged, and one for each weaponskill you want. I would, however, suggest slightly altering the weaponskill code so that it doesn't generate errors if you use a weaponskill you don't have a set for. EG:
<set name="WS-Victory Smite"></set>
<set name="WS-Asuran Fists"></set>
<set name="WS-*"></set>
The final set with the * in it will be used for every weaponskill that you haven't already defined.
and then
<equip when="Precast" set="WS-%Spell" />
Final version:
Code:<if spell="autoset"> <action type="equip" when="%Status" set="%Status" /> </if> <if type="WeaponSkill"> <castdelay delay="0.3" /> <equip when="precast" set="WS-%Spell" /> <equip when="aftercast" set="%Status" /> </if>
Is there a functional reason why %status isn't immediately assigned a non-null value (ie: Idle/Dead) on login? If not, can that be fixed? Would also appreciate an answer from the windower team to my question concerning predefined variables on the previous page.
Hello
i was testing some echo warnings for war JAs this morning and discovered the syntax below doesnot work:
and indeed i checked Resources.xml and Abils.xml: both have ALL job abilities' recasts set to 0 !?Code:<if Spell="Warcry|Retaliation|Restraint|Defender|Provoke|Meditate|Sekkanoki"> <if Advanced='"$%Spell"="up"'> <cmd>sc var set %Spell down; wait %Recast; sc var set %Spell up; input /echo %Spell ready!</cmd> </if> <else> <cancelspell /> <addtochat>You must wait longer to use %Spell !</addtochat> <return /> </else> </if>
so yea not surprising my warnings are displaying immediately after cast.... leading me to the expected question: why resources don't have recast values filled?