Diabolos.Karisa said:
Thanks sooo much Giazz!
Yes I did indeed update to 2.32 from your previous post and copied the new SC XML straight from your spoiler. everything works wonderfully(ty again!), its only the going back to idle after casting im having difficulties figuring out why it wont work.
I took the lines I had posted last right out of my RDM/BLM files(it wasnt in the original SC file I borrowed from
Apollyon's spellcast on windower(ty Apo btw) and thats how I got a resting set into her first file.
Looking forward to hearing from you tomorrow! ;)
Well, the reason why I insisted on saying that you still haven't updated your spellcast xml code...is because the one you posted last has stuff like "<action type=" etc. and spellcast 2.3+ does not use that anymore. The one I posted in my spoiler for you earlier, does not have such things either. Perhaps you copied the wrong xml files by mistakes?
Also, make sure that you are absolutely using spellcast 2.32 version, and make sure that you do an //updatresources in game. Also make sure that you have the latest resources.xml file.
You can download 2.32 version of spellcast directly from here:
http://forums.windower.net/files/download/4-spellcast-232/
When you download spellcast 2.32 ...you need to put it in your plugins folder and replace your old spellcast.dll with this new one that you just downloaded.
Then following the instructions in the link below, to update resources, and resources.xml.
http://forums.windower.net/topic/18508-resourcesxml-finally-fixed/
Once you're in the link above, in order to manually download resources.xml you need to do a right click then select save link as, and put the file in your plugins folder.
Do remember that when you're adding in new rules to your spellcast xmls, you cannot use the old format...for example: you cannot type stuff like "<actiontype=" etc. ...although if you're really used to typing your code the old way, then you can always type it like that (though I recommend getting used to the new format, it's simpler in my opinion.), but then you must remember to use the
format upgrader that I posted earlier, if you must.
If you're absolutely sure that you did all the above updating etc... then fine, we needed to make sure of that first though.
If your rules for your "aftercast" gear still don't work after updating, (and using the code that I had posted for you, which does not use things like "<actiontype=") ...then here's another way to do it:
Just a quick copy and paste from some of my XMLs:
<elseif spell="Dread Spikes">
<castdelay delay="0.1" />
<equip when="precast" set="FastCast" />
<midcastdelay delay="0.5" />
<equip when="midcast" set="$dark-spikes-set" />
<if advanced='("%SpellElement"=="%DayElement")||("%SpellElement"=="%WeatherElement")'>
<equip when="midcast">
<waist lock="true">$%SpellElementObi</waist>
</equip>
</if>
<aftercastdelay delay="0.2" />
<equip when="aftercast" set="Standard" />
</elseif>
Or this one:
<elseif Skill="ElementalMagic">
<castdelay delay="0.1" />
<equip when="precast" set="FastCast" />
<midcastdelay delay="0.5" />
<equip when="midcast" set="$Elemental_Nuking-set" />
<if advanced='("%SpellElement"=="%DayElement")||("%SpellElement"=="%WeatherElement")'>
<equip when="midcast">
<waist lock="true">$%SpellElementObi</waist>
</equip>
</if>
<aftercastdelay delay="1.9" />
<equip when="aftercast" set="Standard-Idle" />
As you can see, I actually have the "aftercast" gear sets inside my spell rules. This works great for me, specially when/if you want to switch to different aftercast gear sets depending on the spell or type of spell.
Those segments of code in the spoiler tags are just some examples. Although keep in mind that the "dollar sign" that is in front of my midcast sets (such as "$Elemental_Nuking-set"), are there because they work with more advanced rules using variables. You can have rules that allow you to switch between, say, a more MAB/INT oriented set, or use a more skill/macc oriented set for those spells, depending on the mob or situation. I can actually cycle through them, switch what's in the "midcast" of my rules, with just a simple in game macro. (by using a "dummy spell" to trigger the changes.)
If you don't use variables for such things, don't worry about it. If you only have one gear set for elemental, enfeebling, dark, enfeeb etc. ... then just simply put the name of the gear set in the "midcast" section, and don't put the dollar sign in front.
As for the castdelay, in case you noticed those... they are there to make sure everything switches appropriately, and somewhat account for some possible lag. They can also be used so that you can determine or set at what point during the casting of a spell(or how long after the casting of a spell, in the case of aftercastdelays), you want to switch to what gear set.
If you follow all that and do it correctly, you should be able to get your xmls working. (on spellcast 2.3+ anyway)