Showing posts with label xml. Show all posts
Showing posts with label xml. Show all posts

Thursday, November 19, 2009

Magically Enhancing Your Skillups of your Enhancing Magic Skill


If you've played through missions of any home nation, then you're familiar with the above scene. You know why this galka was being emo? Because he didn't level his enhancing magic, that's why!

Is YOUR enhancing magic skill under par like this melancholy galka? Was it too much level syncing? Didn't your parents warn you about that! Too lazy for casting Shell and Barstonra on your party members? Bah! Well, your bus pass to easy street is finally here.

Here's the easiest way to level your enhancing magic:

Get the latest version of Windower and download the latest version plugins for AutoExec and Cancel. If you don't know where/how to get this stuff, then shame on you!

Now create open up Notepad, copy/paste the following text below and save the file as skillup_enhance.xml in your \Windower\Plugins\AutoExec directory.

<?xml version="1.0" ?>
<autoexec>
<register event="gainbuff_Barfire" >wait 4; input /ma "Barblizzara" <me></register>
<register event="gainbuff_Barblizzard">wait 4; input /ma "Baraera" <me></register>
<register event="gainbuff_Baraero" >wait 4; input /ma "Barstonra" <me></register>
<register event="gainbuff_Barstone" >wait 4; input /ma "Barthundra" <me></register>
<register event="gainbuff_Barthunder" >wait 4; input /ma "Barwatera" <me></register>
<register event="gainbuff_Barwater" >wait 4; input /ma "Barfira" <me></register>
<register event="mpp_100">wait 5; input /heal off; wait 5; input /ma "Barblizzara" <me></register>
<register event="criticalmp">cancel 100; cancel 101; cancel 102; cancel 103; cancel 104; cancel 105; cancel 107; input /heal on</register>
</autoexec>


Now start FFXI and jump on your WHM or a job high enough to sub WHM and cast most or all of the bar elemental spells. Now type //ae load skillup_enhance.xml to load up the skillup file. Now go to a remote corner of Vanadiel (don't you dare do this in Whitegate/Jeuno/any busy area because I'll slap you in the face with a fat slimy fish if you do). If you have the SpellCast plugin enabled, unload it and just equip all your healing MP gear that you can. Cast any bar elemental spell on yourself such as Barfira and don't move your character.

Now, watch in awe as your enhancing magic skill miraculously raise 112 levels in only 3 minutes. NOT. It's gonna take waaaaaay longer than that.

Tuesday, November 3, 2009

Done! Spellcast for Ranger


http://wiki.windower.net/plugins/spellcast/userxml/rng/leybot_rng

Click on the above link. I explain the inner workings and how to set up the macros used for this specific spellcast file for my latest job to exp!

Only one more level till 75. Woohoo!

Thursday, July 30, 2009

Spellcast Lesson 3, Dressing for the Occasion


When it comes to standing toe to toe with a monster, melee jobs may have a lot of setups in how they engage their enemy. Are they tanking? Soloing with an evasion setup? Or straight up bringing the pain?

This is where variables can play a part. So far, you're almost a master at setting up gear sets. You've dabbled in some rules. And now it's time to get wet in a hot tub of variables.

Let's use ninja for this example. There's a lot of gear sets a ninja can utilize. Elemental wheel, haste, accuracy, damage dealer, evasion, tanking, enmity, etc. But let's focus on when you're engaged to the enemy. You may be tanking exp/merit mobs, fighting/soloing an NM with an evasion setup or acting as a damage dealer where haste and/or accuracy is key.

Rather than manually changing to a particular gear set when you engage an enemy, we can use variables to predefine which set to use. Let's look at the xml file below.

<?xml version="1.0"?>
<!DOCTYPE spellcast PUBLIC "spellcast" "spellcast.dtd">
<spellcast>
  <config debug="false" requireversion="2.17"/>
  <sets>
    <group name="Ninja|NIN" default="yes">

        <!-- Idle gear, Not Engaged, Not Casting -->
        <set name="idle">
          <head>Goblin coif</head>
          <body>Haubergeon</body>
          <hands>Enkidu's mittens</hands>
          <back>Amemet Mantle +1</back>
          <waist>Warwolf Belt</waist>
          <legs>Byakko's Haidate</legs>
          <feet>Ninja Kyahan</feet>
        </set>

        <!-- Melee Base Set -->
        <set name="melee">
          <head>Walahra turban</head>
          <neck>Spectacles</neck>
          <lear>Suppanomimi</lear>
          <rear>Minuet earring</rear>
          <body>Ninja chainmail</body>
          <hands>Enkidu's Mittens</hands>
          <lring>Blood ring</lring>
          <rring>Rajas ring</rring>
          <back>Amemet Mantle +1</back>
          <waist>Life Belt</waist>
          <legs>Byakko's Haidate</legs>
          <feet>Nobushi Kyahan</feet>
        </set>

        <!-- Accuracy Melee Gear -->
        <set name="acc" baseset="melee">
          <head>Optical Hat</head>
          <body>Haubergeon</body>
        </set>

        <!-- Evasion Melee Gear -->
        <set name="evasion" baseset="melee">
          <head>Optical Hat</head>
          <neck>Evasion torque</neck>
          <lear>Dodge earring</lear>
          <rear>Dodge earring</rear>
          <body>Scorpion harness</body>
          <hands>Rasetsu tekko</hands>
          <feet>Arhat's sune-ate +1</feet>
        </set>

        <!-- Haste Melee Gear -->
        <set name="haste" baseset="melee">
          <hands>Dusk gloves</hands>
          <feet>Fuma sune-ate</feet>
        </set>

        <!-- Enmity Melee Gear -->
        <set name="hate" baseset="melee">
          <lear>Eris' earring</lear>
          <rear>Eris' earring</rear>
          <body>Arhat's gi</body>
          <hands>Yasha tekko</hands>
          <waist>Warwolf Belt</waist>
          <feet>Arhat's Sune-ate +1</feet>
        </set>

    </group>
  </sets>

  <variables>
    <!-- Engaged Melee Gear -->
    <var name="meleeset">melee</var>
  </variables>

  <rules>
    <!-- Autoset and Gear Changes -->
    <action when="idle"    type="equip" set="idle"/>
    <action when="engaged" type="equip" set="$meleeset"/>
  </rules>

</spellcast>


You will see all the gear sets set up as usual. However, take a look at the rules section. See "$meleeset" that is used for the rule on engaging an enemy? There isn't actually a gear set called "$meleeset". That is a variable! Now look in the variables section. This is where you declare and set up the default value of your variable(s). You will see that "melee" is the current value of the variable. This means that each time you engage a target, it will use the "melee" gear set.

With the nature of variables, this value can be changed at anytime. If you change the variable to "hate", you will now change into your enmity set up each time you engage an enemy. You can do this by setting up a macro or manually typing out the following: /sc var set meleeset hate

To change it to your evasion set up:
/sc var set meleeset evasion

To change it to your accuracy set up:
/sc var set meleeset acc

You get the idea now. This is just a basic use of variables and will hopefully give you an idea of how to build on it for use with more advanced rules and situations.

Monday, July 27, 2009

Spellcast Lesson 1, The Dressing Room


Okay, I hope you've done your Spellcast homework. And I hope you have at least some understanding of its basics. Why? I'm not going to hold your hand the whole time (and mostly also because your hands smell like canned vegetables and burnt rubber).

So let's begin!

Within a Spellcast XML file, there are two sections that we will be focusing on for this lesson: sets and rules. Sets are where you set up different types of gear sets for different situations. Rules are where you can equip those gear sets based on what you are doing. This may include casting spells/abilities, healing, engaged with an enemy or just idle (not healing or engaged). There's more to Spellcast that make it work, but let's just start with the basics.

Based on your gear sets, the rules section will predicate how you will switch between gear sets based on what you are doing. So before we get to the xml coding, let's get to know the armor you'll be equipping during typical situations.

Idle Gear
What you wanna wear while not resting, casting or engaged to a mob
main:
sub:
range:
ammo:
head:
neck:
lear:
rear:
body:
hands:
lring:
rring:
back:
waist:
legs:
feet:

Now repeat, the same for when your MP healing set, your melee/engaged set and your casting set. After you know what to equip for each situation, you'll be ready to update your your Spellcast XML file.

Okay, now pick a job that you wanna start with. Create a text file and name it as the job you'll be using it for with an .xml file extension. Save this XML file in the same location as the default.xml file within your windower/plugins/spellcast folder. For example, WHM.xml will be for your White Mage. Then between the gear slot tags below, just add the name of each piece of equipment for each gear set:


<?xml version="1.0"?>
<config debug="false"/>
<spellcast>
  <sets>
    <group name="
Insert Full Name of Job|JOB 3 Letter Abbreviation" default="yes">
      <set name="idle">
        <main>
Insert Idle Gear Item</main>
        <sub>
Insert Idle Gear Item</sub>
        <range>
Insert Idle Gear Item</range>
        <ammo>
Insert Idle Gear Item</ammo>
        <head>
Insert Idle Gear Item</head>
        <neck>
Insert Idle Gear Item</neck>
        <lear>
Insert Idle Gear Item</lear>
        <rear>
Insert Idle Gear Item</rear>
        <body>
Insert Idle Gear Item</body>
        <hands>
Insert Idle Gear Item</hands>
        <lring>
Insert Idle Gear Item</lring>
        <rring>
Insert Idle Gear Item</rring>
        <back>
Insert Idle Gear Item</back>
        <waist>
Insert Idle Gear Item</waist>
        <legs>
Insert Idle Gear Item</legs>
        <feet>
Insert Idle Gear Item</feet>
      </set>
      <set name="melee">
        <main>
Insert Melee Gear Item</main>
        <sub>
Insert Melee Gear Item</sub>
        <range>
Insert Melee Gear Item</range>
        <ammo>
Insert Melee Gear Item</ammo>
        <head>
Insert Melee Gear Item</head>
        <neck>
Insert Melee Gear Item</neck>
        <lear>
Insert Melee Gear Item</lear>
        <rear>
Insert Melee Gear Item</rear>
        <body>
Insert Melee Gear Item</body>
        <hands>
Insert Melee Gear Item</hands>
        <lring>
Insert Melee Gear Item</lring>
        <rring>
Insert Melee Gear Item</rring>
        <back>
Insert Melee Gear Item</back>
        <waist>
Insert Melee Gear Item</waist>
        <legs>
Insert Melee Gear Item</legs>
        <feet>
Insert Melee Gear Item</feet>
      </set>
      <set name="healMP">
        <main>
Insert MP Healing Gear</main>
        <sub>
Insert MP Healing Gear</sub>
        <range>
Insert MP Healing Gear</range>
        <ammo>
Insert MP Healing Gear</ammo>
        <head>
Insert MP Healing Gear</head>
        <neck>
Insert MP Healing Gear</neck>
        <lear>
Insert MP Healing Gear</lear>
        <rear>
Insert MP Healing Gear</rear>
        <body>
Insert MP Healing Gear</body>
        <hands>
Insert MP Healing Gear</hands>
        <lring>
Insert MP Healing Gear</lring>
        <rring>
Insert MP Healing Gear</rring>
        <back>
Insert MP Healing Gear</back>
        <waist>
Insert MP Healing Gear</waist>
        <legs>
Insert MP Healing Gear</legs>
        <feet>
Insert MP Healing Gear</feet>
      </set>
      <set name="castgear">
        <main>
Insert Casting Gear</main>
        <sub>
Insert Casting Gear</sub>
        <range>
Insert Casting Gear</range>
        <ammo>
Insert Casting Gear</ammo>
        <head>
Insert Casting Gear</head>
        <neck>
Insert Casting Gear</neck>
        <lear>
Insert Casting Gear</lear>
        <rear>
Insert Casting Gear</rear>
        <body>
Insert Casting Gear</body>
        <hands>
Insert Casting Gear</hands>
        <lring>
Insert Casting Gear</lring>
        <rring>
Insert Casting Gear</rring>
        <back>
Insert Casting Gear</back>
        <waist>
Insert Casting Gear</waist>
        <legs>
Insert Casting Gear</legs>
        <feet>
Insert Casting Gear</feet>
      </set>
    </group>
  </sets>
  <rules>
    <action when="Idle"    type="equip" set="idle"/>
    <action when="Engaged" type="equip" set="melee"/>
    <action when="Resting" type="equip" set="healMP"/>
    <action when="PreCast" type="equip" set="castgear"/>
  </rules>
</spellcast>


Once all this is done. Start up Windower/FFXI. Change to the job you created a Spellcast xml file for. Throw all the gear that you mentioned in the xml file and head outside.

Now let's start with some Spellcast command basics:

Type out each command in your chat log:
/sc load [name of job-specific XML file]
This should load up your Spellcast XML file for your job.

/sc set idle
This should equip your idle gear set.

/sc set melee
This should equip your melee gear set.

/sc set healMP
This should equip your MP healing gear set.

/sc set castgear
This should equip your casting gear set.

Did it all work? I hope so! Not let's try it in action. Try engaging a mob. Try resting for hp/mp. Try casting a spell. Have fun!

Rosetta Stone, Spellcast Edition!


If you're an avid user of Windower, the Spellcast plugin is something that you may have some degree of knowledge of. You've either heard about, but didn't care...or you wanted to use it, but it was beyond your brain's grasp to understand. Perhaps you're even some IT developer that drinks a lot of coffee and also pees a lot...and think that both XML and Spellcast are child's play.

On the other hand, if you're like me, learning how to harness the power of Spellcast has been a formidable task quite similar to Frodo Baggins and that hyped up ring. So before you turn in to the likes of Golum, let me tell you this: it's gonna take some work to understand it. So if your knowledge of programming is somewhere between XML guru or only being able to update your myspace page with your latest boobie pics, you'll have to do some homework first:

1. Put down the bong, I need you focused for this.

2. Immerse yourself in the basics of Spellcast as well as how to install it.

3. Install it. Duh!

4. In some cases, I will be using my Corsair as my example so familiarize yourself with it: http://wiki.windower.net/plugins/spellcast/userxml/cor/leybot_cor. It's my work in progress so there may be some errors in it currently.

Study them hard! In my next post, our first lesson will be setting up gear sets!

Good luck!