Cor Xml Help

Eorzea Time
 
 
 
Langues: JP EN FR DE
users online
Forum » FFXI » Jobs » Corsair » Cor xml help
Cor xml help
 Fenrir.Bricent
Offline
Serveur: Fenrir
Game: FFXI
Posts: 64
By Fenrir.Bricent 2013-08-14 08:54:33
Link | Citer | R
 
I have recently put together my cor xml. I am having an issue where all my precast equip my quick draw build. Can anyone please give me a hand?
See my paste bin link below.

http://pastebin.com/pDaPyEG9
 Fenrir.Bricent
Offline
Serveur: Fenrir
Game: FFXI
Posts: 64
By Fenrir.Bricent 2013-08-14 11:28:25
Link | Citer | R
 
As windower.net no longer have a sc tutorial can anyone re-direct me to another location that has one so I can try and figure this out?
 Ragnarok.Sekundes
Offline
Serveur: Ragnarok
Game: FFXI
user: Sekundes
Posts: 4189
By Ragnarok.Sekundes 2013-08-14 12:08:27
Link | Citer | R
 
http://web.archive.org/web/20101014194820/http://wiki.windower.net/plugins/spellcast

You can find spellcast info here.

As for the precast. I can't find anything in here that would do as you describe. There are only 2 hits for "Quick Draw" in the XML and one is the set and the other is in your shot rule. Are you sure it's gearing your QD set?
 Fenrir.Bricent
Offline
Serveur: Fenrir
Game: FFXI
Posts: 64
By Fenrir.Bricent 2013-08-14 17:33:11
Link | Citer | R
 
Yes it shows in the log and I watch the gear change in game
 Ragnarok.Flippant
Offline
Serveur: Ragnarok
Game: FFXI
user: Enceladus
Posts: 658
By Ragnarok.Flippant 2013-08-14 18:05:14
Link | Citer | R
 
It's actually not your QD set, it's your Wildfire set.

For some reason, the fact you wrote ability="Wildfire" instead of spell="Wildfire" made it check true...and since it's near the bottom, it overwrote all the other precast sets.

Also, you're missing a few quotes in the Aeolian Edge lines.

390-398 should read:
Code
            <if spell="Wildfire">
                <action type="equip" when="precast" set="WF" />
                <action type="equip" when="aftercast" set="Idle" />
			</if>
			
            <if spell="Aeolian Edge">
                <action type="equip" when="precast" set="Aeolian Edge" />
                <action type="equip" when="aftercast" set="Melee TP" />
            </if>
[+]
 Fenrir.Bricent
Offline
Serveur: Fenrir
Game: FFXI
Posts: 64
By Fenrir.Bricent 2013-08-14 19:13:40
Link | Citer | R
 
thank you that was the problem and it works now
 Leviathan.Kuryomi
Offline
Serveur: Leviathan
Game: FFXI
user: Kuryomi
Posts: 158
By Leviathan.Kuryomi 2013-08-24 15:18:50
Link | Citer | R
 
Hello, dont mean to steal the thread but, i used your xml to make one for myself and it turned out realy nice. But while triming the fat off the excessive amount of roll and ja sets i broke it some how and idkk whats the deal. Im not seeing the issue. Right now SC is saying failing to read attributes line 444, so if someone can look at it that be great.


poked it into the spoiler, its getting kinda big :D
 Leviathan.Kuryomi
Offline
Serveur: Leviathan
Game: FFXI
user: Kuryomi
Posts: 158
By Leviathan.Kuryomi 2013-08-24 15:29:33
Link | Citer | R
 
here is my older, still funtioning version of the same one.
 Ragnarok.Flippant
Offline
Serveur: Ragnarok
Game: FFXI
user: Enceladus
Posts: 658
By Ragnarok.Flippant 2013-08-24 15:58:47
Link | Citer | R
 
Line 433 wasn't closed properly, was causing issues with the next statement.
Code
<action type="equip" when="precast" set="Tactician's roll" />  
 Leviathan.Kuryomi
Offline
Serveur: Leviathan
Game: FFXI
user: Kuryomi
Posts: 158
By Leviathan.Kuryomi 2013-08-24 17:25:37
Link | Citer | R
 
Thanks, now its working again ^^

If anyone is intrested here is the updated version and with the gear sets trimmed down, the triggers toggle back and forth based on whats in the trigger code at the very bottom of the xml. Please let me know if you find bugs cause id like to get em worked through.

Atm it seems very funtional with snapshot/rapid shot sets, then ra acc set for mid cast (cause cor marksmanship skill is horrible.)
Also includes mag acc for light/dark* and mag atk for the others,
severale safety measures for your QD bullet, PDT/MDT idle and hybrid roll sets, as well as melee options.

This started from the OP's XML and integrated it with my drk xml (NightFyrs) cause that auto-update and trigger is the ***.
necroskull Necro Bump Detected! [78 days between previous and next post]
Offline
Posts: 38
By sialeed 2013-11-10 17:55:12
Link | Citer | R
 
i did get some of these scripts to work but the weaponskill inbetween gear swap fails and also range ws doesnt work either.




<?xml version="1.0" ?>

<spellcast>

<config debug="false" requiredversion="2.17"/>

<sets>

<group name="Corsair|COR" default="yes">

<!---- General sets ---->

<set name="IDLE" >
<head>Ocelomeh Headpiece</head>
<neck>Wiglen Gorget</neck>
<lear>Steelflash Earring</lear>
<rear>Bladeborn Earring</rear>
<body>Manibozho Jerkin</body>
<hands>Manibozho gloves</hands>
<lring>Sheltered Ring</lring>
<rring>Paguroidea Ring</rring>
<back>Atheling mantle</back>
<waist>Twilight belt</waist>
<legs>Manibozho Brais</legs>
<feet>Manibozho boots</feet>

</set>
<set name="Regen">
<body>Kheper jacket</body>
</set>


<set name="Ranged" >
<head>Navarch's tricorne +1</head>
<neck>Asperity necklace</neck>
<!--<lear> Earring</lear>
<rear> earring</rear>-->
<body>Navarch's Frac +1</body>
<hands>Manibozho gloves</hands>
<lring>Locus ring</lring>
<rring>Epona's ring</rring>
<back>Navarch's Mantle</back>
<waist>Twilight belt</waist>
<legs>Iuitl tights</legs>
<feet>Iuitl gaiters</feet>
<ammo>Bronze bullet</ammo>
</set>

<set name="Snapshot" >
<head>Aurore beret</head>
<body>Skopos jerkin</body>
<hands>Alruna's gloves</hands>
<back>Navarch's mantle</back>
<waist>Impulse belt</waist>
<legs>Navarch's culottes +2</legs>
<ammo>Titanium bullet</ammo>
</set>

<set name="TP" >
<head>Chocaliztli Mask</head>
<neck>Nefarious collar</neck>
<lear>Bladeborn Earring</lear>
<rear>Steelflash Earring</rear>
<body>Thaumas Coat</body>
<hands>Manibozho gloves</hands>
<lring>Solemn ring</lring>
<rring>Epona's Ring</rring>
<back> Atheling Mantle</back>
<waist>Twilight belt</waist>
<legs>Iuitl Tights</legs>
<feet>Iuitl gaiters</feet>
</set>

<set name="PDT" >
<head>Chocaliztli Mask</head>
<neck>Twilight torque</neck>
<lear>Volley earring</lear>
<rear>Navarch's earring</rear>
<body>Manibozho Jerkin</body>
<hands>Manibozho Gloves</hands>
<lring>Dark Ring</lring>
<rring>Dark ring</rring>
<back>Libeccio mantle</back>
<waist>Flume belt</waist>
<legs>Iuitl Tights</legs>
<feet>Iuitl gaiters</feet>
<ammo>Steel bullet</ammo>
</set>

<!--<set name="Stoneskin">
<hands>Denali wristbands</hands>
<legs>Haven hose</legs>
<neck>Stone gorget</neck>
<lring>Solemn ring</lring>
</set>-->

<!---- Corsair sets ---->


<set name="QuickDraw" >
<head>Corsair's tricorne</head>
<!--<neck></neck>-->
<lear>Hecate's earring</lear>
<rear>Moldavite earring</rear>
<!--<body></body>
<hands></hands>-->
<lring>Breeze ring</lring>
<rring>Solemn ring</rring>
<!--<back></back>
<waist></waist>
<legs></legs>
<feet></feet>
<ammo></ammo>-->
</set>

<!----- Corsair Rolls--->

<set name="Phantom Roll" >
<head>Commodore tricorne</head>
<!--<hands>Navarch's gants +2</hands>-->
</set>

<set name="Tactician's roll" >
<head>Commodore tricorne</head>
<body>Navarch's frac +1</body>
<!--<hands>Navarch's gants +2</hands>-->
</set>

<set name="Caster's roll" >
<head>Commodore tricorne</head>
<!--<hands>Navarch's gants +2</hands>
<legs>Navarch's culottes +2</legs>-->
</set>

<set name="Courser's roll" >
<head>Commodore tricorne</head>
<!--<hands>Navarch's gants +2</hands>
<feet>Navarch's bottes +2</feet>-->
</set>

<set name="Blitzer's roll" >
<head>Navarch's tricorne +1</head>
<body>Navarch's frac +1</body>
<hands>Navarch's gants +2</hands>
</set>

<set name="Random deal" >
<body>Commodore frac</body>
</set>


<!---- Weaponskill sets ---->


<set name="Slug Shot" >
<head>Chocaliztli mask</head>
<neck>Light Gorget</neck>
<!-- <lear></lear>
<rear></rear>-->
<body>Manibozho Jerkin</body>
<hands>Thurandaut gloves</hands>
<lring>Solemn Ring</lring>
<rring>Thunder ring ring</rring>
<back>Atheling mantle</back>
<waist>Light belt</waist>
<legs>Iuitl Tights</legs>
<feet>Iuitl gaiters</feet>
<ammo>Bronze bullet</ammo>
</set>

<set name="Detonator" >
<head>Chocaliztli mask</head>
<neck>Light Gorget</neck>
<!-- <lear></lear>
<rear></rear>-->
<body>Manibozho Jerkin</body>
<hands>Thurandaut gloves</hands>
<lring>Solemn Ring</lring>
<rring>Thunder ring ring</rring>
<back>Atheling mantle</back>
<waist>Light belt</waist>
<legs>Iuitl Tights</legs>
<feet>Iuitl gaiters</feet>
</set>

<set name="Leaden Salute" >
<head>Navarch's tricorne +2</head>
<neck>Artemis' medal</neck>
<lear>Hecate's earring</lear>
<rear>Moldavite earring</rear>
<body>Loki's Kaftan</body>
<hands>Schutzen mittens</hands>
<lring>Breeze ring</lring>
<rring>Solemn ring</rring>
<back>Forban cape</back>
<waist>Aquiline belt</waist>
<legs>Ambusher's hose</legs>
<feet>Navarch's bottes +2</feet>
<ammo>Bronze bullet</ammo>
</set>

<set name="Last Stand">
<head>Chocaliztli mask</head>
<neck>Light Gorget</neck>
<!-- <lear></lear>
<rear></rear>-->
<body>Manibozho Jerkin</body>
<hands>Thurandaut gloves</hands>
<lring>Solemn Ring</lring>
<rring>Thunder ring ring</rring>
<back>Atheling mantle</back>
<waist>Light belt</waist>
<legs>Iuitl Tights</legs>
<feet>Iuitl gaiters</feet>
</set>

<set name="Numbing Shot">
<head>Chocaliztli mask</head>
<neck>Breeze Gorget</neck>
<!-- <lear></lear>
<rear></rear>-->
<body>Manibozho Jerkin</body>
<hands>Thurandaut gloves</hands>
<lring>Solemn Ring</lring>
<rring>Thunder ring ring</rring>
<back>Atheling mantle</back>
<waist>Breeze belt</waist>
<legs>Iuitl Tights</legs>
<feet>Iuitl gaiters</feet>
</set>

<set name="WS">
<head>Chocaliztli Mask</head>
<neck>Soil Gorget</neck>
<lear>Bladeborn Earring</lear>
<rear>Steelflash Earring</rear>
<body>Manibozho Jerkin</body>
<hands>Thurandaut Gloves</hands>
<lring>Rajas Ring</lring>
<rring>Spiral Ring</rring>
<waist>Soil Belt</waist>
<back>Rancorous Mantle</back>
<legs>Iuitl Tights</legs>
<feet>Iuitl gaiters</feet>
</set>

<set name="EVIS">
<head>Manibozho Beret</head>
<neck>Light Gorget</neck>
<body>Manibozho Jerkin</body>
<waist>Light Belt</waist>
<legs>Iuitl Tights</legs>
<feet>Iuitl gaiters</feet>
</set>

<set name="AEOLIAN">
<head>Thaumas Hat</head>
<neck>Soil Gorget</neck>
<lear>Hecate's Earring</lear>
<rear>Strophadic Earring</rear>
<waist>Soil Belt</waist>
<legs>Iuitl Tights</legs>
<feet>Iuitl gaiters</feet>
</set>

<set name="Exenterator">
<head>Oce. Headpiece +1</head>
<neck>Soil Gorget</neck>
<body>Thurandaut Tabard</body>
<hands>Thaumas Gloves</hands>
<waist>Soil Belt</waist>
<legs>Iuitl Tights</legs>
<feet>Iuitl gaiters</feet>
</set>

</group>
</sets>

<rules>


<!---- General rules ---->


<if Type="WeaponSkill">
<castdelay delay="0.3"/>
<aftercastdelay delay="0.8"/>
<precastdelay delay="0.2"/>

</if>

<if spell="Autoset">
<if status="idle">
<action type="equip" when="idle" set="Idle" />
</if>

<if status="engaged">
<action type="equip" when="idle" set="TP" />
</if>

<if spell="ranged">
<action type="midcastdelay" delay="1" />
<action type="equip" when="Precast" set="Snapshot" />
<action type="equip" when="midcast" set="Ranged" />
</if>



<!--<if spell="Stoneskin">
<action type="equip" when=precast set="Stoneskin" />
</if>-->


<!---- Corsair rules ---->

<if CommandPrefix="/ra*|/shoot">
<equip when="precast" set="snapshot" />
<midcastdelay delay="2" />
<equip when="midcast" set="Ranged" />
<aftercastdelay delay="7" />
</if>


<if spell="Fire Shot|Ice Shot|Wind Shot|Earth Shot|Thunder Shot|Water Shot|Dark Shot|Light Shot">
<action type="equip" when="precast" set="QuickDraw" />
<action type="equip" when="aftercast" set="TP" />
</if>

<if spell="Random Deal">
<action type="equip" when="precast" set="Random Deal" />
<action type="equip" when="aftercast" set="Idle" />
<addtochat>***Random deal***</addtochat>
</if>

<if spell="Corsair's Roll|Ninja Roll|Hunter's Roll|Chaos Roll|Magus's Roll|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|Bolter's Roll|Miser's Roll|Companion's Roll">
<action type="equip" when="precast" set="Phantom Roll" />
<action type="equip" when="aftercast" set="Idle" />

</if>

<if spell="Blitzer's Roll">
<action type="equip" when="precast" set="Blitzer's Roll" />
<action type="equip" when="aftercast" set="Idle" />

</if>

<if spell="Tactician's Roll">
<action type="equip" when="precast" set="Tactician's Roll" />
<action type="equip" when="aftercast" set="Idle" />

</if>

<if spell="Caster's Roll">
<action type="equip" when="precast" set="Caster's Roll" />
<action type="equip" when="aftercast" set="Idle" />

</if>

<if spell="Courser's Roll">
<action type="equip" when="precast" set="Courser's Roll" />
<action type="equip" when="aftercast" set="Idle" />

</if>

<if spell="Allies' Roll">
<action type="equip" when="precast" set="Allies' Roll" />
<action type="equip" when="aftercast" set="Idle" />

</if>

<!---- Weaponskill rules ---->

<if type="WeaponSkill">

<if Type="WeaponSkill">
<castdelay delay="0.3"/>
<aftercastdelay delay="0.4"/>
<precastdelay delay="0.3"/>

</if>

<equip when="precast" set="WS" />
</if>

<if spell="Evisceration">
<equip when="precast" set="EVIS" />
<action type="equip" when="aftercast" set="TP" />

</if>

<if spell="Aeolian Edge">
<action when="precast" set="AEOLIAN" />
<action type="equip" when="aftercast" set="TP" />
</if>

<if spell="Exenterator">
<action when="precast" set="Exenterator" />
<action type="equip" when="aftercast" set="TP" />

</if>

<if spell="Slug Shot">
<action type="equip" when="precast" set="Slug Shot" />
<action type="equip" when="aftercast" set="TP" />
</if>

<if spell="Detonator">
<action type="equip" when="precast" set="Detonator" />
<action type="equip" when="aftercast" set="TP" />

</if>

<if spell="Leaden Salute">
<action type="equip" when="precast" set="Leaden Salute" />
<action type="equip" when="aftercast" set="TP" />

</if>

<if spell="Last Stand">
<action type="equip" when="precast" set="Last Stand" />
<action type="equip" when="aftercast" set="TP" />
</if>

<if spell="Numbing Shot">
<action type="equip" when="precast" set="Numbing Shot" />
<action type="equip" when="aftercast" set="TP" />
</if>

<if spell="autoset">
<if area="*Windurst*|Heavens*|*San d'Oria*|Chateau*|*Bastok*|Metalworks|*Jeuno*|Ru'Lude*|*Whitegate|Al Zahbi|Chocobo*|*Colosseum|Selbina|Mhaura|Kazham|Norg|Tavnazia*" notarea="Dynamis*|*[S]" notbuffactive="Besieged">
<action type="Equip" when="idle|engaged|resting|precast|midcast|aftercast" set="Town" />
</if>
<else>
<action type="equip" when="aftercast" set="IDLE"/>
</else>
<action type="equip" when="engaged" set="TP"/>
</if>
<if spell="RangeTP">
<action type="equip" when="precast" set="Ranged TP"/>
<action type="equip" when="aftercast" set="TP"/>
</if>
</if>

</rules>

</spellcast>
 Quetzalcoatl.Sanriku
Offline
Serveur: Quetzalcoatl
Game: FFXI
user: Sanriku
Posts: 75
By Quetzalcoatl.Sanriku 2013-11-10 18:45:13
Link | Citer | R
 
sialeed said: »
i did get some of these scripts to work but the weaponskill inbetween gear swap fails and also range ws doesnt work either.

For starters, you have redundancies in your WS rules:

At the top of your Rules section.
Code
<if Type="WeaponSkill">
<castdelay delay="0.3"/>
<aftercastdelay delay="0.8"/> 
<precastdelay delay="0.2"/>

</if>


At the top of your WS Rules.
Code
<!---- Weaponskill rules ---->

<if type="WeaponSkill">

   <if Type="WeaponSkill">
     <castdelay delay="0.3"/>
     <aftercastdelay delay="0.4"/> 
     <precastdelay delay="0.3"/>
   </if>

   <equip when="precast" set="WS" />
</if>


These are placed before your individual sets, which causes it to parse first and not change into each set as needed. It will only precast in "WS".

Also, you have several instances of your ranged attack rules:

In general rules.
Code
<if spell="ranged">
<action type="midcastdelay" delay="1" />
<action type="equip" when="Precast" set="Snapshot" />
<action type="equip" when="midcast" set="Ranged" />
</if>


In corsair rules.
Code
<!---- Corsair rules ---->

<if CommandPrefix="/ra*|/shoot">
<equip when="precast" set="snapshot" />
<midcastdelay delay="2" />
<equip when="midcast" set="Ranged" />
<aftercastdelay delay="7" />
</if>


At the end.
Code
<if spell="RangeTP">
<action type="equip" when="precast" set="Ranged TP"/>
<action type="equip" when="aftercast" set="TP"/>
</if>
</if>



Copy/Paste is your worst enemy when it comes to making a spellcast... especially if you have no idea what you are doing.
[+]
Offline
Posts: 38
By sialeed 2013-11-10 19:06:02
Link | Citer | R
 
my gear dont swap when i use weapon skill either with weapon such as dagger stave axe club or use last stand or any other gun ws for cor it switches in and out on engaged and disengaged but that about it also doesn't use fire shot or ranged /ra and switch gear like it is suppose to i already posted my info down below
 Quetzalcoatl.Sanriku
Offline
Serveur: Quetzalcoatl
Game: FFXI
user: Sanriku
Posts: 75
By Quetzalcoatl.Sanriku 2013-11-10 20:04:32
Link | Citer | R
 
Start here...
Code
<if spell="Autoset">
<if status="idle">
<action type="equip" when="idle" set="Idle" />
</if>

<if status="engaged">
<action type="equip" when="idle" set="TP" />
</if>


This is not being closed, the <if spell="Autoset"> is open and no </if> after that until god knows where in that mess. Find and fix this first, along with all the other errors I pointed out.