Item Search
     
BG-Wiki Search
Page 280 of 328 FirstFirst ... 230 270 278 279 280 281 282 290 ... LastLast
Results 5581 to 5600 of 6548
  1. #5581
    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

    Use addtochat with spellcast.

    <addtochat>TP: $VAR-TP</addtochat>

  2. #5582
    THFONRY
    Join Date
    Aug 2007
    Posts
    226
    BG Level
    4
    FFXI Server
    Odin

    Is there a way to get it to do it on an event like gaining a buff like embrava or mightystrikes through autoexec?

    I mainly wanted to use it in conjunction with my registers to test and make sure all my variables are updating correctly.

  3. #5583
    Puppetmaster
    Join Date
    May 2010
    Posts
    52
    BG Level
    2
    FFXI Server
    Asura
    WoW Realm
    Cenarius

    I'm trying to figure out why idle/engaged status isn't working for me correctly. I've been attempting to hammer this down (and even have resorted to a baby XML for troubleshooting).

    Basically, when I'm idle it'll swap out gearsets upon abilities/ninjutsu just fine. When I enter combat, it equips the engaged gearset just fine. The problem becomes that once I'm in combat it refuses to swap to any other gearset for any abilities, spell, or weaponskill. The whole reason for doing this was actually for my other box's WHM account and the need for TP/Idle gear in case of procs and I'm out of wings. I first noticed the behavior there and found out that *all* of my spellcasts for any job exhibit this behavior.

    The XMLs load fine, show no errors in Firefox, and with the exception of trying to implement this (apparently basic) set of rules it's never given me any issues. I was under the assumption that SpellCast handles this innately. Is that not so? Is there something within AutoExec I need to have registered?

    http://pastebin.com/N37esD2W

    (I've placed the engaged/idle rules at the bottom on that attempt but I've also place them at the top and it doesn't make a difference. I've attempted to have config define a default resting, engaged, and idle set but that prevented *ANY* gear swapping).

    If need be, I can go back to just using my TP set as my idle and do away with the whole status="----" rules as it's what I've been doing ever since I came back a few months ago. It isn't something huge, but it would still be nice to have an idle set for regen/etc. without having to hit a macro everytime.

  4. #5584
    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

    Quote Originally Posted by ssjjfar View Post
    Is there a way to get it to do it on an event like gaining a buff like embrava or mightystrikes through autoexec?

    I mainly wanted to use it in conjunction with my registers to test and make sure all my variables are updating correctly.
    Since you would use when updating gear, find the update gear trigger and just add to that section. Add to WS section as well.

  5. #5585
    THFONRY
    Join Date
    Aug 2007
    Posts
    226
    BG Level
    4
    FFXI Server
    Odin

    tnx again, that works

  6. #5586
    Flowery Twats
    Join Date
    Jul 2008
    Posts
    3,583
    BG Level
    7

    Just got Nares feet, but assume SCH AF3+2 feet still better if klimaform up with weather, so want to make a rule for that. Would this work? Mainly focused on this line:
    <if Advanced='("%SpellElement" = "%WeatherElement" OR "%SpellElement" ="%DayElement")' BuffActive="Klimaform" Mode="AND">
    Code:
    		<if spell="Fire|Fire II|Fire III|Fire IV|Fire V|Thunder|Thunder II|Thunder III|Thunder IV|Thunder V|Blizzard*|Aero*|Stone|Stone II|Stone III|Stone IV|Stone V|Water*|Stonega*|Waterga*|Aeroga*|Firaga*|Blizzaga*|Thundaga*">
    			<if Advanced='("%SpellElement" = "%WeatherElement" OR "%SpellElement" ="%DayElement")' BuffActive="Klimaform" Mode="AND">
    				<if BuffActive="Ebullience">
    				<equip when="midcast" set="Klima" />
    				<equip when="midcast">
    				<main>$%SpellElementStaff</main>
    				</equip>
    			</if>
    			<else>
    				<equip when="midcast" set="Nuke" />
    				<equip when="midcast">
    				<main>$%SpellElementStaff</main>
    				</equip>
    			</else>
    		</if>
    As a follow up, if that is the correct way then I'd have to put another <if><else> stage in there for ebullience/no ebullience. And later I'll have to change it again for adding obis...
    At that point it's probably going to look something like this:
    Code:
    		<if Spell="Nuke">
    			<if Advanced Spell/Weather/Day Stuff>
    				<if Ebullience>
    					<If Klimaform>
    						<equip set Ebul-Klima>
    					</if>
    					<else>
    						<equip set Ebul>
    					</else>
    				</if>
    				<elseif Klimaform>
    					<equip set Klima>
    				</elseif>
    				<else>
    					<equip set Weather>
    				</else>
    			</if>
    			<else>
    				<equip Nuke>
    			</else>
    		</if>
    And I guess I'd put "$%SpellElementObi" in the <waist> slot for the Weather set. Would there be a simpler way to do that? I'm not so hot with advanced rules or variables yet.

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

    @noodles355:

    Code:
        <equip when="midcast" set="Klima" />
        <equip when="midcast">
            <main>$%SpellElementStaff</main>
        </equip>
    Can be simplified to

    Code:
        <equip when="midcast" set="Klima">
            <main>$%SpellElementStaff</main>
        </equip>
    Though the staff equip is common to both conditions, so might as well lift it out of the <if> block entirely.

    Code:
    <if Advanced='("%SpellElement" = "%WeatherElement" OR "%SpellElement" ="%DayElement")' BuffActive="Klimaform" Mode="AND">
    Could probably be done with:

    Code:
    <if BuffActive="Klimaform" Element="%WeatherElement|%DayElement">
    It also looks like you have an extra <if> in that code block, for Ebullience.

    For adding Ebullience, is there any change at all you'd make other than adding the AF3 head? If not, it doesn't need to be inside the other conditions.

    Obi is fairly simple addition as well.

    Final suggested code:
    Code:
        <if skill="ElementalMagic" NotSpell="Burn|Frost|Choke|Rasp|Shock|Drown|*helix">
            <if BuffActive="Klimaform" Element="%WeatherElement|%DayElement">
                <equip when="midcast" set="Klima" />
            </if>
            <else>
                <equip when="midcast" set="Nuke" />
            </else>
    
            <equip when="midcast">
                <main>$%SpellElementStaff</main>
            </equip>
    
            <if NotAdvanced='Regex("$Obi-%SpellElement", "^[$]")' Element="%WeatherElement|%DayElement">
                <equip when="midcast">
                    <waist>$Obi-%spellElement</waist>
                </equip>
            </if>
            
            <if BuffActive="Ebullience">
                <equip when="midcast">
                    <head>Savant's Bonnet +2</head>
                </equip>
            </if>
        </if>
    Not sure if you want to explicitly exclude helixes from this code, but they weren't listed in your nuking list, so went with it.

    For the obis to be equipped, create a var named "Obi-Fire" (or whatever element) whenever you have a new obi available, and give it the value of the name of that particular obi. For example:

    <var name="Obi-Thunder">Rairin Obi</var>

  8. #5588
    Flowery Twats
    Join Date
    Jul 2008
    Posts
    3,583
    BG Level
    7

    If I ebbullience a nuke with klimaform/matching weather up, and my Klima set has <head> already defined as Nares Cap, won't it be trying to equip Savant's Bonnet+2 and Nares Cap at the same time (midcast)? Or will that ebullience rule overwrite the <head> line in the Klima <set>?

    Also, for the sake of learning, could you give me a run down of what <if NotAdvanced='Regex("$Obi-%SpellElement", "^[$]")'> means? It might aswell be typed in korean!

    Muchly appreciate the help, just want to make sure I understand what's going on instead of just taking my answer, pissing off and probably returning in the future with a similar question

  9. #5589
    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

    Savants will overwrite since the later rules overwrite earlier ones.

    'Regex("$Obi-%SpellElement", "^[$]")

    I think he meant "[^$*]", but regex works differently with different searches (ex: Notepad++). Basically, the statement says "If $Obi-%SpellElement" isn't equal to $String. "String" just means any letter/number after the $.

    How this works
    Try typing a variable that doesn't exist. For instance, $NoodleVariableDoesntExist.

    What does that return? That should return $NoodleVariableDoesntExist. Notice that the word begins with "$." So if SC checks for a variable (In this case, $Obi-%SpellElement) and you haven't made that variable, SC will just find $Obi-%SpellElement. So lets compare two situations.

    Situation 1: You have Hyoton Obi and made the variable. When SC checks $Obi-Ice, SC will find "Hyoton Obi." Since this doesn't begin with $, the check will pass and the Obi will equip.

    Situation 2: You do not have Hyoton Obi so you didn't make the variable. When SC checks $Obi-Ice, SC will find "$Obi-Ice" since $Obi-Ice doesn't have a value (Within Situation 1, $Obi-Ice's value is "Hyoton Obi."). Since $Obi-Ice begins with $, the rule will not attempt to equip the Obi.

  10. #5590
    Flowery Twats
    Join Date
    Jul 2008
    Posts
    3,583
    BG Level
    7

    Ah, so it means you only need to add variables for the obis you have, instead of putting in oneiros sash as the other element "obis"?

    And thanks about that order thing, so it basically checks if I want Klima or Nuke set, equips the relevent one, does a check for obi, equips it over the top if it applies, then checks for ebul, and equips that over the top of everything else if it applies?

    Thanks guys, gonna go play with this ...

  11. #5591
    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

    Yep and yep.

  12. #5592
    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

    Quote Originally Posted by Viertel View Post
    I'm trying to figure out why idle/engaged status isn't working for me correctly. I've been attempting to hammer this down (and even have resorted to a baby XML for troubleshooting).

    Basically, when I'm idle it'll swap out gearsets upon abilities/ninjutsu just fine. When I enter combat, it equips the engaged gearset just fine. The problem becomes that once I'm in combat it refuses to swap to any other gearset for any abilities, spell, or weaponskill. The whole reason for doing this was actually for my other box's WHM account and the need for TP/Idle gear in case of procs and I'm out of wings. I first noticed the behavior there and found out that *all* of my spellcasts for any job exhibit this behavior.

    The XMLs load fine, show no errors in Firefox, and with the exception of trying to implement this (apparently basic) set of rules it's never given me any issues. I was under the assumption that SpellCast handles this innately. Is that not so? Is there something within AutoExec I need to have registered?

    http://pastebin.com/N37esD2W

    (I've placed the engaged/idle rules at the bottom on that attempt but I've also place them at the top and it doesn't make a difference. I've attempted to have config define a default resting, engaged, and idle set but that prevented *ANY* gear swapping).

    If need be, I can go back to just using my TP set as my idle and do away with the whole status="----" rules as it's what I've been doing ever since I came back a few months ago. It isn't something huge, but it would still be nice to have an idle set for regen/etc. without having to hit a macro everytime.
    Updated SC recently?

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

    Yugl explained everything pretty well.

    For the regex, it's meant to be as written.

    Regex("$Obi-%SpellElement", "^[$]")

    The pattern that's being matched is:
    ^ -- Anchor to the start of the string; we explicitly want to find the $ as the first character of the string.
    [$] -- Find the character '$'. If I didn't put it in brackets, $ would mean 'anchor to the end of the string'. "^$" would basically mean 'find me an empty string'.

    A pattern of "[^$*]" would mean 'find me any one of these 3 characters (carat, dollar sign or asterisk) anywhere in the provided string', which is not what I'm going for.


    However, its functionality is exactly as Yugl explained.

  14. #5594
    Hydra
    Join Date
    Sep 2012
    Posts
    118
    BG Level
    3

    Quote Originally Posted by Motenten View Post
    Final suggested code:
    Code:
        <if skill="ElementalMagic" NotSpell="Burn|Frost|Choke|Rasp|Shock|Drown|*helix">
            <if BuffActive="Klimaform" Element="%WeatherElement|%DayElement" />
                <equip when="midcast" set="Klima" />
            </if>
            <else>
                <equip when="midcast" set="Nuke" />
            </else>
    
            <equip when="midcast">
                <main>$%SpellElementStaff</main>
            </equip>
    
            <if NotAdvanced='Regex("$Obi-%SpellElement", "^[$]")'>
                <equip when="midcast">
                    <waist>$Obi-%spellElement</waist>
                </equip>
            </if>
            
            <if BuffActive="Ebullience">
                <equip when="midcast">
                    <head>Savant's Bonnet +2</head>
                </equip>
            </if>
        </if>
    I have one observation and one question about his code....

    First the observation...

    Code:
    <if BuffActive="Klimaform" Element="%WeatherElement|%DayElement" />
                <equip when="midcast" set="Klima" />
    </if>
    This block is terminated twice. take out the / in the top line.

    Second the question.

    Code:
            <if NotAdvanced='Regex("$Obi-%SpellElement", "^[$]")'>
                <equip when="midcast">
                    <waist>$Obi-%spellElement</waist>
                </equip>
            </if>
    Wouldn't this, based on the position in the code, equip your obi even if the spell element doesn't match the day or weather?

  15. #5595
    a p. sweet dude
    Pens win! Pens Win!!! PENS WIN!!!!!

    Join Date
    Jul 2010
    Posts
    25,889
    BG Level
    10

    Any idea why my PLD spellcast refuses to recognize and equip gear variables? If I change IdleBody to Mekira Meikogai it equips fine. I don't have this issue with my MNK or RDM spellcasts, so I'm pretty confused as to what the issue is.

    Here's my spellcast. Any help would be appreciated.

  16. #5596
    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

    You have a variable named "Idle", so the IdleBody is going to show up as "TownBody" instead. Rename the variable.

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

    I'm using mote's Sch xml, and in my nuking set I'm using 2 Aquilo's Rings, but only one gets equipped. I double and triple checked for any errors, but still it's still only equipping one. Is there any fix for this?

  18. #5598
    a p. sweet dude
    Pens win! Pens Win!!! PENS WIN!!!!!

    Join Date
    Jul 2010
    Posts
    25,889
    BG Level
    10

    Quote Originally Posted by Yugl View Post
    You have a variable named "Idle", so the IdleBody is going to show up as "TownBody" instead. Rename the variable.
    Which variable? IdleBody was originally named TPbody and it still wasn't working (neither is TPneck or TPhelm), I only changed it's name right before I posted to see if it would work.

  19. #5599
    CoP Dynamis
    Join Date
    Mar 2006
    Posts
    252
    BG Level
    4
    FFXI Server
    Phoenix

    Quote Originally Posted by Bikpik View Post
    I'm using mote's Sch xml, and in my nuking set I'm using 2 Aquilo's Rings, but only one gets equipped. I double and triple checked for any errors, but still it's still only equipping one. Is there any fix for this?
    Is it possible that you did this test while trying to cast a nuke that corresponds to the current day? I don't know if it's still the case or not but Zodiac Ring used to be enabled by default, so that would be the issue if you have a matching nuke/day.

    Equipping two of the same-named rings causes problems for people frequently anyway, but if you tested it a bunch of times like you said, it should have mostly worked, so my money is on Zodiac.

  20. #5600
    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

    Quote Originally Posted by Obsidian View Post
    Which variable? IdleBody was originally named TPbody and it still wasn't working (neither is TPneck or TPhelm), I only changed it's name right before I posted to see if it would work.
    $Idle will trigger before $IdleBody and since you set $Idle to "town", you will have townbody. Did you remember to adjust the variables when you did that?

    Code:
            <if MPLT="300">
                    <var cmd="set Stance MPLow" />
                    <var cmd="set TPneck Creed Collar" />
                    <var cmd="set IdleBody Twilight Mail" />
            </if>
            <else>
                    <var cmd="set Stance BasicTP" />
                    <var cmd="set TPneck Twilight Torque" />
                    <var cmd="set TPbody Ogier's Surcoat" />
            </else>
    Two variables here.

Page 280 of 328 FirstFirst ... 230 270 278 279 280 281 282 290 ... 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