Item Search
     
BG-Wiki Search
Page 6 of 10 FirstFirst ... 4 5 6 7 8 ... LastLast
Results 101 to 120 of 184

Thread: Writing Macros     submit to reddit submit to twitter

  1. #101
    Cerberus
    Join Date
    Sep 2007
    Posts
    472
    BG Level
    4
    FFXIV Character
    Phede Mihnao
    FFXIV Server
    Midgardsormr
    FFXI Server
    Quetzalcoatl

    Quote Originally Posted by Psion View Post
    I changed it to my gear for the tp/ws/ranged attack parts, and quick draw, but not for the /mage sub parts. If I didn't change everything, would that affect it?
    Edit: former post:
    Spoiler: show
    When it says this in the console:

    File: XMLname.XML Group: Groupname

    Is the group name COR_(mage job here)? If so, it's probably loading the gear group from the COR_MAGE group that you haven't edited.

    It'd help to pastebin the thing or tell me what XML file you copied.


    Nevermind, the spoilered post is clearly not the issue. Could you repaste that code wrapping so I can see proper spacing?

    Looking at the rules section, you might need to read through there and replace some gear options. The guy who wrote this added a lot of gear swaps in the rules section, which could be quite bothersome for you if you don't understand what the rules mean. You're probably going to have to search through the whole XML file for gear swaps and adjust them as appropriate.

  2. #102
    Chram
    Join Date
    Nov 2007
    Posts
    2,622
    BG Level
    7

    How do I do that? D:

  3. #103
    Cerberus
    Join Date
    Sep 2007
    Posts
    472
    BG Level
    4
    FFXIV Character
    Phede Mihnao
    FFXIV Server
    Midgardsormr
    FFXI Server
    Quetzalcoatl

    Quote Originally Posted by Psion View Post
    How do I do that? D:
    Open up the XML file, look through this part right here:

    Spoiler: show
    Code:
    <rules>
        <if status="idle" SubJob="WHM|RDM|BLM|SMN|BLU|SCH" >
          <equip when="idle|aftercast" set="COR-MAGE" />
        </if>
        <elseif status="resting" SubJob="WHM|RDM|BLM|SMN|BLU|SCH" >
          <equip when="resting" set="Resting" />
        </elseif>
        <elseif status="idle|resting" >
          <equip when="idle|aftercast" set="TOWN" />
        </elseif>
        <elseif status="engaged">
          <equip when="engaged|aftercast" set="TP" />
        </elseif>
        <if CommandPrefix="/ra*">
          <if SubJob="WHM|RDM|BLM|SMN|BLU|SCH">
            <equip when="precast|midcast" set="RANGED">
              <main lock="yes">Trailer's Kukri</main>
              <lear lock="yes">Hollow earring</lear>
              <rear lock="yes">Drone earring</rear>
            </equip>
          </if>
          <elseif SubJob="RNG">
            <equip when="precast|midcast" set="RANGED">
              <lear lock="yes">Vision earring</lear>
              <rear lock="yes">Drone earring</rear>
              <!-- <waist lock="yes">Gun belt</waist> <== use this unless you have Commodore belt -->
            </equip>
          </elseif>
          <else>
            <equip when="precast|midcast" set="RANGED">
              <lear lock="yes">Vision earring</lear>
              <rear lock="yes">Drone earring</rear>
            </equip>
          </else>
        </if>
        <elseif type="WhiteMagic">
          <equip when="precast" set="COR-MAGE"/>
          <if skill="HealingMagic">
            <equip when="precast" set="HealingMagic" />
            <if Spell="Cur*">
              <if Spell="Cure III" MPLT="46">
                <changespell Spell="Cure II" />
              </if>
              <elseif Spell="Cure II" MPLT="24">
                <changespell Spell="Cure" />
              </elseif>
            </if>
          </if>
          <if spell="Reraise">
            <if BuffActive="Reraise">
              <action type="midcastdelay" delay="3.0" />
              <action type="Command" when="midcast">cancel 113</action>
            </if>
          </if>
          <elseif spell="Stoneskin">
            <if BuffActive="Stoneskin">
              <action type="midcastdelay" delay="3.0" />
              <action type="Command" when="midcast">cancel 37</action>
            </if>
          </elseif>
          <elseif Spell="Sneak">
            <if advanced = '( "%Target" = "%PlayerName" ) OR "%TargetType" != "PLAYER"' >
              <addtochat color = "57">SelfSneak triggered -- using Dream boots +1 [TargetType: %TargetType]</addtochat>
              <changetarget Target="&lt;me&gt;" />
              <equip when="precast">
                <feet lock="yes">Dream boots +1</feet>
              </equip>
            </if>
            <if BuffActive="Sneak">
              <action type="midcastdelay" delay="2.0" />
              <action type="Command" when="midcast">cancel 71</action>
            </if>
          </elseif>
          <elseif Spell="Blink" >
            <if BuffActive="Blink" >
              <action type="Command" when="midcast">cancel 36</action>
            </if>
          </elseif>
        </elseif>
        <elseif type="Ninjutsu">
          <if spell="Utsusemi: Ni">
            <action type="midcastdelay" delay="1.0" />
          </if>
          <elseif spell="Utsusemi: Ichi">
            <action type="midcastdelay" delay="3.3" />
            <action type="Command" when="midcast">cancel 66</action>
          </elseif>
          <elseif Spell="Monomi*">
            <addtochat color = "57">Monomi triggered -- using Dream boots +1</addtochat>
            <equip when="precast">
              <feet lock="yes">Dream boots +1</feet>
            </equip>
            <if BuffActive="Sneak">
              <action type="midcastdelay" delay="3.3" />
              <action type="Command" when="midcast">cancel 71</action>
            </if>
          </elseif>
        </elseif>
        <!-- WEAPONSKILL -->
        <elseif Type="WeaponSkill">
          <if TPGT="99">
            <if notbuffactive="Flash">
              <if notbuffactive="Amnesia">
                <equip when="precast|midcast" set="SLUG" />
                <command when="aftercast" delay="6">input /lockon on</command>
              </if>
            </if>
            <else>
              <action type="AddToChat" color="39">WS blocked while Amnesia/Flash is in effect.</action>
              <action type="cancelspell"/>
            </else>
          </if>
        </elseif>
        <!-- QUICK DRAW -->
        <elseif type="CorsairShot" notbuffactive="Amnesia">
          <equip when="precast" set="QD" />
          <!-- Elemental Obi check. -->
    <if advanced='(("%SpellElement" = "%DayElement") OR ("%SpellElement" = "%WeatherElement")) AND "$%SpellElementObiAvailable" = "1"'>
            <equip when="precast|midcast">
              <waist lock="yes">$%SpellElementObi</waist>
            </equip>
            <addtochat color = "57">Using $%SpellElementObi.</addtochat>
          </if>
          <!-- Treating Elemental Shots and Elemental Staffs. -->
          <if SubJob="WHM|RDM|BLM|SMN|BLU|SCH">
            <if Advanced='"$%SpellElementStaff" == "1"'>
              <action type="equip" when="precast|midcast" set="%SpellElementStaff" />
              <addtochat color = "57">Using %SpellElement Staff.</addtochat>
            </if>
            <!-- Elemental Grip check. -->
            <if Advanced='"$%SpellElementGrip" == "1"'>
              <equip when="midcast">
                <sub lock="true">%SpellElement Grip</sub>
              </equip>
              <addtochat color = "57">Using %SpellElement Grip.</addtochat>
            </if>
            <if Spell = "Light Shot|Dark Shot">
              <equip when="precast|midcast">
                <lear lock="yes">Drone earring</lear>
              </equip>
            </if>
          </if>
          <!-- Don't waste TP when QD if melee Sub. -->
          <elseif SubJob="RNG|NIN|WAR|DNC|THF|SAM">
            <if Spell = "Light Shot|Dark Shot">
              <equip when="precast|midcast">
                <lear lock="yes">Drone earring</lear>
              </equip>
            </if>
          </elseif>
        </elseif>
        <!-- PHANTOM ROLL - Luzaf's handled in macros instead of here. -->
        <elseif advanced='( "%Spell" = "* Roll" ) AND ( "$CommodoreTricorne" == "1" )'>
          <addtochat color = "57">Using Commodore Tricorne.</addtochat>
          <equip when="precast">
            <head lock="yes">Commodore Tricorne</head>
          </equip>
        </elseif>
        <!-- RANDOM DEAL -->
        <elseif advanced='( "%Spell" = "Random Deal" ) AND ( "$CommodoreFrac" == "1" )'>
          <addtochat color = "57">Using Commodore Frac.</addtochat>
          <equip when="precast">
            <body lock="yes">Commodore Frac</body>
          </equip>
        </elseif>
        <!-- FOR DEBUGGING -->
        <!-- <else>
    <addtochat color = "57">COR.xml never triggered any action on this event: Skill="%Skill", Status="%status", Spell="%spell" and Type="%Type".</addtochat>
        </else> -->
      </rules>
    </spellcast>


    And look for each gear swap (under the exact same name specifications as the ones in the groups section) and replace it with your gear. I wouldn't touch the "%elementobi" gear, as that's going to be your specific elemental obis for each shot.

    Also, edit your post above with these tags:[ spoiler ][ CODE ]XML goes here.[ / CODE ][ / spoiler ] without the spaces to spoiler your massive XML file and make it look much more organized

  4. #104
    Chram
    Join Date
    Nov 2007
    Posts
    2,622
    BG Level
    7

    Like this?

    Spoiler: show
    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <!-- COR.XML by Mojava. Thanks to Aikar for a wonderful plugin. -->
    <!-- REQUIRES spellcast 2.30+ -->
    <!-- 091008: implemented changes suggested by Frost following Kneeru's inquiry. -->
    <spellcast xmlns:xi="http://www.w3.org/2001/XInclude">
      <config
            RequireVersion="2.30"
            Debug="False"
            ShowSpellInfo="False"
            ShowGearSwaps="False"
            />
      <sets>
        <group name="COR" default="yes">
          <set name="TOWN">
            <ammo>Steel bullet</ammo>
            <head>Optical hat</head>
            <neck>Spectacles</neck>
            <lear>Diabolos's earring</lear>
            <rear>Coral earring</rear>
            <body>Pahluwan khazagand</body>
            <hands>Cobra Unit mittens</hands>
            <waist>Swift Belt</waist>
            <lring>Ecphoria Ring</lring>
            <rring>Rajas ring</rring>
            <back>Amemet mantle +1</back>
            <legs>Pahluwan seraweels</legs>
            <feet>Cobra Unit leggings</feet>
          </set>
          <!-- RA: earrings handled in the rules-section -->
          <!-- due to subjob-dependent gear. -->
          <set name="RANGED">
            <ammo>Steel Bullet</ammo>
            <head>Corsair's tricorne</head>
            <neck>Spectacles</neck>
            <body>Pahluwan khazagand</body>
            <hands>Crimson finger gauntlets</hands>
            <lring>Behemoth ring</lring>
            <rring>Behemoth ring</rring>
            <waist>Gun belt</waist>
            <legs>Pahluwan seraweels</legs>
            <feet>Corsair's bottes</feet>
            <back>Amemet mantle +1</back>
          </set>
          <!-- Caps sword acc on Grt Colibri, switching in more STR -->
          <!-- This assumes Sushi + Hunter's roll -->
          <set name="TP">
            <main>Mercurial kris</main>
            <head>Optical hat</head>
            <neck>Spectacles</neck>
            <lear>Diabolos's earring</lear>
            <rear>Coral earring</rear>
            <body>Pahluwan khazagand</body>
            <hands>Cobra Unit mittens</hands>
            <lring>Ecphoria ring</lring>
            <rring>Rajas ring</rring>
            <waist>Swift belt</waist>
            <legs>Pahluwan seraweels</legs>
            <feet>Cobra Unit leggings</feet>
            <back>Amemet mantle +1</back>
          </set>
          <set name="SLUG" baseset="RANGED">
            <ammo>Steel bullet</ammo>
            <body>Pahluwan khazagand</body>
            <lring>Behemoth ring</lring>
            <waist>Gun belt</waist>
            <feet>Corsair's bottes</feet>
          </set>
          <set name="QD">
    		<ammo>Steel bullet</ammo>
            <waist>Royal Knight's belt</waist>
            <lear>Moldavite earring</lear>
            <rear>Drone earring</rear>
            <lring>Emerald ring</lring>
            <rring>Emerald ring</rring>
            <body>Corsair's frac</body>
            <legs>Commodore culottes</legs>
            <feet>Bounding boots</feet>
    		<neck>Agile gorget</neck>
    		<head>Corsair's tricorne</head>
          </set>
          <set name="Resting">
            <main>Dark Staff</main>
          </set>
          <set name="COR-MAGE">
            <main>Earth Staff</main>
            <head>Corsair's tricorne</head>
            <lear>Moldavite earring</lear>
            <rear>Drone earring</rear>
            <body>Mirke wardecors</body>
            <hands>Commodore gants</hands>
            <lring>Garrulous ring</lring>
            <rring>Emerald ring</rring>
            <waist>Scouter's rope</waist>
            <legs>Denali kecks</legs>
            <feet>Hermes' sandals</feet>
          </set>
          <set name="HealingMagic" baseset="COR-MAGE">
            <main>Light staff</main>
            <head>Walahra Turban</head>
            <waist>Swift belt</waist>
          </set>
          <!-- Change the following depending on if you have the HQ or not -->
          <set name="DarkStaff"><main>Dark Staff</main></set>
          <set name="LightStaff"><main>Light Staff</main></set>
          <set name="ThunderStaff"><main>Thunder Staff</main></set>
          <set name="IceStaff"><main>Aquilo's Staff</main></set>
          <set name="FireStaff"><main>Fire Staff</main></set>
          <set name="WindStaff"><main>Wind Staff</main></set>
          <set name="WaterStaff"><main>Water Staff</main></set>
          <set name="EarthStaff"><main>Earth Staff</main></set>
        </group>
      </sets>
      <variables>
        <!-- Elemental Obi definitions. -->
        <var name = "IceObi">Hyorin Obi</var>
        <var name = "WindObi">Furin Obi</var>
        <var name = "EarthObi">Dorin Obi</var>
        <var name = "ThunderObi">Rairin Obi</var>
        <var name = "WaterObi">Suirin Obi</var>
        <var name = "FireObi">Karin Obi</var>
        <var name = "DarkObi">Anrin Obi</var>
        <var name = "LightObi">Korin Obi</var>
        <!-- Elemental Obi's, set to 1 for the ones you have. -->
        <var name = "DarkObiAvailable">0</var>
        <var name = "LightObiAvailable">0</var>
        <var name = "ThunderObiAvailable">0</var>
        <var name = "IceObiAvailable">0</var>
        <var name = "FireObiAvailable">0</var>
        <var name = "WindObiAvailable">0</var>
        <var name = "WaterObiAvailable">0</var>
        <var name = "EarthObiAvailable">0</var>
        <!-- Elemental Grips, set to 1 for the ones you have. -->
        <var name = "DarkGrip">0</var>
        <var name = "ThunderGrip">0</var>
        <var name = "IceGrip">0</var>
        <var name = "FireGrip">0</var>
        <var name = "WindGrip">0</var>
        <var name = "WaterGrip">0</var>
        <var name = "EarthGrip">0</var>
        <!-- Elemental Staffs, set to 1 for the ones you usually bring. -->
        <var name = "DarkStaff">1</var>
        <var name = "LightStaff">1</var>
        <var name = "ThunderStaff">0</var>
        <var name = "IceStaff">1</var>
        <var name = "FireStaff">0</var>
        <var name = "WindStaff">1</var>
        <var name = "WaterStaff">0</var>
        <var name = "EarthStaff">1</var>
        <!-- Special Equipment, set to 1 for the ones you have. -->
        <var name = "CommodoreTricorne">0</var>
        <var name = "CommodoreFrac">1</var>
      </variables>
      <rules>
        <if status="idle" SubJob="WHM|RDM|BLM|SMN|BLU|SCH" >
          <equip when="idle|aftercast" set="COR-MAGE" />
        </if>
        <elseif status="resting" SubJob="WHM|RDM|BLM|SMN|BLU|SCH" >
          <equip when="resting" set="Resting" />
        </elseif>
        <elseif status="idle|resting" >
          <equip when="idle|aftercast" set="TOWN" />
        </elseif>
        <elseif status="engaged">
          <equip when="engaged|aftercast" set="TP" />
        </elseif>
        <if CommandPrefix="/ra*">
          <if SubJob="WHM|RDM|BLM|SMN|BLU|SCH">
            <equip when="precast|midcast" set="RANGED">
              <main lock="yes">Trailer's Kukri</main>
              <lear lock="yes">Hollow earring</lear>
              <rear lock="yes">Drone earring</rear>
            </equip>
          </if>
          <elseif SubJob="RNG">
            <equip when="precast|midcast" set="RANGED">
              <lear lock="yes">Vision earring</lear>
              <rear lock="yes">Drone earring</rear>
              <!-- <waist lock="yes">Gun belt</waist> <== use this unless you have Commodore belt -->
            </equip>
          </elseif>
          <else>
            <equip when="precast|midcast" set="RANGED">
              <lear lock="yes">Vision earring</lear>
              <rear lock="yes">Drone earring</rear>
            </equip>
          </else>
        </if>
        <elseif type="WhiteMagic">
          <equip when="precast" set="COR-MAGE"/>
          <if skill="HealingMagic">
            <equip when="precast" set="HealingMagic" />
            <if Spell="Cur*">
              <if Spell="Cure III" MPLT="46">
                <changespell Spell="Cure II" />
              </if>
              <elseif Spell="Cure II" MPLT="24">
                <changespell Spell="Cure" />
              </elseif>
            </if>
          </if>
          <if spell="Reraise">
            <if BuffActive="Reraise">
              <action type="midcastdelay" delay="3.0" />
              <action type="Command" when="midcast">cancel 113</action>
            </if>
          </if>
          <elseif spell="Stoneskin">
            <if BuffActive="Stoneskin">
              <action type="midcastdelay" delay="3.0" />
              <action type="Command" when="midcast">cancel 37</action>
            </if>
          </elseif>
          <elseif Spell="Sneak">
            <if advanced = '( "%Target" = "%PlayerName" ) OR "%TargetType" != "PLAYER"' >
              <addtochat color = "57">SelfSneak triggered -- using Dream boots +1 [TargetType: %TargetType]</addtochat>
              <changetarget Target="&lt;me&gt;" />
              <equip when="precast">
                <feet lock="yes">Dream boots +1</feet>
              </equip>
            </if>
            <if BuffActive="Sneak">
              <action type="midcastdelay" delay="2.0" />
              <action type="Command" when="midcast">cancel 71</action>
            </if>
          </elseif>
          <elseif Spell="Blink" >
            <if BuffActive="Blink" >
              <action type="Command" when="midcast">cancel 36</action>
            </if>
          </elseif>
        </elseif>
        <elseif type="Ninjutsu">
          <if spell="Utsusemi: Ni">
            <action type="midcastdelay" delay="1.0" />
          </if>
          <elseif spell="Utsusemi: Ichi">
            <action type="midcastdelay" delay="3.3" />
            <action type="Command" when="midcast">cancel 66</action>
          </elseif>
          <elseif Spell="Monomi*">
            <addtochat color = "57">Monomi triggered -- using Dream boots +1</addtochat>
            <equip when="precast">
              <feet lock="yes">Dream boots +1</feet>
            </equip>
            <if BuffActive="Sneak">
              <action type="midcastdelay" delay="3.3" />
              <action type="Command" when="midcast">cancel 71</action>
            </if>
          </elseif>
        </elseif>
        <!-- WEAPONSKILL -->
        <elseif Type="WeaponSkill">
          <if TPGT="99">
            <if notbuffactive="Flash">
              <if notbuffactive="Amnesia">
                <equip when="precast|midcast" set="SLUG" />
                <command when="aftercast" delay="6">input /lockon on</command>
              </if>
            </if>
            <else>
              <action type="AddToChat" color="39">WS blocked while Amnesia/Flash is in effect.</action>
              <action type="cancelspell"/>
            </else>
          </if>
        </elseif>
        <!-- QUICK DRAW -->
        <elseif type="CorsairShot" notbuffactive="Amnesia">
          <equip when="precast" set="QD" />
          <!-- Elemental Obi check. -->
          <if advanced='(("%SpellElement" = "%DayElement") OR ("%SpellElement" = "%WeatherElement")) AND "$%SpellElementObiAvailable" = "1"'>
            <equip when="precast|midcast">
              <waist lock="yes">$%SpellElementObi</waist>
            </equip>
            <addtochat color = "57">Using $%SpellElementObi.</addtochat>
          </if>
          <!-- Treating Elemental Shots and Elemental Staffs. -->
          <if SubJob="WHM|RDM|BLM|SMN|BLU|SCH">
            <if Advanced='"$%SpellElementStaff" == "1"'>
              <action type="equip" when="precast|midcast" set="%SpellElementStaff" />
              <addtochat color = "57">Using %SpellElement Staff.</addtochat>
            </if>
            <!-- Elemental Grip check. -->
            <if Advanced='"$%SpellElementGrip" == "1"'>
              <equip when="midcast">
                <sub lock="true">%SpellElement Grip</sub>
              </equip>
              <addtochat color = "57">Using %SpellElement Grip.</addtochat>
            </if>
            <if Spell = "Light Shot|Dark Shot">
              <equip when="precast|midcast">
                <lear lock="yes">Drone earring</lear>
              </equip>
            </if>
          </if>
          <!-- Don't waste TP when QD if melee Sub. -->
          <elseif SubJob="RNG|NIN|WAR|DNC|THF|SAM">
            <if Spell = "Light Shot|Dark Shot">
              <equip when="precast|midcast">
                <lear lock="yes">Drone earring</lear>
              </equip>
            </if>
          </elseif>
        </elseif>
        <!-- PHANTOM ROLL - Luzaf's handled in macros instead of here. -->
        <elseif advanced='( "%Spell" = "* Roll" ) AND ( "$CommodoreTricorne" == "1" )'>
          <addtochat color = "57">Using Commodore Tricorne.</addtochat>
          <equip when="precast">
            <head lock="yes">Commodore Tricorne</head>
          </equip>
        </elseif>
        <!-- RANDOM DEAL -->
        <elseif advanced='( "%Spell" = "Random Deal" ) AND ( "$CommodoreFrac" == "1" )'>
          <addtochat color = "57">Using Commodore Frac.</addtochat>
          <equip when="precast">
            <body lock="yes">Commodore Frac</body>
          </equip>
        </elseif>
        <!-- FOR DEBUGGING -->
        <!-- <else>
          <addtochat color = "57">COR.xml never triggered any action on this event: Skill="%Skill", Status="%status", Spell="%spell" and Type="%Type".</addtochat>
        </else> -->
      </rules>
    </spellcast>

  5. #105
    Cerberus
    Join Date
    Sep 2007
    Posts
    472
    BG Level
    4
    FFXIV Character
    Phede Mihnao
    FFXIV Server
    Midgardsormr
    FFXI Server
    Quetzalcoatl

    Quote Originally Posted by Psion View Post
    Like this?

    Spoiler: show
    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <!-- COR.XML by Mojava. Thanks to Aikar for a wonderful plugin. -->
    <!-- REQUIRES spellcast 2.30+ -->
    <!-- 091008: implemented changes suggested by Frost following Kneeru's inquiry. -->
    <spellcast xmlns:xi="http://www.w3.org/2001/XInclude">
      <config
            RequireVersion="2.30"
            Debug="False"
            ShowSpellInfo="False"
            ShowGearSwaps="False"
            />
      <sets>
        <group name="COR" default="yes">
          <set name="TOWN">
            <ammo>Steel bullet</ammo>
            <head>Optical hat</head>
            <neck>Spectacles</neck>
            <lear>Diabolos's earring</lear>
            <rear>Coral earring</rear>
            <body>Pahluwan khazagand</body>
            <hands>Cobra Unit mittens</hands>
            <waist>Swift Belt</waist>
            <lring>Ecphoria Ring</lring>
            <rring>Rajas ring</rring>
            <back>Amemet mantle +1</back>
            <legs>Pahluwan seraweels</legs>
            <feet>Cobra Unit leggings</feet>
          </set>
          <!-- RA: earrings handled in the rules-section -->
          <!-- due to subjob-dependent gear. -->
          <set name="RANGED">
            <ammo>Steel Bullet</ammo>
            <head>Corsair's tricorne</head>
            <neck>Spectacles</neck>
            <body>Pahluwan khazagand</body>
            <hands>Crimson finger gauntlets</hands>
            <lring>Behemoth ring</lring>
            <rring>Behemoth ring</rring>
            <waist>Gun belt</waist>
            <legs>Pahluwan seraweels</legs>
            <feet>Corsair's bottes</feet>
            <back>Amemet mantle +1</back>
          </set>
          <!-- Caps sword acc on Grt Colibri, switching in more STR -->
          <!-- This assumes Sushi + Hunter's roll -->
          <set name="TP">
            <main>Mercurial kris</main>
            <head>Optical hat</head>
            <neck>Spectacles</neck>
            <lear>Diabolos's earring</lear>
            <rear>Coral earring</rear>
            <body>Pahluwan khazagand</body>
            <hands>Cobra Unit mittens</hands>
            <lring>Ecphoria ring</lring>
            <rring>Rajas ring</rring>
            <waist>Swift belt</waist>
            <legs>Pahluwan seraweels</legs>
            <feet>Cobra Unit leggings</feet>
            <back>Amemet mantle +1</back>
          </set>
          <set name="SLUG" baseset="RANGED">
            <ammo>Steel bullet</ammo>
            <body>Pahluwan khazagand</body>
            <lring>Behemoth ring</lring>
            <waist>Gun belt</waist>
            <feet>Corsair's bottes</feet>
          </set>
          <set name="QD">
            <ammo>Steel bullet</ammo>
            <waist>Royal Knight's belt</waist>
            <lear>Moldavite earring</lear>
            <rear>Drone earring</rear>
            <lring>Emerald ring</lring>
            <rring>Emerald ring</rring>
            <body>Corsair's frac</body>
            <legs>Commodore culottes</legs>
            <feet>Bounding boots</feet>
            <neck>Agile gorget</neck>
            <head>Corsair's tricorne</head>
          </set>
          <set name="Resting">
            <main>Dark Staff</main>
          </set>
          <set name="COR-MAGE">
            <main>Earth Staff</main>
            <head>Corsair's tricorne</head>
            <lear>Moldavite earring</lear>
            <rear>Drone earring</rear>
            <body>Mirke wardecors</body>
            <hands>Commodore gants</hands>
            <lring>Garrulous ring</lring>
            <rring>Emerald ring</rring>
            <waist>Scouter's rope</waist>
            <legs>Denali kecks</legs>
            <feet>Hermes' sandals</feet>
          </set>
          <set name="HealingMagic" baseset="COR-MAGE">
            <main>Light staff</main>
            <head>Walahra Turban</head>
            <waist>Swift belt</waist>
          </set>
          <!-- Change the following depending on if you have the HQ or not -->
          <set name="DarkStaff"><main>Dark Staff</main></set>
          <set name="LightStaff"><main>Light Staff</main></set>
          <set name="ThunderStaff"><main>Thunder Staff</main></set>
          <set name="IceStaff"><main>Aquilo's Staff</main></set>
          <set name="FireStaff"><main>Fire Staff</main></set>
          <set name="WindStaff"><main>Wind Staff</main></set>
          <set name="WaterStaff"><main>Water Staff</main></set>
          <set name="EarthStaff"><main>Earth Staff</main></set>
        </group>
      </sets>
      <variables>
        <!-- Elemental Obi definitions. -->
        <var name = "IceObi">Hyorin Obi</var>
        <var name = "WindObi">Furin Obi</var>
        <var name = "EarthObi">Dorin Obi</var>
        <var name = "ThunderObi">Rairin Obi</var>
        <var name = "WaterObi">Suirin Obi</var>
        <var name = "FireObi">Karin Obi</var>
        <var name = "DarkObi">Anrin Obi</var>
        <var name = "LightObi">Korin Obi</var>
        <!-- Elemental Obi's, set to 1 for the ones you have. -->
        <var name = "DarkObiAvailable">0</var>
        <var name = "LightObiAvailable">0</var>
        <var name = "ThunderObiAvailable">0</var>
        <var name = "IceObiAvailable">0</var>
        <var name = "FireObiAvailable">0</var>
        <var name = "WindObiAvailable">0</var>
        <var name = "WaterObiAvailable">0</var>
        <var name = "EarthObiAvailable">0</var>
        <!-- Elemental Grips, set to 1 for the ones you have. -->
        <var name = "DarkGrip">0</var>
        <var name = "ThunderGrip">0</var>
        <var name = "IceGrip">0</var>
        <var name = "FireGrip">0</var>
        <var name = "WindGrip">0</var>
        <var name = "WaterGrip">0</var>
        <var name = "EarthGrip">0</var>
        <!-- Elemental Staffs, set to 1 for the ones you usually bring. -->
        <var name = "DarkStaff">1</var>
        <var name = "LightStaff">1</var>
        <var name = "ThunderStaff">0</var>
        <var name = "IceStaff">1</var>
        <var name = "FireStaff">0</var>
        <var name = "WindStaff">1</var>
        <var name = "WaterStaff">0</var>
        <var name = "EarthStaff">1</var>
        <!-- Special Equipment, set to 1 for the ones you have. -->
        <var name = "CommodoreTricorne">0</var>
        <var name = "CommodoreFrac">1</var>
      </variables>
      <rules>
        <if status="idle" SubJob="WHM|RDM|BLM|SMN|BLU|SCH" >
          <equip when="idle|aftercast" set="COR-MAGE" />
        </if>
        <elseif status="resting" SubJob="WHM|RDM|BLM|SMN|BLU|SCH" >
          <equip when="resting" set="Resting" />
        </elseif>
        <elseif status="idle|resting" >
          <equip when="idle|aftercast" set="TOWN" />
        </elseif>
        <elseif status="engaged">
          <equip when="engaged|aftercast" set="TP" />
        </elseif>
        <if CommandPrefix="/ra*">
          <if SubJob="WHM|RDM|BLM|SMN|BLU|SCH">
            <equip when="precast|midcast" set="RANGED">
              <main lock="yes">Trailer's Kukri</main>
              <lear lock="yes">Hollow earring</lear>
              <rear lock="yes">Drone earring</rear>
            </equip>
          </if>
          <elseif SubJob="RNG">
            <equip when="precast|midcast" set="RANGED">
              <lear lock="yes">Vision earring</lear>
              <rear lock="yes">Drone earring</rear>
              <!-- <waist lock="yes">Gun belt</waist> <== use this unless you have Commodore belt -->
            </equip>
          </elseif>
          <else>
            <equip when="precast|midcast" set="RANGED">
              <lear lock="yes">Vision earring</lear>
              <rear lock="yes">Drone earring</rear>
            </equip>
          </else>
        </if>
        <elseif type="WhiteMagic">
          <equip when="precast" set="COR-MAGE"/>
          <if skill="HealingMagic">
            <equip when="precast" set="HealingMagic" />
            <if Spell="Cur*">
              <if Spell="Cure III" MPLT="46">
                <changespell Spell="Cure II" />
              </if>
              <elseif Spell="Cure II" MPLT="24">
                <changespell Spell="Cure" />
              </elseif>
            </if>
          </if>
          <if spell="Reraise">
            <if BuffActive="Reraise">
              <action type="midcastdelay" delay="3.0" />
              <action type="Command" when="midcast">cancel 113</action>
            </if>
          </if>
          <elseif spell="Stoneskin">
            <if BuffActive="Stoneskin">
              <action type="midcastdelay" delay="3.0" />
              <action type="Command" when="midcast">cancel 37</action>
            </if>
          </elseif>
          <elseif Spell="Sneak">
            <if advanced = '( "%Target" = "%PlayerName" ) OR "%TargetType" != "PLAYER"' >
              <addtochat color = "57">SelfSneak triggered -- using Dream boots +1 [TargetType: %TargetType]</addtochat>
              <changetarget Target="&lt;me&gt;" />
              <equip when="precast">
                <feet lock="yes">Dream boots +1</feet>
              </equip>
            </if>
            <if BuffActive="Sneak">
              <action type="midcastdelay" delay="2.0" />
              <action type="Command" when="midcast">cancel 71</action>
            </if>
          </elseif>
          <elseif Spell="Blink" >
            <if BuffActive="Blink" >
              <action type="Command" when="midcast">cancel 36</action>
            </if>
          </elseif>
        </elseif>
        <elseif type="Ninjutsu">
          <if spell="Utsusemi: Ni">
            <action type="midcastdelay" delay="1.0" />
          </if>
          <elseif spell="Utsusemi: Ichi">
            <action type="midcastdelay" delay="3.3" />
            <action type="Command" when="midcast">cancel 66</action>
          </elseif>
          <elseif Spell="Monomi*">
            <addtochat color = "57">Monomi triggered -- using Dream boots +1</addtochat>
            <equip when="precast">
              <feet lock="yes">Dream boots +1</feet>
            </equip>
            <if BuffActive="Sneak">
              <action type="midcastdelay" delay="3.3" />
              <action type="Command" when="midcast">cancel 71</action>
            </if>
          </elseif>
        </elseif>
        <!-- WEAPONSKILL -->
        <elseif Type="WeaponSkill">
          <if TPGT="99">
            <if notbuffactive="Flash">
              <if notbuffactive="Amnesia">
                <equip when="precast|midcast" set="SLUG" />
                <command when="aftercast" delay="6">input /lockon on</command>
              </if>
            </if>
            <else>
              <action type="AddToChat" color="39">WS blocked while Amnesia/Flash is in effect.</action>
              <action type="cancelspell"/>
            </else>
          </if>
        </elseif>
        <!-- QUICK DRAW -->
        <elseif type="CorsairShot" notbuffactive="Amnesia">
          <equip when="precast" set="QD" />
          <!-- Elemental Obi check. -->
          <if advanced='(("%SpellElement" = "%DayElement") OR ("%SpellElement" = "%WeatherElement")) AND "$%SpellElementObiAvailable" = "1"'>
            <equip when="precast|midcast">
              <waist lock="yes">$%SpellElementObi</waist>
            </equip>
            <addtochat color = "57">Using $%SpellElementObi.</addtochat>
          </if>
          <!-- Treating Elemental Shots and Elemental Staffs. -->
          <if SubJob="WHM|RDM|BLM|SMN|BLU|SCH">
            <if Advanced='"$%SpellElementStaff" == "1"'>
              <action type="equip" when="precast|midcast" set="%SpellElementStaff" />
              <addtochat color = "57">Using %SpellElement Staff.</addtochat>
            </if>
            <!-- Elemental Grip check. -->
            <if Advanced='"$%SpellElementGrip" == "1"'>
              <equip when="midcast">
                <sub lock="true">%SpellElement Grip</sub>
              </equip>
              <addtochat color = "57">Using %SpellElement Grip.</addtochat>
            </if>
            <if Spell = "Light Shot|Dark Shot">
              <equip when="precast|midcast">
                <lear lock="yes">Drone earring</lear>
              </equip>
            </if>
          </if>
          <!-- Don't waste TP when QD if melee Sub. -->
          <elseif SubJob="RNG|NIN|WAR|DNC|THF|SAM">
            <if Spell = "Light Shot|Dark Shot">
              <equip when="precast|midcast">
                <lear lock="yes">Drone earring</lear>
              </equip>
            </if>
          </elseif>
        </elseif>
        <!-- PHANTOM ROLL - Luzaf's handled in macros instead of here. -->
        <elseif advanced='( "%Spell" = "* Roll" ) AND ( "$CommodoreTricorne" == "1" )'>
          <addtochat color = "57">Using Commodore Tricorne.</addtochat>
          <equip when="precast">
            <head lock="yes">Commodore Tricorne</head>
          </equip>
        </elseif>
        <!-- RANDOM DEAL -->
        <elseif advanced='( "%Spell" = "Random Deal" ) AND ( "$CommodoreFrac" == "1" )'>
          <addtochat color = "57">Using Commodore Frac.</addtochat>
          <equip when="precast">
            <body lock="yes">Commodore Frac</body>
          </equip>
        </elseif>
        <!-- FOR DEBUGGING -->
        <!-- <else>
          <addtochat color = "57">COR.xml never triggered any action on this event: Skill="%Skill", Status="%status", Spell="%spell" and Type="%Type".</addtochat>
        </else> -->
      </rules>
    </spellcast>
    Yes.

    Does my suggestion for your XML file fix your issue?

  6. #106
    Relic Weapons
    Join Date
    Apr 2006
    Posts
    313
    BG Level
    4
    FFXI Server
    Kujata

    Quote Originally Posted by Cymmina View Post
    I would very much like to see my sample macro duplicated with Windower. I'll give you a hint, it isn't this:

    Code:
    input /p {Gather Together} {Protectra} {Shellra};
    input /target <st>;
    input /ma "Protectra IV" <me>;
    wait 8;
    input /ma "Shellra V" <me>;
    It looks the same, but it isn't. Windower scripts don't wait for something like /target <st>, it just continues executing the script while the target cursor is up. FFXI will wait as long as I'd like before executing the next line.

    Windower scripts also can't be interrupted by executing another macro like FFXI macros can, which may or may not be desirable, depending on what you happen to need at the time (maybe I want to cast Haste instead of Shellra V and don't want to have to interrupt the spell or whatever).

    Not trying to say Windower scripts are wrong/evil, they just just can't do everything.

    Yekyaa's editor lets me easily edit/copy/paste/rearrange individual macros, sets, or even entire books of macros for multiple accounts. So that point is moot.
    I read through about 2 pages of this thread to see if someone gave a decent answer to this question and just gave up...

    Couldn't you play a game with bindings to sort of emulate this behavior? Suppose you bind ALT-1 as your top-level Protect/Shell "macro". The ALT-1 binding would have the party notification, then it would bind the enter key to the actual casting of protect/shell. The end of the enter-key binding would unbind itself and revert you to your original state. You could also bind the ESC key to unbind itself as well as the Enter Key so that you can cancel the the sequence. You could even add a /target <stpc> in the ALT-1 binding if the blue arrow makes you feel warm and fuzzy. Result would be something like:

    Code:
    alias KillBinds unbind enter; unbind escape;
    alias ProtShell input /ma Protect <me>; pause 8; input /ma Shell <me>; KillBinds;
    ALT-1:
    Code:
    input /p Gather Together blah blah...;
    bind enter ProtShell;
    bind escape KillBinds;
    input /target <st>;  /* For laughs */

  7. #107
    Chram
    Join Date
    Nov 2007
    Posts
    2,622
    BG Level
    7

    Nope, nothing happening still. I swapped all the gear with stuff I own. Seriously, is something supposed to happen on it's own? Am I supposed to do like:
    /ra <t>
    //load set "ranged"
    or something?

  8. #108
    Cerberus
    Join Date
    Sep 2007
    Posts
    472
    BG Level
    4
    FFXIV Character
    Phede Mihnao
    FFXIV Server
    Midgardsormr
    FFXI Server
    Quetzalcoatl

    If you want to be tricky with the whole Protectra and Shellra case, you could set your binding to this:

    input /p Gather Together for buffs!;
    Protectra V <st>;

    then have in your spellcast rules:

    Code:
    <if spell="Protectra V">
    <action type="Command" when="Aftercast">
    wait 3;
    Shellra V;
    </action>
    </if>
    Quote Originally Posted by Psion View Post
    Nope, nothing happening still. I swapped all the gear with stuff I own. Seriously, is something supposed to happen on it's own? Am I supposed to do like:
    /ra <t>
    //load set "ranged"
    or something?
    If you have everything set up right, it should do the correct gear swaps no matter what you do. If you select your spells through the menu, it should be exactly the same as if you hit a macro to do the same thing.

    I noticed this XML has a town gear set in it, are you testing these macros out on something or while in town?

    Might need to have any macros for this use /ra, since the ranged attack rule requires a prefix of /ra.
    For weaponskills, you need to have TP greater than 99%, and for flash/amnesia to not be active in order for the set to switch to the set "SLUG" before the WS.

    Also, the end of the rules section has a debugging function. Change this:
    Code:
    <!-- FOR DEBUGGING -->
        <!-- <else>
          <addtochat color = "57">COR.xml never triggered any action on this event: Skill="%Skill", Status="%status", Spell="%spell" and Type="%Type".</addtochat>
        </else> -->
    
    To this:
    
    <!-- FOR DEBUGGING -->
        <else>
          <addtochat color = "57">COR.xml never triggered any action on this event: Skill="%Skill", Status="%status", Spell="%spell" and Type="%Type".</addtochat>
        </else>
    And tell me what messages you get if you have "COR.xml never triggered any action on this event" on anything.

  9. #109
    Chram
    Join Date
    Nov 2007
    Posts
    2,622
    BG Level
    7

    I tried resting, engaging a mob, using /ja "Fire shot" <t>, using /ra <t>, and /ws "Slug Shot" macros... nothing happened for any of them. =/

    It's as if it's totally ignoring everything, yet the COR xml is loaded. I just wanted to change my gear /cry

  10. #110
    Cerberus
    Join Date
    Sep 2007
    Posts
    472
    BG Level
    4
    FFXIV Character
    Phede Mihnao
    FFXIV Server
    Midgardsormr
    FFXI Server
    Quetzalcoatl

    Saved the file to my own system as debugging.xml, loaded it up and tested out some of the actions a COR would use. If it didn't process then it would have given me the debug code. It only gave me a debug message when I tried bio, a spell I chose because it was not covered anywhere in the rules section.

    I think the issue now is that some gear swaps keep getting locked when you don't want them to be. There are 15 instances of locking gear. Try doing a ctrl+F, and replace all instances of lock="yes" with lock="no", saving it, and typing /sc reload in your FFXI chat bar.

    Failing that, CTRL+F every slot for good measure.

  11. #111
    Chram
    Join Date
    Nov 2007
    Posts
    2,622
    BG Level
    7

    done!...and nothing ><;

    this is the code as it stands:

    Spoiler: show
    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <!-- COR.XML by Mojava. Thanks to Aikar for a wonderful plugin. -->
    <!-- REQUIRES spellcast 2.30+ -->
    <!-- 091008: implemented changes suggested by Frost following Kneeru's inquiry. -->
    <spellcast xmlns:xi="http://www.w3.org/2001/XInclude">
      <config
            RequireVersion="2.30"
            Debug="False"
            ShowSpellInfo="False"
            ShowGearSwaps="False"
            />
      <sets>
        <group name="COR" default="yes">
          <set name="TOWN">
            <ammo>Steel bullet</ammo>
            <head>Optical hat</head>
            <neck>Spectacles</neck>
            <lear>Diabolos's earring</lear>
            <rear>Coral earring</rear>
            <body>Pahluwan khazagand</body>
            <hands>Cobra Unit mittens</hands>
            <waist>Swift belt</waist>
            <lring>Ecphoria ring</lring>
            <rring>Rajas ring</rring>
            <back>Amemet mantle +1</back>
            <legs>Pahluwan seraweels</legs>
            <feet>Cobra Unit leggings</feet>
          </set>
          <!-- RA: earrings handled in the rules-section -->
          <!-- due to subjob-dependent gear. -->
          <set name="RANGED">
            <ammo>Steel Bullet</ammo>
            <head>Corsair's tricorne</head>
            <neck>Spectacles</neck>
            <body>Pahluwan khazagand</body>
            <hands>Crimson finger gauntlets</hands>
            <lring>Behemoth ring</lring>
            <rring>Behemoth ring</rring>
            <waist>Gun belt</waist>
            <legs>Pahluwan seraweels</legs>
            <feet>Corsair's bottes</feet>
            <back>Amemet mantle +1</back>
          </set>
          <!-- Caps sword acc on Grt Colibri, switching in more STR -->
          <!-- This assumes Sushi + Hunter's roll -->
          <set name="TP">
            <main>Mercurial kris</main>
            <head>Optical Hat</head>
            <neck>Spectacles</neck>
            <lear>Diabolos's earring</lear>
            <rear>Coral earring</rear>
            <body>Pahluwan khazagand</body>
            <hands>Cobra Unit mittens</hands>
            <lring>Ecphoria ring</lring>
            <rring>Rajas ring</rring>
            <waist>Swift belt</waist>
            <legs>Pahluwan seraweels</legs>
            <feet>Cobra Unit leggings</feet>
            <back>Amemet mantle +1</back>
          </set>
          <set name="SLUG" baseset="RANGED">
            <ammo>Steel bullet</ammo>
            <body>Pahluwan khazagand</body>
            <lring>Behemoth ring</lring>
            <waist>Gun belt</waist>
            <feet>Corsair's bottes</feet>
          </set>
          <set name="QD">
    		<head>Corsair's tricorne</head>
    		<neck>Agile gorget</neck>
            <waist>Royal Knight's belt</waist>
            <lear>Moldavite earring</lear>
            <rear>Drone earring</rear>
            <lring>Emerald ring</lring>
            <rring>Emerald ring</rring>
            <body>Corsair's Frac</body>
            <legs>Commodore culottes</legs>
            <feet>Bounding boots</feet>
          </set>
          <set name="Resting">
            <main>Dark Staff</main>
          </set>
          <set name="COR-MAGE">
            <main>Mercurial kris</main>
            <head>Corsair's tricorne</head>
            <lear>Moldavite earring</lear>
            <rear>Drone earring</rear>
            <body>Pahluwan khazagand</body>
            <hands>Cobra Unit mittens</hands>
            <lring>Emerald ring</lring>
            <rring>Emerald ring</rring>
            <waist>Royal Knight's belt</waist>
            <legs>Commodore culottes</legs>
            <feet>Bounding boots</feet>
          </set>
          <set name="HealingMagic" baseset="COR-MAGE">
            <main>Light staff</main>
            <head>Corsair's tricorne</head>
            <waist>Swift belt</waist>
          </set>
          <!-- Change the following depending on if you have the HQ or not -->
          <set name="DarkStaff"><main>Dark Staff</main></set>
          <set name="LightStaff"><main>Light Staff</main></set>
          <set name="ThunderStaff"><main>Thunder Staff</main></set>
          <set name="IceStaff"><main>Aquilo's Staff</main></set>
          <set name="FireStaff"><main>Fire Staff</main></set>
          <set name="WindStaff"><main>Wind Staff</main></set>
          <set name="WaterStaff"><main>Water Staff</main></set>
          <set name="EarthStaff"><main>Earth Staff</main></set>
        </group>
      </sets>
      <variables>
        <!-- Elemental Obi definitions. -->
        <var name = "IceObi">Hyorin Obi</var>
        <var name = "WindObi">Furin Obi</var>
        <var name = "EarthObi">Dorin Obi</var>
        <var name = "ThunderObi">Rairin Obi</var>
        <var name = "WaterObi">Suirin Obi</var>
        <var name = "FireObi">Karin Obi</var>
        <var name = "DarkObi">Anrin Obi</var>
        <var name = "LightObi">Korin Obi</var>
        <!-- Elemental Obi's, set to 1 for the ones you have. -->
        <var name = "DarkObiAvailable">0</var>
        <var name = "LightObiAvailable">0</var>
        <var name = "ThunderObiAvailable">0</var>
        <var name = "IceObiAvailable">0</var>
        <var name = "FireObiAvailable">0</var>
        <var name = "WindObiAvailable">0</var>
        <var name = "WaterObiAvailable">0</var>
        <var name = "EarthObiAvailable">0</var>
        <!-- Elemental Grips, set to 1 for the ones you have. -->
        <var name = "DarkGrip">0</var>
        <var name = "ThunderGrip">0</var>
        <var name = "IceGrip">0</var>
        <var name = "FireGrip">0</var>
        <var name = "WindGrip">0</var>
        <var name = "WaterGrip">0</var>
        <var name = "EarthGrip">0</var>
        <!-- Elemental Staffs, set to 1 for the ones you usually bring. -->
        <var name = "DarkStaff">0</var>
        <var name = "LightStaff">0</var>
        <var name = "ThunderStaff">0</var>
        <var name = "IceStaff">0</var>
        <var name = "FireStaff">0</var>
        <var name = "WindStaff">0</var>
        <var name = "WaterStaff">0</var>
        <var name = "EarthStaff">0</var>
        <!-- Special Equipment, set to 1 for the ones you have. -->
        <var name = "CommodoreTricorne">0</var>
        <var name = "CommodoreFrac">0</var>
      </variables>
      <rules>
        <if status="idle" SubJob="WHM|RDM|BLM|SMN|BLU|SCH" >
          <equip when="idle|aftercast" set="COR-MAGE" />
        </if>
        <elseif status="resting" SubJob="WHM|RDM|BLM|SMN|BLU|SCH" >
          <equip when="resting" set="Resting" />
        </elseif>
        <elseif status="idle|resting" >
          <equip when="idle|aftercast" set="TOWN" />
        </elseif>
        <elseif status="engaged">
          <equip when="engaged|aftercast" set="TP" />
        </elseif>
        <if CommandPrefix="/ra*">
          <if SubJob="WHM|RDM|BLM|SMN|BLU|SCH">
            <equip when="precast|midcast" set="RANGED">
              <main lock="no">Mercurial kris</main>
              <lear lock="no">Diabolos's earring</lear>
              <rear lock="no">Drone earring</rear>
            </equip>
          </if>
          <elseif SubJob="RNG">
            <equip when="precast|midcast" set="RANGED">
              <lear lock="no">Vision earring</lear>
              <rear lock="no">Drone earring</rear>
              <!-- <waist lock="no">Gun belt</waist> <== use this unless you have Commodore belt -->
            </equip>
          </elseif>
          <else>
            <equip when="precast|midcast" set="RANGED">
              <lear lock="no">Vision earring</lear>
              <rear lock="no">Drone earring</rear>
            </equip>
          </else>
        </if>
        <elseif type="WhiteMagic">
          <equip when="precast" set="COR-MAGE"/>
          <if skill="HealingMagic">
            <equip when="precast" set="HealingMagic" />
            <if Spell="Cur*">
              <if Spell="Cure III" MPLT="46">
                <changespell Spell="Cure II" />
              </if>
              <elseif Spell="Cure II" MPLT="24">
                <changespell Spell="Cure" />
              </elseif>
            </if>
          </if>
          <if spell="Reraise">
            <if BuffActive="Reraise">
              <action type="midcastdelay" delay="3.0" />
              <action type="Command" when="midcast">cancel 113</action>
            </if>
          </if>
          <elseif spell="Stoneskin">
            <if BuffActive="Stoneskin">
              <action type="midcastdelay" delay="3.0" />
              <action type="Command" when="midcast">cancel 37</action>
            </if>
          </elseif>
          <elseif Spell="Sneak">
            <if advanced = '( "%Target" = "%PlayerName" ) OR "%TargetType" != "PLAYER"' >
              <addtochat color = "57">SelfSneak triggered -- using Dream boots +1 [TargetType: %TargetType]</addtochat>
              <changetarget Target="&lt;me&gt;" />
              <equip when="precast">
                <feet lock="no">Dream boots +1</feet>
              </equip>
            </if>
            <if BuffActive="Sneak">
              <action type="midcastdelay" delay="2.0" />
              <action type="Command" when="midcast">cancel 71</action>
            </if>
          </elseif>
          <elseif Spell="Blink" >
            <if BuffActive="Blink" >
              <action type="Command" when="midcast">cancel 36</action>
            </if>
          </elseif>
        </elseif>
        <elseif type="Ninjutsu">
          <if spell="Utsusemi: Ni">
            <action type="midcastdelay" delay="1.0" />
          </if>
          <elseif spell="Utsusemi: Ichi">
            <action type="midcastdelay" delay="3.3" />
            <action type="Command" when="midcast">cancel 66</action>
          </elseif>
          <elseif Spell="Monomi*">
            <addtochat color = "57">Monomi triggered -- using Dream boots +1</addtochat>
            <equip when="precast">
              <feet lock="no">Dream boots +1</feet>
            </equip>
            <if BuffActive="Sneak">
              <action type="midcastdelay" delay="3.3" />
              <action type="Command" when="midcast">cancel 71</action>
            </if>
          </elseif>
        </elseif>
        <!-- WEAPONSKILL -->
        <elseif Type="WeaponSkill">
          <if TPGT="99">
            <if notbuffactive="Flash">
              <if notbuffactive="Amnesia">
                <equip when="precast|midcast" set="SLUG" />
                <command when="aftercast" delay="6">input /lockon on</command>
              </if>
            </if>
            <else>
              <action type="AddToChat" color="39">WS blocked while Amnesia/Flash is in effect.</action>
              <action type="cancelspell"/>
            </else>
          </if>
        </elseif>
        <!-- QUICK DRAW -->
        <elseif type="CorsairShot" notbuffactive="Amnesia">
          <equip when="precast" set="QD" />
          <!-- Elemental Obi check. -->
          <if advanced='(("%SpellElement" = "%DayElement") OR ("%SpellElement" = "%WeatherElement")) AND "$%SpellElementObiAvailable" = "1"'>
            <equip when="precast|midcast">
              <waist lock="no">$%SpellElementObi</waist>
            </equip>
            <addtochat color = "57">Using $%SpellElementObi.</addtochat>
          </if>
          <!-- Treating Elemental Shots and Elemental Staffs. -->
          <if SubJob="WHM|RDM|BLM|SMN|BLU|SCH">
            <if Advanced='"$%SpellElementStaff" == "1"'>
              <action type="equip" when="precast|midcast" set="%SpellElementStaff" />
              <addtochat color = "57">Using %SpellElement Staff.</addtochat>
            </if>
            <!-- Elemental Grip check. -->
            <if Advanced='"$%SpellElementGrip" == "1"'>
              <equip when="midcast">
                <sub lock="true">%SpellElement Grip</sub>
              </equip>
              <addtochat color = "57">Using %SpellElement Grip.</addtochat>
            </if>
            <if Spell = "Light Shot|Dark Shot">
              <equip when="precast|midcast">
                <lear lock="no">Drone earring</lear>
              </equip>
            </if>
          </if>
          <!-- Don't waste TP when QD if melee Sub. -->
          <elseif SubJob="RNG|NIN|WAR|DNC|THF|SAM">
            <if Spell = "Light Shot|Dark Shot">
              <equip when="precast|midcast">
                <lear lock="no">Drone earring</lear>
              </equip>
            </if>
          </elseif>
        </elseif>
        <!-- PHANTOM ROLL - Luzaf's handled in macros instead of here. -->
        <elseif advanced='( "%Spell" = "* Roll" ) AND ( "$CommodoreTricorne" == "1" )'>
          <addtochat color = "57">Using Commodore Tricorne.</addtochat>
          <equip when="precast">
            <head lock="no">Commodore Tricorne</head>
          </equip>
        </elseif>
        <!-- RANDOM DEAL -->
        <elseif advanced='( "%Spell" = "Random Deal" ) AND ( "$CommodoreFrac" == "1" )'>
          <addtochat color = "57">Using Commodore Frac.</addtochat>
          <equip when="precast">
            <body lock="no">Commodore Frac</body>
          </equip>
        </elseif>
        <!-- FOR DEBUGGING -->
        <!-- <else>
          <addtochat color = "57">COR.xml never triggered any action on this event: Skill="%Skill", Status="%status", Spell="%spell" and Type="%Type".</addtochat>
        </else> -->
      </rules>
    </spellcast>


    Do i have to check some boxes in notepad++, or something to make it run? Also, I have a slightly older version of windower, not the latest, would that affect it?

    Actually, I just noticed when I load spellcast it says version 2.22, yet in the code, it says RequireVersion="2.30" in it. Am I using an old spellcast that won't work and this is why there's nothing happening? <_>

  12. #112
    Cerberus
    Join Date
    Sep 2007
    Posts
    472
    BG Level
    4
    FFXIV Character
    Phede Mihnao
    FFXIV Server
    Midgardsormr
    FFXI Server
    Quetzalcoatl

    Also, I have a slightly older version of windower, not the latest, would that affect it?
    <!-- REQUIRES spellcast 2.30+ -->
    If it's lower than version 2.30, then yes it does. Try updating it regardless.

  13. #113
    Chram
    Join Date
    Nov 2007
    Posts
    2,622
    BG Level
    7

    Where can I find the higher version of spellcast then? when I check the windower area, 2.22 is the one listed. ><

  14. #114
    Cerberus
    Join Date
    Sep 2007
    Posts
    472
    BG Level
    4
    FFXIV Character
    Phede Mihnao
    FFXIV Server
    Midgardsormr
    FFXI Server
    Quetzalcoatl

    http://forums.windower.net/topic/149...-beta-16-6109/

    Revert the change I said about locks, too.

  15. #115
    Chram
    Join Date
    Nov 2007
    Posts
    2,622
    BG Level
    7

    AAAAAAAAAAAAAND...

    success!

    Huzzah, thanks a bunch! XD

    Sad how programs can be taken down by such simple things sometimes.

    One problem though... my gear is changing from melee to ranged right when I fire a shot, but it changes back to melee about 2 seconds too soon. How can I change this? >_<

  16. #116
    Cerberus
    Join Date
    Sep 2007
    Posts
    472
    BG Level
    4
    FFXIV Character
    Phede Mihnao
    FFXIV Server
    Midgardsormr
    FFXI Server
    Quetzalcoatl

    Quote Originally Posted by Psion View Post
    AAAAAAAAAAAAAND...

    success!

    Huzzah, thanks a bunch! XD

    Sad how programs can be taken down by such simple things sometimes.

    One problem though... my gear is changing from melee to ranged right when I fire a shot, but it changes back to melee about 2 seconds too soon. How can I change this? >_<
    Try changing your Commandprefic="/ra" rule to this:

    Code:
    <if CommandPrefix="/ra*">
          <if SubJob="WHM|RDM|BLM|SMN|BLU|SCH">
            <equip when="precast|midcast" set="RANGED">
              <main lock="yes">Trailer's Kukri</main>
              <lear lock="yes">Hollow earring</lear>
              <rear lock="yes">Drone earring</rear>
            </equip>
          </if>
          <elseif SubJob="RNG">
            <equip when="precast|midcast" set="RANGED">
              <lear lock="yes">Vision earring</lear>
              <rear lock="yes">Drone earring</rear>
              <!-- <waist lock="yes">Gun belt</waist> <== use this unless you have Commodore belt -->
            </equip>
          </elseif>
          <else>
            <equip when="precast|midcast" set="RANGED">
              <lear lock="yes">Vision earring</lear>
              <rear lock="yes">Drone earring</rear>
            </equip>
          </else>
            <equip when="engaged|aftercast" set="TP" aftercastdelay="3"/>
        </if>
    Bolded/Underlined is what I added to the section, should wait 3 seconds before switching back to TP. If the time is too short/long, adjust the time for the aftercastdelay. If it doesn't activate at all, try replacing aftercastdelay with geardelay.

  17. #117
    New Spam Forum
    Join Date
    Aug 2007
    Posts
    163
    BG Level
    3

    Quote Originally Posted by Feedmenow View Post
    -Windowed mode for PC (by your own admission)
    -Extended macros (limited on SE's official end, but still doable. This complaint about macro space is what caused them to multiply potential macro space by 20 and create a /macro function, which works to.) You can basically mimic extended macros using the method I have here.
    -Automatic inventory organization was once LightLuggage-only
    -Added <stpt> and <stal> tags so that console players could essentially work around not having Blinkmenot
    I did stipulate only changes that many people would consider cheats, not simply something ported from Windower without regard to its harmlessness/resistance to abuse.

    It was never their intention to force you to use a 2nd laptop or printed wiki page to reference things or multitask while in game, leaving those with only 1 computer and no printer at a disadvantage. They may have intended to impede the use of 3rd party programs, but when one of those programs bypasses the full-screen requirement, only legit players were left hurting.

    The extended macro system does not reduce the # of keystrokes or alter their timing to execute a macro; it just opened the possibility of using a repeating number combination - e.g., alt-1,1,1 instead of alt-1,2,3 - resulting in less need to swap macro pages - e.g., shift-alt-2 or shift-ctrl-1. Most importantly, it does not open the door to afk automation, unlike the Windower implementation.

    Auto-sort removed tedium in having to press alt-i, +, {enter}, {up}, {enter} before your bag filled or else losing random drops. Arguably it made things fairer, as it spread treasure around more equitably compared to the previous method of seeing who was less distracted in party to remember to sort inventory.

    Blinking characters were just annoying to some healers. When they introduced equipment macros, some people went to the extreme; <stal> and <stpt> merely resolved the annoyance... I can't see any "cheating" from that. Characters on /follow still run blindly after an equipment swap on the followed; that's a coding limitation, not an intention to require people using /follow to be at the keyboard.

    You can't do anything with those looped macros that you couldn't normally do by just mashing a button repeatedly with normal FFXI macros.
    Except that mashing a button repeatedly requires you to be present at the keys. Remember how the ToS used to specify "unattended" gameplay? ToS has since been broadened slightly to take care of people sitting at a desk of 10 botting instances of FFXI; they've never relaxed their stance against botting and 3rd party automation.

    As a reminder, you are held accountable for a literal interpretation of the ToS. No matter how much you think a 3rd party program is harmless and arguably in the "spirit" of the law, SE will not protect you from getting banned, simply because that program is 3rd-party. Their detection methods frequently involve retroactive log analysis, and their coders take some time to develop and test the tools to perform that analysis, thus why their enforcement may seem complacent for quite some time.

  18. #118
    Chram
    Join Date
    Nov 2007
    Posts
    2,622
    BG Level
    7

    Tried both, and adjusting delay, still changes back to tp gear 3 seconds after using /ra, which is too short for gun to fire without rapid shot kicking in. >_<

  19. #119
    CoP Dynamis
    Join Date
    Sep 2009
    Posts
    251
    BG Level
    4

    Don't know why people argue about Windower; you either use it or you don't. You are definitely at a disadvantage if you do not use it. As far as Square Enix's witch hunt is concerned, they are only going after malicious programs that do more than just read thing from your computer memory which technically is rightfully yours to do with what you want since it's on your computer but without getting into legality. Who cares who uses Windower. Who in their right mind would want to play on a piece of shit PS2 anyways. It's 2009. You can buy a 50.00 video card with HDMI output and hook it up to a DVI/HDMI TV/PC Monitor. Get with the times. Can even use a wireless keyboard and controller on PC if you want. It's just like playing on PS2.

    I'm against cheating programs of any kind but definitely not against a program it which is non-malicious and helps me play the game more efficiently and helps me be an even better mage or melee when in parties or doing group events. Use it or don't use it. A non-Windower user can still be just as efficient. After casting Refresh so many times it's not too hard to know mentally when it's about to wear off etc. Aikar has been pretty damn good at keeping the malicous/cheating plugins out of Windower so it is in the gray area and I applaud him for doing so. Mankind being self-destructive in nature I am well aware that everyone who uses it and me could possibly get banned in the future. But maybe some people need that extra excitement and danger in their lives to make the game more interesting.

  20. #120
    Cerberus
    Join Date
    Sep 2007
    Posts
    472
    BG Level
    4
    FFXIV Character
    Phede Mihnao
    FFXIV Server
    Midgardsormr
    FFXI Server
    Quetzalcoatl

    Argue with it until you're blue in the face. Those are still examples of windower plugins or options that SE later adopted in some form.

    You're still completely incapable of botting anything worth a damn with "windower automation"
    As a reminder, you are held accountable for a literal interpretation of the ToS. No matter how much you think a 3rd party program is harmless and arguably in the "spirit" of the law, SE will not protect you from getting banned, simply because that program is 3rd-party. Their detection methods frequently involve retroactive log analysis, and their coders take some time to develop and test the tools to perform that analysis, thus why their enforcement may seem complacent for quite some time.
    I'll get back to you on that when I get banned. Until then...
    http://img693.imageshack.us/img693/5854/douk.jpg
    Blow it out your ass.

Page 6 of 10 FirstFirst ... 4 5 6 7 8 ... LastLast

Similar Threads

  1. Question about windower macros - am I doing something wrong?
    By Francisco in forum FFXI: Everything
    Replies: 9
    Last Post: 2006-05-13, 00:43
  2. Windower macro's :O
    By Ohemgee in forum FFXI: Everything
    Replies: 42
    Last Post: 2006-04-03, 17:11
  3. I wanan write chink.
    By Sefier in forum FFXI: Everything
    Replies: 7
    Last Post: 2006-02-15, 11:07
  4. Macro File Where?
    By Blacken in forum FFXI: Everything
    Replies: 5
    Last Post: 2005-06-11, 11:56
  5. Best equip swapping macros for monk?
    By genome in forum FFXI: Everything
    Replies: 2
    Last Post: 2005-04-13, 07:10
  6. Macro Help plz
    By Raiyne in forum FFXI: Everything
    Replies: 1
    Last Post: 2004-09-18, 16:25