Item Search
     
BG-Wiki Search
Page 197 of 328 FirstFirst ... 147 187 195 196 197 198 199 207 247 ... LastLast
Results 3921 to 3940 of 6548
  1. #3921
    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 EquipAmmo="Omph Bullet">
    <cancelspell />
    <addtochat>NOPE</addtochat>
    <return />
    </if>

    ^ That doesn't work?

    To remove gear, it's <ammo /> or <ammo></ammo>

  2. #3922
    RIDE ARMOR
    Join Date
    Jun 2010
    Posts
    16
    BG Level
    1
    FFXI Server
    Ifrit

    Decided to take a shot at Yugl's SC for my mnk, never used trigger spells etc to change variables always just used rules/macro's with grp changes etc.

    Anyway few thigns i never run into before, and was hopign for some assistance.

    1st of all what does != mean?

    another thing im confused about is, using the trigger spells seems ok, except you have to toggle through them to get to the right one?

    for me to immediately equip my PDT set atm as well as swap my TP set to PDT i use a 2 line macro
    /console sc group PDT
    /console sc set PDTEngaged

    I guess what I'm trying to say is have i missed something or do you have to toggle through your different tp sets using your bind key/trigger spell to select whether u want PDT MDT or your normal TP set?



    Thanks
    Swan

  3. #3923
    Radsourceful

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

    Quote Originally Posted by Yugl View Post
    To remove gear, it's <ammo /> or <ammo></ammo>
    <slot>remove</slot> - <slot/> just tells it to do nothing with the slot.

    Aemora: If you can't use equipslot="----" or <slot>remove</slot>, are you perhaps on an older verison of spellcast?

  4. #3924
    New Merits
    Join Date
    Apr 2010
    Posts
    228
    BG Level
    4

    Quote Originally Posted by swan View Post

    another thing im confused about is, using the trigger spells seems ok, except you have to toggle through them to get to the right one?

    for me to immediately equip my PDT set atm as well as swap my TP set to PDT i use a 2 line macro
    /console sc group PDT
    /console sc set PDTEngaged

    I guess what I'm trying to say is have i missed something or do you have to toggle through your different tp sets using your bind key/trigger spell to select whether u want PDT MDT or your normal TP set?



    Thanks
    Swan
    With his xml, PDT idle is just mace a macro /ja Barbed Crescent

    And toggle through TP sets which include haste,acc,pdt ect would be a macro /ma Poison 5

    WS sets toggle make a macro /ma Poisonga 5

    Idle macro /ja Vulcan Shot

    Distance macro /ja Shackled Fists

    Just read through the xml for the rest you'll see the pattern

  5. #3925
    RIDE ARMOR
    Join Date
    Jun 2010
    Posts
    16
    BG Level
    1
    FFXI Server
    Ifrit

    Thanks for the help, I'd actually managed to speak to yugl about it and think I got it all, but ty for you help much appreciated also sorry just noticed this isn't the help thread
    Edit: nvm this isn't he help thread guess my post was moved
    Swan

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

    Quote Originally Posted by Radec View Post
    <slot>remove</slot> - <slot/> just tells it to do nothing with the slot.

    Aemora: If you can't use equipslot="----" or <slot>remove</slot>, are you perhaps on an older verison of spellcast?
    All hopped up on vicodin after a surgery, but you're saying that <ammo>remove</ammo> works on the current version of spellcast, yes? Because I swear that works for my COR xml.

  7. #3927
    Radsourceful

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

    Quote Originally Posted by Esvedium View Post
    All hopped up on vicodin after a surgery, but you're saying that <ammo>remove</ammo> works on the current version of spellcast, yes? Because I swear that works for my COR xml.
    Yes, <ammo>remove</ammo> will empty the slot in the current verison.

  8. #3928
    Sea Torques
    Join Date
    Mar 2007
    Posts
    723
    BG Level
    5
    FFXI Server
    Sylph

    Tried a variety of ways, I was running 2.4.4, so I downloaded 2.4.5, and still no success.

    Here's a quick thing I made to see if it will trigger:

    Code:
    <spellcast>
    	<rules>
    		<if spell="Thunder V">
    			<cancelspell />
    			<body>remove</body>
    			<addtochat>NOPE</addtochat>
    		</if>
    	</rules>
    </spellcast>
    Made this to test the remove rule out, and it just ain't working for me. Running 2.4.5. I don't know why :/ The addtochat is working, cuz everytime I load this and cast Thunder 5, I get a NOPE message, but the remove function ain't working.

    HALP :/

  9. #3929
    Radsourceful

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

    Code:
    <equip when="all"><body>remove</body></equip>
    Any equip needs to be within <equip>....</equip>

  10. #3930
    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

    Attention SC editors: Can you understand this fast cast code? The sets/a few variables are missing, but the idea should be easy to understand. I mainly ask because I want to write leave a FC code that is possible for future SC editors to update should SE introduce new shit. If not, I'll see what sacrifices I can make, but this is the most inclusive and flexible code thus far

    http://pastebin.com/PLZcu5vw

    Brace yourself.

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

    Is code like this:
    Code:
    <var cmd="setcalc Type_Minimum_CTR (1 - (%Type_Trait_CTR))" />
    Supposed to be:
    Code:
    <var cmd="setcalc Type_Minimum_CTR (1 - ($%Type_Trait_CTR))" />
    ?

    Lots of other minor typos, but can be worked out later.

    Spoiler: show

    Code:
            <if type="WhiteMagic|BlackMagic">
                <if advanced='(Instant_Cast_CTR)*(Addle_Minimum_CTR)*($Fast_Cast_Minimum_CTR)*(Type_Minimum_CTR)*(Skill_Minimum_CTR)*(Element_Minimum_CTR)*($$Book_Arts_Minimum_CTR)*(Spell_Name_Minimum_CTR) &lt; (1.5/%Castime)'>
                    <var cmd="set Cast_When precast" />
                </if>
                <elseif advanced='(Instant_Cast_CTR)*(Addle_Minimum_CTR)*($Fast_Cast_1_Total_CTR)*(Type_Minimum_CTR)*(Skill_Minimum_CTR)*(Element_Minimum_CTR)*($$Book_Arts_Minimum_CTR)*(Spell_Name_Minimum_CTR) &lt; (1.5/%Castime)'>
                    <var cmd="set Cast_When midcast" />
                </elseif>
                <elseif advanced='(Instant_Cast_CTR)*(Addle_Minimum_CTR)*($Fast_Cast_2_Total_CTR)*(Type_Minimum_CTR)*(Skill_Minimum_CTR)*(Element_Minimum_CTR)*($$Book_Arts_Minimum_CTR)*(Spell_Name_Minimum_CTR) &lt; (1.5/%Castime)'>
                    <var cmd="set Cast_When midcast" />
                    <equip when="precast" set="Fast_Cast_Medium" />
                </elseif>
                <elseif advanced='(Instant_Cast_CTR)*(Addle_Minimum_CTR)*($Fast_Cast_2_Total_CTR)*(Type_Total_CTR)*(Skill_Minimum_CTR)*(Element_Minimum_CTR)*($$Book_Arts_Minimum_CTR)*(Spell_Name_Minimum_CTR) &lt; (1.5/%Castime)'>
                    <var cmd="set Cast_When midcast" />
                    <equip when="precast" set="Fast_Cast_Maximum" />
                </elseif>
                <elseif advanced='(Instant_Cast_CTR)*(Addle_Minimum_CTR)*($Fast_Cast_2_Total_CTR)*(Type_Total_CTR)*(Skill_Total_CTR)*(Element_Minimum_CTR)*($$Book_Arts_Minimum_CTR)*(Spell_Name_Minimum_CTR) &lt; (1.5/%Castime)'>
                    <var cmd="set Cast_When midcast" />
                    <equip when="precast" set="Fast_Cast_Maximum|%Type_CTR" />
                </elseif>
                <elseif advanced='(Instant_Cast_CTR)*(Addle_Minimum_CTR)*($Fast_Cast_2_Total_CTR)*(Type_Total_CTR)*(Skill_Total_CTR)*(Element_Total_CTR)*($$Book_Arts_Minimum_CTR)*(Spell_Name_Minimum_CTR) &lt; (1.5/%Castime)'>
                    <var cmd="set Cast_When midcast" />
                    <equip when="precast" set="Fast_Cast_Maximum|%Type_CTR|%Skill_CTR" />
                </elseif>
                <elseif advanced='(Instant_Cast_CTR)*(Addle_Minimum_CTR)*($Fast_Cast_2_Total_CTR)*(Type_Total_CTR)*(Skill_Total_CTR)*(Element_Total_CTR)*($$Book_Arts_Total_CTR)*(Spell_Name_Minimum_CTR) &lt; (1.5/%Castime)'>
                    <var cmd="set Cast_When midcast" />
                    <equip when="precast" set="Fast_Cast_Maximum|%Type_CTR|%Skill_CTR|%SpellElement_CTR" />
                </elseif>
                <elseif advanced='(Instant_Cast_CTR)*(Addle_Minimum_CTR)*($Fast_Cast_2_Total_CTR)*(Type_Total_CTR)*(Skill_Total_CTR)*(Element_Total_CTR)*($$Book_Arts_Total_CTR)*(Spell_Name_Total_CTR) &lt; (1.5/%Castime)'>
                    <var cmd="set Cast_When midcast" />
                    <equip when="precast" set="Fast_Cast_Maximum|%Type_CTR|%Skill_CTR|%SpellElement_CTR|$Book_Arts_CTR" />
                </elseif>
                <else>
                    <var cmd="set Cast_When midcast" />
                    <equip when="precast" set="Fast_Cast_Maximum|%Type_CTR|%Skill_CTR|%SpellElement_CTR|$Book_Arts_CTR|%Spell_CTR" />
                </else>
            </if>


    Seems overly verbose. Could be simplified.

    Example: Every single IF check compares against (1.5/%Castime). There's no reason to recalculate that so many times.

    Code:
    <var cmd="setcalc CompareCastTime 1.5/%Casttime" />
    Am also not really sure of how you derived that value. Is the purpose to only use enough fast cast to get cast times below 1.5 seconds? That seems like a rather high threshhold. I'd expect you'd want it to be less than 1 second, though going conservatively, probably not less than 0.8. Maybe have a variable set to define that target threshhold.


    Most variables are switching Minimum to Total. Sequential shifts allow for progressive comparisons. This makes lots of indents, but greatly reduces the number of computations.

    Spoiler: show

    Code:
    <var cmd="setcalc CompareTimeReduction Instant_Cast_CTR * Addle_Minimum_CTR * $Fast_Cast_Minimum_CTR * Type_Minimum_CTR * Skill_Minimum_CTR * Element_Minimum_CTR * $$Book_Arts_Minimum_CTR * Spell_Name_Minimum_CTR" />
    
    
    <if advanced='$CompareTimeReduction &lt; $CompareCastTime'>
        <var cmd="set Cast_When precast" />
    </if>
    <else>
        <var cmd="setcalc CompareTimeReduction CompareTimeReduction * $Fast_Cast_1_Total_CTR / $Fast_Cast_Minimum_CTR" />
        <if advanced='$CompareTimeReduction &lt; $CompareCastTime'>
            <var cmd="set Cast_When midcast" />
        </if>
        <else>
            <var cmd="setcalc CompareTimeReduction CompareTimeReduction * $Fast_Cast_2_Total_CTR / $Fast_Cast_1_Total_CTR" />
            <if advanced='$CompareTimeReduction &lt; $CompareCastTime'>
                <var cmd="set Cast_When midcast" />
                <equip when="precast" set="Fast_Cast_Medium" />
            </if>
            <else>
                <var cmd="setcalc CompareTimeReduction CompareTimeReduction * $Type_Total_CTR / $Type_Minimum_CTR" />
                <if advanced='$CompareTimeReduction &lt; $CompareCastTime'>
                    <var cmd="set Cast_When midcast" />
                    <equip when="precast" set="Fast_Cast_Maximum" />
                </if>
                <else>
                    ... etc, keep addding ( * Total / Minimum ) for each successive variable change.
                </else>
            </else>
        </else>
    <else>


    This also makes it easier to see what change is being made at each stage of this long comparison run.

    Blue magic, ninjutsu and summoning magic can all be condensed into the WhiteMagic/BlackMagic comparison set by just having Skill_*_CTR and $Book_*_CTR set to 1 for the appropriate skill types.

    Or if you prefer, perhaps even include the brd-uniques in the grand original calculation (also set to 1 for anything other than brd stuff), and then have an extra <elseif> filter, such as:

    Spoiler: show

    Code:
        ...
    
        <var cmd="setcalc CompareTimeReduction CompareTimeReduction * $Element_Total_CTR / $Element_Minimum_CTR" />
        <if advanced='$CompareTimeReduction &lt; $CompareCastTime'>
            <var cmd="set Cast_When midcast" />
            <equip when="precast" set="Fast_Cast_Maximum" />
        </if>
        <elseif type="WhiteMagic|BlackMagic">
            <var cmd="setcalc CompareTimeReduction CompareTimeReduction * $Skill_Total_CTR / $Skill_Minimum_CTR" />
            <if advanced='$CompareTimeReduction &lt; $CompareCastTime'>
                <var cmd="set Cast_When midcast" />
                <equip when="precast" set="Fast_Cast_Maximum" />
            </if>
            <else>
                <var cmd="setcalc CompareTimeReduction CompareTimeReduction * $$Book_Arts_Total_CTR / $$Book_Arts_Minimum_CTR" />
                <if advanced='$CompareTimeReduction &lt; $CompareCastTime'>
                    <var cmd="set Cast_When midcast" />
                    <equip when="precast" set="Fast_Cast_Maximum" />
                </if>
                <else>
                    <var cmd="set Cast_When midcast" />
                    <equip when="precast" set="Fast_Cast_Maximum|%Type_CTR|%Skill_CTR|%SpellElement_CTR|$Book_Arts_CTR" />
                </else>
            </else>
        </elseif>
        <elseif type="BardSong">
            <var cmd="setcalc CompareTimeReduction CompareTimeReduction * $Nightingale_Total_CTR / $Nightingale_Minimum_CTR" />
            <if advanced='$CompareTimeReduction &lt; $CompareCastTime'>
                <var cmd="set Cast_When midcast" />
                <equip when="precast" set="Fast_Cast_Maximum" />
            </if>
            <else>
                <var cmd="setcalc CompareTimeReduction CompareTimeReduction * $Troubadour_Total_CTR / $Troubadour_Minimum_CTR" />
                <if advanced='$CompareTimeReduction &lt; $CompareCastTime'>
                    <var cmd="set Cast_When midcast" />
                    <equip when="precast" set="Fast_Cast_Maximum" />
                </if>
                <else>
                    <var cmd="set Cast_When midcast" />
                    <equip when="precast" set="Fast_Cast_Maximum|%Type_CTR|%Skill_CTR|%SpellElement_CTR|%Spell_CTR|Nightingale_CTR|Troubadour_CTR" />
                </else>
            </else>
        </elseif>
        <else>
            <var cmd="set Cast_When midcast" />
            <equip when="precast" set="Fast_Cast_Maximum|%Type_CTR|%Skill_CTR|%SpellElement_CTR|%Spell_CTR" />
        </else>


    Note: I didn't go back and fix all the sets being equipped to match the comparison.

    Basically, all value switches apply to all spell types, except Skill and Book_Arts which only apply to white/black magic, and Troubadour/Nightingale which only apply to bard songs. This greatly reduces the number of redundant comparisons.

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

    I'll look over this in detail again (Specifically, the condense/grand+brd approach), but I really like that (Comparison)*(Total/Minimum) approach. Classy math maneuver there. Does putting calculations in variables (EX: 1.5/Castime) reduce the work SC has to do? The 1.5 value I derived empirically while testing to see the minimum cast time I could get away with while at 1) Jeuno 2) Abyssea-Altepa dolls. This was on my older laptop which had much worse specs than my current laptop. Since I'm writing this for public use, I want people with worse specs to enjoy the fast cast rule. So, if anyone wants to offer their services and has a crappy laptop (2008ish build?), I could use someone to test the minimum post-CTR cast time needed. My original tests used AF3+2 RDM gear.

  13. #3933
    Melee Summoner
    Join Date
    Aug 2010
    Posts
    37
    BG Level
    1
    FFXI Server
    Lakshmi

    Does Spellcast have the same problem equipping identical rings in both left/right ring slots that FFXI has? I've been opening up the equipment menu lately during midcast for nukes to see if my Spellcast is working right, and I'm noticing only the left Icesoul ring is being equipped the vast majority of the time. On rare occassions, it seems to work. I also notice the same thing for cures -- often only the left Aquasoul rings gets equipped.

    If so, is there a workaround?

  14. #3934
    Radsourceful

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

    Quote Originally Posted by Wooly View Post
    Does Spellcast have the same problem equipping identical rings in both left/right ring slots that FFXI has? I've been opening up the equipment menu lately during midcast for nukes to see if my Spellcast is working right, and I'm noticing only the left Icesoul ring is being equipped the vast majority of the time. On rare occassions, it seems to work. I also notice the same thing for cures -- often only the left Aquasoul rings gets equipped.

    If so, is there a workaround?
    Get different rings is the best way, SC has the same problem.

    What helps, but doesn't entirely solve it - make sure you never equip 1 of the rings but not the other. Rings either Icesoul/Icesoul or Not_Icesoul/Not_Icesoul - never Icesoul/Not_Icesoul.

  15. #3935
    Melee Summoner
    Join Date
    Aug 2010
    Posts
    37
    BG Level
    1
    FFXI Server
    Lakshmi

    Quote Originally Posted by Radec View Post
    Get different rings is the best way, SC has the same problem.

    What helps, but doesn't entirely solve it - make sure you never equip 1 of the rings but not the other. Rings either Icesoul/Icesoul or Not_Icesoul/Not_Icesoul - never Icesoul/Not_Icesoul.
    Thanks for the tip. That's what I'd been doing, but was still running into the problem. What's odd to me is that it seems to work consistently for weaponskill swaps (i.e. Aquasoul x2 while playing around with Requiescat on mule).

    I ended up putting the <rring> swap (the one midcast was failing to swap) into the appropriate precast set, and it seems to be an ok workaround.

  16. #3936
    Sea Torques
    Join Date
    Mar 2007
    Posts
    723
    BG Level
    5
    FFXI Server
    Sylph

    Quote Originally Posted by Radec View Post
    Code:
    <equip when="all"><body>remove</body></equip>
    Any equip needs to be within <equip>....</equip>
    Thank you Radec, master of spellcast and all things pertaining it! I will give this a shot later, once I try to make heads and tails of my thesis...

  17. #3937
    RIDE ARMOR
    Join Date
    Jun 2010
    Posts
    16
    BG Level
    1
    FFXI Server
    Ifrit

    Mnk issues

    Been using this SC (ill post link below) now for a few days all works ok expect my

    Impetusset and my Impetus_ws_set aswell as my Counterstanceset

    wondering if any1 might spot why, its basically an edited Yugl_Mnkv2 SC MInor adjustments are the Perfectcounterset was changed to counterstanceset.

    And the Impetus_ws_set was added.

    So my problem is when engaged with impetus up it doesnt equip my Impetusset over my normal Tp set same with my counterstanceset.

    Same thing for WS is wont equip my Impetus_ws_set over my normal Ws set when impetus is up.

    Any help wud be appreciated

    Edit: forgot to add the link to SC lol http://pastebin.com/tbPtu0aU

    thank swan

  18. #3938
    Sea Torques
    Join Date
    Mar 2007
    Posts
    723
    BG Level
    5
    FFXI Server
    Sylph

    Ok, fixed the damned problem. It was the bullet itself. Note to others: Don't test with an Orichalcum Bullet, when the only way it'll work is when it's "Orichalc. Bullet". Very fucking confusing.

    Anyway, works fine now. This is the code I put at the top of the file and it stops before anything below triggers.

    Code:
    <if commandprefix="/range|/ra|/weaponskill|/ws">
    	<if EquipAmmo="Omphalos Bullet">
    		<cancelspell />
    		<equip when="all"><ammo>remove</ammo></equip>
    		<addtochat>Trying to shoot Omphalos Bullet. Action cancelled. CLOSE CALL, AEMO!</addtochat>
    		<return />
    	</if>
    </if>
    Pretty sure it's 100% unfuckupable, which is what I was after.

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

    AFAIK, you don't need both /ws and /weaponskill in the "commandprefix", as spellcast converts all shortened prefixes (/ja, /ma, etc) to the full long version (/jobability, /magic, etc).

    Also, I have my rule in my <if commandprefix="/range"> and <if commandprefix="/weaponskill"> at the top of those rules, just to keep it better... organized, for lack of a better word, unless you have the rest of both your /range and /weaponskill rules in that <if...>

  20. #3940
    a p. sweet dude
    Pens win! Pens Win!!! PENS WIN!!!!!

    Join Date
    Jul 2010
    Posts
    25,652
    BG Level
    10

    First time really messing around with Spellcast, so forgive my likely novice issue, but I can't get my MNK xml to work. It loads, and it's loaded (verified with $Stance returning the current and /sc set Usukane equiping my Usukane stuff), but no gear gets swapped whenever I use a JA/weaponskill/cast a spell. Here's the XML.

    Perhaps related; when I load Spellcast, it loads the plugin, then in the console I get "CRITICAL ERROR: FAILED TO FIND lslnCombat," and then it autoloads my MNK xml.

    Any help is appreciated.

    Edit: Nevermind. Updating my spellcast.dll fixed the problem.

Page 197 of 328 FirstFirst ... 147 187 195 196 197 198 199 207 247 ... 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