Here's the latest version. Sorry i havent done an update in a while. Been working alot latly. No time to play FFXI let alone work on this. =( As you can see there is alot in the pipeline, I'd like to see it all implimented soon.
Title : FD's Gear Helper (Originaly mostly for BLM
Author : F][erce_De][ty
Version : 2.2
Date : Thursday 21st September 2006
//TODO: Better latent trigger checking for JS rings / ugg pendent.
//TODO: Check gear is equipped after changing and try to change it again if its not equipped.
//TODO: If gear changes whlie casting after a gear change has already been done, do it again.
//TODO: If stats change while casting do gear change if necicary.
//TODO: Automatic equip refresh gear when MP less than a certain %, and not cast for a set period of time.
//TODO: Convert Spells Lib to XML.
//TODO: Add support for HQ AF2 etc.
//TODO: Remove the gear that you have variables. Replace with: check if equipment is in inv before trying to equip it. (Might actualy leave this in, as its handy to disable things like ugg pendent at kirin.)
//TODO: Code Optimisation - sub function for any gear change.
//TODO: Warnings if equipment changes fail.
//TODO: Warning if spell being cast is detected, but cant read it from the log.
//TODO: Add support for the huge item list at end of file. see: Add support for
//TODO: Add stat gatherer for conserve MP. $checkForConserveMP needs adding for all spells. create and update and XML file everytime a spell has been cast, with normal MP cost, actual MP cost, main/sub job/level, conserve MP equipment if any.
// BUG: VanaTime fails to get the current day correctly near game-midnight sometimes. Only happens very close to midnight.
// v2.2
//FIXED: Bug with Light Obi
//FIXED: Bug with Conjurer's Ring
//ADDED: Support for Dark, Ice and Water Day ring.
//FIXED: Bug with Obi's sometimes not getting equiped if you changed gear while wearing on already.
//FXIED: Day rings are not getting equiped unless MP% < 86
Introduction –- I wrote this script to help BLMs like myself who are sick of SE’s
pathetic macro system. I personally use Windower’s macros for all my main gear changes.
This macro sits in the background and is really the 'icing on the cake' so to speak in
terms of gear change.
Basically it will react when you start casting a spell (from a macro or the menu),
then it will asses things like day/weather/HP/MP etc, and see if any relevant latent’s
that could kick in. It will then change your gear for you.
Example -- I hit my macro to cast Blizzard IV on Iceday - My gear changes
(from a Windower macro) for general nuking, I start casting the Spell, the
script notices I’ve started casting and my spell is Ice based and so equips
my Ice Obi and AF2 legs. If I was casting another spell, say Thunder IV, on
Iceday, it would do nothing.
Triggers –-
- Game Day/Weather, if you cast a spell of the same type as the day or weather,
your Obi will be equipped. e.g. slow or Stone on Earthsday/Earth weather. Also
SMN AF2 depending on the avatar you are casting.
- Game Day, if you cast a nuke spell of the same type as the day your BLM or SMN AF2
legs will be equipped.
- HP less than 75%, if you cast a spell when your HP is less than 75% and depending on
your job, your JS50 Ring will be equipped in the slot of your choice.
- If predicted MP less than 50% after cast, this will equip your Uggalepih Pendant.
Setup –- To run the script you need:
FD's Gear Helper - http://www.ffact.botanybay.net/forums/viewtopic.php?t=885
ACTools - http://actool.net/files/actoolinstall_530.exe
FFact - http://www.ffact.botanybay.net/forums/viewtopic.php?p=4616
VanaTime.mac - http://www.ffact.botanybay.net/forums/viewtopic.php?t=871
Follow the setup instructions for ACTools.
Extract FFAct to C:\FFACT
Copy BLMHelper.mac, VanaTime.mac and SpellsLib.mac to 'c:\Program Files\AC Tool\Macros'
Open BLMHelper.mac in ACTools.
Configuration -- Thanks to the new gear change code that sends gear swaps directly to the game,
instead of typing them in (eewwwww), The Configuration is no longer necicary. You can leave them
all set to 1 and if you dont have that item it cant equip it... All you need to do is simply have
the item in your inventory and it will be equiped for you. However i left this in incase you want
to turn off any specific peices of equipment for whatever reason.
lightObi = 0
darkObi = 1
earthObi = 0
waterObi = 0
windObi = 1
fireObi = 0
iceObi = 1
thunderObi = 1
sorcRing = 1
uggPendent = 1
BLMAF2Legs = 0
Simply put a 1 if you have the item or a 0 if you don’t. Do not change the names.
Filters -- In order for the macro to function correctly it is important that you set
the right filters in the game. The only filter you need to worry about is 'Special
actions started on/by you', you must be able to see this in your log for the script
to react to the type of spell you are casting. Thanks to better coding for filtering the log
you can now use what ever filters you like, but you must always have 'Special
actions started on/by you' off.
Run Script –- Log into the game using Windower, start ACTools, start FFact, open
BLMHelper.mac, click Macro -> Start Macro, then change to the Test Log tab so you
can see what the macro is doing.
You can now play the game normally and the script should work fine on its own.
Usage Tips --
- The script will ONLY work if you use <t> in your macros, <bt>, <stnpc>, <stpc> etc etc will NOT work.
- You must have something targeted when the spell is being cast.
If you have any questions regarding this script please post them at –
http://www.ffact.botanybay.net/forums/viewtopic.php?t=885
or email me FierceDeity_LiquidIQ@msn.com
Have a lot of fun. ^.^;
FD.