My Xml For Monk Is Not Working.

Eorzea Time
 
 
 
Language: JP EN FR DE
Version 3.1
New Items
users online
Forum » FFXI » Jobs » Monk » My xml for monk is not working.
My xml for monk is not working.
 Asura.Akamatzu
Offline
Server: Asura
Game: FFXI
user: Akamatzu
Posts: 179
By Asura.Akamatzu 2012-04-27 17:43:21
Link | Quote | Reply
 
I keep getting Error on line 109. Error reading end tag.
 Fenrir.Aleste
Offline
Server: Fenrir
Game: FFXI
user: Aleste
Posts: 75
By Fenrir.Aleste 2012-04-27 18:17:45
Link | Quote | Reply
 
Your error is caused by forgetting to close <if> statements. Add 3 more </if> 's on the line before </rules>.

Seems there's a number of errors in there that need fixed.

EDIT:: Bored waiting for Igalima shout to build.
[+]
 Carbuncle.Shadowwind
Offline
Server: Carbuncle
Game: FFXI
Posts: 260
By Carbuncle.Shadowwind 2012-04-27 18:21:17
Link | Quote | Reply
 

"Should" close off your holes. Its been awhile since I've done one though so I can't remember too well.
 Asura.Akamatzu
Offline
Server: Asura
Game: FFXI
user: Akamatzu
Posts: 179
By Asura.Akamatzu 2012-04-27 20:58:37
Link | Quote | Reply
 
Ok so after I WS, it won't change my clothes to my TP setup.
 Sylph.Hitetsu
Offline
Server: Sylph
Game: FFXI
user: Hitetsu
Posts: 2617
By Sylph.Hitetsu 2012-04-28 02:58:30
Link | Quote | Reply
 
Code xml
<if status="idle|aftercast">
<equip when="precast" set="Idle" />
</if>
<elseif status="engaged">
<equip when="precast" set="TP" />
</elseif>


Change that to:
Code xml
<if status="idle">
	<equip when="idle|aftercast" set="Idle" />
</if>
<elseif status="engaged">
	<equip when="aftercast|engaged" set="TP" />
</elseif>
 Carbuncle.Grandthief
Offline
Server: Carbuncle
Game: FFXI
Posts: 455
By Carbuncle.Grandthief 2012-04-28 03:24:00
Link | Quote | Reply
 
 Asura.Akamatzu
Offline
Server: Asura
Game: FFXI
user: Akamatzu
Posts: 179
By Asura.Akamatzu 2012-04-28 04:06:36
Link | Quote | Reply
 
Thank you a lot guys! I'm still very new to this stuff.
 Asura.Akamatzu
Offline
Server: Asura
Game: FFXI
user: Akamatzu
Posts: 179
By Asura.Akamatzu 2012-05-08 10:35:33
Link | Quote | Reply
 
I'm having a problem with my Damage Taken set "DT" in my xml.

I was told to put /equip in a macro line and if would work, but its not.
 Sylph.Hitetsu
Offline
Server: Sylph
Game: FFXI
user: Hitetsu
Posts: 2617
By Sylph.Hitetsu 2012-05-08 10:50:48
Link | Quote | Reply
 
Code xml
<if spell="DT">
<equip when="precast" set="DT" />
</if>


That won't work because no spell called "DT" exists in the resources, so Spellcast can't understand and parse it.

Try changing your equip line to:
/sc set DT

That'll tell Spellcast to equip a set called "DT"
 Asura.Akamatzu
Offline
Server: Asura
Game: FFXI
user: Akamatzu
Posts: 179
By Asura.Akamatzu 2012-05-08 11:05:07
Link | Quote | Reply
 
Thank you. How is your blue and green? Looks a lot better then purple and red.
 Sylph.Hitetsu
Offline
Server: Sylph
Game: FFXI
user: Hitetsu
Posts: 2617
By Sylph.Hitetsu 2012-05-08 11:11:35
Link | Quote | Reply
 
Purple and red? o.o

If you use <code=xml> Stuff here </code> (with [ ] Square brackets, not < >), then it puts everything in between with XML style colours, just makes it a little easier to read imo.

Similarly, if you wrap everything in <code> </code>, it'll maintain it's formatting and such~

For example (the first piece of XML I had open that was indented multiple times):

Pasted into a Spoiler:

Pasted into standard <code> tags:
Code
<if spell="*Jig|Saber Dance">
			<if spell="*Jig">
				<equip when="precast">
					<feet>Dancer's toe shoes</feet>
				</equip>
			</if>
			
			<equip when="precast">
				<legs>Etoile Tights +2</legs>
			</equip>
			<equip when="aftercast" set="$GearType" />
		</if>


And finally, pasted into <code=xml> tags:
Code xml
<if spell="*Jig|Saber Dance">
			<if spell="*Jig">
				<equip when="precast">
					<feet>Dancer's toe shoes</feet>
				</equip>
			</if>
			
			<equip when="precast">
				<legs>Etoile Tights +2</legs>
			</equip>
			<equip when="aftercast" set="$GearType" />
		</if>


Code tags alone make a huge difference to the display of it (as I'm sure you can see), but I find that the XML code tags make it that bit clearer ^^


Also, np! :D
 Asura.Akamatzu
Offline
Server: Asura
Game: FFXI
user: Akamatzu
Posts: 179
By Asura.Akamatzu 2012-05-08 14:54:54
Link | Quote | Reply
 
I totally don't get that lol.
 Sylph.Hitetsu
Offline
Server: Sylph
Game: FFXI
user: Hitetsu
Posts: 2617
By Sylph.Hitetsu 2012-05-08 14:56:44
Link | Quote | Reply
 
XD Don't worry, it's nothing important, was just saying how/why my stuff was Blue/Green :D!
necroskull Necro Bump Detected! [66 days between previous and next post]
 Siren.Mcmurdles
Offline
Server: Siren
Game: FFXI
user: Mcmurdles
Posts: 85
By Siren.Mcmurdles 2012-07-13 14:47:48
Link | Quote | Reply
 
Please help, i'm not the sharpest tool in the shed when it come to spellcast. Stole this script off montenten what i'm wondering is how to make it so that Victory smite uses toci's when impetus is down and cyclas +2 when it's up, can anyone offer any suggestions it's only using tocis atm regardless of impetus? Also with the /var how would i macro into evasion set for example?
 Gilgamesh.Nynja
Offline
Server: Gilgamesh
Game: FFXI
user: NynJa
Posts: 122
By Gilgamesh.Nynja 2012-07-13 14:58:34
Link | Quote | Reply
 
If you're not familiar with advanced coding, perhaps you should not use such an advanced xml.

To answer your question, if you should dumb it down to a more simple XNM, the code you would be looking for is:

<if spell="Victory Smite">
<action type="castdelay" delay=".2" />
<action type="Equip" when="precast" set="VS" />
<if buffactive="Impetus">
<action type="Equip" when="precast">
<body>Tantra Cyclas +2</body>
</action>
</if>
<if buffnotactive="Impetus">
<action type="Equip" when="precast">
<body>Toci's Harness</body>
</action>
</if>
<action type="Equip" when="Aftercast" set="TP"/>
</if>

You dont need to have both the buffactive and buffnotactive lines involved, unless for whatever reason you have a completely different body piece in your VS set, but I threw the code in there so you can fix it based on what you have in your VS set.
 Siren.Mcmurdles
Offline
Server: Siren
Game: FFXI
user: Mcmurdles
Posts: 85
By Siren.Mcmurdles 2012-07-13 21:50:14
Link | Quote | Reply
 
I was just hoping instead of putting together a whole new xml, it might be an easy fix... guess not thanks all the same. To add to that how do i go about macroing different gear sets?
 Fenrir.Motenten
VIP
Offline
Server: Fenrir
Game: FFXI
user: Motenten
Posts: 764
By Fenrir.Motenten 2012-07-16 16:13:11
Link | Quote | Reply
 
Mcmurdles said:
I was just hoping instead of putting together a whole new xml, it might be an easy fix...

It is an easy fix. Put Toci's in the normal gear set, then add the following to the weaponskill rule section after the Footwork <if> block:
Code xml
    <if buffactive="Impetus">
        <equip when="precast">
            <body>Tantra Cyclas +2</body>
        </equip>
    </if>


Mcmurdles said:
To add to that how do i go about macroing different gear sets?

Technically you can force a specific gear set using "sc set ~name" commands, but my xml is very much not designed for that. What you have instead are commands that let you set your current fighting conditions (eg: need evasion, need accuracy, MDT, attack is capped, etc), and the xml builds the proper set from that. Should be largely commented at the top of each job xml and the main include, plus some extra in the revision notes paste on pastebin.
 Asura.Akamatzu
Offline
Server: Asura
Game: FFXI
user: Akamatzu
Posts: 179
By Asura.Akamatzu 2012-08-03 09:44:13
Link | Quote | Reply
 
How do I make a rule for hundred fist to lock my clothes during its effect? This is what I have and it puts be back in my TP clothes after.

Code
<if spell="Hundred Fists">
    <equip when="precast|midcast">
		<ammo lock="true">Thew Bomblet</ammo>
		<head lock="true">Thaumas Hat</head>
		<body lock="true">Thaumas Coat</body>
		<hands lock="true">Melee gloves +2</hands>
		<legs lock="true">Tantra hose +2</legs>
		<feet lock="true">Tantra Gaiters +2</feet>
		<back lock="true">Atheling Mantle</back>
		<waist lock="true">Anguinus belt</waist>
		<neck lock="true">Agasaya's collar</neck>
		<lear lock="true">Brutal earring</lear>
		<rear lock="true">Ghillie Earring +1</rear>
		<lring lock="true">Epona's ring</lring>
		<rring lock="true">Rajas ring</rring>
	</equip>
</if>
 Fenrir.Motenten
VIP
Offline
Server: Fenrir
Game: FFXI
user: Motenten
Posts: 764
By Fenrir.Motenten 2012-08-04 18:16:09
Link | Quote | Reply
 
All that rule does is make sure that gear is on when you perform the action of activating Hundred Fists. You'd also need a rule that locks where when BuffActive="Hundred Fists", to override other actions. Of course that makes it difficult to swap gear for weaponskills, so you actually need a bit more complexity in choosing when you restrict what.
 Asura.Akamatzu
Offline
Server: Asura
Game: FFXI
user: Akamatzu
Posts: 179
By Asura.Akamatzu 2012-08-04 19:06:11
Link | Quote | Reply
 
Could you give me a example?