im having an issue with my http://pastebin.com/Qge6FDDT xml.
after using a pet command or bloodpact, its not returning me back to any of my aftercast rules.
i have tried to add <addtochat> so see if the rule were even parsing and had no luck.
Best Answer Feary , 21 October 2013 - 07:11 PM
thanks for the tip. i havent condensed my .xml becuase i am still working on its functions. i tend to draft first, and however it comes out of my brain i jot down. Afterwards, i recode it with better logic amd condense the code.
i found out what was causing this issue.
using cusom variables named after spells.
example
<var name="Carbuncle">
changed it to
<var name="Carbuncleset">Go to the full post
Posted 09 August 2013 - 10:16 PM
im having an issue with my http://pastebin.com/Qge6FDDT xml.
after using a pet command or bloodpact, its not returning me back to any of my aftercast rules.
i have tried to add <addtochat> so see if the rule were even parsing and had no luck.
Posted 10 August 2013 - 02:49 AM
Don't use add to chat. In the config for your xml, change it so that showgearswaps = "true"
<config RequireVersion="2.40" showGearSwaps="true" Debug="false" ShowSpellInfo="false" AutoLoadXMLOnJobChange="true" />
Posted 11 August 2013 - 12:24 AM
Thanks for the reply.
ive been using both addtochat and showgearswaps. i prefered addtochat because i can name and match by each set in an echo and then remove it when done showgearswaps would formly show what all the gear values were for pre.mid and aftercast. now it just shows which has been has been changed.
Posted 11 August 2013 - 12:26 AM
<!--Equips Carbuncle Mitts for Carbuncle if enabled--> <if advanced='"$CarbuncleMitts"=="1" AND "%PetName" == "Carbuncle"'> <equip when="Engaged|Idle|Aftercast" set="Normalset"> <hands>Carbuncle Mitts</hands> </equip> </if> <elseif advanced='"$DiabolosRope"=="1" AND "%PetName" == "Diabolos"'> <equip when="Engaged|Idle|Aftercast" set="Normalset"> <waist>Diabolos Rope</waist> </equip> </elseif> <else> <addtochat color="121">bloodpact AfterCast</addtochat> <equip when="Engaged|Idle|Aftercast" set="Normalset"/> </else>
Posted 19 August 2013 - 10:35 PM
still looking for some feedback.
i cant seem to get the rules to work.
Posted 20 August 2013 - 04:49 AM
i have tried to add <addtochat> so see if the rule were even parsing and had no luck.
What does that mean? No luck in parsing it, or no luck because it does and it just doesn't equip it?
I can't see anything obviously wrong, although the rules could easily be reduced by over half their size and none of the advanced rules are needed. Check out the pet variables in here. Basically, every time you do advanced='"%Variable" == "value"' you can replace it with variable="value". It might not help with this particular problem, but it would make the code a lot easier to read and hence debug. It's also substantially faster (although you might still not notice it on any kind of modern computer).
Personally I'd recommand to remove every single aftercast action and put this at the bottom:
<equip when="aftercast|%status" set="%status set name" />
<equip when="aftercast|%status" set="%statusDefault" />
Posted 21 October 2013 - 07:11 PM Best Answer
thanks for the tip. i havent condensed my .xml becuase i am still working on its functions. i tend to draft first, and however it comes out of my brain i jot down. Afterwards, i recode it with better logic amd condense the code.
i found out what was causing this issue.
using cusom variables named after spells.
example
<var name="Carbuncle">
changed it to
<var name="Carbuncleset">
0 members, 1 guests, 0 anonymous users