Item Search
     
BG-Wiki Search
Results 1 to 18 of 18

Thread: SAM and Spellcast Issues     submit to reddit submit to twitter

  1. #1
    Melee Summoner
    Join Date
    Mar 2007
    Posts
    32
    BG Level
    1

    SAM and Spellcast Issues

    Don't know if this is the right place to ask this but finally got a bit of money I can throw around and invest in some extra gear for Macroing in and out, depending on the situation.

    Downloaded the Spellcast plugin and had a play around with text however I can't seem to get the gear to change swap in and out. At the moment Only starting small but this is what I have got so far which isn't working.

    http://rafb.net/p/49YDd869.html

    If you can give any help it will be greatly appreciated and even if you can't see anything wrong but could help by posting your script instead. Also Im guessing the macros to load it are just /ja hasso etc?

  2. #2
    Relic Shield
    Join Date
    Aug 2006
    Posts
    1,807
    BG Level
    6

    Re: SAM and Spellcast Issues

    Code:
    		<action type="equip" when="precast" set="Seigan" />
    		<action type="MidcastDelay" Delay="1" />
    		<action type="Equip" when="Midcast" Set="Seigan" />
    Could be put simply as:

    Code:
    		<action type="equip" when="precast" set="Seigan" />
    You might also want to include a statement such as thus:

    Code:
    		<rule status="Engaged">
    			<action type="equip" when="Precast" set="Standard" />
    		</rule>
    
    		<rule CommandPrefix="/ws|/weaponskill">
    			<action type="castdelay" delay="1" />
    			<action type="equip" when="Precast" Set="WSGear" />
    			<action type="midcastdelay" delay="1" />
    			<action type="equip" when="midcast" set="TPGear" />
    			<action type="command" when="aftercast" delay="6">input /lockon on</action>
    		</rule>

  3. #3
    Sea Torques
    Join Date
    May 2006
    Posts
    559
    BG Level
    5
    FFXIV Character
    Mr Gummi
    FFXIV Server
    Faerie

    Re: SAM and Spellcast Issues

    You have a lot of redundant code in there, so I rewrote it for you and cleaned it up a bit, check this out.

    You don't need a set for seigan unless there is gear to swap into that enhances the effect, so I took that out. And by adding BaseSet="" to the <set.. line you only need to define gear that is different from the set you defined as BaseSet.

    Also I added the DefaultAfterCast line to your config which will make you equip your "Standard" set after literally everything you do. Added set names for weaponskill gear and meditate gear which you can fill in as you need to And I already defined the rules for that so you are good to go. Let me know if you have any more questions, I use spellcast for all my jobs.

    Code:
    <?xml version="1.0" ?>
    <spellcast>
        <config
            HideErrors="false"
            RestingSet="Resting"
            NormalSet="Standard"
            ShowGearSwaps="false"
            Debug="true"
            ShowSpellInfo="false"
            DefaultAfterCast="Standard"
    	/>
    <sets>
        <group name=“SAM” default=“yes”>
            <set name="Standard">
                <main lock="true">Gold Musketeer's Uchigatana</main>
                <sub lock="true">Mythril grip +1</sub>
                <ranged lock="true">War Bow +1</ranged>
                <ammo>Scorpion Arrow</ammo>
                <head>Walkure mask</head>
                <neck>Chivalrous Chain</neck>
                <lear>Beetle earring +1</lear>
                <rear>Beetle earring +1</rear>
                <body>Haubergeon</body>
                <hands>Ochimusha Kote</hands>
                <lring>Woodman ring</lring>
                <rring>Woodman ring</rring>
                <back>Nomad's Mantle</back>
                <waist>Life Belt</waist>
                <legs>Ryl.Kgt. Breeches</legs>
                <feet>Sarutobi Kyahan</feet>
            </set>
            <set name="Ranged" BaseSet="Standard">
                <head>Empress hairpin</head>
                <neck>Merman's gorget</neck>
            </set>
            <set name="WSGear" BaseSet="Standard" />
            <set name="Meditate" BaseSet="Standard">
                <head>Myochin Kabuto</head>
            </set>
    </group>
    </sets>
    <rules>
        <rule Spell="Meditate">
            <action type="equip" when="PreCast" set="Meditate" />
        </rule>
        <rule Spell="Tachi*">
            <action type="equip" when="precast" set="WSGear" />
        </rule>
        <rule CommandPrefix="/ra|/rangedattack">
            <action type="equip" when="PreCast" set="Ranged" />
        </rule>
    </rules>	
    </spellcast>


    Also I posted my ninja code on the windower spellcast wiki, if you were interested in checking it out just to get some examples of working code in action here is the link: CLICK HERE

  4. #4
    Melee Summoner
    Join Date
    Mar 2007
    Posts
    32
    BG Level
    1

    Re: SAM and Spellcast Issues

    Blabj and Swampthing, you have now become my heroes!

  5. #5
    Sea Torques
    Join Date
    May 2006
    Posts
    559
    BG Level
    5
    FFXIV Character
    Mr Gummi
    FFXIV Server
    Faerie

    Re: SAM and Spellcast Issues

    haha

  6. #6
    Melee Summoner
    Join Date
    Mar 2007
    Posts
    32
    BG Level
    1

    Re: SAM and Spellcast Issues

    Thanks for all your help although there was a problem with this section

    <group name="SAM" default=“yes”>

    All I did was just rewrite it again, and it now all shows up perfectly in XML view, so really happy now!

    EDIT

    Is there anyway of getting the gear to stick and not go back to the standard gear after the spell has been cast, I tend to have a problem with the hate line (yes I just got Tachi: Yukikaze and like to show off a bit too much?

    <set name="DodgeGear" BaseSet="Standard">
    <head>Empress hairpin</head>
    </set>
    <rule Spell="Seigan">
    <action type="equip" when="precast" set="DodgeGear" />
    </rule>
    <rule Spell="Third Eye">
    <action type="equip" when="precast" set="DodgeGear" />
    </rule>

    Would be what I am thinking at the moment. However as soon as the spell is cast it goes back to Standard

  7. #7
    Sea Torques
    Join Date
    May 2006
    Posts
    559
    BG Level
    5
    FFXIV Character
    Mr Gummi
    FFXIV Server
    Faerie

    Re: SAM and Spellcast Issues

    Great! Glad it's working for you now. I'd be really interested to know what the problem was with that line you quoted

  8. #8
    Melee Summoner
    Join Date
    Mar 2007
    Posts
    32
    BG Level
    1

    Re: SAM and Spellcast Issues

    See above post if you would, guess it was just something to do with the " " I'm thinking!

  9. #9
    Sea Torques
    Join Date
    May 2006
    Posts
    559
    BG Level
    5
    FFXIV Character
    Mr Gummi
    FFXIV Server
    Faerie

    Re: SAM and Spellcast Issues

    Ahh, yeah ir probably was a problem with quotes or something like that XD lolme.

    To answer your question about changing back to your standard gear, remove the DefaultAfterCast="Standard" line in the config section, and then down in the rules section you can add code to make it equip your standard set only where you want to, I'll use your seigan rule as an example and you can add that anywhere else you want


    <rule Spell="Seigan">
    <action type="equip" when="precast" set="DodgeGear" />
    <action type="equip" when="aftercast" set="Standard" />
    </rule>


    I'm sure you probably could have figured that out but I thought I would type it anyways XD The biggest thing was taking out the DefaultAfterCast from the config section.

    edit: oh yeah, I know you aren't there yet but no sense not being prepared for the future! Eventually you won't use the same gear for every weaponskill, and the reason that I prefer to use rules like <rule Spell="(specific ws names)"> as opposed to <rule CommandPrefix="/ws|/weaponskill"> as some do is because I don't use the same gear for every weaponskill, an example being different weaponskill gorgets for YGK. So when you get to that level simply remove the star from <rule Spell="Tachi*"> and instead make a set for each ws's gear and a separate rule for each ws.

  10. #10
    Melee Summoner
    Join Date
    Mar 2007
    Posts
    32
    BG Level
    1

    Re: SAM and Spellcast Issues

    You should be made a saint!

  11. #11
    Melee Summoner
    Join Date
    Mar 2007
    Posts
    32
    BG Level
    1

    Re: SAM and Spellcast Issues

    Sorry new Issue with this as I can't seem to get the WSGear to function at all which is hurting my WS's quite a lot? Can anyone see any problems with it! I have the WS individually macroed so it shouldn't be a menu problem.

    Any help would be great again!



    Code:
     <?xml version="1.0" ?> 
    - <spellcast>
      <config HideErrors="false" RestingSet="Resting" NormalSet="Standard" ShowGearSwaps="false" Debug="true" ShowSpellInfo="false" DefaultAfterCast="Standard" /> 
    - <sets>
    - <group name="SAM" default="yes">
    - <set name="Standard">
      <main lock="true">Onimaru</main> 
      <sub lock="true">Mythril grip +1</sub> 
      <ranged lock="true">War Bow +1</ranged> 
      <ammo>Scorpion Arrow</ammo> 
      <head>Walahra Turban</head> 
      <neck>Chivalrous Chain</neck> 
      <lear>Bushinomimi</lear> 
      <rear>Fowling Earring</rear> 
      <body>Haubergeon</body> 
      <hands>Ochimusha Kote</hands> 
      <lring>Woodsman ring</lring> 
      <rring>Woodsman ring</rring> 
      <back>Amemet mantle +1</back> 
      <waist>Life Belt</waist> 
      <legs>Ryl.Kgt. Breeches</legs> 
      <feet>Saotome Sune-Ate</feet> 
      </set>
    - <set name="Resting" BaseSet="Standard">
      <body>Pilgrim Tunica</body> 
      <hands>Vgd. Gloves</hands> 
      <legs>Vagabond's Hose</legs> 
      <feet>Vagabond's Boots</feet> 
      </set>
    - <set name="Ranged" BaseSet="Standard">
      <head>Empress hairpin</head> 
      <neck>Merman's gorget</neck> 
      <lring>Behemoth Ring</lring> 
      <rring>Behemoth Ring</rring> 
      <hands>Federation Tekko</hands> 
      </set>
    - <set name="WSGear" BaseSet="Standard">
      <head>Wyvern Helm</head> 
      <waist>Warwolf Belt</waist> 
      </set>
    - <set name="Meditate" BaseSet="Standard">
      <hands>Saotome Kote</hands> 
      <head>Myochin Kabuto</head> 
      </set>
    - <set name="Warding" BaseSet="Standard">
      <head>Myochin Kabuto</head> 
      </set>
      </group>
    - <group name="PLD">
    - <set name="Standard">
      <main lock="true">Gladiator</main> 
      <sub lock="true">Republic Targe</sub> 
      <ranged lock="true" /> 
      <ammo /> 
      <head>Empress hairpin</head> 
      <neck>Spike Necklace</neck> 
      <lear>Energy Earring</lear> 
      <rear>Energy Earring</rear> 
      <body>Beetle Harness +1</body> 
      <hands>Savage Gauntlets</hands> 
      <lring>Stamina Ring</lring> 
      <rring>Stamina Ring</rring> 
      <back>Dhalmel Mantle +1</back> 
      <waist>Warrior's Belt +1</waist> 
      <legs>Ryl.Ftm. Trousers</legs> 
      <feet>Power Sandals</feet> 
      </set>
    - <set name="Resting" BaseSet="Standard">
      <body>Pilgrim Tunica</body> 
      <legs>Vagabond's Hose</legs> 
      <feet>Vagabond's Boots</feet> 
      <waist>Mohbwa Sash +1</waist> 
      </set>
    - <set name="Cure" BaseSet="Standard">
      <neck>Promise Badge</neck> 
      </set>
      </group>
      </sets>
    - <rules>
    - <rule Spell="Meditate">
      <action type="equip" when="PreCast" set="Meditate" /> 
      </rule>
    - <rule CommandPrefix="/ws*|/weaponskill*">
      <action type="equip" when="PreCast" set="WSGear" /> 
      </rule>
    - <rule CommandPrefix="/ra|/rangedattack">
      <action type="equip" when="Precast" Set="Ranged" /> 
      <action type="midcastdelay" delay="7" /> 
      <action type="equip" when="midcast" set="Standard" /> 
      </rule>
    - <rule Spell="Warding Cirle">
      <action type="equip" when="PreCast" set="Warding" /> 
      </rule>
    - <rule Spell="Cure*">
      <action type="equip" when="PreCast" set="Cure" /> 
      <action type="midcastdelay" delay="4" /> 
      <action type="equip" when="midcast" set="Standard" /> 
      </rule>
      </rules>
      </spellcast>

  12. #12
    Fake Numbers
    Join Date
    Dec 2006
    Posts
    89
    BG Level
    2
    FFXI Server
    Asura

    Re: SAM and Spellcast Issues

    whats this stuff mean!>?!?! Is that just a cool macro?

  13. #13
    Melee Summoner
    Join Date
    Mar 2007
    Posts
    32
    BG Level
    1

    Re: SAM and Spellcast Issues

    Quote Originally Posted by Lagunasa
    whats this stuff mean!>?!?! Is that just a cool macro?
    Its a plugin for Windower that enables you to change equipment for spells as well as other little things.

    Well it appears that the code actually works when its using the menu system, however not when macroed

    the WS macros are just

    (|/weaponskill|) "(|Tachi: Gekko|)" <t>

    Change Gekko for other WS and it doesn't work. Anyone see any faults?

  14. #14
    Salvage Bans
    Join Date
    May 2006
    Posts
    963
    BG Level
    5
    FFXI Server
    Lakshmi

    Re: SAM and Spellcast Issues

    On the windower forums there is a whole forum where people can ask about scripting issues in spellcast.
    http://blogsap.files.wordpress.com/2...e_you_know.jpg

  15. #15
    New Spam Forum
    Join Date
    Sep 2007
    Posts
    153
    BG Level
    3

    Re: SAM and Spellcast Issues

    Quote Originally Posted by Verve
    Quote Originally Posted by Lagunasa
    whats this stuff mean!>?!?! Is that just a cool macro?
    Its a plugin for Windower that enables you to change equipment for spells as well as other little things.

    Well it appears that the code actually works when its using the menu system, however not when macroed

    the WS macros are just

    (|/weaponskill|) "(|Tachi: Gekko|)" <t>

    Change Gekko for other WS and it doesn't work. Anyone see any faults?

    probably doesnt support autotrans, just change it to normal

    Code:
    /ws "Tachi: Gekko" <t>

  16. #16
    Fake Numbers
    Join Date
    Jun 2007
    Posts
    96
    BG Level
    2
    FFXI Server
    Odin

    Re: SAM and Spellcast Issues

    Quote Originally Posted by Verve
    ...Stuff...
    Code:
      <set name="WSGear" BaseSet="Standard">
        <head>Wyvern Helm</head> 
        <waist>Warwolf Belt</waist> 
      </set>
      ...
      <rule CommandPrefix="/ws*|/weaponskill*">
        <action type="equip" when="PreCast" set="WSGear" /> 
      </rule>
    I had similar issues at first. As it turns out, your when statement needs to be adjusted to the following:

    Code:
      <rule CommandPrefix="/ws*|/weaponskill*">
        <action type="equip" when="Prews" set="WSGear" /> 
      </rule>
    This works for me. I think that hardcodes a one second delay between your equipment swap and your Weaponskill. I also have an action that sets back to my Standard gear with when="Afterws".

  17. #17
    souleman
    Guest

    Re: SAM and Spellcast Issues

    For WS, just use this:

    Code:
    <if Type="WeaponSkill" NotTPLT="100">
         <action type="castdelay" delay=".2" />
         <action type="Equip" when="Precast" set="WSGear" />
    </if>
    Basically, for any "instant" things (ie, WS and JA), use the castdelay line and then the equip Precasst. Also, for ranged, use spell=Ranged.

    (notice that if is for spellcast 2.11. If your still using 2.10, then use rule.

  18. #18
    Melee Summoner
    Join Date
    Mar 2007
    Posts
    32
    BG Level
    1

    Re: SAM and Spellcast Issues

    Cheers everyone!

Similar Threads

  1. 5/5 Usukane great for monk, but what about sam and nin?
    By karril in forum FFXI: Everything
    Replies: 17
    Last Post: 2008-05-06, 00:29
  2. SAM and meat pre-60
    By Sta in forum FFXI: Everything
    Replies: 9
    Last Post: 2008-01-16, 17:17
  3. /sam and third eye
    By Zhais in forum FFXI: Everything
    Replies: 13
    Last Post: 2007-12-31, 16:47