Item Search
     
BG-Wiki Search
Page 18 of 24 FirstFirst ... 8 16 17 18 19 20 ... LastLast
Results 341 to 360 of 473
  1. #341
    Arcaneo
    Guest

    Quote Originally Posted by Derock View Post
    hmm. add a variable into your variables portion, something like

    <var name="THFTPHead">Walahra turban</var>

    Then, in your TP set, change your walahra turban into $THFTPHead

    After that, add
    a rule in at the bottom that is something like

    <if spell="Feint" recastlt="1">
    <action type="Var" cmd="set THFTPHead Acuben's helm" />
    <action type="command" when="aftercast">wait 30; input //sc var set THFTPHead Walahra turban</action>
    </if>

    i'm not totally sure if "//sc var set THFTPHead Walahra turban" is correct, but the rest of it should work
    if someone that's a little better with it than i am could look at that quick for me, i'd appreciate it
    <action type="command" when="aftercast">wait 30;spellcast var set THFTPHead Walahra turban</action>

    is what you want

  2. #342
    HKR
    HKR is offline
    Fake Numbers
    Join Date
    May 2008
    Posts
    79
    BG Level
    2

    Quote Originally Posted by KSDI View Post
    Just got back into the game and looking to use spellcast. I changed someone's xml to fit the gear that was on my mnk and can't seem to get chakra to fire off correctly. It's not equipping some items because its only giving me back 150hp instead of the 350+ its supposed to.

    Here is the xml:
    Spoiler: show
    Code:
    <?xml version="1.0" ?>
    <spellcast xmlns:xi="http://www.w3.org/2001/XInclude">
        <config
            Debug="false"
            ShowGearSwaps="false"
            ShowSpellInfo="false"
            />
        <sets>
            <group default="yes" name="Basic">
                <set name="Standard">
                    <ammo>$%equipmainAmmo</ammo>
                    <head>Walahra Turban</head>
                    <neck>Peacock Amulet</neck>
                    <lear>Brutal Earring</lear>
                    <lring>$lring</lring>
                    <rear>$rear</rear>
                    <body>Shura Togi</body>
                    <hands>$hands</hands>
                    <rring>Rajas Ring</rring>
                    <back>$back</back>
                    <waist>Black Belt</waist>
                    <legs>Byakko's Haidate</legs>
                    <feet>Usukane Sune-Ate</feet>
                </set>
    			<set name="idle">
                    <ammo>$%equipmainAmmo</ammo>
                    <head>Walahra Turban</head>
                    <neck>Orochi Nodowa</neck>
                    <lear>Brutal Earring</lear>
                    <lring>$lring</lring>
                    <rear>$rear</rear>
                    <body>Melee Cyclas</body>
                    <hands>Bandomusha Kote</hands>
                    <rring>Rajas Ring</rring>
                    <back>$back</back>
                    <waist>Black Belt</waist>
                    <legs>Byakko's Haidate</legs>
                    <feet>Hermes' Sandals</feet>
                </set>
                <set name="2Hr" BaseSet="Standard">
                    <head>Usukane Somen</head>
                    <hands>Bandomusha Kote</hands>
                    <waist>Virtuoso Belt</waist>
                    <back>Forager's Mantle</back>
                    <lring>Rajas Ring</lring>
                    <legs>Melee Hose</legs>
                    <feet>Dune Boots</feet>
                </set>
                <set name="Evasion" Baseset="Standard">
                    <head>Usukane Somen</head>
                    <body>Scorpion Harness</body>
                    <hands>Usukane Gote</hands>
                    <rear>Ethereal Earring</rear>
                    <ammo>Fenrir's stone</ammo>
                    <neck>Evasion Torque</neck>
                    <back>Boxer's Mantle</back>
                    <feet>Hermes' Sandals</feet>
                </set>
                <set name="Chakra">
                    <ammo>Bibiki Seashell</ammo>
                    <lring>Topaz Ring</lring>
                    <hands>Melee Gloves +1</hands>
                    <head>Genbu's Kabuto</head>
                    <body>Temple Cyclas +1</body>
                    <rring>Topaz Ring</rring>
                    <waist>Warwolf Belt</waist>
                    <feet>Power Sandals</feet>
                    <back>Melee cape</back>
    
                </set>
                <set name="Counterstance">
                    <feet>Melee Gaiters</feet>
                </set>
                <set name="Dodge">
                    <feet>Temple Gaiters</feet>
                </set>
                <set name="Focus">
                    <head>Temple Crown +1</head>
                </set>
                <set name="Boost">
                    <hands>Temple Gloves +1</hands>
                </set>
                <set name="Resting">
                    <body>Melee Cyclas</body>
                    <back>Melee Cape</back>
                    <neck>Orochi Nodowa</neck>
                </set>
                <set name="FastCast">
                    <head>Walahra Turban</head>
                    <waist>Black Belt</waist>
                    <legs>Byakko's Haidate</legs>
                    <feet>Usukane Sune-Ate</feet>
                </set>
                <set name="Asuran" BaseSet="Standard">
                    <ammo>Tiphia Sting</ammo>
                    <head>Shr.Znr.Kabuto</head>
                    <lear>Ethereal Earring</lear>
                    <lring>$lring</lring>
                    <neck>Soil Gorget</neck>
                    <back>$back</back>
                    <hands>Bandomusha Kote</hands>
                    <legs>$legs</legs>
                    <waist>Virtuoso Belt</waist>
                </set>
                <set name="Dragon" BaseSet="Standard">
                    <head>Genbu's Kabuto</head>
                    <neck>$DragonFistNeck</neck>
                    <ammo>Olibanum Sachet</ammo>
                    <lring>Omicron Ring</lring>
                    <rring>Rajas Ring</rring>
                    <body>Kirin's Osode</body>
                    <rear>Triumph Earring</rear>
                    <waist>Warwolf Belt</waist>
                    <legs>Usukane Hizayoroi</legs>
                    <hands>Pallas's Bracelets</hands>
                </set>
                <set name="Howling" BaseSet="Dragon" />
                <set name="Ascetic" BaseSet="Howling">
                    <neck>$AsceticFuryNeck</neck>
                </set>
            </group>
        </sets>
        <variables>
            <var name="DragonFistNeck">Thunder Gorget</var>
            <var name="AsceticFuryNeck">Flame Gorget</var>
            <var name="rear">Merman's Earring</var>
            <var name="hands">Usukane Gote</var>
            <var name="lring">Ulthalam's Ring</var>
            <var name="back">Cuchulain's Mantle</var>
            <!-- Destroyers Variables -->
            <var name="DestroyersAmmo">Tiphia Sting</var>
            <!-- Hades Sainti Variables -->
            <var name="Hades SaintiAmmo">Tiphia Sting</var>
            <!--Faith Baghnakhs Variables -->
            <var name="Faith BaghnakhsAmmo">Virtue Stone</var>
        </variables>
        <rules>
            <!-- Commands for when Focus is up -->
            <if buffActive="Focus">
                <var cmd="set hands Bandomusha Kote" />
                <var cmd="set lring Omicron Ring" />
                <var cmd="set back Forager's Mantle" />
                <var cmd="set legs Usukane Hizayoroi" />
            </if>
            <!-- Commands for when Focus is not up -->
            <else>
                <var cmd="set hands Usukane Gote" />
                <var cmd="set lring Ulthalam's Ring" />
                <var cmd="set back Forager's Mantle" />
                <var cmd="set legs Shura Haidate" />
            </else>
            <!-- Command for when Minuet is up -->
            <if buffActive="Minue*">
                <var cmd="set rear Minuet Earring" />
            </if>
            <!-- Command for when Minuet is not up -->
            <else>
                <var cmd="set rear Ethereal Earring" />
            </else>
            <!-- Command for when Allied Tags are active -->
            <if buffActive="Allied Tags">
                <var cmd="set DragonFistNeck Bull Necklace" />
                <var cmd="set AsceticFuryNeck Bull Necklace" />
            </if>
            <!-- Command for when Allied tags are not active -->
            <else>
                <var cmd="set DragonFistNeck Thunder Gorget" />
                <var cmd="set AsceticFuryNeck Flame Gorget" />
            </else>
            <if spell="autoset">
                <equip when="resting" set="Resting" />
    			<equip when="idle" set="idle" />
    			<equip when="engaged" set="Standard" />
            </if>
    		<if status="engaged">
    			<equip when="aftercast" set="Standard" />
    		</if>
    		<else>
    			<equip when="aftercast" set="idle" />
    		</else>
            <elseif Spell="Hundred Fists">
                <equip when="Precast" delay=".4" set="2Hr" />
            </elseif>
            <elseif Spell="Counterstance">
                <equip when="Precast" delay=".4" set="Counterstance" />
            </elseif>
            <elseif Spell="Chakra">
                <equip when="Precast" delay=".4" set="Chakra" />
            </elseif>
            <elseif Spell="Dodge">
                <equip when="Precast" delay=".4" set="Dodge" />
            </elseif>
            <elseif Spell="Focus">
                <equip when="Precast" delay=".4" set="Focus" />
            </elseif>
            <elseif Spell="Boost">
                <equip when="Precast" delay=".4" set="Boost" />
            </elseif>
            <if MLvlGT="60" BuffActive="Sleep">
    			<equip when="precast|midcast|aftercast">
    				<neck>Opo-opo Necklace</neck>
    			</equip>
    		</if>
    		<if Spell="Sneak" BuffActive="Sneak" TargetType="SELF">
    			<midcastdelay delay="1" />
    			<command when="midcast">cancel 71</command>
    		</if>
    		<elseif spell="Spectral Jig" BuffActive="Sneak">
    			<command when="precast">cancel 71</command>
    		</elseif>
    		<elseif Spell="Monomi*" BuffActive="Sneak">
    			<midcastdelay delay="2.5" />
    			<command when="midcast">cancel 71</command>
    		</elseif>
    		<elseif spell="Utsusemi: Ichi">
    			<midcastdelay delay="2" />
    			<command when="midcast">cancel 66</command>
    		</elseif>
    		<elseif Spell="Stoneskin" BuffActive="Stoneskin">
    			<midcastdelay delay="3" />
    			<command when="midcast">cancel 37</command>
    		</elseif>
    		<elseif Spell="Blink" BuffActive="Blink">
    			<midcastdelay delay="5.2" />
    			<command when="midcast">cancel 36</command>
    		</elseif>
    		<if BuffActive="Sleep|Petrification|Stun|Terror|Charm">
    			<return />
    		</if>
    		<elseif Type="*Magic|BardSong|Ninjutsu" BuffActive="Silence">
    			<return />
    		</elseif>
    		<elseif Type="Weaponskill|JobAbility|PetCommand" BuffActive="Amnesia">
    			<return />
    		</elseif>
    		<elseif type="Weaponskill">
    			<if mode="OR" TPLT="100" advanced="%SpellTargetDistance &gt; 4" notstatus="engaged">
    				<cancelspell />
    				<return />
    			</if>
    		</elseif>
            <if mode="AND" CommandPrefix="/ws|/weaponskill" notBuffActive="Hundred Fists">
                <if Spell="Howling Fist">
                    <equip when="precast" delay=".4" set="Howling" />
                </if>
                <elseif Spell="Dragon Kick">
                    <equip when="Precast" delay=".4" set="Dragon" />
                    <if buffActive="Footwork">
                        <equip when="precast" delay=".2">
                            <feet>Dune Boots</feet>
                        </equip>
                    </if>
                </elseif>
                <elseif Spell="Asuran Fists">
                    <equip when="Precast" delay=".4" set="Asuran" />
                </elseif>
                <elseif Spell="Ascetic's Fury">
                    <equip when="precast" delay=".2" set="Ascetic" />
                </elseif>
            </if>
        </rules>
    </spellcast>


    I would appreciate any help, thanks ahead of time.
    That entire file is a fucking mess. But my guess is that most of your sets do not have a baseset, causing weird things to happen with your gear switching. Also the rules look a bit jumbled, which is probably causing it problems. Also your delays are way too long, you only need .2.

  3. #343
    Hydra
    Join Date
    Aug 2007
    Posts
    118
    BG Level
    3

    Not exactly the reply I was hoping for here but it prompted me to get off my ass and write my own xml instead of changing another person's around. Its much simpler, but it works great. So in that sense, thank you!

  4. #344
    D. Ring
    Join Date
    Feb 2007
    Posts
    4,736
    BG Level
    7
    FFXI Server
    Quetzalcoatl

    Any good templates for rdm and whm? I'm prettymuch gonna jump off the deep end here and learn from the template. when I've learned something from that i can remake or organize my own better for other jobs. Stuff with lots of comments would be preferable but it aint your job to make shit easy for me so it doesn't matter much.
    Edit: and brd too. those 3 seem like good ones for practice.

  5. #345
    Mrp
    Mrp is offline
    New Merits
    Join Date
    Jun 2006
    Posts
    226
    BG Level
    4

    I have a General Question about Spellcast : in this Rule Example.

    <if CommandPrefix="/ws|/weaponskill" HPPGT="74" >
    <action type="equip" when="Aftercast" Set="Standard" />
    </if>

    Basictly i can read :
    If BEFORE your weapons skills your HP is Greater then 74, Aftercast equip Standard.

    My question is, How could i write rule that would mean
    If AFTER you weapons skills your HP is Greater then 74, Aftercast equip Standard.

    Thx

  6. #346
    New Merits
    Join Date
    Feb 2008
    Posts
    220
    BG Level
    4

    Actually I think it reads:

    If *WHEN* you WS and your HP is GT 74%, then after WS equip Standard.

    If you need to equip anything before (precast), I believe spellcast delays the WS to run equipment swaps before it gets used - There is no before/after.

  7. #347
    Cerberus
    Join Date
    Jan 2009
    Posts
    465
    BG Level
    4
    FFXIV Character
    Bik Pik
    FFXIV Server
    Hyperion
    FFXI Server
    Cerberus

    Code:
    <if CommandPrefix="/ws|/weaponskill">
    <action type="equip" when="Precast" Set="WS" />
    <if HPPGT="74" 
    <action type="equip" when="Aftercast" Set="Standard" />
    </if>
    <else>
    <action type="equip" when="Aftercast" Set="differentset" />
    </else>
    </if>
    I think this is what you're looking for, this will equip the set standard if your HP is > 74%, if it's less then it'll equip the set "differentset" so you can just change the name of that different set.

  8. #348
    Sea Torques
    Join Date
    Nov 2007
    Posts
    548
    BG Level
    5
    FFXI Server
    Cerberus

    Feel noobish for the basic questions, but how do I implement a dark magic set and a fast cast set into casting drain/drainII/aspir?

    Also, how about an HP set for dread spikes?

  9. #349
    Flowery Twats
    Join Date
    Jul 2008
    Posts
    3,583
    BG Level
    7

    Having some trouble with my spellcast on Thief.
    Basically I use a //sc set %StatusSet in my /target macro,
    When I'm not engaged it swaps in my idle stuff, if I had a resting set it would swap in that when I'm resting too. That all works fine.

    What it should do is swap in my TP gear if I'm engaged, the thing is my TP gear changes depending on my subjob, if nin I use DW/Acc mirke and suppa, if some other sub it uses Pixie and Homam body.
    I want it to swap in whichever one depending on my subjob (/Nin or not /Nin) but atm it only swaps in the NotNIN set. If I switch the "TP" from "TP|TP-NotNIN" into the "TP|TP-NIN" set then it only uses that one. If I remove it completely it says "did not find set TP" etc.

    Here's the code in question:
    Code:
    			<set name="TP|TP-NotNIN">
    				<head>Anwig Salade</head>
    				<neck>Love Torque</neck>
    				<lear>Pixie Earring</lear>
    				<rear>Brutal Earring</rear>
    				<body>Homam Corazza</body>
    				<hands>Homam Manopolas</hands>
    				<lring>Sniper's Ring</lring>
    				<rring>Rajas Ring</rring>
    				<back>Forager's Mantle</back>
    				<waist>Swift Belt</waist>
    				<legs>Enkidu's Subligar</legs>
    				<feet>Homam Gambieras</feet>
    			</set>
    			<set name="TP-NIN" BaseSet="TP-NotNIN">
    				<body>Mirke Wardecors</body>
    				<lear>Suppanomimi</lear>
    			</set>
    			<set name="Haste" BaseSet="TP-$subjobSet">
    				<head>Walahra Turban</head>
    				<body>Rapparee Harness</body>
    				<legs>Bravo's Subligar</legs>
    			</set>
    Code:
    <if spell="autoset">
    	<if status="Engaged">
    		<if BuffActive="Sneak Attack">
    			<if BuffActive="Trick Attack">
    				<action type="equip" when="Engaged" set="SATA" />
    			</if>
    			<elseif BuffActive="Victory March">
    					<action type="equip" when="Engaged" set="HasteSA" />
    			</elseif>
    			<else>
    					<action type="equip" when="Engaged" set="SA" />
    			</else>
    		</if>
    		<elseif BuffActive="Trick Attack">
    			<action type="equip" when="Engaged" set="TA" />
    		</elseif>
    		<else>
    			<action type="equip" when="Engaged" set="TP-$subjobSet" />
    		</else>
    	</if>
    	<action type="equip" when="idle" set="Idle" />
    	<action type="return" />
    </if>
    Code:
    <variables>
    	<var name="EngagedSet">TP</var>
    	<var name="IdleSet">Idle</var>
    	<var name="subjobSet">NIN</var>
    </variables>
    Know how I can make that work?

    When I remove the "TP" and name the two sets just "TP-NIN" and "TP-NotNIN" and then type //sc set TP-$subjobSet it either says "can not find set TP" or it crashes the game

    Halp D:

  10. #350
    Bagel
    Join Date
    Oct 2006
    Posts
    1,272
    BG Level
    6
    FFXIV Character
    Midnightjade Eleven
    FFXIV Server
    Midgardsormr
    FFXI Server
    Quetzalcoatl

    Does anyone have a good WHM xml that incorporates Dryad Staff? I got the drop by accident last week since I went to help a friend with Roc late one night.

    Since I have the staff and am actually finishing up WHM, I figure I might as well use it.

    I already wrote a script that switches it out for Terra's in idle/aftercast once the extra MP is gone, but need advice on how to deal with it when refilling MP pool.

    General advice welcome. Thanks.

  11. #351
    Cerberus
    Join Date
    Jan 2009
    Posts
    465
    BG Level
    4
    FFXIV Character
    Bik Pik
    FFXIV Server
    Hyperion
    FFXI Server
    Cerberus

    Quote Originally Posted by noodles355 View Post
    Having some trouble with my spellcast on Thief.
    Basically I use a //sc set %StatusSet in my /target macro,
    When I'm not engaged it swaps in my idle stuff, if I had a resting set it would swap in that when I'm resting too. That all works fine.

    What it should do is swap in my TP gear if I'm engaged, the thing is my TP gear changes depending on my subjob, if nin I use DW/Acc mirke and suppa, if some other sub it uses Pixie and Homam body.
    I want it to swap in whichever one depending on my subjob (/Nin or not /Nin) but atm it only swaps in the NotNIN set. If I switch the "TP" from "TP|TP-NotNIN" into the "TP|TP-NIN" set then it only uses that one. If I remove it completely it says "did not find set TP" etc.

    Here's the code in question:
    Code:
    			<set name="TP">
    				<head>Anwig Salade</head>
    				<neck>Love Torque</neck>
    				<lear>Pixie Earring</lear>
    				<rear>Brutal Earring</rear>
    				<body>Homam Corazza</body>
    				<hands>Homam Manopolas</hands>
    				<lring>Sniper's Ring</lring>
    				<rring>Rajas Ring</rring>
    				<back>Forager's Mantle</back>
    				<waist>Swift Belt</waist>
    				<legs>Enkidu's Subligar</legs>
    				<feet>Homam Gambieras</feet>
    			</set>
    			<set name="NIN" BaseSet="TP">
    				<body>Mirke Wardecors</body>
    				<lear>Suppanomimi</lear>
    			</set>
    			<set name="Haste">
    				<head>Walahra Turban</head>
    				<body>Rapparee Harness</body>
    				<legs>Bravo's Subligar</legs>
    			</set>
    Code:
    <if spell="autoset">
    	<if status="Engaged">
    		<if BuffActive="Sneak Attack">
    			<if BuffActive="Trick Attack">
    				<action type="equip" when="Engaged" set="SATA" />
    			</if>
    			<elseif BuffActive="Victory March">
    					<action type="equip" when="Engaged" set="HasteSA" />
    			</elseif>
    			<else>
    					<action type="equip" when="Engaged" set="SA" />
    			</else>
    		</if>
    		<elseif BuffActive="Trick Attack">
    			<action type="equip" when="Engaged" set="TA" />
    		</elseif>
    		<else>
                            <if subjob="nin">
    			<action type="equip" when="Engaged" set="nin" />
                            </if>
                            <else>
    			<action type="equip" when="Engaged" set="tp" />
                            </else>
    		</else>
    	</if>
    	<action type="equip" when="idle" set="Idle" />
    	<action type="return" />
    </if>
    Know how I can make that work?

    When I remove the "TP" and name the two sets just "TP-NIN" and "TP-NotNIN" and then type //sc set TP-$subjobSet it either says "can not find set TP" or it crashes the game

    Halp D:
    With this, you'd have to put a rule after specific actions for example: (rough example)

    Code:
    <if prefix="/ws">
    <equip when = "precast" set = "ws">
    <if subjob="nin">
    <equip when="aftercast" set="nin">
    </if>
    <else>
    <equip when="aftercast" set="tp">
    </else>
    </if>
    You have to place the bolded section after every rule you want SC to pick up your subjob(ws, or ranged)

    I'm not 100% sure of you could place the subjob rule anywhere to encompass every action, but this is what i do for cor.

  12. #352
    Flowery Twats
    Join Date
    Jul 2008
    Posts
    3,583
    BG Level
    7

    Hmm, is that the only way? To use a load of aftercasts =/?
    I dont use any aftercasts on thf, unlike drg, rdm and brd. The problem is I can't use Aftercast commands for sneak and trick attacks, so even if I put aftercasts in for everything else, like you show, then i'm still boned for the innitial engage swap and for anytime after SA or TA.

  13. #353
    Cerberus
    Join Date
    Jan 2009
    Posts
    465
    BG Level
    4
    FFXIV Character
    Bik Pik
    FFXIV Server
    Hyperion
    FFXI Server
    Cerberus

    Quote Originally Posted by noodles355 View Post
    Hmm, is that the only way? To use a load of aftercasts =/?
    I dont use any aftercasts on thf, unlike drg, rdm and brd. The problem is I can't use Aftercast commands for sneak and trick attacks, so even if I put aftercasts in for everything else, like you show, then i'm still boned for the innitial engage swap and for anytime after SA or TA.
    It isn't the only way, it's just a way. You could always use autoexec for sneak/trick attacks

    http://www.windower.net/plugins/spel...f/ineptvagrant

    this is what I use for my thf.

  14. #354
    Banned.

    Join Date
    Jan 2006
    Posts
    6,859
    BG Level
    8

    Ok so Im having problems with my SC scripts doing actions based on events (like idle, engaged, resting). Can someone tell me what I'm missing?

    Here is my thf code for instance, with the event based rules (changing between sets based on status) at the beginning of the rules section.

    Code:
    <spellcast>
        <config/>
    	<sets>
            <group name="shared" default="yes">
    
    <!--Standard TP, low evasion mobs/Pizza/sushu, needs V.belt-->
    
                <set name="Haste_TP">
                    <head>Walahra Turban</head>
                    <neck>Love torque</neck>
                    <lear>Suppanomimi</lear>
                    <rear>Brutal earring</rear>
                    <body>Enkidu's harness</body>
                    <hands>Homam manopolas</hands>
                    <lring>Ulthalam's ring</lring>
                    <rring>Iota ring</rring>
                    <waist>Swift Belt</waist>
                    <legs>Homam Cosciales</legs>
                    <feet>Homam Gambieras</feet>
                    <back>Forager's mantle</back>
                </set>
    
    <!--Swap to standing set when not engaged, add regen gear-->
    		<set name="Standing" baseset="Haste_TP">
    			<feet>Trotter boots</feet>
    		</set>
    
    <!--Haste set for Utsusemi-->
                <set name="haste" baseset="Haste_TP">
                  	<rear>Loquac. Earring</rear>
    			<body>Enkidu's harness</body>
    			<back>Boxer's mantle</back>
                </set>
    		
    <!--Unstacked TA set, upgrade AGI earrings-->
                <set name="trick attack" baseset="Haste_TP">
                    <body>Enkidu's harness</body>
                    <hands>Rog. Armlets +1</hands>
                    <legs>War Brais</legs>
                    <feet>Enkidu's leggings</feet>
                    <lring>Sattva Ring</lring>
    		    <rring>Iota Ring</rring>
    		    <neck>Hope Torque</neck>
    		    <head>Denali bonnet</head>
    		    <waist>Scouter's Rope</waist>
    		    <rear>Drone Earring</rear>
                </set>
    
    <!--Unstacked SA set, Get Relic hat, pixie earring, better rings -->
                <set name="sneak attack" baseset="Haste_TP">
                    <body>Dragon Harness</body>
                    <legs>Enkidu's subligar</legs>
    		    <hands>Enkidu's Mittens</hands>
                    <feet>Enkidu's leggings</feet>
                    <waist>Warwolf Belt</waist>
    		    <rring>Iota Ring</rring>
                    <lring>Spinel Ring</lring>
    		    <head>Enkidu's Cap</head>
    		    <neck>Love torque</neck>
    		    <lear>Delta Earring</lear>
                </set>
    
                <set name="steal" baseset="Haste_TP">
                    <head>Rogue's Bonnet</head>
                    <hands>Thief's Kote</hands>
                    <legs>Rogue's Culotte</legs>
                    <feet>Rogue's Poulaines</feet>
                    <waist>Key Ring Belt</waist>
                </set>
    
    <!--WS set: Needs work.. High/low Acc builds, str/dex rings, etc.-->
    		<set name="ws" baseset="Haste_TP">
    			<head>Hecatomb cap</head>
    					<neck>Love torque</neck>
    					 <body>Enkidu's harness</body>
      					<hands>Enkidu's Mittens</hands>
    					<legs>Enkidu's subligar</legs>
    					<waist>Warwolf belt</waist>
    					<feet>Hct. Leggings</feet>
    					<lring>Ulthalam's ring</lring>
    					<rring>Iota Ring</rring>
    					<lear>Delta Earring</lear>
    					<back>Forager's mantle</back>
    
    		</set>
    
    
    <!--Ranged set: Better ranged body/legs? ->
    			<set name="ranged" baseset="Haste_TP">
    				<head>Optical Hat</head>
    				<hands>Enkidu's Mittens</hands>
    				<lring>Behemoth Ring</lring>
    				<rring>Behemoth Ring</rring>			
    				<legs>War Brais</legs>
    				<body>Enkidu's harness</body>
    				<neck>Faith torque</neck>
    				<waist>Buccaneer's Belt</waist>
    				<back>Jaeger Mantle</back>
    			</set>
    
    <!--Obvious use, adds 15 seconds to flee-->
    			<set name="flee" baseset="Haste_TP">
    				<feet>Rogue's Poulaines</feet>
    			</set>
            </group>
    
    <!--TH Group, same as normal Haste_TP, just keeps TH hands on!!-->
    		<group name="TH" inherent="shared">
    			<set name="Haste_TP">
                  		<hands>Assassin's Armlets</hands>
    			</set>
                </group>
    
    <!--Acc build! Need better acc rings, Ancient's Torque.-->
    	  	<group name="ACC_TP" inherit="shared">
    			<set name="Haste_TP">
    				<back>Cuchulain's Mantle</back>
    				<body>Homam Corazza</body>			
    			</set>
    		</group>
    
    <!--Need Evasion rings-->
    		<group name="evasion" inherit="shared">
    			<set name="Haste_TP">
                    		<head>Optical Hat</head>
                    		<back>Boxer's Mantle</back>
    				<hands>War Gloves</hands>
    		    		<body>Enkidu's harness</body>
    				<feet>Dance shoes</feet>
    				<lear>Ethereal earring</lear>
    				<rear>Novia earring</rear>	
    				<neck>Evasion Torque</neck>
    				<legs>Raven hose</legs>
    				<waist>Scouter's Rope</waist>
    			</set>
    		</group>
    
    <!--For lower end mobs soloing, mix of evasion and haste/acc-->
    		<group name="Hybrid" inherit="shared">
    			<set name="Haste_TP">
         		    		<back>Boxer's Mantle</back>
    				<body>Enkidu's harness</body>
    				<head>Denali bonnet</head>
    			</set>
    		</group>		
    				
    	</sets>
    <rules>
    
    
    <!--This will be caught by autoset events-->
    <if spell="autoset">
    	 <equip when="engaged" set="Haste_TP" />
           <equip when="idle" set="Standing" />
           <action type="return" />
    </if>
    
     <variables>
            <var name="Ut">Ichi</var>
        </variables>
    
    	<if spell="Utsusemi:*">
                    <if spell="*Ichi">
                        <if advanced='"$Ut"=="Ni"'>
                            <action type="midcastdelay" delay="2.8" />
                            <action type="Command" when="midcast">cancel 66	</action>
                        </if>
                        <action type="var" cmd="set Ut Ichi" />
                    </if>
                    <else>
                        <action type="var" cmd="set Ut Ni" />
                    </else>
          </if>
    
    
    
    
    
    <if spell = "Utsusemi*">	
        <if status="Engaged">
              <equip when="aftercast" set="Haste_TP" />
        </if>
        <elseif status="Idle">
              <equip when="aftercast" set="Standing" />
        </elseif>
        <action type = "equip" when = "precast" set = "haste"/>
    </if>
    <elseif Type = "JobAbility">
    	<if spell="Flee">
    		<action type="defaulttarget" target="&lt;me&gt;" />
    		<action type="equip" when="precast" set="flee" />
    		<action type="castdelay" delay="1" />
    		<action type="equip" when="aftercast" set="Standing" />
    	</if>
    	<elseif Spell = "Steal">
            <action type = "equip" when = "Precast" Set = "Steal"/>
    		<action type="castdelay" delay="1" />
        </elseif>
    	<elseif spell="Sneak Attack">
    		<action type="aftercastdelay" delay="4.0" />
    		<if buffActive="Trick Attack">
    			<action type="equip" when="precast" set="sneak attack"/>
    		</if>
    		<else>
    			<action type="equip" when="precast" set="sneak attack"/>
    		</else>
    	</elseif>
    	<elseif spell="Trick Attack">
    		<action type="aftercastdelay" delay="4.0" />
    		<if buffActive="Sneak Attack">
    			<action type="equip" when="precast" set="sneak attack"/>
    		</if>
    		<else>
    			<action type="equip" when="precast" set="trick attack"/>
    		</else>
    	</elseif>
    </elseif>
    
    <if spell="ranged">
    	<action type="equip" when="midcast" set="ranged" />
    	<if status="Engaged">
              <equip when="aftercast" set="Haste_TP" />
          </if>
          <elseif status="Idle">
               <equip when="aftercast" set="Standing" />
          </elseif>
    	<action type="aftercastdelay" delay="3.5" />
    </if>
    <if Type = "WeaponSkill">
    	<if TPGT="99" advanced='%SpellTargetDistance &lt; 5.0'>
    		<if spell="Dancing Edge|Evisceration">
    			<if buffActive="Sneak Attack">
    				<action type ="equip" set="ws">
    					<neck>Love torque</neck>
    					<head>Hecatomb cap</head>
    				 <body>Enkidu's harness</body>
      					<hands>Enkidu's Mittens</hands>
    					<legs>Enkidu's subligar</legs>
    					<waist>Warwolf belt</waist>
    					<feet>Hct. Leggings</feet>
    					<lring>Spinel Ring</lring>
    					<rring>Iota Ring</rring>
    				</action>
    			</if>
    			<elseif buffActive="Trick Attack">
    				<action type ="equip" set="ws">
    					<body>Enkidu's harness</body>		
    				</action>
    			</elseif>
    			<else>
    				<action type ="equip" set="ws">
    				<neck>Soil Gorget</neck>
    			</action>
    			</else>
    		</if>
    		<elseif spell="Shark Bite">
    			<action type ="equip" set="ws">
    				<neck>Breeze Gorget</neck>
    			</action>
    		</elseif>
    		<else>
    			<action type="equip" when="precast" set="ws"/>
    			<action type = "castdelay" delay = "1"/>
    		</else>
    	</if>
    	<else>
    		<action type="cancelspell" />
    	</else>
    </if>	
    <action type ="equip" when="aftercast" set="Haste_TP"/>
    </rules>
    </spellcast>
    Any ideas why this isnt working?

  15. #355
    Cerberus
    Join Date
    Jan 2009
    Posts
    465
    BG Level
    4
    FFXIV Character
    Bik Pik
    FFXIV Server
    Hyperion
    FFXI Server
    Cerberus

    Quote Originally Posted by Neosutra View Post
    Ok so Im having problems with my SC scripts doing actions based on events (like idle, engaged, resting). Can someone tell me what I'm missing?

    Here is my thf code for instance, with the event based rules (changing between sets based on status) at the beginning of the rules section.

    Code:
    <spellcast>
        <config/>
    	<sets>
            <group name="shared" default="yes">
    
    <!--Standard TP, low evasion mobs/Pizza/sushu, needs V.belt-->
    
                <set name="Haste_TP">
                    <head>Walahra Turban</head>
                    <neck>Love torque</neck>
                    <lear>Suppanomimi</lear>
                    <rear>Brutal earring</rear>
                    <body>Enkidu's harness</body>
                    <hands>Homam manopolas</hands>
                    <lring>Ulthalam's ring</lring>
                    <rring>Iota ring</rring>
                    <waist>Swift Belt</waist>
                    <legs>Homam Cosciales</legs>
                    <feet>Homam Gambieras</feet>
                    <back>Forager's mantle</back>
                </set>
    
    <!--Swap to standing set when not engaged, add regen gear-->
    		<set name="Standing" baseset="Haste_TP">
    			<feet>Trotter boots</feet>
    		</set>
    
    <!--Haste set for Utsusemi-->
                <set name="haste" baseset="Haste_TP">
                  	<rear>Loquac. Earring</rear>
    			<body>Enkidu's harness</body>
    			<back>Boxer's mantle</back>
                </set>
    		
    <!--Unstacked TA set, upgrade AGI earrings-->
                <set name="trick attack" baseset="Haste_TP">
                    <body>Enkidu's harness</body>
                    <hands>Rog. Armlets +1</hands>
                    <legs>War Brais</legs>
                    <feet>Enkidu's leggings</feet>
                    <lring>Sattva Ring</lring>
    		    <rring>Iota Ring</rring>
    		    <neck>Hope Torque</neck>
    		    <head>Denali bonnet</head>
    		    <waist>Scouter's Rope</waist>
    		    <rear>Drone Earring</rear>
                </set>
    
    <!--Unstacked SA set, Get Relic hat, pixie earring, better rings -->
                <set name="sneak attack" baseset="Haste_TP">
                    <body>Dragon Harness</body>
                    <legs>Enkidu's subligar</legs>
    		    <hands>Enkidu's Mittens</hands>
                    <feet>Enkidu's leggings</feet>
                    <waist>Warwolf Belt</waist>
    		    <rring>Iota Ring</rring>
                    <lring>Spinel Ring</lring>
    		    <head>Enkidu's Cap</head>
    		    <neck>Love torque</neck>
    		    <lear>Delta Earring</lear>
                </set>
    
                <set name="steal" baseset="Haste_TP">
                    <head>Rogue's Bonnet</head>
                    <hands>Thief's Kote</hands>
                    <legs>Rogue's Culotte</legs>
                    <feet>Rogue's Poulaines</feet>
                    <waist>Key Ring Belt</waist>
                </set>
    
    <!--WS set: Needs work.. High/low Acc builds, str/dex rings, etc.-->
    		<set name="ws" baseset="Haste_TP">
    			<head>Hecatomb cap</head>
    					<neck>Love torque</neck>
    					 <body>Enkidu's harness</body>
      					<hands>Enkidu's Mittens</hands>
    					<legs>Enkidu's subligar</legs>
    					<waist>Warwolf belt</waist>
    					<feet>Hct. Leggings</feet>
    					<lring>Ulthalam's ring</lring>
    					<rring>Iota Ring</rring>
    					<lear>Delta Earring</lear>
    					<back>Forager's mantle</back>
    
    		</set>
    
    
    <!--Ranged set: Better ranged body/legs? ->
    			<set name="ranged" baseset="Haste_TP">
    				<head>Optical Hat</head>
    				<hands>Enkidu's Mittens</hands>
    				<lring>Behemoth Ring</lring>
    				<rring>Behemoth Ring</rring>			
    				<legs>War Brais</legs>
    				<body>Enkidu's harness</body>
    				<neck>Faith torque</neck>
    				<waist>Buccaneer's Belt</waist>
    				<back>Jaeger Mantle</back>
    			</set>
    
    <!--Obvious use, adds 15 seconds to flee-->
    			<set name="flee" baseset="Haste_TP">
    				<feet>Rogue's Poulaines</feet>
    			</set>
            </group>
    
    <!--TH Group, same as normal Haste_TP, just keeps TH hands on!!-->
    		<group name="TH" inherent="shared">
    			<set name="Haste_TP">
                  		<hands>Assassin's Armlets</hands>
    			</set>
                </group>
    
    <!--Acc build! Need better acc rings, Ancient's Torque.-->
    	  	<group name="ACC_TP" inherit="shared">
    			<set name="Haste_TP">
    				<back>Cuchulain's Mantle</back>
    				<body>Homam Corazza</body>			
    			</set>
    		</group>
    
    <!--Need Evasion rings-->
    		<group name="evasion" inherit="shared">
    			<set name="Haste_TP">
                    		<head>Optical Hat</head>
                    		<back>Boxer's Mantle</back>
    				<hands>War Gloves</hands>
    		    		<body>Enkidu's harness</body>
    				<feet>Dance shoes</feet>
    				<lear>Ethereal earring</lear>
    				<rear>Novia earring</rear>	
    				<neck>Evasion Torque</neck>
    				<legs>Raven hose</legs>
    				<waist>Scouter's Rope</waist>
    			</set>
    		</group>
    
    <!--For lower end mobs soloing, mix of evasion and haste/acc-->
    		<group name="Hybrid" inherit="shared">
    			<set name="Haste_TP">
         		    		<back>Boxer's Mantle</back>
    				<body>Enkidu's harness</body>
    				<head>Denali bonnet</head>
    			</set>
    		</group>		
    				
    	</sets>
     <variables>
            <var name="Ut">Ichi</var>
        </variables>
    
    
    <rules>
    
    
    <!--This will be caught by autoset events-->
    <if spell="autoset">
    	 <equip when="engaged" set="Haste_TP" />
           <equip when="idle" set="Standing" />
           <action type="return" />
    </if>
    
    
    	<if spell="Utsusemi:*">
                    <if spell="*Ichi">
                        <if advanced='"$Ut"=="Ni"'>
                            <action type="midcastdelay" delay="2.8" />
                            <action type="Command" when="midcast">cancel 66	</action>
                        </if>
                        <action type="var" cmd="set Ut Ichi" />
                    </if>
                    <else>
                        <action type="var" cmd="set Ut Ni" />
                    </else>
          </if>
    
    
    
    
    
    <if spell = "Utsusemi*">	
        <if status="Engaged">
              <equip when="aftercast" set="Haste_TP" />
        </if>
        <elseif status="Idle">
              <equip when="aftercast" set="Standing" />
        </elseif>
        <action type = "equip" when = "precast" set = "haste"/>
    </if>
    <elseif Type = "JobAbility">
    	<if spell="Flee">
    		<action type="defaulttarget" target="&lt;me&gt;" />
    		<action type="equip" when="precast" set="flee" />
    		<action type="castdelay" delay="1" />
    		<action type="equip" when="aftercast" set="Standing" />
    	</if>
    	<elseif Spell = "Steal">
            <action type = "equip" when = "Precast" Set = "Steal"/>
    		<action type="castdelay" delay="1" />
        </elseif>
    	<elseif spell="Sneak Attack">
    		<action type="aftercastdelay" delay="4.0" />
    		<if buffActive="Trick Attack">
    			<action type="equip" when="precast" set="sneak attack"/>
    		</if>
    		<else>
    			<action type="equip" when="precast" set="sneak attack"/>
    		</else>
    	</elseif>
    	<elseif spell="Trick Attack">
    		<action type="aftercastdelay" delay="4.0" />
    		<if buffActive="Sneak Attack">
    			<action type="equip" when="precast" set="sneak attack"/>
    		</if>
    		<else>
    			<action type="equip" when="precast" set="trick attack"/>
    		</else>
    	</elseif>
    </elseif>
    
    <if spell="ranged">
    	<action type="equip" when="midcast" set="ranged" />
    	<if status="Engaged">
              <equip when="aftercast" set="Haste_TP" />
          </if>
          <elseif status="Idle">
               <equip when="aftercast" set="Standing" />
          </elseif>
    	<action type="aftercastdelay" delay="3.5" />
    </if>
    <if Type = "WeaponSkill">
    	<if TPGT="99" advanced='%SpellTargetDistance &lt; 5.0'>
    		<if spell="Dancing Edge|Evisceration">
    			<if buffActive="Sneak Attack">
    				<action type ="equip" set="ws">
    					<neck>Love torque</neck>
    					<head>Hecatomb cap</head>
    				 <body>Enkidu's harness</body>
      					<hands>Enkidu's Mittens</hands>
    					<legs>Enkidu's subligar</legs>
    					<waist>Warwolf belt</waist>
    					<feet>Hct. Leggings</feet>
    					<lring>Spinel Ring</lring>
    					<rring>Iota Ring</rring>
    				</action>
    			</if>
    			<elseif buffActive="Trick Attack">
    				<action type ="equip" set="ws">
    					<body>Enkidu's harness</body>		
    				</action>
    			</elseif>
    			<else>
    				<action type ="equip" set="ws">
    				<neck>Soil Gorget</neck>
    			</action>
    			</else>
    		</if>
    		<elseif spell="Shark Bite">
    			<action type ="equip" set="ws">
    				<neck>Breeze Gorget</neck>
    			</action>
    		</elseif>
    		<else>
    			<action type="equip" when="precast" set="ws"/>
    			<action type = "castdelay" delay = "1"/>
    		</else>
    	</if>
    	<else>
    		<action type="cancelspell" />
    	</else>
    </if>	
    <action type ="equip" when="aftercast" set="Haste_TP"/>
    </rules>
    </spellcast>
    Any ideas why this isnt working?
    Your variables section was within your rules section

  16. #356
    Banned.

    Join Date
    Jan 2006
    Posts
    6,859
    BG Level
    8

    That just effects the utsu casting and that is working just fine. Im just having problems with event based commands (i.e. going from idling to engaged, etc).

    Cant figure it out >.<.

  17. #357
    Cerberus
    Join Date
    Feb 2006
    Posts
    456
    BG Level
    4

    Quote Originally Posted by Neosutra View Post
    That just effects the utsu casting and that is working just fine. Im just having problems with event based commands (i.e. going from idling to engaged, etc).

    Cant figure it out >.<.
    You may need to duplicate what you have in autoset outside. I found that I was not switching properly after ws, etc because actions are not caught by autoset.


    The only other thing I can think of is to use

    <if Advanced='"%Status"="Engaged"'>
    etc...

  18. #358
    Sea Torques
    Join Date
    Jul 2009
    Posts
    679
    BG Level
    5
    FFXI Server
    Leviathan

    Replace this:

    Code:
    <if spell="autoset">
    	 <equip when="engaged" set="Haste_TP" />
           <equip when="idle" set="Standing" />
           <action type="return" />
    </if>
    with this:

    Code:
    <equip when="engaged" set="Haste_TP" />
    <equip when="idle" set="Standing" />
    FYI: Aftercast is not the same as Idle. Idle is what happes after you exit Engaged or Resting status. Sets named "Idle", "Resting", and "Engaged":

    Code:
    		<equip when="Idle|Aftercast" set="%status" />
    		<equip when="Engaged" set="Engaged" />

  19. #359
    Flowery Twats
    Join Date
    Jul 2008
    Posts
    3,583
    BG Level
    7

    Just quickly, I think the problem might have been the variable:
    <var name="EngagedSet">TP</var>
    When it should be:
    <var name="EngagedSet">TP-%subjobSet</var>

    With that, would my original code work?:

    Reminder of bits in question:

    Code:
    			<set name="TP-NotNIN">
    				<head>Anwig Salade</head>
    				<neck>Love Torque</neck>
    				<lear>Pixie Earring</lear>
    				<rear>Brutal Earring</rear>
    				<body>Homam Corazza</body>
    				<hands>Homam Manopolas</hands>
    				<lring>Sniper's Ring</lring>
    				<rring>Rajas Ring</rring>
    				<back>Forager's Mantle</back>
    				<waist>Swift Belt</waist>
    				<legs>Enkidu's Subligar</legs>
    				<feet>Homam Gambieras</feet>
    			</set>
    			<set name="TP-NIN" BaseSet="TP-NotNIN">
    				<body>Mirke Wardecors</body>
    				<lear>Suppanomimi</lear>
    			</set>
    			<set name="Haste" BaseSet="TP-$subjobSet">
    				<head>Walahra Turban</head>
    				<body>Rapparee Harness</body>
    				<legs>Bravo's Subligar</legs>
    			</set>
    Code:
    <if spell="autoset">
    	<if status="Engaged">
    		<if BuffActive="Sneak Attack">
    			<if BuffActive="Trick Attack">
    				<action type="equip" when="Engaged" set="SATA" />
    			</if>
    			<elseif BuffActive="Victory March">
    					<action type="equip" when="Engaged" set="HasteSA" />
    			</elseif>
    			<else>
    					<action type="equip" when="Engaged" set="SA" />
    			</else>
    		</if>
    		<elseif BuffActive="Trick Attack">
    			<action type="equip" when="Engaged" set="TA" />
    		</elseif>
    		<else>
    			<action type="equip" when="Engaged" set="TP-$subjobSet" />
    		</else>
    	</if>
    	<action type="equip" when="idle" set="Idle" />

  20. #360
    Banned.

    Join Date
    Jan 2006
    Posts
    6,859
    BG Level
    8

    Quote Originally Posted by Cymmina View Post
    Replace this:

    Code:
    <if spell="autoset">
    	 <equip when="engaged" set="Haste_TP" />
           <equip when="idle" set="Standing" />
           <action type="return" />
    </if>
    with this:

    Code:
    <equip when="engaged" set="Haste_TP" />
    <equip when="idle" set="Standing" />
    FYI: Aftercast is not the same as Idle. Idle is what happes after you exit Engaged or Resting status. Sets named "Idle", "Resting", and "Engaged":

    Code:
    		<equip when="Idle|Aftercast" set="%status" />
    		<equip when="Engaged" set="Engaged" />
    Sweet thanx! Should that go at the beginning or end of the rules section?

Page 18 of 24 FirstFirst ... 8 16 17 18 19 20 ... LastLast

Similar Threads

  1. FL - The Price is Right - Please help
    By Tajin in forum FFXI: Everything
    Replies: 64
    Last Post: 2008-07-01, 09:52
  2. Wings Of The Goddess .dat files
    By Shiriokumo in forum FFXI: Everything
    Replies: 1
    Last Post: 2007-11-21, 16:52
  3. The hills are alive, please help me out.
    By Ligro in forum FFXI: Everything
    Replies: 25
    Last Post: 2006-05-01, 19:29
  4. THE 4 NATION/KEY ITEMS I NEED THREAD
    By berticus in forum FFXI: Everything
    Replies: 71
    Last Post: 2004-09-23, 21:14