XML Please?

Langues: JP EN DE FR
users online
Forum » FFXI » Jobs » Corsair » XML please?
XML please?
 Leviathan.Blackwhirlwind
Offline
Serveur: Leviathan
Game: FFXI
Posts: 263
By Leviathan.Blackwhirlwind 2013-06-05 00:34:23
Link | Citer | R
 
Code
<?xml version="1.0" ?>

<spellcast xmlns:xi="http://www.w3.org/2001/XInclude">
    <config
        RequireVersion="2.30"
        debug="false"
        />
		
	<var name="QDBullet">Midrium bullet</var>
	
    <variables />
	
    <sets>
        <group name="Corsair" default="yes">
            <set name="Standard" BaseSet="Range Accuracy">
            </set>
            <set name="Quick Draw">
				<ammo>$QDBullet</ammo>
				<head>Corsair's Tricorne +1</head>
				<neck>Stoicheion Medal</neck>
				<lear>Moldavite Earring</lear>
				<rear>Hecate's Earring</rear>
				<body>Mirke Wardecors</body>
				<hands>Navarch's Gants +2</hands>
				<lring>Rajas  Ring</lring>
				<rring>Epona's Ring</rring>
				<back>Forban Cape</back>
				<waist>Aquiline Belt</waist>
				<legs>Navarch's Culottes +2</legs>
				<feet>Navarch's Bottes +2</feet>
            </set>
			
			<set name="Mighty Strikes" Baseset="TPGear">
				<hands>Warrior's Mufflers +2</hands>
			</set>
			
			<set name="Range Accuracy">
				<ammo>Bronze Bullet</ammo>
				<head>Navarch's Tricorne +2</head>
				<neck>Arctier's Torque</neck>
				<lear>Volley Earring</lear>
				<rear>Clearview Earring</rear>
				<body>Navarch's Frac +2</body>
				<hands>Navarch's Gants +2</hands>
				<lring>Rajas  Ring</lring>
				<rring>Behemoth Ring</rring>
				<back>Libeccio Mantle</back>
				<waist>Aquiline Belt</waist>
				<legs>Thurandaut Tights</legs>
				<feet>Praeda Sabatons</feet>
            </set>
			
			<set name="Snap Shot">
				<ammo>Bronze Bullet</ammo>
				<head>Navarch's Tricorne +2</head>
				<neck>Arctier's Torque</neck>
				<lear>Volley Earring</lear>
				<rear>Clearview Earring</rear>
				<body>Navarch's Frac +2</body>
				<hands>Alruna's Gloves</hands>
				<back>Navarch's Mantle</back>
				<waist>Impulse Belt</waist>
				<legs>Navarch's Culottes +2</legs>
				<feet>Praeda Sabatons</feet>
            </set>
			
			<set name="Idle">
				<ammo>Bronze Bullet</ammo>
				<head>Navarch's Tricorne +2</head>
				<neck>Wiglen gorget</neck>
				<lear>Volley Earring</lear>
				<rear>Clearview Earring</rear>
				<body>Navarch's Frac +2</body>
				<hands>Navarch's Gants +2</hands>
				<lring>Paguroidea Ring</lring>
				<rring>Sheltered Ring</rring>
				<back>Navarch's Mantle</back>
				<waist>Impulse Belt</waist>
				<legs>Navarch's Culottes +2</legs>
				<feet>Hermes' Sandals</feet>
            </set>
			
			<set name="Wild Fire">
				<ammo>Bronze Bullet</ammo>
				<head>Thaumas Hat</head>
				<neck>Stoicheion Medal</neck>
				<lear>Moldavite Earring</lear>
				<rear>Hecate's Earring</rear>
				<body>Loki's Kaftan</body>
				<hands>Thurandaut Gloves</hands>
				<lring>Rajas Ring</lring>
				<rring>Solemn ring</rring>
				<back>Forban Cape</back>
				<waist>Aquiline Belt</waist>
				<legs>Thurandaut Tights</legs>
				<feet>Navarch's Bottes +2</feet>
			</set>
			
			<set name="Last Stand">
				<ammo>Orichalcum Bullet</ammo>
				<head>Navarch's Tricorne +2</head>
				<neck>Arctier's Torque</neck>
				<lear>Clearview Earring</lear>
				<rear>Moonshade Earring</rear>
				<body>Kudzu Aketon</body>
				<hands>Thurandaut Gloves</hands>
				<lring>Solemn ring</lring>
				<rring>Epona's Ring</rring>
				<back>Terebellum Mantle</back>
				<waist>Light Belt</waist>
				<legs>Thuranduat Tights</legs>
				<feet>Navarch's Bottes +2</feet>
			</set>
			
			<set name="Aeolian Edge">
				<head>Aias Bonnet</head>
				<neck>Stoicheion Medal</neck>
				<lear>Moldavite Earring</lear>
				<rear>Hecate's Earring</rear>
				<body>Toci's Harness</body>
				<hands>Raider's Armlets +2</hands>
				<lring>Rajas Ring</lring>
				<rring>Spiral Ring</rring>
				<back>Atheling Mantle</back>
				<waist>Aquiline Belt</waist>
				<legs>Denali Kecks</legs>
				<feet>Athos's Boots</feet>
			</set>
            
        </group>
    </sets>
    <rules>
        <!-- set of gear to equip when finished casting a spell or coming back from resting mp (idle set) -->
		<equip when="Engaged" set="Snap Shot" />
        <equip when="Idle" set="Idle" />
		<equip when="Healing" set="Idle" />
		
		<if Spell="Utsusemi*">
            <!-- equip gear that helps Utsu, and nothing else -->
            <equip when="precast" set="TPGear" />
        </if>
		
		<if type="Weaponskill">
			<if mode="OR" TPLT="100" advanced='%SpellTargetDistance>20' notstatus="engaged">
				<cancelspell/>
				<return />
			</if>
		</if>
		
		<if spell="Chaos*|Ninja*|Hunter*|Magus*|Healer's Roll|Puppet Roll|Choral Roll|Monk's Roll|Beast Roll|Samurai Roll|Evoker's Roll|Rogue's Roll|Warlock's Roll|Fighter's Roll|Drachen Roll|Gallant's Roll|Wizard's Roll|Dancer's Roll|Scholar's Roll">
			<equip when="precast">
				<head>Comm. Tricorne</head>
				<hands>Navarch's Gants +2</hands>
				<rring>Roller's Ring</rring>
				<lring>Luzaf's Ring</lring>
			</equip>
		</if>
		
		<if spell="Snake Eyes">
			<equip when="aftercast|Idle">
				<legs>Comm. Culottes +2</legs>
			</equip>
		</if>
		
		<if spell="Fire Shot|Ice Shot|Wind Shot|Earth Shot|Thunder Shot|Water Shot|Dark Shot|Light Shot">
			<equip set="Quick Draw" when="precast" />
		</if>
		<if spell="Wildfire">
			<if advanced='"%EquipAmmo"="$QDBullet"'>
				<action type="Cancelspell" />
			</if>
			<equip set="Wild Fire" when="precast" />
			<equip set="Range Accuracy" when="aftercast" />
		</if>
		<if CommandPrefix="/range*|/ra*">
			<action type="midcastdelay" delay="1" />
			<equip set="Range Accuracy" when="midcast" />
			<action type="aftercastdelay" delay="5" />
			<equip set="Snap Shot" when="aftercast" />
		</if>
		<if spell="Last Stand">
			<if advanced='"%EquipAmmo"="$QDBullet"'>
				<action type="Cancelspell" />
			</if>
			<equip set="Last Stand" when="precast" />
			<equip set="Range Accuracy" when="aftercast" />
		</if>
	
		<if mode="and" Spell="Provoke" Target="Sturdy Pyxis">
			<cancelspell />
		</if>

		
		<if mode="and" Spell="Third Eye" notbuffactive="Seigan" MLvlGT="69">
			<cancelspell />
			<command>input /ja "Seigan" <me>;wait 2.5;input /ja "Third Eye" <me>;</command>
		</if>
	
		<if spell="Utsusemi: Ichi" BuffActive="Copy Image|Copy Image (2)" NotBuffActive="Silence|Mute|Omerta|Obliviscence">
			<midcastdelay delay="3.0" />
			<command when="midcast">cancel 66</command>
		</if>
	<if Spell="Sneak|Monomi*" BuffActive="Sneak" SpellTargetType="Self">
		<command when="midcast">cancel 71</command>
		<midcastdelay delay="1.8" />
	</if>
		
	
    </rules>
</spellcast>
 Sylph.Hitetsu
Offline
Serveur: Sylph
Game: FFXI
user: Hitetsu
Posts: 2617
By Sylph.Hitetsu 2013-06-05 01:03:30
Link | Citer | R
 
I can't see anything wrong with it, I'd just put it down to lag. I've played around with my XML a little and can't see any problem, so:
Code xml
        <!-- Ranged Attack -->
    <if spell="Ranged">
		<midcastdelay delay="1" />
		<equip when="Precast" set="Snapshot" />
		<equip when="Midcast" set="RAttack" />

	</if>


 Leviathan.Blackwhirlwind
Offline
Serveur: Leviathan
Game: FFXI
Posts: 263
By Leviathan.Blackwhirlwind 2013-06-05 01:14:14
Link | Citer | R
 
Ill go outside an test out my /range macro to see if I notice any gear swap but, I haven't messed it with in so long, now my cor is needed for delve trying to get it perfect for mega boss fights.

edit: yup still no change from snap shot to racc set, there has to be something missing im overlooking
 Asura.Kurriko
Offline
Serveur: Asura
Game: FFXI
user: chasca
Posts: 109
By Asura.Kurriko 2013-06-05 01:31:50
Link | Citer | R
 
Are you swapping visible pieces of just back/waist etc?

Because if you're not changing anything visible, you'll only see one "Equipment Changed" line even thoug there's 2 sets of swaps. That might be causing the confusion.

This works for me, copy/past/edit see if it does for you too:
Code
		<if spell="Ranged">
			<equip when="precast" set="Preshot" />
			<castdelay delay="0.2" />
			<equip when="midcast" set="Ranged" />
		</if>


Edit: Also, why are you creating a variable for QDBullet instead of just writing the bullet into the gear set? Seems unnecessary.

Edit2: This doesn't seem sensible:
Code
 <if spell="Wildfire">
            <if advanced='"%EquipAmmo"="$QDBullet"'>
                <action type="Cancelspell" />
            </if>
            <equip set="Wild Fire" when="precast" />
            <equip set="Range Accuracy" when="aftercast" />
        </if>
        <if CommandPrefix="/range*|/ra*">
            <action type="midcastdelay" delay="1" />
            <equip set="Range Accuracy" when="midcast" />
            <action type="aftercastdelay" delay="5" />
            <equip set="Snap Shot" when="aftercast" />
        </if>
        <if spell="Last Stand">
            <if advanced='"%EquipAmmo"="$QDBullet"'>
                <action type="Cancelspell" />
            </if>
            <equip set="Last Stand" when="precast" />
            <equip set="Range Accuracy" when="aftercast" />
        </if>

It'll only cancel the action for Last Stand or Wildfire. It wont protect you against any other WSs you might need, nor against if you shoot it for a normal /ranged attack.

This could be simpler and more effective if you removed those cancel rules and just put this quick rule in below:
Code
		<if commandprefix="/range|/weaponskill" EquipAmmo="Omphalos Bullet">
			<cancelspell />
			<equip>
				<ammo>remove</ammo>
			</equip>
			<return />
		</if>

I also input an /echo to tell me it's cancelled the action.

Finally, something else I just realised looking over your spellcast:

You seem to care about your /ranged damage enough to be using preshot macros. However, you're TPing in Bronze bullets. TPing in Orichalcum/Midrium Bullets would make a thousand times bigger improvement that managing to macro in your snapshot precast equipment.
 Leviathan.Blackwhirlwind
Offline
Serveur: Leviathan
Game: FFXI
Posts: 263
By Leviathan.Blackwhirlwind 2013-06-05 01:45:42
Link | Citer | R
 
Yes My snapshot set should swap into my racc set which has Thurandaut Tights macroed in, no change at all. I tried your extact statement nothing happened.
 Asura.Kurriko
Offline
Serveur: Asura
Game: FFXI
user: chasca
Posts: 109
By Asura.Kurriko 2013-06-05 02:01:14
Link | Citer | R
 
Try removing the snapshot aftercast.

Everytime you press /ra to shoot, it'll equip your snapshot set anyway, so there is no need to equip it after the shot finishes as well.

Try my rules/variables. I've removed the ability specific rules like random deal etc, so it's just TP/WS/QD rules.
Code
	<rules>
		<if spell="Ranged">
			<equip when="precast" set="Preshot" />
			<castdelay delay="0.2" />
			<equip when="midcast" set="Ranged" />
		</if>

		<if spell="Fire Shot|Ice Shot|Wind Shot|Earth Shot|Thunder Shot|Water Shot">
			<castdelay delay="0.5" />
			<if Advanced='("%SpellElement" = "%WeatherElement" OR "%SpellElement" ="%DayElement")'>
					<equip when="precast" set="QDObi" />
			</if>
			<else>
				<equip when="precast" set="Quickdraw" />
			</else>
		</if>
		<if spell="Light Shot|Dark Shot">
			<castdelay delay="0.5" />
			<equip when="precast" set="QDMacc" />
			<equip when="aftercast">
				<ammo>remove</ammo>
			</equip>
		</if>
		
		<if commandprefix="/range|/weaponskill" EquipAmmo="Omphalos Bullet">
			<cancelspell />
			<equip>
				<ammo>remove</ammo>
			</equip>
			<action type="command">input /echo Unequipping Omphalos.</action>
			<return />
		</if>
		<if spell="Wildfire|Leaden Salute">
			<castdelay delay="0.5" />
			<if Advanced='("%SpellElement" = "%WeatherElement" OR "%SpellElement" ="%DayElement")'>
				<equip when="precast" set="WFObi" />
			</if>
			<else>
				<equip when="precast" set="Wildfire" />
			</else>
		</if>
		<if spell="Last Stand|Detonator">
			<castdelay delay="0.5" />
			<equip when="precast" set="Last" />
		</if>
	</rules>
	
	<variables>
		<var name="IceObi">Aquiline Belt</var>
		<var name="DarkObi">Aquiline Belt</var>
		<var name="ThunderObi">Aquiline Belt</var>
		<var name="WindObi">Aquiline Belt</var>
		<var name="FireObi">Karin Obi</var>
		<var name="EarthObi">Aquiline Belt</var>
		<var name="LightObi">Korin Obi</var>
		<var name="WaterObi">Aquiline Belt</var>
	</variables>

QDMacc uses Omphalos, while QD Dmg uses Midrium. That's why damage quick draws don't remove the ammoa fter it as I use Midrium for TP as well. The QDMacc and QD Dmg gear sets are also very different. Light/Dark shot don't need mab so it's very agi/macc heavy.
 Leviathan.Blackwhirlwind
Offline
Serveur: Leviathan
Game: FFXI
Posts: 263
By Leviathan.Blackwhirlwind 2013-06-05 02:35:56
Link | Citer | R
 
Yeah for the time being I always idled in bronze bullets because I never made a cancel statement for miss fires. Ive upgraded to tping in Oberon's Bullet, while wsing in Orichalcum bullets, Midrium I only own one which is for DQ, ill make a QDMacc set for light and dark shots never had a problem with resists though. thanks for the tips cleaned up my xml quite a bit, just still have my /range issue. I even engaged with my racc set on to see if my snapshot set would equip while range attacking but nothing happens just stays in racc set.
 Asura.Kurriko
Offline
Serveur: Asura
Game: FFXI
user: chasca
Posts: 109
By Asura.Kurriko 2013-06-05 03:09:54
Link | Citer | R
 
Why on earth would you buy a single Midrium Bullet for 8k (Levi price)?!

Midrium Ingots cost 45-50k on your server and one synth yields a STACK of bullets (2-3 stacks for HQs) with Artisan Alchemy/Synergy and Novice Smithing.

8k for Bullet, or 50k for 99.
 Leviathan.Blackwhirlwind
Offline
Serveur: Leviathan
Game: FFXI
Posts: 263
By Leviathan.Blackwhirlwind 2013-06-05 03:22:26
Link | Citer | R
 
1. Stack cost 100k 2. I don't craft bullets nor do I have the required levels to do it.
 Asura.Kurriko
Offline
Serveur: Asura
Game: FFXI
user: chasca
Posts: 109
By Asura.Kurriko 2013-06-05 09:14:52
Link | Citer | R
 
So ask someone that does.
 Fenrir.Calamity
Offline
Serveur: Fenrir
Game: FFXI
user: Calamity
Posts: 172
By Fenrir.Calamity 2013-06-23 06:33:53
Link | Citer | R
 
So I just leveled cor, and I'm noticing cor, and was about to start frankensteining an XML together, but I've noticed cor has a lot of little intricacies with it's various rolls and QD's and WS's and JA's all over, so I figured I'd just ask here for a good XML. Hoping for something with both ranged and melee support. Thank you in advance.
 Leviathan.Kingregg
Offline
Serveur: Leviathan
Game: FFXI
user: Kingregg
Posts: 104
By Leviathan.Kingregg 2013-07-04 21:47:00
Link | Citer | R
 
i pretty much only used a drk.xml, if i wanted to use a cor how do i load? /sc load "cor.xml"?
 Sylph.Hitetsu
Offline
Serveur: Sylph
Game: FFXI
user: Hitetsu
Posts: 2617
By Sylph.Hitetsu 2013-07-05 01:24:32
Link | Citer | R
 
It should automatically load when you change jobs.
 
Offline
Posts:
By 2013-07-12 19:07:11
 Undelete | Edit  | Link | Citer | R
 
Post deleted by User.
 
Offline
Posts:
By 2013-07-12 19:17:34
 Undelete | Edit  | Link | Citer | R
 
Post deleted by User.
 Carbuncle.Nawrthis
Offline
Serveur: Carbuncle
Game: FFXI
user: Nawrthis
Posts: 2
By Carbuncle.Nawrthis 2013-07-14 20:56:52
Link | Citer | R
 
Hi guys, i have the same trouble (prectas/midcast not loading) and can't figure where's the problem

here are the rules :

<rules>
<if status="engaged">
<equip when="engaged|aftercast" set="TP"/>
</if>
<if status="idle">
<equip when="aftercast" set="Idle"/>
</if>
<if spell="ranged">
<equip when="precast" set="Snapshot" />
<castdelay delay="2" />
<equip when="midcast" set="Ranged" />
</if>

and here's the debug log for when i'm doing shots :

[03:50:59] 8576:<5445> IncNormalCmd: ý
sý <t>
[03:50:59] 8576:<0> SpellSearch Returned: (no) : <t> (no) - NotST
[03:51:05] 8576:<5429> IncNormalCmd: ý
sý <t>
[03:51:05] 8576:<0> SpellSearch Returned: (no) : <t> (no) - NotST
[03:51:12] 8576:<7113> IncNormalCmd: ý
sý <t>
[03:51:12] 8576:<0> SpellSearch Returned: (no) : <t> (no) - NotST

I've already tried many copypasta of rules found here and there but still no good
Can a spellcast wizard help me fixing this ? thanks a lot
 
Offline
Posts:
By 2013-07-22 15:28:49
 Undelete | Edit  | Link | Citer | R
 
Post deleted by User.
Log in to post.