Item Search
     
BG-Wiki Search
Page 208 of 328 FirstFirst ... 158 198 206 207 208 209 210 218 258 ... LastLast
Results 4141 to 4160 of 6548
  1. #4141
    An exploitable mess of a card game
    Join Date
    Sep 2008
    Posts
    13,197
    BG Level
    9
    FFXIV Character
    Gouka Mekkyaku
    FFXIV Server
    Gilgamesh
    FFXI Server
    Diabolos

    Looking at the XML, the problem is that you're trying to 2 conflicting demands at the same time.

    Code:
            <equip when="engaged|idle|aftercast" set="idle" />
            <equip when="engaged|aftercast" set="tp" />
    If you engage the mob, you're telling the XML to equip idle AND tp. If you aftercast (Finish casting or using a JA), you're telling the XML to equip idle and tp again.

    To resolve this, do:

    <if status="idle">
    <equip when="engaged|idle|aftercast" set="idle" />
    </if>
    <elseif status="engaged">
    <equip when="engaged|aftercast" set="tp" />
    </elseif>

    The difference between 'when' and 'status':

    When: Is about the instant an action happens. So 'when=engaged' is just the moment you draw your weapon.

    Status: Is about your current state. So 'status=engaged' is everything from the moment you draw your weapon until you disengage.

  2. #4142
    Banned.

    Join Date
    Jul 2007
    Posts
    10,330
    BG Level
    9

    Ah I will try that out. I had the 2nd line of code in my examples first, and it didn't work so I tried to fix it poorly I suppose. I can't get on BLU at the moment but hopefully I have no other issues.

  3. #4143
    xXNyteFyreXx420Sharingan
    Join Date
    May 2009
    Posts
    3,709
    BG Level
    7
    FFXI Server
    Fenrir

    Quote Originally Posted by Haborym View Post
    This should work if I want to make sure I never have a MDT or PDT set on when I have Magical, or Physical Shield up, right?
    At a glance it should. I don't recommend disabling MDT gear with Magic Shield on though since it doesn't block magic damage TP moves.

    EDIT: lol @ me for thinking I'm actually going to get anything related to FFXI done on my current schedule, but a quick question. I'm updating my old xmls and potentially starting a couple new ones, is there any real value to Souleater sets for DRK these days or am I correct in thinking that gear doesn't really change based on Souleater up/down at this point in time?

  4. #4144
    Banned.

    Join Date
    Jul 2007
    Posts
    10,330
    BG Level
    9

    I don't use an HP build or my AF1 head, if that's what you mean. I just ride it out in proper TP gear and hope I get cured/use potions if not.

  5. #4145
    Salvage Bans
    Join Date
    Mar 2010
    Posts
    769
    BG Level
    5
    FFXI Server
    Leviathan

    Quote Originally Posted by Nightfyre View Post
    At a glance it should. I don't recommend disabling MDT gear with Magic Shield on though since it doesn't block magic damage TP moves.

    EDIT: lol @ me for thinking I'm actually going to get anything related to FFXI done on my current schedule, but a quick question. I'm updating my old xmls and potentially starting a couple new ones, is there any real value to Souleater sets for DRK these days or am I correct in thinking that gear doesn't really change based on Souleater up/down at this point in time?
    Good call, I didn't even think about the magical damage TP moves. I changed it a little after I posted anyways, I think this way works better.

    Spoiler: show
    Code:
    <!-- Equip PDT (Barbed Crescent) -->
    <elseif Spell="Barbed Crescent">
    	<cancelspell />
    	<if advanced='"$Armor" == "$PDT"'>
            <var cmd="set Armor BlankSet" />
        </if>
        <else NotBuffActive="Physical Shield|Perfect Defense">
            <var cmd="set Armor $PDT" />
            <addtochat>PDT Set Equipped</addtochat>
        </else>
    	<command>Dancing Chains</command>
    </elseif>
    <!-- Equip MDT (Aegis Schism) -->
    <elseif Spell="Aegis Schism">
    	<cancelspell />
    	<if advanced='"$Armor" == "$MDT"'>
    		<var cmd="set Armor BlankSet" />
        </if>
        <else NotBuffActive="Perfect Defense">
            <var cmd="set Armor $MDT" />
            <addtochat>MDT Set Equipped</addtochat>
        </else>
    	<command>Dancing Chains</command>
    </elseif>
    <elseif spell="Herb Pastoral">
    	<cancelspell />	
    	<if BuffActive="Physical Shield|Perfect Defense" advanced='"$Armor" == "$PDT"'>
    		<var cmd="set Armor BlankSet" />
    	</if>
    	<else BuffActive="Perfect Defense" advanced='"$Armor" == "$MDT"'>
    		<var cmd="set Armor BlankSet" />
    	</else>
    	<command>Dancing Chains</command>
    </elseif>

  6. #4146
    Puppetmaster
    Join Date
    Jul 2011
    Posts
    61
    BG Level
    2

    Quote Originally Posted by grevenilvec75 View Post
    Theres a new version of find that fixes that.
    GAH I just tore apart my whm XML after getting the "magic appears improperly formatted" message....I don't usually use find but I had loaded it up to find my Tefnut Wand.

    I'm going to go to bed now and try not to be annoyed with myself.... ><

    ETA: I got up this morning and tinkered around- unloaded Find before booting up, and still got the message. Unloaded Itemizer and the message went away. Re-loaded both and the message still gone. Relief because if something was wrong with my sc I would have to kill myself. Well, not really...I just haven't had my coffee yet this morning so everything is extreme.

  7. #4147
    Puppetmaster
    Join Date
    Dec 2011
    Posts
    57
    BG Level
    2

    I just started using spellcast after 7 years of playing without... Freaking love it, but I am a total newb at it. Spent 5-6 hours trying to make my own then just basically copied Harboryn's XML But I don't think I am getting the auto exec to work. Where should that file be saved? In the spellcast folder? Same thing with the include?

  8. #4148
    Radsourceful

    Join Date
    Jul 2007
    Posts
    1,964
    BG Level
    6
    FFXI Server
    Bismarck

    Quote Originally Posted by Caylene View Post
    ...I got up this morning and tinkered around- unloaded Find before booting up, and still got the message. Unloaded Itemizer and the message went away. Re-loaded both and the message still gone. Relief because if something was wrong with my sc I would have to kill myself. Well, not really...I just haven't had my coffee yet this morning so everything is extreme.
    The error only occurs when spellcast is loaded after itemizer/find - adjust the order in your init.txt so spellcast loads earlier and shouldn't be an issue - if you have to reload spellcast for some reason, reload itemizer and find afterwards to fix it.

  9. #4149
    Puppetmaster
    Join Date
    Jul 2011
    Posts
    61
    BG Level
    2

    Quote Originally Posted by Radec View Post
    The error only occurs when spellcast is loaded after itemizer/find - adjust the order in your init.txt so spellcast loads earlier and shouldn't be an issue - if you have to reload spellcast for some reason, reload itemizer and find afterwards to fix it.
    That explains it then; I am OCD and all my plugins are arranged alphabetically in my init.txt.

  10. #4150
    Puppetmaster
    Join Date
    Dec 2011
    Posts
    57
    BG Level
    2

    Ok so I am having some sort of problem getting the auto exec to work. I downloaded the plugin created a folder for it under spellcast > plugins > AutoExec. Also saved the XML for the AutoExec that goes with the spellcast in there. Did not work. Tried savIng it in the spellcast plugin folder itself. And still no. What am I doing wrong?

  11. #4151
    Salvage Bans
    Join Date
    Mar 2010
    Posts
    769
    BG Level
    5
    FFXI Server
    Leviathan

    It should be in ../Windower/plugins/AutoExec/

  12. #4152
    E. Body
    Join Date
    Nov 2008
    Posts
    2,048
    BG Level
    7
    FFXI Server
    Bismarck

    my SC isnt swapping back to TP gear after most WSs. here is my WS section

    Code:
    </if>
    		<if type="Weaponskill">
    			<if spell="Blade: Jin|Blade: Rin">
    				<castdelay delay=".2" />
    				<equip when="precast" set="CritWS" />
    				<equip when="aftercast" set="%status" />
    			</if>
    			<elseif Spell="Blade: Shun">
    				<castdelay delay=".264" />
    				<equip when="precast" set="Blade: Shun" />
    				<equip when="aftercast" set="%status" />
    			</elseif>
    			<elseif Spell="Blade: Kamu|Blade: Teki|Blade: To|Blade: Chi|Blade: Yu|Aeolian Edge">
    				<castdelay delay=".2" />
    				<equip when="precast" set="EleWS" />
    				<equip when="aftercast" set="%status" />
    			</elseif>
    		</if>
    after Jin works fine. however after the Shun and EleWS swaps, about 50% of the time, I stay in my WS gear until next action. any ideas?

  13. #4153
    An exploitable mess of a card game
    Join Date
    Sep 2008
    Posts
    13,197
    BG Level
    9
    FFXIV Character
    Gouka Mekkyaku
    FFXIV Server
    Gilgamesh
    FFXI Server
    Diabolos

    If you're changing gear properly for Blade: Shun, I'm guessing the issue may lie somewhere else within the XML.

  14. #4154
    E. Body
    Join Date
    Nov 2008
    Posts
    2,048
    BG Level
    7
    FFXI Server
    Bismarck

    want my who code, or post to pastebin and link to it?

  15. #4155
    Insert witty title here
    Join Date
    Jun 2007
    Posts
    1,191
    BG Level
    6
    FFXI Server
    Phoenix

    pastebin is always the answer.

  16. #4156
    E. Body
    Join Date
    Nov 2008
    Posts
    2,048
    BG Level
    7
    FFXI Server
    Bismarck

  17. #4157
    Chram
    Join Date
    Sep 2007
    Posts
    2,526
    BG Level
    7
    FFXI Server
    Fenrir

    1) Seem to have left off the first few lines; there's no <xml> or <spellcast> opening tag.
    2) Suggest setting syntax to XML, as it makes reading it easier.
    3) You don't need <elseif> checks for the day/night gear; a simple <if><else> is sufficient (and safer).
    4) You will only ever put on evasion gear when you actually engage the mob (ie: pull out weapons), or when using a ranged attack.
    5) Your type="" checks should be <elseif>s rather than a series of <if>s.
    6) Provoke will never revert to TP gear; it has no aftercast command.
    7) Every single use of aftercast equip sets to set="%status" (or explicitly set="Idle" if status="Idle"). As such you should probably get rid of all the individual entries and just add a single aftercast command that will always be hit. Possible further tweak would be to aftercast to %status or evasion depending on HP, given the apparent intent with the earlier bit of code.

    For example, change this:
    Code:
                    <if status="engaged">
                            <if hppgt="40">
                                    <equip when="engaged" set="Engaged" />
                            </if>
                            <elseif hpplt="40">
                                    <equip when="engaged" set="evasion" />
                            </elseif>
                    </if>
                    <if status="idle">
                            <equip when="idle|aftercast" set="Idle" />
                    </if>
    To this:

    Code:
                    <if status="engaged">
                            <if hppgt="40">
                                    <equip when="engaged|aftercast" set="Engaged" />
                            </if>
                            <else>
                                    <equip when="engaged|aftercast" set="Evasion" />
                            </else>
                    </if>
                    <elseif status="idle|resting">
                            <equip when="idle|resting|aftercast" set="Idle" />
                    </elseif>
    And remove every other entry of <equip when="aftercast">.

  18. #4158
    E. Body
    Join Date
    Nov 2008
    Posts
    2,048
    BG Level
    7
    FFXI Server
    Bismarck

    Quote Originally Posted by Motenten View Post
    1) Seem to have left off the first few lines; there's no <xml> or <spellcast> opening tag.
    these were on there, i just started the copy/paste at the variable rules

    2) Suggest setting syntax to XML, as it makes reading it easier.
    Done

    3) You don't need <elseif> checks for the day/night gear; a simple <if><else> is sufficient (and safer).
    changed to this, it that correct?
    Code:
    <!-- Feet Variable -->
    		<if mode="or" timeLT="7.00" timeGT="16.59">
    			<var cmd="set feet $Nightfeet" />
    		</if>
    		<else mode="or" timeLT="17.00" timeGT="6.59">
    				<var cmd="set feet $Dayfeet" />
    		</else>
    i also removed the day/night WSHands rule below it, since i upgraded to AF2+2

    4) You will only ever put on evasion gear when you actually engage the mob (ie: pull out weapons), or when using a ranged attack.
    still working on my specific evasion gear and rules

    5) Your type="" checks should be <elseif>s rather than a series of <if>s.
    what do you mean by this

    6) Provoke will never revert to TP gear; it has no aftercast command.
    dont use this anyway, i edited this from another posted online

    7) Every single use of aftercast equip sets to set="%status" (or explicitly set="Idle" if status="Idle"). As such you should probably get rid of all the individual entries and just add a single aftercast command that will always be hit. Possible further tweak would be to aftercast to %status or evasion depending on HP, given the apparent intent with the earlier bit of code.

    For example, change this:
    Code:
                    <if status="engaged">
                            <if hppgt="40">
                                    <equip when="engaged" set="Engaged" />
                            </if>
                            <elseif hpplt="40">
                                    <equip when="engaged" set="evasion" />
                            </elseif>
                    </if>
                    <if status="idle">
                            <equip when="idle|aftercast" set="Idle" />
                    </if>
    To this:

    Code:
                    <if status="engaged">
                            <if hppgt="40">
                                    <equip when="engaged|aftercast" set="Engaged" />
                            </if>
                            <else>
                                    <equip when="engaged|aftercast" set="Evasion" />
                            </else>
                    </if>
                    <elseif status="idle|resting">
                            <equip when="idle|resting|aftercast" set="Idle" />
                    </elseif>
    And remove every other entry of <equip when="aftercast">.
    done, and testing now. new pastebin link is

    http://pastebin.com/KRj9hjPm

  19. #4159
    Chram
    Join Date
    Sep 2007
    Posts
    2,526
    BG Level
    7
    FFXI Server
    Fenrir

    Quote Originally Posted by Snprphnx
    changed to this, it that correct?
    Code:
    <!-- Feet Variable -->
                    <if mode="or" timeLT="7.00" timeGT="16.59">
                            <var cmd="set feet $Nightfeet" />
                    </if>
                    <else mode="or" timeLT="17.00" timeGT="6.59">
                            <var cmd="set feet $Dayfeet" />
                    </else>
    No. <else> cannot have any conditions in the tag, only <elseif> can.

    The point is that you don't need to check those conditions, since they've already been checked with <if>. Simplified:

    If it's nighttime, use the nighttime feet.
    If "If it's nighttime" returns false, it logically follows that it's daytime. You do not need to make additional checks to see if it's daytime. All you need is:


    Code:
                    <if mode="or" timeLT="7.00" timeGT="16.59">
                            <var cmd="set feet $Nightfeet" />
                    </if>
                    <else>
                            <var cmd="set feet $Dayfeet" />
                    </else>
    Also, your daytime check rule was logically broken anyway.


    Quote Originally Posted by Snprphnx
    Quote Originally Posted by Motenten
    4) You will only ever put on evasion gear when you actually engage the mob (ie: pull out weapons), or when using a ranged attack.
    still working on my specific evasion gear and rules
    That's not the point I was trying to make. The point is that the *only* time you will put on evasion gear is the moment you pull out weapons when you engage a mob. As soon as you do *any* other action, even if you're at 1% HP after that, you will always go back to your Engaged set, not the Evasion set.


    Reviewing updated version:

    Code:
                    <!-- Locking Gear for when GKT is equipped -->
                    <if EquipMain="Gld.Msk. Uchigat.">
                            <equip set="GKT" />
                            <disable slot="Main|sub|lear" />
                    </if>
    This probably won't work very well.


    Code:
                  <!-- lock weapon if tp is greater than $locktp -->
                    <elseif mode="or" tpgt = "$locktp" advanced='$lockweapon=1'>
                            <disable slot = "main|sub|range" />
                    </elseif>
                    <else EquipRangeNot="Gld.Msk. Uchigat.">
                            <enable slot="Main|sub|lear" />
                    </else>
    You never actually reenable your ranged slot, though it's a rather minor nitpick since you probably don't ever want to change that in normal gear sets anyway.

    Also, <else> cannot have condition attributes. You can only ever check a condition rule in an <if> or <elseif> tag.


    Finally, while you updated the suggested code, you didn't remove any of the <equip when="aftercast" set="%status" /> lines in the rest of the spellcast.

  20. #4160
    E. Body
    Join Date
    Nov 2008
    Posts
    2,048
    BG Level
    7
    FFXI Server
    Bismarck

    edited yet again, removing the <equip when="aftercast" set="%status" /> from all lines, here it is, currently testing.

    overall, removed what was mentioned above, GKT slot lock rules, fixed the ammo lock/enable rule (i think), removed WSNight stuff, and changed the idle night feet

    http://pastebin.com/egWfDy7j

Page 208 of 328 FirstFirst ... 158 198 206 207 208 209 210 218 258 ... LastLast

Similar Threads

  1. Spellcast Shop Thread
    By Yugl in forum FFXI: Everything
    Replies: 232
    Last Post: 2014-03-18, 04:47
  2. time spent on ls events, helping friends and your own time
    By freewind in forum FFXI: Everything
    Replies: 6
    Last Post: 2005-09-06, 16:42