Dnc Xml Help

言語: JP EN DE FR
2010-06-21
New Items
users online
フォーラム » FFXI » Jobs » Dancer » Dnc xml help
Dnc xml help
 Lakshmi.Kaiye
Offline
サーバ: Lakshmi
Game: FFXI
user: Kaiye
Posts: 20
By Lakshmi.Kaiye 2011-11-05 14:39:39  
Could anyone help me figure out why I don't go into eva set when engaged? Seems to only go into evasion when disengaged, I'm using the macro /sc group eva, sorry for the messy xml! I modified this from my thf xml and added some rules for dnc, everything works fine except the eva set s:
Offline
Posts: 514
By Aerison 2011-11-05 14:49:56  
Code
<equip when="engaged" set="$GrpEngaged" />
<if status="engaged">
<equip when="aftercast" set="$GrpEngaged" />
</if>


set grpengaged doesn't exist in your spellcast
 Lakshmi.Greggles
Offline
サーバ: Lakshmi
Game: FFXI
user: Greggles
Posts: 728
By Lakshmi.Greggles 2011-11-05 14:58:05  
Aerison said: »
Code
<equip when="engaged" set="$GrpEngaged" />
<if status="engaged">
<equip when="aftercast" set="$GrpEngaged" />
</if>


set grpengaged doesn't exist in your spellcast

grpengaged doesn't have to exist. What he did is make a variable so that he can make a set and declare which set he wants to use based on the variable's value. The problem here is if you put $grpengaged, Spellcast reads the whole thing as a single variable rather than reading $grp as a variable and engaged as a separate word.

Try switching the code and sets around such that it says engaged$grp, that should fix any problems you have.
 Lakshmi.Kaiye
Offline
サーバ: Lakshmi
Game: FFXI
user: Kaiye
Posts: 20
By Lakshmi.Kaiye 2011-11-05 15:27:22  
Tried that, still the same problem, won't go into Eva when engaged only disengaged. Funny cause this works perfectly on my thf, only thing I edited were set names ; ;
 Lakshmi.Greggles
Offline
サーバ: Lakshmi
Game: FFXI
user: Greggles
Posts: 728
By Lakshmi.Greggles 2011-11-05 15:37:48  
Well, the only thing I can think of then is...
Code
<if status="engaged">
<equip when="aftercast" set="$GrpEngaged" />
</if>


Changing that to this:
Code
<if status="engaged">
<equip when="engaged|aftercast" set="$GrpEngaged" />
</if>


Or moving the the above line of code to below it:
Code
<equip when="engaged" set="$GrpEngaged" />
<if status="engaged">
<equip when="aftercast" set="$GrpEngaged" />
</if>


to this:
Code
<if status="engaged">
<equip when="aftercast" set="$GrpEngaged" />
</if>
<equip when="engaged" set="$GrpEngaged" />


It's possible that because of how spellcast parses that when you're engaging, Spellcast doesn't check you as engaged until your next action, thus making it so you don't equip? If that doesn't fix it, I really don't know. Would you post your THF xml so I can look at it maybe? It's possible something got changed while you were changing set names without you realizing it..
Offline
Posts: 132
By Yamoto 2011-11-05 16:34:53  
Try this. All I've done is change up the variables and set names. I've also made some minor code adjustments where there were errors such as
Code
<if Spell="Utsusemi*">
	<defaulttarget Target=”<me>” />
	<equip when="precast" set="FastCast" />	
</if>

was changed to
Code
<if Spell="Utsusemi*">
	<defaulttarget Target="<me>" />
	<equip when="precast" set="FastCast" />	
</if>


Try it out and let me know if it works. PM me if you'd like. The code needs quite a bit more cleaning up as well but I'll leave that to you.

Edit:
Something that isn't showing up right in this is that adjustment on the utsusemi part. Instead of "<me>" you need to have it say "& lt ;me& gt ;" without any spaces between the "" I'm not sure why it's not showing up like that on here :(
 Lakshmi.Greggles
Offline
サーバ: Lakshmi
Game: FFXI
user: Greggles
Posts: 728
By Lakshmi.Greggles 2011-11-05 16:48:45  
FFXIah automatically switches the & lt ; thing to the < sign, so in the xml itself it's probably already written the correct way.
Log in to post.