Please Help Me With My Cure Macros :/

言語: JP EN DE FR
2010-06-21
New Items
users online
フォーラム » FFXI » Jobs » White Mage » Please help me with my Cure macros :/
Please help me with my Cure macros :/
First Page 2
Offline
Posts: 33
By Cholesterol 2012-04-05 21:07:11  
Hello,

Im not the ost experienced of players and although I do use SpellCast I only got as far as using </set> and </head etc . etc . > macros.

I have brought about a decent Fastcast/Healing Casting time set now for WHM but I have problems using the following macro:

/sc set WHMfastcast
/ma "Cure V" <stal> <wait .5>
/sc set WHMcureV <wait .5>
/equip Sub "Curatio Grip" <wait 5>
/sc set WHMidle

. . my problem is that <wait .5> seems to be the lowest ffxi can wait and it isnt enough to catch my WHMcureV set before spellcasting ends. This means I end up casting all my cures in a hybrid Cure/Fastcast/Healing Casting time set and its gimp :/.

I have tried to adulterate other people's XML's on this forum but i cannot seem to get things to work. I'm a complete layman noob when it comes to spellcast:/

I would very much appreciate if someone can guide me step by step to get <if> rules into my XML to do the following:

1.Get my Fastcast set into my cures and then switch to my Cure set before casting ends (I seem to feel people use a wait of .2 for this but i do not understand how to put this into XML and Macros).

2. Figure out a way that i don't have to have a line for Grips. I try using XML to </equip> sub weapons/grips/sheilds but always get "You need a 2-handed weapon to equip etc.. .etc" message in FFXI. Is there a way of doing this with SpellCast?

3. I would like to set up a Fastcast <if> rule to equip Fastcast set whenever I cast Protect and Shell and also a Fastcast set then Haste set to run when I cast Raises.

Thanks in advance for all your help :)
 Siren.Kalilla
VIP
Offline
サーバ: Siren
Game: FFXI
user: Kalila
Posts: 14552
By Siren.Kalilla 2012-04-05 21:10:11  
I thought the lowest wait time on macro's was 1 sec, you can go half secs? >.>?

Anyways you can set delays to the tenth in your spellcast xml, you should post it within code tags so we can help you out.

at least post your gear sets you want to use
Offline
Posts: 33
By Cholesterol 2012-04-05 21:13:22  
Siren.Kalilla said: »
I thought the lowest wait time on macro's was 1 sec, you can go half secs? >.>?

Anyways you can set delays to the tenth in your spellcast xml, you should post it within code tags so we can help you out.

You see i dont know what code tags are :/ Not everyone is au fait with XML. Sorry.

All my XML is atm is </set>s of equipment for large equipment swaps. No <if> rules or <ifelse> or <variable>.
 Siren.Kalilla
VIP
Offline
サーバ: Siren
Game: FFXI
user: Kalila
Posts: 14552
By Siren.Kalilla 2012-04-05 21:15:07  
Cholesterol said: »
Siren.Kalilla said: »
I thought the lowest wait time on macro's was 1 sec, you can go half secs? >.>?

Anyways you can set delays to the tenth in your spellcast xml, you should post it within code tags so we can help you out.

You see i dont know what code tags are :/ Not everyone is au fait with XML. Sorry.

All my XML is atm is </set>s of equipment for large equipment swaps. No <if> rules or <ifelse> or <variable>.
Code xml
[code=xml][/code.] without the period


and that's fine, can help you make rules based on the gear sets you've made so far
Offline
Posts: 33
By Cholesterol 2012-04-05 21:18:09  
edited
 Siren.Kalilla
VIP
Offline
サーバ: Siren
Game: FFXI
user: Kalila
Posts: 14552
By Siren.Kalilla 2012-04-05 21:19:38  
Okay, cleaned it up
Code xml
<?xml version="1.0" ?>
<spellcast xmlns:xi="http://www.w3.org/2001/XInclude">
	<config
        Debug="False"
        ShowgearSwaps="False"
        ShowSpellInfo="False" />
    <variables>
	</variables>
	<sets>
        <group Name="White Mage" default="yes">
			<set name="Idle">
				<main>Owleyes</main>
				<sub>Genbu's Shield</sub>
				<ammo>Incantor Stone</ammo>
				<head>Orison Cap +2</head>
				<neck>Twilight Torque</neck>
				<lear>Loquacious Earring</lear>
				<rear>Moonshade Earring</rear>
				<body>Orison Bliaud +2</body>
				<hands>Serpentes Cuffs</hands>
				<lring>Sheltered ring</lring>
				<rring>Dark ring</rring>
				<back>Cheviot Cape</back>
				<waist>Siegel Sash</waist>
				<legs>Tatsumaki Sitagoromo</legs>
				<feet>Serpentes sabots</feet>
			</set>
			<set name="FastCast">
				<main>Winged Wand</main>
				<sub>Genbu's Shield</sub>
				<ammo>Incantor Stone</ammo>
				<head>Orison Cap +2</head>
				<neck>Orison locket</neck>
				<lear>Loquacious Earring</lear>
				<rear>Moonshade Earring</rear>
				<body>Royal Redingote</body>
				<hands>Serpentes Cuffs</hands>
				<lring>Prolix ring</lring>
				<rring>Dark ring</rring>
				<back>Cheviot Cape</back>
				<waist>Siegel Sash</waist>
				<legs>Nebula Slops +1</legs>
				<feet>Rostrum pumps</feet>
			</set>
			<set name="Stoneskin">
				<main>Capricorn Staff</main>
				<ammo>Incantor Stone</ammo>
				<head>Zelus Tiara</head>
				<neck>Stone Gorget</neck>
				<lear>Loquacious Earring</lear>
				<rear>Moonshade earring</rear>
				<body>Royal Redingote</body>
				<hands>Carapacho Cuffs</hands>
				<lring>Prolix ring</lring>
				<rring>Aquasoul ring</rring>
				<back>Cheviot Cape</back>
				<waist>Siegel Sash</waist>
				<legs>Haven Hose</legs>
				<feet>Rostrum pumps</feet>
			</set>
			<set name="Haste">
				<main>Capricorn Staff</main>
				<ammo>Incantor Stone</ammo>
				<head>Zelus Tiara</head>
				<neck>Orison Locket</neck>
				<lear>Loquacious Earring</lear>
				<rear>Moonshade earring</rear>
				<body>Royal Redingote</body>
				<hands>Blessed Mitts</hands>
				<lring>Prolix ring</lring>
				<rring>Dark ring</rring>
				<back>Cheviot Cape</back>
				<waist>Siegel Sash</waist>
				<legs>Blessed trousers</legs>
				<feet>Rostrum pumps</feet>
			</set>
			<set name="CurePrecast">
				<main>Terra's Staff</main>
				<ammo>Incantor Stone</ammo>
				<head>Orison Cap +2</head>
				<neck>Orison Locket</neck>
				<lear>Loquacious Earring</lear>
				<rear>Moonshade earring</rear>
				<body>Nefer Kalasiris</body>
				<hands>Facio Gages</hands>
				<lring>Prolix ring</lring>
				<rring>Dark ring</rring>
				<back>Errant Cape</back>
				<waist>Cleric's Belt</waist>
				<legs>Orison Pantaloons +2</legs>
				<feet>Cure Clogs</feet>
			</set>
			<set name="Regen">
				<main>Capricorn Staff</main>
				<ammo>Incantor Stone</ammo>
				<head>Zelus Tiara</head>
				<neck>Orison Locket</neck>
				<lear>Loquacious Earring</lear>
				<rear>Moonshade earring</rear>
				<body>Cleric's Briault +2</body>
				<hands>Orison Mitts +2</hands>
				<lring>Prolix ring</lring>
				<rring>Dark ring</rring>
				<back>Cheviot Cape</back>
				<waist>Witful Belt</waist>
				<legs>Blessed trousers</legs>
				<feet>Rostrum pumps</feet>
			</set>
			<set name="BoostSpells">
				<main>Beneficus</main>
				<ammo>Incantor Stone</ammo>
				<head>Orison Cap +2</head>
				<neck>Enhancing Torque</neck>
				<lear>Loquacious Earring</lear>
				<rear>Moonshade earring</rear>
				<body>Orison Bliaud +2</body>
				<hands>Augur's Gloves</hands>
				<lring>Prolix ring</lring>
				<rring>Dark ring</rring>
				<back>Cheviot Cape</back>
				<waist>Cascade belt</waist>
				<legs>Cleric's Pantaloons +2</legs>
				<feet>Orison Duckbills +2</feet>
			</set>
			<set name="BarSpells">
				<main>Beneficus</main>
				<ammo>Incantor Stone</ammo>
				<head>Orison Cap +2</head>
				<neck>Enhancing Torque</neck>
				<lear>Loquacious Earring</lear>
				<rear>Moonshade earring</rear>
				<body>Orison Bliaud +2</body>
				<hands>Orison Mitts +2</hands>
				<lring>Prolix ring</lring>
				<rring>Dark ring</rring>
				<back>Cheviot Cape</back>
				<waist>Cascade belt</waist>
				<legs>Cleric's Pantaloons +2</legs>
				<feet>Orison Duckbills +2</feet>
			</set>
			<set name="Cure">
				<main>Arka IV</main>
				<ammo>Mana Ampulla</ammo>
				<head>Orison Cap +2</head>
				<neck>Fylgja Torque</neck>
				<lear>Healing Earring</lear>
				<rear>Orison Earring</rear>
				<body>Orison Bliaud +2</body>
				<hands>Augur's Gloves</hands>
				<lring>Sirona's Ring</lring>
				<rring>Aquasoul ring</rring>
				<back>Tempered Cape</back>
				<waist>Cleric's belt</waist>
				<legs>Tatsumaki Sitagoromo</legs>
				<feet>Cleric's duckbills +2</feet>
			</set>
			<set name="Cure4">
				<main>Arka IV</main>
				<ammo>Mana Ampulla</ammo>
				<head>Orison Cap +2</head>
				<neck>Fylgja Torque</neck>
				<lear>Healing Earring</lear>
				<rear>Moonshade Earring</rear>
				<body>Nefer Kalasiris</body>
				<hands>Orison Mitts +2</hands>
				<lring>Sirona's Ring</lring>
				<rring>Aquasoul ring</rring>
				<back>Tempered Cape</back>
				<waist>Cleric's belt</waist>
				<legs>Orison Pantaloons +2</legs>
				<feet>Cure Clogs</feet>
			</set>
			<set name="Curaga">
				<main>Arka IV</main>
				<ammo>Mana Ampulla</ammo>
				<head>Orison Cap +2</head>
				<neck>Fylgja Torque</neck>
				<lear>Healing Earring</lear>
				<rear>Moonshade Earring</rear>
				<body>Nefer Kalasiris</body>
				<hands>Augur's Gloves</hands>
				<lring>Sirona's Ring</lring>
				<rring>Aquasoul ring</rring>
				<back>Tempered Cape</back>
				<waist>Cleric's belt</waist>
				<legs>Orison Pantaloons +2</legs>
				<feet>Cleric's duckbills +2</feet>
			</set>
			<set name="Enfeeble">
				<ammo>Mana Ampulla</ammo>
				<head>Hyksos Khat</head>
				<neck>Enfeebling Torque</neck>
				<lear>Incubus Earring +1</lear>
				<rear>Enfeebling earring</rear>
				<body>Healer's Briault</body>
				<hands>Rubeus gloves</hands>
				<lring>Irrwisch ring</lring>
				<rring>Aquasoul ring</rring>
				<back>Chela Cape</back>
				<waist>Demonry Sash</waist>
				<legs>Portent pants</legs>
				<feet>Cleric's Duckbills +2</feet>
			</set>
		</group>
	</sets>
	<rules>
		<if spell="Utsusemi: Ichi">
			<equip when="precast" set="THFHST" />
				<!--Utsusemi:Ichi cast time is 4 sec-->
				<!--This may be conservative and it may not always be enough. I have seen delay 3 work
				<!--Find a delay value that YOU are comfortable relying upon-->
			<midcastdelay delay="2.5" />
				<!--Cancel currently active shadows(Buff_Id 66). Technically only need for Ni to Ichi, but no way to tell-->
			<command when="midcast">cancel 66</command>
		</if>
	</rules>
</spellcast>
 Siren.Kalilla
VIP
Offline
サーバ: Siren
Game: FFXI
user: Kalila
Posts: 14552
By Siren.Kalilla 2012-04-05 22:14:08  
Okay, sorry for the delay was still doing something on the game and trying to do this.

Now, your macro

Quote:
I have brought about a decent Fastcast/Healing Casting time set now for WHM but I have problems using the following macro:

/sc set WHMfastcast
/ma "Cure V" <stal> <wait .5>
/sc set WHMcureV <wait .5>
/equip Sub "Curatio Grip" <wait 5>
/sc set WHMidle

I really, really don't like this. Change it just to this:

/ma "Cure V" <stal> or <stpc>

for your XML I'm going to suggest this:
Code xml
		<if Spell="Cure*">
			<if Spell="Cure IV">
				<equip when="precast" set="CurePrecast" />
				<if advanced='"%DayElement"="Light" OR "%WeatherElement"="Light"'>
					<equip when="midcast" set="Cure4">
						<back>Twilight Cape</back>
						<waist>Korin Obi</waist>
					</equip>
				</if>
				<if advanced='"%DayElement"!="Light" AND "%WeatherElement"!="Light"'>
					<equip when="midcast" set="Cure" />
					</equip>
				</if>
				<equip when="aftercast" set="Idle" />
				</return />
			</if>
			<if NotSpell="Cure IV">
				<equip when="precast" set="CurePrecast" />
				<if advanced='"%DayElement"="Light" OR "%WeatherElement"="Light"'>
					<equip when="midcast" set="Cure">
						<back>Twilight Cape</back>
						<waist>Korin Obi</waist>
					</equip>
				</if>
				<if advanced='"%DayElement"!="Light" AND "%WeatherElement"!="Light"'>
					<equip when="midcast" set="Cure4" />
					</equip>
				</if>
				<equip when="aftercast" set="Idle" />
				</return />
			</if>
		</if>

The advanced rule is just checking to see if it's lightsday or light weather, I suggest you get a Korin Obi and a Twilight Cape, but for now I'm marking them as a note. Just remove the <!-- and --> parts when you get one of them.

At the moment there are no delays added to your precast or midcast, I would like for you to try those out and to see what needs to be done from there before adding on delays.

Here is the xml you need to copy over yours.
Code xml
<?xml version="1.0" ?>
<spellcast xmlns:xi="http://www.w3.org/2001/XInclude">
	<config
        Debug="False"
        ShowgearSwaps="False"
        ShowSpellInfo="False" />
    <variables>
	</variables>
	<sets>
        <group Name="White Mage" default="yes">
			<set name="Idle">
				<main>Owleyes</main>
				<ammo>Incantor Stone</ammo>
				<head>Orison Cap +2</head>
				<neck>Twilight Torque</neck>
				<lear>Loquacious Earring</lear>
				<rear>Moonshade Earring</rear>
				<body>Orison Bliaud +2</body>
				<hands>Serpentes Cuffs</hands>
				<lring>Sheltered ring</lring>
				<rring>Dark ring</rring>
				<back>Cheviot Cape</back>
				<waist>Siegel Sash</waist>
				<legs>Tatsumaki Sitagoromo</legs>
				<feet>Serpentes sabots</feet>
				<sub>Genbu's Shield</sub>
			</set>
			<set name="Resting">
			</set>
			<set name="FastCast">
				<main>Winged Wand</main>
				<ammo>Incantor Stone</ammo>
				<head>Orison Cap +2</head>
				<neck>Orison locket</neck>
				<lear>Loquacious Earring</lear>
				<rear>Moonshade Earring</rear>
				<body>Royal Redingote</body>
				<hands>Serpentes Cuffs</hands>
				<lring>Prolix ring</lring>
				<rring>Dark ring</rring>
				<back>Cheviot Cape</back>
				<waist>Siegel Sash</waist>
				<legs>Nebula Slops +1</legs>
				<feet>Rostrum pumps</feet>
				<sub>Genbu's Shield</sub>
			</set>
			<set name="Stoneskin">
				<main>Capricorn Staff</main>
				<ammo>Incantor Stone</ammo>
				<head>Zelus Tiara</head>
				<neck>Stone Gorget</neck>
				<lear>Loquacious Earring</lear>
				<rear>Moonshade earring</rear>
				<body>Royal Redingote</body>
				<hands>Carapacho Cuffs</hands>
				<lring>Prolix ring</lring>
				<rring>Aquasoul ring</rring>
				<back>Cheviot Cape</back>
				<waist>Siegel Sash</waist>
				<legs>Haven Hose</legs>
				<feet>Rostrum pumps</feet>
				<sub></sub>
			</set>
			<set name="Haste">
				<main>Capricorn Staff</main>
				<ammo>Incantor Stone</ammo>
				<head>Zelus Tiara</head>
				<neck>Orison Locket</neck>
				<lear>Loquacious Earring</lear>
				<rear>Moonshade earring</rear>
				<body>Royal Redingote</body>
				<hands>Blessed Mitts</hands>
				<lring>Prolix ring</lring>
				<rring>Dark ring</rring>
				<back>Cheviot Cape</back>
				<waist>Siegel Sash</waist>
				<legs>Blessed trousers</legs>
				<feet>Rostrum pumps</feet>
				<sub></sub>
			</set>
			<set name="Regen">
				<main>Capricorn Staff</main>
				<ammo>Incantor Stone</ammo>
				<head>Zelus Tiara</head>
				<neck>Orison Locket</neck>
				<lear>Loquacious Earring</lear>
				<rear>Moonshade earring</rear>
				<body>Cleric's Briault +2</body>
				<hands>Orison Mitts +2</hands>
				<lring>Prolix ring</lring>
				<rring>Dark ring</rring>
				<back>Cheviot Cape</back>
				<waist>Witful Belt</waist>
				<legs>Blessed trousers</legs>
				<feet>Rostrum pumps</feet>
				<sub></sub>
			</set>
			<set name="BoostSpells">
				<main>Beneficus</main>
				<ammo>Incantor Stone</ammo>
				<head>Orison Cap +2</head>
				<neck>Enhancing Torque</neck>
				<lear>Loquacious Earring</lear>
				<rear>Moonshade earring</rear>
				<body>Orison Bliaud +2</body>
				<hands>Augur's Gloves</hands>
				<lring>Prolix ring</lring>
				<rring>Dark ring</rring>
				<back>Cheviot Cape</back>
				<waist>Cascade belt</waist>
				<legs>Cleric's Pantaloons +2</legs>
				<feet>Orison Duckbills +2</feet>
				<sub></sub>
			</set>
			<set name="BarSpells">
				<main>Beneficus</main>
				<ammo>Incantor Stone</ammo>
				<head>Orison Cap +2</head>
				<neck>Enhancing Torque</neck>
				<lear>Loquacious Earring</lear>
				<rear>Moonshade earring</rear>
				<body>Orison Bliaud +2</body>
				<hands>Orison Mitts +2</hands>
				<lring>Prolix ring</lring>
				<rring>Dark ring</rring>
				<back>Cheviot Cape</back>
				<waist>Cascade belt</waist>
				<legs>Cleric's Pantaloons +2</legs>
				<feet>Orison Duckbills +2</feet>
				<sub></sub>
			</set>
			<set name="CurePrecast">
				<main>Terra's Staff</main>
				<ammo>Incantor Stone</ammo>
				<head>Orison Cap +2</head>
				<neck>Orison Locket</neck>
				<lear>Loquacious Earring</lear>
				<rear>Moonshade earring</rear>
				<body>Nefer Kalasiris</body>
				<hands>Facio Gages</hands>
				<lring>Prolix ring</lring>
				<rring>Dark ring</rring>
				<back>Errant Cape</back>
				<waist>Cleric's Belt</waist>
				<legs>Orison Pantaloons +2</legs>
				<feet>Cure Clogs</feet>
				<sub>Curatio Grip</sub>
			</set>
			<set name="Cure">
				<main>Arka IV</main>
				<ammo>Mana Ampulla</ammo>
				<head>Orison Cap +2</head>
				<neck>Fylgja Torque</neck>
				<lear>Healing Earring</lear>
				<rear>Orison Earring</rear>
				<body>Orison Bliaud +2</body>
				<hands>Augur's Gloves</hands>
				<lring>Sirona's Ring</lring>
				<rring>Aquasoul ring</rring>
				<back>Tempered Cape</back>
				<waist>Cleric's belt</waist>
				<legs>Tatsumaki Sitagoromo</legs>
				<feet>Cleric's duckbills +2</feet>
				<sub>Curatio Grip</sub>
			</set>
			<set name="Cure4">
				<main>Arka IV</main>
				<ammo>Mana Ampulla</ammo>
				<head>Orison Cap +2</head>
				<neck>Fylgja Torque</neck>
				<lear>Healing Earring</lear>
				<rear>Moonshade Earring</rear>
				<body>Nefer Kalasiris</body>
				<hands>Orison Mitts +2</hands>
				<lring>Sirona's Ring</lring>
				<rring>Aquasoul ring</rring>
				<back>Tempered Cape</back>
				<waist>Cleric's belt</waist>
				<legs>Orison Pantaloons +2</legs>
				<feet>Cure Clogs</feet>
				<sub>Curatio Grip</sub>
			</set>
			<set name="Curaga">
				<main>Arka IV</main>
				<ammo>Mana Ampulla</ammo>
				<head>Orison Cap +2</head>
				<neck>Fylgja Torque</neck>
				<lear>Healing Earring</lear>
				<rear>Moonshade Earring</rear>
				<body>Nefer Kalasiris</body>
				<hands>Augur's Gloves</hands>
				<lring>Sirona's Ring</lring>
				<rring>Aquasoul ring</rring>
				<back>Tempered Cape</back>
				<waist>Cleric's belt</waist>
				<legs>Orison Pantaloons +2</legs>
				<feet>Cleric's duckbills +2</feet>
				<sub>Curatio Grip</sub>
			</set>
			<set name="Enfeeble">
				<ammo>Mana Ampulla</ammo>
				<head>Hyksos Khat</head>
				<neck>Enfeebling Torque</neck>
				<lear>Incubus Earring +1</lear>
				<rear>Enfeebling earring</rear>
				<body>Healer's Briault</body>
				<hands>Rubeus gloves</hands>
				<lring>Irrwisch ring</lring>
				<rring>Aquasoul ring</rring>
				<back>Chela Cape</back>
				<waist>Demonry Sash</waist>
				<legs>Portent pants</legs>
				<feet>Cleric's Duckbills +2</feet>
				<sub></sub>
			</set>
		</group>
	</sets>
	<rules>
		<if spell="autoset">
			<if status="resting">
				<equip When="Resting" Set="Resting" />
			</if>
			<elseif status="Idle">
				<equip When="Idle" Set="Idle" />
			<elseif>
			<elseif status="Engaged">
			</elseif>
		</if>
		<if Spell="Cure*">
			<if Spell="Cure IV">
				<equip when="precast" set="CurePrecast" />
				<if advanced='"%DayElement"="Light" OR "%WeatherElement"="Light"'>
					<equip when="midcast" set="Cure4">
						<back>Twilight Cape</back>
						<waist>Korin Obi</waist>
					</equip>
				</if>
				<if advanced='"%DayElement"!="Light" AND "%WeatherElement"!="Light"'>
					<equip when="midcast" set="Cure" />
					</equip>
				</if>
				<equip when="aftercast" set="Idle" />
				</return />
			</if>
			<if NotSpell="Cure IV">
				<equip when="precast" set="CurePrecast" />
				<if advanced='"%DayElement"="Light" OR "%WeatherElement"="Light"'>
					<equip when="midcast" set="Cure">
						<back>Twilight Cape</back>
						<waist>Korin Obi</waist>
					</equip>
				</if>
				<if advanced='"%DayElement"!="Light" AND "%WeatherElement"!="Light"'>
					<equip when="midcast" set="Cure4" />
					</equip>
				</if>
				<equip when="aftercast" set="Idle" />
				</return />
			</if>
		</if>
	</rules>
</spellcast>

Save it, then reload it from your console to try out cures.

That's it for cures, I can help with other spells after you try that out.
 Fenrir.Motenten
VIP
Offline
サーバ: Fenrir
Game: FFXI
user: Motenten
Posts: 764
By Fenrir.Motenten 2012-04-05 22:26:35  
Stripped down rules set for you (barely 100 lines of rules for the white magic section). Left in some hand-tweaked items for certain things (eg: Orison +2 head for -na spells, etc). Used only the gear sets you have listed. Need to add variables for the staves you have for enfeebling spells (eg: wind for silence, earth for slow, etc; I just listed a couple to show the format), though you didn't indicate whether those were actually used.

It makes no attempt to adjust cast timing. I've had no trouble in mine using the default values. Whatever problems you have in that regard are probably very much tied to your computer, so anything I put in would be mere guesswork.

Can't really help on the grip thing; it's a rare problem for me, but I know no one's really found a solution for the issue.

Code xml
    <variables>
        <var name="Staff-Fire">Vulcan's Staff</var>
        <var name="Staff-Wind">Auster's Staff</var>
        <!-- ... etc. -->
    </variables>

    <rules>
        <equip when="Aftercast" set="Idle" />

        <if type="WhiteMagic">
            <!-- Default fast cast gear for all white magic spells -->
            <equip when="Precast" set="FastCast" />
 
            <if Skill="HealingMagic">
                <if Spell="Cure*">
                    <equip when="Precast" set="CurePrecast" />
                    
                    <if Spell="*IV">
                        <equip when="Midcast" set="Cure4" />
                    </if>
                    <else>
                        <equip when="Midcast" set="Cure" />
                    </else>
                </if>
                <elseif Spell="Cura*">
                    <equip when="Precast" set="CurePrecast" />
                    <equip when="Midcast" set="Curaga" />
                </elseif>
                <elseif Spell="Esuna">
                    <equip when="Midcast" set="Haste">
                        <legs>Orison Pantaloons +2</legs>
                    </equip>
                </elseif>
                <elseif Spell="*na">
                    <equip when="Midcast" set="Haste">
                        <head>Orison Cap +2</head>
                        <legs>Orison Pantaloons +2</legs>
                    </equip>
                    <if BuffActive="Divine Caress">
                        <equip when="Midcast">
                            <hands>Orison Mitts +2</hands>
                        </equip>
                    </if>
                </elseif>
                <else>
                    <equip when="Midcast" set="Haste" />
                </else>
            </if>
            <elseif Skill="EnhancingMagic">
                <equip when="Precast">
                    <waist>Siegel Sash</waist>
                </equip>
 
                <if Spell="Stoneskin">
                    <equip when="Midcast" set="Stoneskin" />
                </if>
                <elseif Spell="Barfira|Barstonra|Baraera|Barblizzara|Barthundra|Barwatera">
                    <equip when="Precast" set="BarSpells" />
                </elseif>
                <elseif Spell="Bar*">
                    <equip when="Midcast" set="BarSpells" />
                </elseif>
                <elseif Spell="Boost*">
                    <equip when="Midcast" set="BoostSpells" />
                </elseif>
                <elseif Spell="Regen*">
                    <equip when="Midcast" set="Regen" />
                </elseif>
                <elseif Spell="Erase">
                    <equip when="Midcast">
                        <head>Orison Cap +2</head>
                        <legs>Orison Pantaloons +2</legs>
                    </equip>
                </elseif>
                <elseif Spell="Auspice">
                    <equip when="Midcast">
                        <feet>Orison Duckbills +2</feet>
                    </equip>
                </elseif>
                <elseif Spell="Shell*|Protect*">
                    <equip when="Midcast" set="Haste" />
                    <equip when="all">
                        <lring>Sheltered Ring</lring>
                    </equip>
                    <if Spell="Shellra V">
                        <equip when="all">
                            <legs>Cleric's Pantaloons +2</legs>
                        </equip>
                    </if>
                </elseif>
                <else>
                    <equip when="Midcast" set="Haste" />
                </else>
            </elseif>
            <elseif Skill="EnfeeblingMagic">
                <equip when="Midcast" set="Enfeeble">
                    <main>$Staff-%SpellElement</main>
                </equip>
            </elseif>
        </if>
 
        <elseif type="BlackMagic">
            <!-- Default fast cast gear for all black magic spells -->
            <equip when="Precast" set="FastCast" />
 
            <if Skill="DarkMagic">
                <equip when="Midcast" set="Haste" />
            </if>
            <elseif Skill="EnfeeblingMagic">
                <equip when="Midcast" set="Enfeeble">
                    <main>$Staff-%SpellElement</main>
                </equip>
            </elseif>
        </elseif>
    </rules>
 Siren.Kalilla
VIP
Offline
サーバ: Siren
Game: FFXI
user: Kalila
Posts: 14552
By Siren.Kalilla 2012-04-05 22:43:25  
Fenrir.Motenten said: »
Can't really help on the grip thing; it's a rare problem for me, but I know no one's really found a solution for the issue.
If you just move the sub line to the end of a set it fixes it normally.

Or just copy it 2-4 times for a set and it will get it equipped every time.

for example his cure set above:
Code xml
<set name="Cure">
	<main>Arka IV</main>
	<ammo>Mana Ampulla</ammo>
	<head>Orison Cap +2</head>
	<neck>Fylgja Torque</neck>
	<lear>Healing Earring</lear>
	<rear>Orison Earring</rear>
	<body>Orison Bliaud +2</body>
	<hands>Augur's Gloves</hands>
	<lring>Sirona's Ring</lring>
	<rring>Aquasoul ring</rring>
	<back>Tempered Cape</back>
	<waist>Cleric's belt</waist>
	<legs>Tatsumaki Sitagoromo</legs>
	<feet>Cleric's duckbills +2</feet>
	<sub>Curatio Grip</sub>
	<sub>Curatio Grip</sub>
	<sub>Curatio Grip</sub>
</set>
 Fenrir.Motenten
VIP
Offline
サーバ: Fenrir
Game: FFXI
user: Motenten
Posts: 764
By Fenrir.Motenten 2012-04-05 22:56:37  
Siren.Kalilla said: »
If you just move the sub line to the end of a set it fixes it normally.

Not sure why that would work (and I've heard from others that it doesn't), since the equipment order in the xml has no relation to the order the equip commands are sent to the game. And if you have multiple entries for a slot, all but one of them get ignored (easy to have happen if you copy stuff between sets).

Might just be one of those 'magic' fixes that works for some.
 Bahamut.Lilsanchez
Offline
サーバ: Bahamut
Game: FFXI
Posts: 264
By Bahamut.Lilsanchez 2012-04-05 22:59:52  
lol It's just whm macros... why make something so simple into something complicated. Only thing you need in advanced macros is gear swaps. Can fit everything into 4 rows. (40 macros)


[Ctrl_10]Enhancements+Sch Sub JA
[Alt_10]Repose+Divine Magic+RR3, Raise3
[Ctrl_1]Cure Magic and Haste/Refresh/Auspice
[Alt_1]FirstMacro Idle/Refresh Gear set, Debuff Situation magic

Of course macro gear swaps into all spells accordingly.
/console exec WHM/Idle.txt
/console exec WHM/Cure.txt
ect ect

Just a suggestion though, most likely OBJECTION!! Just don't see reason to make xml macros when there is much less complicated way to do them.
 Siren.Kalilla
VIP
Offline
サーバ: Siren
Game: FFXI
user: Kalila
Posts: 14552
By Siren.Kalilla 2012-04-05 23:28:59  
Fenrir.Motenten said: »
Siren.Kalilla said: »
If you just move the sub line to the end of a set it fixes it normally.

Not sure why that would work (and I've heard from others that it doesn't), since the equipment order in the xml has no relation to the order the equip commands are sent to the game. And if you have multiple entries for a slot, all but one of them get ignored (easy to have happen if you copy stuff between sets).

Might just be one of those 'magic' fixes that works for some.
All I know is it works for me when I want to switch from club/shield to staff/grip or use two rings that are the same (double dark rings).

Before I tried doing that it didn't work at all, after I did I never had an issue again.
Offline
Posts: 33
By Cholesterol 2012-04-06 10:13:27  
You are all totally fabulous!

Thanks for your help and guidance i will repost if things go wrong on XML.

Thankyou! <3
Offline
Posts: 33
By Cholesterol 2012-04-06 11:14:47  
Quote:
At the moment there are no delays added to your precast or midcast, I would like for you to try those out and to see what needs to be done from there before adding on delays.

I dont understand how I can try those out if there is no delays in my precast or midcast. Surely if there are no delays they wont work?
Offline
Posts: 33
By Cholesterol 2012-04-06 11:20:22  
This isnt working at all :/

I copy the XML from the posts and try to paste in my XML and it just doesnt work, puts it all onto 1 line.

Why can't anything be simple?
 Fenrir.Motenten
VIP
Offline
サーバ: Fenrir
Game: FFXI
user: Motenten
Posts: 764
By Fenrir.Motenten 2012-04-06 11:26:04  
Cholesterol said: »
Quote:
At the moment there are no delays added to your precast or midcast, I would like for you to try those out and to see what needs to be done from there before adding on delays.

I dont understand how I can try those out if there is no delays in my precast or midcast. Surely if there are no delays they wont work?

There are default delays already in place in Spellcast. If you set delays manually, you're changing the defaults, not creating entirely new delays. Kalilla wants to know how it behaves at the default level before suggesting any tweaks.

Quote:
I copy the XML from the posts and try to paste in my XML and it just doesnt work, puts it all onto 1 line.

What program are you using to edit your xml files?
Offline
Posts: 33
By Cholesterol 2012-04-06 11:28:46  
Ive tried everything, copying it into word etc but nothing works just either doesnt copy at all or just puts it all in 1 massive line. I am going to copy it out manually
Offline
Posts: 33
By Cholesterol 2012-04-06 11:30:00  
Fenrir.Motenten said: »
Cholesterol said: »
Quote:
At the moment there are no delays added to your precast or midcast, I would like for you to try those out and to see what needs to be done from there before adding on delays.

I dont understand how I can try those out if there is no delays in my precast or midcast. Surely if there are no delays they wont work?

There are default delays already in place in Spellcast. If you set delays manually, you're changing the defaults, not creating entirely new delays. Kalilla wants to know how it behaves at the default level before suggesting any tweaks.

Quote:
I copy the XML from the posts and try to paste in my XML and it just doesnt work, puts it all onto 1 line.

What program are you using to edit your xml files?

Notepad ++
Offline
Posts: 33
By Cholesterol 2012-04-06 12:57:44  
Can anyone help with copying this?
 Fenrir.Motenten
VIP
Offline
サーバ: Fenrir
Game: FFXI
user: Motenten
Posts: 764
By Fenrir.Motenten 2012-04-06 13:26:55  
If you can't manage a simple copy/paste, I'm not sure what we can do to help you.
[+]
Offline
Posts: 33
By Cholesterol 2012-04-06 13:40:24  
Fenrir.Motenten said: »
If you can't manage a simple copy/paste, I'm not sure what we can do to help you.

Um . .

I already explained that I tried to copy and paste it into my XML but it just puts all the data onto 1 line of the XML.

Attitudes like this arnt really helping me.
 Fairy.Ghaleon
Offline
サーバ: Fairy
Game: FFXI
user: MisterRyu
Posts: 2742
By Fairy.Ghaleon 2012-04-06 13:43:47  
Cholesterol said: »
Fenrir.Motenten said: »
If you can't manage a simple copy/paste, I'm not sure what we can do to help you.

Um . .

I already explained that I tried to copy and paste it into my XML but it just puts all the data onto 1 line of the XML.

Attitudes like this arnt really helping me.

you sure your using notepad ++? and not...you know....regular notepad.. >.>;
Offline
Posts: 33
By Cholesterol 2012-04-06 13:43:59  
So anyone have any ideas why this XML script above wont copy into my Notepad++?
Offline
Posts: 33
By Cholesterol 2012-04-06 13:45:39  
Blue highlight area
right click copy
paste unto notepad ++

Occupies 1 line of XML only.
 Asura.Tamoa
Offline
サーバ: Asura
Game: FFXI
user: Tamoa
Posts: 1341
By Asura.Tamoa 2012-04-06 14:00:29  
Cholesterol said: »
Blue highlight area
right click copy
paste unto notepad ++

Occupies 1 line of XML only.

Just for the hell of it, I did exactly that less than one minute ago and had no problems whatsoever. No idea how you manage to make that not work tbh.
[+]
 Fenrir.Motenten
VIP
Offline
サーバ: Fenrir
Game: FFXI
user: Motenten
Posts: 764
By Fenrir.Motenten 2012-04-06 14:13:29  
Even if you copied the wrong area (like including the "code" tag and copying the line numbers) it should still work.

Perhaps there's some sort of conversion for the carriage return/line feed characters (/r/n) that Notepad++ isn't handling properly. Since I don't use Notepad++ (I use UltraEdit instead), I have no idea what configuration options there may be in that regard.

Possibly you're working in a system other than Windows? Or Notepad++ is configured to convert DOS newlines to Unix newlines? Or maybe there's a program tied to your keyboard driver that's intercepting and munging the values? (or mouse driver if you're using the right-click copy/paste instead of ctrl-c/ctrl-v) Check your clipboard history? Try copying *anything* else, from any other source, and see how Notepad++ behaves? Maybe it's a bug in the clipboard code of the browser you're using. Put some effort into figuring out what is and is not working on your end.
[+]
Offline
Posts: 33
By Cholesterol 2012-04-06 15:08:56  
It copies every word fine, and in the right syntax / value / colour.

It just does it all on 1 line. This happens if I copy normal text too.

Im just going to have to copy it manually.
Offline
Posts: 33
By Cholesterol 2012-04-08 17:13:55  
I have tried everything:

I have tried copying your XML by hand unto my XML: It does not work it wont accept the </equips? or the </if> EVERY damn time. I have checked and rechecked it time and time again and it doesnt work.

I cannot copy and paste anything that you guys have post into any XML reader (Notepad ++ Ultraedit) I download. I always just puts the whole information onto 1 line and I cannot change it.

PLEASE dont give me some quip about "If you cant manage Cut and Paste etc .etc" because this is clearly not the case and is very patronising.

All i want to do is to be able to place precast into my cures.

its taken me 3 days now to get this far and now my whole spellcast wont work at all so i cant play.

PLeaes help me out!
Offline
Posts: 33
By Cholesterol 2012-04-08 17:20:48  
Could you please repost your XML on here in a format other that the way you have done it here so i can Copy paste?

As an explanation of what happens:

THIS:

<body>Golaird Saio</body>
<feet>Savant's Loafers +2</feet>
<waist>Korin Obi</waist>

END UP LIKE THIS ON MY COMPUTER AFTER I COPY:

<body>Golaird Saio</body><feet>Savant's Loafers+2</feet><waist>Korin Obi</waist>

All on 1 continuous line. ive tried everything from Paste Special to Formating and nothing works either on Notepad ++ or Ultraedit.

Please help.
 Shiva.Galbir
Offline
サーバ: Shiva
Game: FFXI
user: galbir
Posts: 1290
By Shiva.Galbir 2012-04-08 18:03:43  
Have you tried reformatting it yourself? Just click after every end tag and push enter.
First Page 2
Log in to post.