Merrickmage Member replied

775 weeks ago

Ok So heres the deal I'm coming across an issue with my Rdm file I just incorporated this section to my normal rdm file and found that I have come across the issue where when I'm meleing and do an action I switch to my normal idle gear for when I'm not meleeing after I do that said action. Also for some reason my weaponskill set is not kicking into when I do a weapon skill. Please give me some pointers if you can see what is wrong with this thank you.
			<set name="Melee">
				<head>Brisk Mask</head>
				<neck>Peacock Charm</neck>
				<lear>Suppanomimi</lear>
				<rear>Ethereal Earring</rear>
				<body>Pln. Khazagand</body>
				<hands></hands>
				<lring>Rajas Ring</lring>
				<rring>Ecphoria Ring</rring>
				<back>Amemet Mantle +1</back>
				<waist>Swift Belt</waist>
				<legs></legs>
				<feet>Hydra Gaiters</feet>
			</set>
			<set name="weaponskill">
				<head>Kensho Hachimaki</head>
				<neck></neck>
				<lear></lear>
				<rear></rear>
				<body>Augur's Jaseran</body>
				<hands>Estq. Ganthrt. +1</hands>
				<lring></lring>
				<rring>Ruby Ring</rring>
				<back>Estoqueur's Cape</back>
				<waist>Witch Sash</waist>
				<legs></legs>
				<feet>Estq. Houseaux +1</feet>
			</set>
		<equip when="Engaged" set="Melee" />
		<if TPGT="10">
			<action type="Disable" slot="main|sub|ranged" />
		</if>
		<if skill="WeaponSkill" NotTPLT="100">
			<action type="castdelay" delay=".2" />
			<action type="equip" when="precast" set="weaponskill" />
		</if>

Morticia replied

775 weeks ago

Space between "melee" and /> … think you might not need. What are your rules?

Merrickmage Member replied

775 weeks ago

No you can have the space there and still work but I think what I might want to close that section differently

Fal Member replied

775 weeks ago

I need to see your rules. This doesnt really help me figure out whats wrong!

Merrickmage Member replied

775 weeks ago

Deleted 775 weeks ago by Merrickmage

Merrickmage Member replied

775 weeks ago

	<rules>
		<action type="equip" when="Idle|aftercast" set="Standard" />
		<action type="equip" when="Resting" set="Resting" />
		<if spell="Composure">
			<action type="equip" when="precast" set="Standard" />
		</if>
		<if spell="Saboteur">
			<action type="equip" when="precast">
				<hands>Estq. Ganthrt. +1</hands>
			</action>
		</if>
		<action type="equip" when="precast" set="Melee">
			<if TPGT="10">
				<action type="Disable" slot="main|sub|ranged" />
			</if>
			<if skill="WeaponSkill" NotTPLT="100">
				<action type="castdelay" delay=".2" />
				<action type="equip" when="precast" set="weaponskill" />
			</if>
		</action>
		<if spell="Cur*">
			<action type="equip" when="precast" set="Cure" />
		</if>
		<if spell="Refresh*|Haste|Regen">
			<action type="equip" when="precast" set="FastCast" />
			<action type="equip" when="precast">
				<back>Estoqueur's Cape</back>
			</action>
			<if spell="Refresh*">
				<action type="equip" when="precast">
					<legs>Estqr. Fuseau +2</legs>
				</action>
				<if mode="and" buffactive="Composure" targettype="self">
					<action type="command" when="precast">wait 440;input /echo Refresh &lt;%target&gt; Wearing off in 10s</action>
				</if>
				<elseif targettype="Player">
					<action type="command" when="precast">wait 140;input /echo Refresh &lt;%target&gt; Wearing off in 10s</action>
				</elseif>
			</if>
			<elseif spell="Haste">
				<if mode="and" buffactive="Composure" targettype="self">
					<action type="command" when="precast">wait 530;input /echo Haste &lt;%target&gt; Wearing off in 10s</action>
				</if>
				<elseif targettype="Player">
					<action type="command" when="precast">wait 170;input /echo Haste &lt;%target&gt; Wearing off in 10s</action>
				</elseif>
			</elseif>
		</if>
		<if spell="Gain-VIT|Gain-MND">
			<action type="equip" when="precast" set="Enhancing" />
			<action type="equip" when="precast">
				<back>Estoqueur's Cape</back>
			</action>
		</if>
		<if spell="Blaze Spikes|Ice Spikes|Shock Spikes">
			<action type="equip" when="precast" set="Enhancing" />
			<action type="equip" when="precast">
				<legs>Duelist's Tights</legs>
			</action>
		</if>
		<if spell="Stoneskin">
			<action type="equip" when="precast" set="Stoneskin" />
		</if>
		<if spell="Utsusemi*">
			<action type="equip" when="precast" set="Haste" />
			<if spell="Utsusemi: Ichi">
				<action type="midcastdelay" delay="2" />
				<action type="command" when="midcast">cancel 66</action>
			</if>
		</if>
		<if spell="Convert">
			<if subjob="whm">
				<action type="equip" when="precast|midcast|aftercast" set="Convert" />
				<if HPPLT="75"> 
					<action type="Disable" slot="head|neck|rear|lear|body|hands|rring|lring|back|waist|legs|feet" />
					<action type="command" when="precast">wait 1; input /raw /ja "Divine Seal" Merrickmage</action>
					<action type="command" when="aftercast">wait 0.2; input /raw /ma "Cure IV" Merrickmage</action>
				</if>
			</if>
			<else>
				<action type="equip" when="precast|midcast|aftercast" set="Convert" />
				<if HPPLT="65">
					<action type="Disable" slot="head|neck|rear|lear|body|hands|rring|lring|back|waist|legs|feet" />
					<action type="command" when="precast">wait 1; input /raw /ma "Cure IV" Merrickmage</action>
					<action type="command" when="aftercast">>wait 5; input /raw /ma "Cure III" Merrickmage</action>
				</if>
			</else>
		</if>
		<if skill="EnfeeblingMagic|DarkMagic|ElementalMagic">
			<if skill="EnfeeblingMagic">
				<if spell="Paral*|Silence|Slow*|Addle">
					<action type="equip" when="precast" set="FullMndEnfeeb" />
				</if>
				<if spell="Dispel">
					<action type="equip" when="precast" set="FullEnfeeb" />
				</if>
				<if spell="Gravity|Bind|Blind*|Poison*|Break">
					<action type="equip" when="precast" set="FullIntEnfeeb" />
				</if>
				<if advanced='"SleepTimers"="1"'>
					<if spell="Sleep II">
						<action type="equip" when="precast" set="FullEnfeeb" />
						<action type="command" when="aftercast">spellcast var inc sleepid;wait 45;input /echo [$sleepid:%spell] &lt;%target&gt; Wearing off in 45s</action>
						<action type="command" when="aftercast">wait 75;input /echo [$sleepid:%spell] &lt;%target&gt; Wearing off in 15s</action>
						<action type="command" when="aftercast">wait 85;input /echo [$sleepid:%spell] &lt;%target&gt; Wearing off in 5s;spellcast var dec sleepid;</action>
					</if>
					<elseif spell="Sleep|Sleepga">
						<action type="equip" when="precast" set="FullEnfeeb" />
						<action type="command" when="aftercast">spellcast var inc sleepid;wait 45;input /echo [$sleepid:%spell] &lt;%target&gt; Wearing off in 15s</action>
						<action type="command" when="aftercast">wait 55;input /echo [$sleepid:%spell] &lt;%target&gt; Wearing off in 5s;spellcast var dec sleepid;</action>
					</elseif>
				</if>
			</if>
			<if spell="DarkMagic">
				<action type="equip" when="precast" set="DarkMagic" />
				<if skill="Bio III">
					<action type="command" when="aftercast">wait 75;input /echo Bio III &lt;%target&gt; Wearing off in 45s</action>
					<action type="command" when="aftercast">wait 105;input /echo Bio III &lt;%target&gt; Wearing off in 15s</action>
					<action type="command" when="aftercast">wait 115;input /echo Bio III &lt;%target&gt; Wearing off in 5s</action>
				</if>
				<if spell="Bio II">
					<action type="command" when="aftercast">wait 75;input /echo Bio II &lt;%target&gt; Wearing off in 45s</action>
					<action type="command" when="aftercast">wait 105;input /echo Bio II &lt;%target&gt; Wearing off in 15s</action>
					<action type="command" when="aftercast">wait 115;input /echo Bio II &lt;%target&gt; Wearing off in 5s</action>
				</if>
            </if>
			<if skill="ElementalMagic">
				<action type="equip" when="precast" set="BaseNuke" />
			</if>
			<action type="equip" when="midcast">
				<main>$%SpellElementalStaff</main>
				<sub>$%SpellElementalGrip</sub>
			</action>			
		</if>
	</rules>
</spellcast>

Fal Member replied

775 weeks ago

Ok sorry just put up your whole spellcast and i will look at it and check it for errors. Just realized having all those rules up wont help unless i see the big picture lol

Merrickmage Member replied

775 weeks ago

lol that is why I had post just that section The rest of the file works just fine with the exception of when I'm in melee mode. For some reason the file is getting confused with the sets that I have created. I notice when I do different actions sometime I'll switch into my melee set and than switch back to refresh/pdt- set

Foustian Member replied

775 weeks ago

The rules section from your first post is different from the rules section of your second post. Is the first one the correct version?

<action type="equip" when="Idle|aftercast" set="Standard" ></action>

That might be interfering with your Melee equip rule. After you do an action, you're both engaged and in the aftercast mode, so it might not know which one to handle.

As for the WS problem, I can't really tell just from looking at it.


last edited 775 weeks ago by Foustian

Weasel replied

775 weeks ago

I'm noticing you're using really outdated synatax for spellcast. You might want to consider updating it just to stay current. Things like this:

<action type="equip" when="precast" set="PredefinedGearSet">
   (additional gear here)
</action>

Is now simplified to:

<equip when="precast" set="PredefinedGearSet">
   (additional gear here)
</equip>

The action command still works, but these things change and might not forever. Pretty much anything the action command used to do has been replaced with other things (aftercast delays and such even).

Also, I've noticed you're using "skill" and "spell" interchangeably. I was told (this may not still be the case) that every spell, JA, WS, etc. was considered a "spell" to Spellcast (because of its roots in being for spells only). It might be good to change all your "skill" definitions to "spell" and actually define your WS's (I'm always a fan of spelling things out clearly in code, even if it takes up 10 more lines). For example, this is what I use for non-Evisceration WS rules on DNC:

<if spell="Dancing Edge|Aeolian Edge|Shark Bite|Cyclone|Gust Slash|Shadowstitch|Viper Bite|Wasp Sting">
    <if mode="OR" TimeLT="6.00" TimeGT="17.59">
        <equip when="precast" set="DNCws">
            <lear>Vampire Earring</lear>
        </equip>
    </if>
    <else>
        <equip when="precast" set="DNCws">
            <lear>Fenrir's Earring</lear>
        </equip>
    </else>
    <aftercastdelay delay="2.5" />
</if>

Not sure if any of that will help. If you're having issues with aftercasts not putting the correct idle set, it might be something larger and I would suggest finding another way to define what you want. (I really struggled with this on SMN as well, since there's so many idle sets you need to consider while different avatars are out.)


last edited 775 weeks ago by Weasel
Please log in to post a reply.