Wont Equip Precast Gear

言語: JP EN DE FR
2010-06-21
New Items
users online
フォーラム » FFXI » Jobs » White Mage » Wont equip precast gear
Wont equip precast gear
 Carbuncle.Vermithrax
Offline
サーバ: Carbuncle
Game: FFXI
user: lselvio
Posts: 91
By Carbuncle.Vermithrax 2012-04-13 15:40:16  

Not sure why it isnt. Any help?

edit: I think sometimes its equipping the Precast stuff, and then idle, sometimes it is equipping a mix of pre/cure stuff then to idle. maybe something with my delays?
 Siren.Kalilla
VIP
Offline
サーバ: Siren
Game: FFXI
user: Kalila
Posts: 14552
By Siren.Kalilla 2012-04-13 15:50:38  
Code xml
<?xml version="1.0" ?>
<spellcast xmlns:xi="http://www.w3.org/2001/XInclude">
    <config
        Debug="true"
        Showgearswaps="true"
        HideErrors="false"
        />
    <variables />
    <sets>
        <group name="WHM" Default="true">
            <set name="Idle">
                <main>Terra's Staff</main>
                <sub>Staff Strap</sub>
                <ammo>Hedgehog Bomb</ammo>
                <head>Orison Cap +2</head>
                <neck>Twilight Torque</neck>
                <lear>Graiai Earring</lear>
                <rear>Gifted Earring</rear>
                <body>Orison Bliaud +2</body>
                <hands>Serpentes Cuffs</hands>
                <lring>Bifrost Ring</lring>
                <rring>Star Ring</rring>
                <back>Errant Cape</back>
                <waist>Hierarch Belt</waist>
                <legs>Tatsu. Sitagoromo</legs>
                <feet>Serpentes Sabots</feet>
            </set>
            <set name="Pre" BaseSet="Idle">
                <ammo>Incantor Stone</ammo>
                <neck>Orison Locket</neck>
                <body>Nefer Kalasiris</body>
                <back>Swith Cape</back>
                <waist>Witful Belt</waist>
                <feet>Cure Clogs</feet>
            </set>
            <set name="Cure" BaseSet="Idle">
                <main>Arka IV</main>
                <sub>Staff Strap</sub>
                <ammo>Aqua Sachet</ammo>
                <head>Orison Cap +2</head>
                <neck>Orison Locket</neck>
                <lear>Roundel Earring</lear>
                <rear>Orison Earring</rear>
                <body>Orison Bliaud +2</body>
                <hands>Serpentes Cuffs</hands>
                <lring>Ephedra Ring</lring>
                <rring>Sirona's Ring</rring>
                <waist>Pythia Sash</waist>
                <back>Oretania's Cape</back>
                <legs>Orison Pantaloons +2</legs>
                <feet>Serpentes Sabots</feet>
            </set>
            <set name="Curaga" BaseSet="Idle">
                <main>Arka IV</main>
                <sub>Staff Strap</sub>
                <ammo>Aqua Sachet</ammo>
                <head>Orison Cap +2</head>
                <neck>Orison Locket</neck>
                <lear>Roundel Earring</lear>
                <rear>Orison Earring</rear>
                <body>Orison Bliaud +2</body>
                <hands>Serpentes Cuffs</hands>
                <lring>Aquasoul Ring</lring>
                <rring>Aquasoul Ring</rring>
                <waist>Pythia Sash</waist>
                <back>Oretania's Cape</back>
                <legs>Orison Pantaloons +2</legs>
                <feet>Serpentes Sabots</feet>
            </set>
            <set name="Curaga" BaseSet="Cure">
                <lring>Aquasoul Ring</lring>
                <rring>Aquasoul Ring</rring>
            </set>
            <set name="Hmp" Baseset="Idle">
                <main>Numen Staff</main>
                <sub>Staff Strap</sub>
                <ammo>Clarus Stone</ammo>
                <lring>Star Ring</lring>
                <rring>Star Ring</rring>
                <back>Vita Cape</back>
                <waist>Hierarch Belt</waist>
                <legs>Nisse Slacks</legs>
            </set>
            <set name="Barspell" BaseSet="Idle">
                <main>Beneficus</main>
                <sub>Genbu's Shield</sub>
                <neck>Enhancing Torque</neck>
                <rear>Aqua Pearl</rear>
                <lear>Aredan Earring</lear>
                <hands>Orison Mitts +2</hands>
                <lring>Aquasoul Ring</lring>
                <rring>Aquasoul Ring</rring>
                <waist>Pythia Sash</waist>
                <back>Eloquence Cape</back>
                <legs>Cleric's Pantaloons</legs>
                <feet>Orison Duckbills +2</feet>
            </set>
            <set name="Auspice" BaseSet="Idle">
                <head>Walahra Turban</head>
                <hands>Blessed Mitts</hands>
                <back>Eloquence Cape</back>
                <legs>Blessed Trousers</legs>
                <feet>Orison Duckbills +2</feet>
            </set>
            <set name="Enfeeb">
                <main>Apollo's Staff</main>
                <head>Hyksos Khat</head>
                <sub>Macero Grip</sub>
                <ammo>Aqua Sachet</ammo>
                <neck>Enfeebling Torque</neck>
                <lear>Aqua Pearl</lear>
                <rear>Aredan Earring</rear>
                <body>Healer's Briault</body>
                <hands>Cleric's Mitts</hands>
                <lring>Aquasoul Ring</lring>
                <rring>Aquasoul Ring</rring>
                <back>Romanus Cape</back>
                <waist>Demonry Sash</waist>
                <legs>Blessed Trousers</legs>
                <feet>Blessed Pumps</feet>
            </set>
            <set name="Haste" BaseSet="Idle">
                <head>Walahra Turban</head>
                <hands>Blessed Mitts</hands>
                <back>Eloquence Cape</back>
                <waist>Headlong Belt</waist>
                <legs>Blessed Trousers</legs>
                <feet>Blessed Pumps</feet>
            </set>
            <set name="Regen" BaseSet="Idle">
                <main>Beneficus</main>
                <head>Walahra Turban</head>
                <body>Cleric's Briault</body>
                <hands>Orison Mitts +2</hands>
                <back>Eloquence Cape</back>
                <legs>Blessed Trousers</legs>
                <feet>Blessed Pumps</feet>
            </set>
            <set name="Status" BaseSet="Idle">
                <main>Beneficus</main>
                <hands>Blessed Mitts</hands>
                <lring>Aquasoul Ring</lring>
                <rring>Aquasoul Ring</rring>
                <back>Eloquence Cape</back>
                <legs>Orison Pantaloons +2</legs>
                <feet>Blessed Pumps</feet>
            </set>
            <set name="Mnd" BaseSet="Idle">
                <main>Apollo's Staff</main>
                <ammo>Aqua Sachet</ammo>
                <head>Hyksos Khat</head>
                <lear>Aredan Earring</lear>
                <rear>Aqua Pearl</rear>
                <body>Nefer Kalasiris</body>
                <hands>Blessed Mitts</hands>
                <lring>Aquasoul Ring</lring>
                <rring>Aquasoul Ring</rring>
                <back>Eloquence Cape</back>
                <waist>Pythia Sash</waist>
                <legs>Blessed Trousers</legs>
                <feet>Orison Duckbills +2</feet>
            </set>
            <set name="Stoneskin" BaseSet="Idle">
                <main>Beneficus</main>
                <ammo>Aqua Sachet</ammo>
                <neck>Enhancing Torque</neck>
                <lear>Earthcry Earring</lear>
                <rear>Aredan Earring</rear>
                <body>Hyksos Robe</body>
                <hands>Tide Gages</hands>
                <lring>Aquasoul Ring</lring>
                <rring>Aquasoul Ring</rring>
                <back>Eloquence Cape</back>
                <waist>Pythia Sash</waist>
                <legs>Haven Hose</legs>
                <feet>Orison Duckbills +2</feet>
            </set>
            <set name="Boost" BaseSet="Stoneskin">
                <ammo>Incantor Stone</ammo>
            </set>
        </group>
    </sets>
    <rules>
        <equip when="Resting" Set="Hmp" />
        <if NotBuffActive="Haste">
            <if status="Engaged">
                <command when="Aftercast">/ma "Haste" Vermithrax</command>
            </if>
        </if>
        <elseif NotBuffActive="Auspice">
            <if status="Engaged">
                <command when="Aftercast">/ma "Auspice" Vermithrax</command>
            </if>
        </elseif>
        <if Spell="Sneak" BuffActive="Sneak" SpellTargetType="Self">
            <command when="midcast">cancel 71</command>
            <midcastdelay delay="1.8" />
        </if>
        <if Spell="Blink" BuffActive="Blink">
            <command when="midcast">cancel 36</command>
            <midcastdelay delay="4.5" />
        </if>
        <if spell="Cure*">
            <equip when="Precast" set="Pre" />
            <midcastdelay delay="0.3" />
            <equip when="Midcast" set="Cure" />
            <equip when="Aftercast" set="Idle" />
        </if>
        <if spell="Curaga*">
            <equip when="Precast" Set="Precast" />
            <midcastdelay delay="0.3" />
            <equip when="Midcast" set="Curaga" />
            <equip when="Aftercast" set="Idle" />
        </if>
        <if spell="Stoneskin|Pro*|Shell*|Reraise*|Blink|Aquaveil">
            <equip when="Precast" set="Stoneskin" />
            <equip when="Aftercast" set="Idle" />
        </if>
        <if spell="Haste|Raise*">
            <equip when="precast" set="Haste" />
            <equip when="aftercast" set="Idle" />
        </if>
        <if spell="Auspice">
            <equip when="precast" set="Auspice" />
            <equip when="aftercast" set="Idle" />
        </if>
        <if spell="Regen*">
            <equip when="precast" set="Regen" />
            <equip when="aftercast" set="Idle" />
        </if>
        <if spell="Erase|Silena|Paralyna|Blindna|Stona|Esuna|Viruna|Poisona|Cursna">
            <equip when="precast" set="Status" />
            <equip when="aftercast" set="Idle" />
        </if>
        <if spell="Bar*">
            <equip when="precast" set="Barspell" />
            <equip when="aftercast" set="Idle" />
        </if>
        <if spell="Paralyze|Slow|Addle|Dia*|Silence">
            <equip when="precast" set="Enfeeb" />
            <equip when="aftercast" set="Idle" />
        </if>
        <if spell="Repose|Flash">
            <equip when="precast" set="Mnd" />
            <equip when="aftercast" set="Idle" />
        </if>
        <if spell="Holy|Banish*">
            <equip when="precast" set="Mnd" />
            <equip when="aftercast" set="Idle" />
        </if>
        <if spell="Boost*">
            <equip when="Precast" set="Boost" />
            <equip when="Aftercast" set="Idle" />
        </if>
    </rules>
</spellcast>

Indented it because no spacing drives me crazy ;_;

What does your debug log say?
Offline
Posts: 1020
By Gimpness 2012-04-13 15:51:24  
ugh :X put tags on that.

[***code="xml"***][***/code***]


(without the stars..)
Offline
Posts: 1020
By Gimpness 2012-04-13 15:51:45  
oh kali did it <.<


i r slow
 Siren.Kalilla
VIP
Offline
サーバ: Siren
Game: FFXI
user: Kalila
Posts: 14552
By Siren.Kalilla 2012-04-13 15:53:52  
You also had <if spell="Haste|Raise*|"> in your rules, I wouldn't use a | after Raise* so I removed it in my post above though I'm not sure if it would hurt anything or not (probably wouldn't).
Offline
Posts: 1020
By Gimpness 2012-04-13 15:56:33  
everything's baseset idle, it shouldn't really matter... but a lot of it doesn't need to be :X...

and if you have a quick enough cast, sometimes it won't get all of your cure potency gear in fast enough. Try putting your cure potency gear first in the list on your midcast cure set.

you could also just put one rule to equip aftercast stuff instead of putting it on every single spell rule.

would look something like...
Code xml
<if spell="autoset">
	<equip when="resting" set="resting" />
	<equip when="idle" set="WeaponStandard" />
	<equip when="engaged" set="engaged" />
</if>
<if status="Engaged">
	<equip when="aftercast" set="engaged" />
</if>
<elseif notStatus="Engaged">
	<equip when="aftercast" set="WeaponStandard" />
</elseif>
 Bismarck.Tragedie
Offline
サーバ: Bismarck
Game: FFXI
Posts: 322
By Bismarck.Tragedie 2012-04-13 16:03:42  
Your set name for your precast is "Pre", however the script calls for a set titled "Precast" on the curaga spells. I agree on taking BaseSet=Idle wherever listed... especially on precast. But really if you're casting a spell, your base set was already 'idle', in a sense (as you were idling before the spell).
Offline
Posts: 1020
By Gimpness 2012-04-13 16:05:25  
well, sometimes gear doesn't get swapped or whatever and you're idling in something with -stats on a slot you don't have in whatever-set so you don't want it... so it's nice to have it in there...

but on full sets of gear, there's no reason to put a baseset lol.
 Carbuncle.Vermithrax
Offline
サーバ: Carbuncle
Game: FFXI
user: lselvio
Posts: 91
By Carbuncle.Vermithrax 2012-04-13 16:09:05  
Gimpness said: »
everything's baseset idle, it shouldn't really matter... but a lot of it doesn't need to be :X...

and if you have a quick enough cast, sometimes it won't get all of your cure potency gear in fast enough. Try putting your cure potency gear first in the list on your midcast cure set.

you could also just put one rule to equip aftercast stuff instead of putting it on every single spell rule.

would look something like...
Code xml
<if spell="autoset">
	<equip when="resting" set="resting" />
	<equip when="idle" set="WeaponStandard" />
	<equip when="engaged" set="engaged" />
</if>
<if status="Engaged">
	<equip when="aftercast" set="engaged" />
</if>
<elseif notStatus="Engaged">
	<equip when="aftercast" set="WeaponStandard" />
</elseif>

Ok, I put that into my code and took out all of the "aftercast" stuff. I am in MH, I hit my cure macro, it equips my pre gear, then after a few seconds (which i can assume is the aftercast phase) it switches to my idle set. I never see it swap into my actual cure set.
Offline
Posts: 1020
By Gimpness 2012-04-13 16:24:28  
post what you have now, with code tags
 Carbuncle.Vermithrax
Offline
サーバ: Carbuncle
Game: FFXI
user: lselvio
Posts: 91
By Carbuncle.Vermithrax 2012-04-13 17:25:10  
Code xml
<?xml version="1.0" ?>
<spellcast>
	<config> 
			Debug="true"
			Showgearswaps="true"
			Requireversion="2.15"
			HideErrors="false"
	</config>
	<variables/>
	<sets>
			<group name="WHM" Default="true">
				<set name="Idle">
					<main>Terra's Staff</main> 
					<sub>Staff Strap</sub>
					<ammo>Hedgehog Bomb</ammo>
					<head>Orison Cap +2</head>
					<neck>Twilight Torque</neck>
					<lear>Graiai Earring</lear>
					<rear>Gifted Earring</rear>
					<body>Orison Bliaud +2</body>
					<hands>Serpentes Cuffs</hands>
					<lring>Bifrost Ring</lring>
					<rring>Star Ring</rring>
					<back>Errant Cape</back>
					<waist>Hierarch Belt</waist>
					<legs>Tatsu. Sitagoromo</legs>
					<feet>Serpentes Sabots</feet>
				</set>
				<set name="Pre" BaseSet="Idle">
					<ammo>Incantor Stone</ammo>
					<neck>Orison Locket</neck>
					<body>Nefer Kalasiris</body>
					<back>Swith Cape</back>
					<waist>Witful Belt</waist>
					<feet>Cure Clogs</feet>
				</set>	
				<set name="Cure" BaseSet="Idle">
					<main>Arka IV</main> 
					<sub>Staff Strap</sub>
					<ammo>Aqua Sachet</ammo>
					<head>Orison Cap +2</head>
					<neck>Orison Locket</neck>
					<lear>Roundel Earring</lear>
					<rear>Orison Earring</rear>
					<body>Orison Bliaud +2</body>
					<hands>Serpentes Cuffs</hands>
					<lring>Ephedra Ring</lring>
					<rring>Sirona's Ring</rring>
					<waist>Pythia Sash</waist>
					<back>Oretania's Cape</back>
					<legs>Orison Pantaloons +2</legs>
					<feet>Serpentes Sabots</feet>
				</set>
				<set name="Curaga" BaseSet="Idle">
					<main>Arka IV</main> 
					<sub>Staff Strap</sub>
					<ammo>Aqua Sachet</ammo>
					<head>Orison Cap +2</head>
					<neck>Orison Locket</neck>
					<lear>Roundel Earring</lear>
					<rear>Orison Earring</rear>
					<body>Orison Bliaud +2</body>
					<hands>Serpentes Cuffs</hands>
					<lring>Aquasoul Ring</lring>
					<rring>Aquasoul Ring</rring>
					<waist>Pythia Sash</waist>
					<back>Oretania's Cape</back>
					<legs>Orison Pantaloons +2</legs>
					<feet>Serpentes Sabots</feet>
				</set>
				<set name="Curaga" BaseSet="Cure">
					<lring>Aquasoul Ring</lring>
					<rring>Aquasoul Ring</rring>
				</set>		
				<set name="Hmp" Baseset="Idle">
					<main>Numen Staff</main>
					<sub>Staff Strap</sub>
					<ammo>Clarus Stone</ammo>
					<lring>Star Ring</lring>
					<rring>Star Ring</rring>
					<back>Vita Cape</back>
					<waist>Hierarch Belt</waist>
					<legs>Nisse Slacks</legs>
				</set>
				<set name="Barspell" BaseSet="Idle">
					<main>Beneficus</main>
					<sub>Genbu's Shield</sub>
					<neck>Enhancing Torque</neck>
					<rear>Aqua Pearl</rear>
					<lear>Aredan Earring</lear>
					<hands>Orison Mitts +2</hands>
					<lring>Aquasoul Ring</lring>
					<rring>Aquasoul Ring</rring>
					<waist>Pythia Sash</waist>
					<back>Eloquence Cape</back>
					<legs>Cleric's Pantaloons</legs>
					<feet>Orison Duckbills +2</feet>
				</set>
				<set name="Auspice" BaseSet="Idle">
					<head>Walahra Turban</head>
					<hands>Blessed Mitts</hands>
					<back>Eloquence Cape</back>
					<legs>Blessed Trousers</legs>
					<feet>Orison Duckbills +2</feet>
				</set>
				<set name="Enfeeb">
					<main>Apollo's Staff</main>
					<head>Hyksos Khat</head>
					<sub>Macero Grip</sub>
					<ammo>Aqua Sachet</ammo>
					<neck>Enfeebling Torque</neck>
					<lear>Aqua Pearl</lear>
					<rear>Aredan Earring</rear>
					<body>Healer's Briault</body>
					<hands>Cleric's Mitts</hands>
					<lring>Aquasoul Ring</lring>
					<rring>Aquasoul Ring</rring>
					<back>Romanus Cape</back>
					<waist>Demonry Sash</waist>
					<legs>Blessed Trousers</legs>
					<feet>Blessed Pumps</feet>
				</set>
				<set name="Haste" BaseSet="Idle">
					<head>Walahra Turban</head>
					<hands>Blessed Mitts</hands>
					<back>Eloquence Cape</back>
					<waist>Headlong Belt</waist>
					<legs>Blessed Trousers</legs>
					<feet>Blessed Pumps</feet>
				</set>
				<set name="Regen" BaseSet="Idle">
					<main>Beneficus</main>
					<head>Walahra Turban</head>
					<body>Cleric's Briault</body>
					<hands>Orison Mitts +2</hands>
					<back>Eloquence Cape</back>
					<legs>Blessed Trousers</legs>
					<feet>Blessed Pumps</feet>
				</set>
				<set name="Status" BaseSet="Idle">
					<main>Beneficus</main>
					<hands>Blessed Mitts</hands>
					<lring>Aquasoul Ring</lring>
					<rring>Aquasoul Ring</rring>
					<back>Eloquence Cape</back>
					<legs>Orison Pantaloons +2</legs>
					<feet>Blessed Pumps</feet>
				</set>
				<set name="Mnd" BaseSet="Idle">
					<main>Apollo's Staff</main>
					<ammo>Aqua Sachet</ammo>
					<head>Hyksos Khat</head>
					<lear>Aredan Earring</lear>
					<rear>Aqua Pearl</rear>
					<body>Nefer Kalasiris</body>
					<hands>Blessed Mitts</hands>
					<lring>Aquasoul Ring</lring>
					<rring>Aquasoul Ring</rring>
					<back>Eloquence Cape</back>
					<waist>Pythia Sash</waist>
					<legs>Blessed Trousers</legs>
					<feet>Orison Duckbills +2</feet>
				</set>
				<set name="Stoneskin" BaseSet="Idle">
					<main>Beneficus</main>
					<ammo>Aqua Sachet</ammo>
					<neck>Enhancing Torque</neck>
					<lear>Earthcry Earring</lear>
					<rear>Aredan Earring</rear>
					<body>Hyksos Robe</body>
					<hands>Tide Gages</hands>
					<lring>Aquasoul Ring</lring>
					<rring>Aquasoul Ring</rring>
					<back>Eloquence Cape</back>
					<waist>Pythia Sash</waist>
					<legs>Haven Hose</legs>
					<feet>Orison Duckbills +2</feet>
				</set>
				<set name="Boost" BaseSet="Stoneskin">
					<ammo>Incantor Stone</ammo>
				</set>	
			</group>	
	</sets>
	<rules>
        <equip when="Resting" Set="Hmp" />	
		<if NotBuffActive="Haste">
			<if status="Engaged">
				<command when="Aftercast">/ma "Haste" Vermithrax</command>
			</if>	
		</if>
		<elseif NotBuffActive="Auspice">
			<if status="Engaged">
				<command when="Aftercast">/ma "Auspice" Vermithrax</command>
			</if>	
		</elseif>		
		<if Spell="Sneak" BuffActive="Sneak" SpellTargetType="Self">
			<command when="midcast">cancel 71</command>
			<midcastdelay delay="1.8" />
		</if>
		<if Spell="Blink" BuffActive="Blink">
			<command when="midcast">cancel 36</command>
			<midcastdelay delay="4.5" />
		</if>
		<if spell="Cure*">
			<equip when="Precast" set="Pre" />
			<midcastdelay delay="0.3" />
			<equip when="Midcast" set="Cure" />
		</if>	
		<if spell="Curaga*">
			<equip when="Precast" Set="Pre" />
			<midcastdelay delay="0.3" />
			<equip when="Midcast" set="Curaga" />
		</if>	
		<if spell="Stoneskin|Pro*|Shell*|Reraise*|Blink|Aquaveil">
			<equip when="Precast" set="Stoneskin" />
		</if>	
		<if spell="Haste|Raise*">
                <equip when="precast" set="Haste" />
		</if>
        <if spell="Auspice">
			<equip when="precast" set="Auspice" />
		</if>
		<if spell="Regen*">
			<equip when="precast" set="Regen" />
		</if>
		<if spell="Erase|Silena|Paralyna|Blindna|Stona|Esuna|Viruna|Poisona|Cursna">
			<equip when="precast" set="Status" />
		</if>
		<if spell="Bar*">
			<equip when="precast" set="Barspell" />
		</if>
		<if spell="Paralyze|Slow|Addle|Dia*|Silence">
			<equip when="precast" set="Enfeeb" />
		</if>
		<if spell="Repose|Flash">
			<equip when="precast" set="Mnd" />
		</if>
		<if spell="Holy|Banish*">
			<equip when="precast" set="Mnd" />
		</if>
		<if spell="Boost*">
			<equip when="Precast" set="Boost" />
		</if>
		<if spell="autoset">
			<equip when="resting" set="Hmp" />
			<equip when="idle" set="Idle" />
			<equip when="engaged" set="engaged" />
		</if>
		<if status="Engaged">
			<equip when="aftercast" set="engaged" />
		</if>
		<elseif notStatus="Engaged">
			<equip when="aftercast" set="Idle" />
		</elseif>	
	</rules>
</spellcast>
 Fenrir.Motenten
VIP
Offline
サーバ: Fenrir
Game: FFXI
user: Motenten
Posts: 764
By Fenrir.Motenten 2012-04-13 17:42:42  
Not directly related:
Code
        <if NotBuffActive="Haste">
            <if status="Engaged">
                <command when="Aftercast">/ma "Haste" Vermithrax</command>
            </if>
        </if>
        <elseif NotBuffActive="Auspice">
            <if status="Engaged">
                <command when="Aftercast">/ma "Auspice" Vermithrax</command>
            </if>
        </elseif>    


It would be better structured to make the outer <if> a check for status="Engaged", and then check for the buffs you may not have. Also, I believe you need to use 'input' when sending a command to the game, otherwise it treats it as a command to the Windower console. So: <command>input /ma Haste Vermithrax</command>.

Your remaining rule checks are all <if>s, which is bad form. If you cast a cure, it's still going to check every single one of those other rules every single pass through. Use <elseif>s instead.

You have no valid check for the "Cura" line.

You have two sets named "Curaga". I don't know what impact that will have on sets chosen.

You have ShowGearSwaps set to true; are you seeing a precast and midcast line show up in the chat log, or only the precast line?

Also:

Quote:
Ok, I put that into my code and took out all of the "aftercast" stuff. I am in MH, I hit my cure macro, it equips my pre gear, then after a few seconds (which i can assume is the aftercast phase) it switches to my idle set. I never see it swap into my actual cure set.

Please define what you mean by "I never see". "I see" can mean that you see the gear on your character; it can mean that you see the gear when checking the equipment menu; or it can mean that you see the results via the chat log output of Spellcast due to the ShowGearSwaps option. Each of these indicates different things; to properly diagnose the issue, we need to know which method you are using for this determination.
 Carbuncle.Vermithrax
Offline
サーバ: Carbuncle
Game: FFXI
user: lselvio
Posts: 91
By Carbuncle.Vermithrax 2012-04-13 19:17:34  
1) hit cure 3 macro

2) "equipment changed"

3)"You cannot use that command inside your Mog House."

4) Character visibly shows gear swap to "Pre" set

5) moment of nothing

6) "equipment changed"

7) Character visibly shows gear swap to "Idle set
Offline
Posts: 1020
By Gimpness 2012-04-13 20:03:17  
fell asleep, muh bad...

like Motenten said, you have 2 curaga sets.

and also like Motenten said, if you're putting your rules like that, put elseif statements instead of ifs so it doesn't check *everything* in your rules section every single time.

You have a rule for boost (i'm not sure if this is intentional)

you didn't take out all the basesets.

if worse comes to worst, i can just give you my whm xml, it does most of the same things, just doesn't auto cast spells when you engage or whatever that does... and that's easy enough to just put in there. Err... it doesn't swap weapons if you're engaged, though.
Code xml
<if spell="Cur*" notspell="Cursna">	
	<action type="castdelay" delay=".2" />
	<action type="equip" when="Precast" set="CureCast"/>
	<action type="midcastdelay" delay=".2" />
	<action type="equip" when="Midcast" set="HealingMagic"/>
</if>


is what I use for a cure rule, gets curaga and cures in one rule... I have the castdelay there because if i'm lagging a lot of the time the precast doesn't go off.

try putting that in, if it doesn't work i'll just give you my whole xml, since i know it works <.<
 Carbuncle.Vermithrax
Offline
サーバ: Carbuncle
Game: FFXI
user: lselvio
Posts: 91
By Carbuncle.Vermithrax 2012-04-13 20:08:53  
Gimpness said: »
fell asleep muh bad...

like Motenten said, you have 2 curaga sets.

and also like Motenten said, if you're putting your rules like that, put elseif statements instead of ifs so it doesn't check *everything* in your rules section every single time.

You have a rule for boost (i'm not sure if this is intentional)

you didn't take out all the basesets.

if worse comes to worst, i can just give you my whm xml, it does most of the same things, just doesn't auto cast spells when you engage or whatever that does... and that's easy enough to just put in there. Err... it doesn't swap weapons if you're engaged, though.
Code xml
<if spell="Cur*" notspell="Cursna">	
	<action type="castdelay" delay=".2" />
	<action type="equip" when="Precast" set="CureCast"/>
	<action type="midcastdelay" delay=".2" />
	<action type="equip" when="Midcast" set="HealingMagic"/>
</if>


is what I use for a cure rule, gets curaga and cures in one rule... I have the castdelay there because if i'm lagging a lot of the time the precast doesn't go off.

try putting that in, if it doesn't work i'll just give you my whole xml, since i know it works <.<


Ok, I think that has it working. The gearswaps are fast lol, so its hard for me to be 100%. I hit my macro, immediately opened menu to stop further gearswaps, was in pre set.

Reset gear, hit macro again, waited a second or 2, opened menu, was in cure set.

Reset gear, hit macro again, let it play though, ended in idle set.

Thanks guys for helping me out with this.
Offline
Posts: 1020
By Gimpness 2012-04-13 20:11:23  
oh


it was the fact that you have two sets called curaga and not one called cure. so it shoulda worked with curaga spells, just not cure spells.

if you do have your stuff together (my whm is a gimpshit mule that i don't care enough about, and i'm 0/5000000000 on heka's) and have sets for single target and curaga spells.. like af3+2 body for single target, heka's for curaga, you can go back to what it was, just make sure you have the sets named correctly.

and again, put all the potency gear first in the midcast set, that way it'll be sure to swap it.
Log in to post.