--------------------------------------------------------------------------------
Auto Skills v0.89 for D2HackIt by Maulei (jonathan__wu@hotmail.com)  20 Sep 2002
--------------------------------------------------------------------------------

Table of contents
=================

*  Dedication
*  What's Auto Skills?
*  What's new?
*  How to use it?
*  Sample Usage
*  Tips
*  Supported Skills
*  Commands
*  Installation
*  Known problems
*  Plan for future versions
*  Contact me
*  Useful URLs
*  FAQ  (Please read AUTO.FAQ)
*  Special Thanks

--------------------------------------------------------------------------------

Dedication
==========
This module is dedicated to
* God
* my wife, Phoebe.  I love you.


What is Auto Skills?
====================
* Auto Skills is a D2HackIt module.  Without D2HackIt, Auto Skills is USELESS!
  Visit the Home of Auto Skills (http://jonathan.makes.it) to download.

* Auto Skills casts spells in a game automatically, regularly for every x
  seconds.  It can also recast spell when its effect expired.
  For example, Thunder Storm (TS), Energy Shield (ES), Chilling Armor (CA) are
  very useful spells for a sorceress.  However, it is active over certain time
  period only.  You have to re-cast it when the spell expire.  A program like
  Auto Skills saves your effort for casting the same spell again and again.
  (In fact, in D2, you are doing the same thing again and again)  ;)

* Auto Skills also 'flashes' auras for Paladin.  It means Auto Skills switches
  aura automatically for every x seconds.  Player can select any auras to flash.

* Auto Skills recasts pet (minion) spells when your pet is killed.

* Auto Skills can heal your mercenary automatically.


What's new?
===========
v0.89 (20-Sep-2002)
-------------------
* Use '.auto toggle' to toggle Auto Skills on/off  (Tips: Bind it to a key)

v0.87 (19-Sep-2002)
-------------------
* All auras are supported. (No big deal, I know)
* Support up to 20 auras in Aura Flash Queue
* Use '.auto a1' to display defensive auras
* Use '.auto a2' to display offensive auras
* Auto Skills can cast pet spells when your pet reached very low HP.  (not done)
* Auto Skills can heal your mercenary when his HP is low.             (not done)

v0.86 (28-Mar-2002)
-------------------
* Prayer, Holy Fire, Vigor, Holy Shock added.
* Fixed a minor bug in aura queue

v0.85 (11-Mar-2002)
-------------------
* Aura Flash interval can be set up for each aura in queue.  That is, each aura
  can be flashed for different interval
* Use '.auto at' command to list active aura and aura interval
* Use '.auto aura' to list all available aura

v0.83 (09-Mar-2002)
-------------------
* Blaze supported

v0.82 (10-Feb-2002)
-------------------
* Recast Reminder Message can be disabled by '.set verbose off'

v0.81 (06-Feb-2002)
-------------------
* Fixed D2HackIt v0.56+ & WinXP/Win2K incompatability problem, thanks ackmed!
* If a time-base spell is about to recast in 3 seconds, a reminder message is
  display to alert you to give some free time for Auto Skills to recast.
* If no INI file is found, Auto Skills will create it for you.  No more
  missing INI file crash problem.

v0.80 (31-Jan-2002)
-------------------
* Fixed a bug that cause disconnection.  In previous versions, in a multi-player
  game, Auto Skills wrongly use the skill information from other players and
  cause disconnection.  This was the main cause of random disconnection and is
  fixed.  From now on, Auto Skills should be disconnection-free!  Yay!
* Skill level checking is added for Paladin's aura.
* New command '.auto mana' to specify amount of mana save before auto casting
  spells.

*** Please refer to auto.his for previous update history.


How to use it?
==============
1. Run Diablo
2. Create/join a game
3. Press Alt-Tab back to Windows
4. Run loader.exe (That is, D2HackIt)
5. Press Alt-Tab back to Windows
6. Press ENTER (for typing message).  Type '.load auto'

==> Auto Skills is loaded!


Sample Usage
============

Amazon (Inner Sight, Valkyrie)
- .auto cast 0 x    (Auto cast IS when it expired)
- .auto cast 2 180  (Auto cast Valkyrie for every 180 seconds)
- .auto mana 40     (Reserve at least 40 mana)

Sorceress (Thunder Storm, Energy Shield, Frozen Armor)
- .auto cast 0 x    (Auto cast TS when it expired)
- .auto cast 1 x    (Auto cast ES when it expired)
- .auto cast 3 x    (Auto cast FA when it expired)
- .auto mana 50     (Reserve at least 50 mana)

Necromancer (Bone Armor, Fire Golem)
- .auto cast 0 x    (Auto cast BA when it expired)
- .auto cast 4 x    (Auto cast Fire Golem when FG is killed)
- .auto mana 50     (Reserve at least 50 mana)

Paladin (Holy Shield, flashes Conviction -> Fanaticism -> Concentration)
- .auto cast 0 x    (Auto cast HS when it expired)
- .auto aura 6 8 4  (Auto flash these 3 aura in order)
- .auto at 3        (Each aura last for 3 seconds) -OR-
- .auto at 3 4 2    (Flash aura 6 for 3 sec, aura 8 for 4 sec, aura 4 for 2 sec)
- .auto mana 30     (Reserve at least 30 mana)

Barbarian (Shout, Battle Order, Battle Command)
- .auto cast 0 x    (Auto cast Shout when it expired)
- .auto cast 2 40   (Auto cast BO for every 40 seconds)
- .auto cast 3 x    (Auto cast BC when it expired)
- .auto mana 30     (Reserve at least 30 mana)

Druid (Werewolf, Oak Sage, Summon Grizzly, Raven, Carrion Vine)
- .auto cast 0 x    (Auto cast WF when it expired)
- .auto cast 3 x    (Auto cast OS when OS is killed)
- .auto cast 8 x    (Auto cast SG when Grizzly is killed)
- .auto cast 9 40   (Auto cast Raven for every 40 seconds)
- .auto cast 11 x   (Auto cast CV when CV is killed)
- .auto mana 30     (Reserve at least 30 mana)

Assassin (Burst of Speed, Fade, Blade Shield, Venom, Shadow Master)
- .auto cast 0 x    (Auto cast BOS when it expired)
- .auto cast 1 x    (Auto cast Fade when it expired)
- .auto cast 2 x    (Auto cast BS when it expired)
- .auto cast 3 120  (Auto cast Venom for every 120 seconds)
- .auto cast 5 x    (Auto cast SM when SM is killed)
- .auto mana 40     (Reserve at least 40 mana)


Tips / Short FAQ
================
1. Raise the max life, max mana, of your barb *virtually* permanent.
 - Check how long your BO last.
 - Do NOT auto cast BO when it expired.  Choose a recast interval a few seconds
   less than actual BO duration.
   The reason is: if choose to recast BO when it expired, you WILL experienced a
   very short period of 'No BO' period.  The effect of 'No BO' period is very
   obvious.  For example, the original max HP of your barb is 500, after using
   BO, the max HP is 1000.  If the life of your barb is full during BO is
   effective, your barb actually has more HP than his original max.  What
   happened if BO expired?  Yes, the barb's HP dropped to his original max, 500.
   So, you really want to keep BO in effect, right?.
   To do so, you have to set Auto Skills to recast BO before it expired.  Of
   course, you can save more mana if you choose a recast interval closer to
   actual duration of the spell.  However, your risk of having a 'No BO period'
   is also higher.  That's why I suggest you set the recast interval of BO to a
   few seconds less than the actual spell duration.  You can fine tune the
   recast period to an interval work best for you.

2. Activate Auto Skills when it does not cast spells automatically.
 - For spells that are in Recast when expired mode, it needs a character status
   update packet from server to trigger the recast.  For sorceress, if you find
   TS / ES is not recast automatically, simply cast TS, you will find ES is
   automatically casted.  Or you can cast any spell with cast delay.
   This method works for other character class as well.

3. Keep your shapeshifter Druid always in Were-form.
 - Very simple, for WF, try '.auto cast 0 x'.  For WB, try '.auto cast 1 x'
   As soon as your wereform expired, it will be recasted on the fly!

4. Use auto cast when spell effect expired mode if possible.
 - With the exception of BO, most spells that support this mode work best when
   under recast on expiry mode.  Why?
   1. You don't need to check how long it last
   2. Minimize mana usage
   3. Setup-and-forget.  Once it is activated, you don't need to set it up again

Note: Auto Skills needs a very short time interval for casting spells.  It will
      not cast any spell while you are using a skill continously (holding the
      mouse button)   That's why you will notice some spells are not recasted
      immediately after it expired or recast interval is reached.


Supported Skills (39 Skills + 20 Auras)
=======================================
Skills with '*' means Auto Skills can recast it when spell effect expired.

Amazon (3)
- *Inner Sight, *Slow Missiles, *Valykrie

Sorceress (7)
- *Thunder Storm, *Energy Shield, *Chilling Armor, *Frozen Armor, *Shiver Armor,
  *Enchant, *Blaze

Necromancer (5)
- *Bone Armor, Poison Nova, *Clay Golem, *Blood Golem, *Fire Golem

Paladin (1 + 20)
(Spell)
- *Holy Shield
(Aura)
- All

Barbarian (4)
- *Shout, *Battle Cry, *Battle Orders, *Battle Command

Druid (13)
- *Werewolf, *Werebear, *Cyclone Armor, *Oak Sage, *Heart of Wolverine,
  *Spirit of Barbs, *Summon Spirit Wolf, *Summon Dire Wolf, *Summon Grizzly,
  Raven, *Poison Creeper, *Carrion Vine, *Solar Creeper

Assassin (6)
- *Burst of Speed, *Fade, *Blade Shield, Venom, *Shadow Warrior, *Shadow Master


Commands
========
.auto start
- Restart Auto Skills

.auto stop
- Stop Auto Skills

.auto toggle
- Toggle on/off Auto Skills

.auto cast
- List all skills available for auto cast

.auto cast <skill number> <interval / x>
- Auto cast <skill number> every <interval> seconds or when spell effect expired
- .auto cast 0 10  (Auto cast skill 0 every 10 seconds)
- .auto cast 0 x   (Auto cast skill 0 if spells effect is expired)
- .auto cast 0 y   (will be rejected)

.auto pet
- List the spells that create minions available for auto cast

.auto pet <skill number> <interval / x>
- Auto cast pet spell <skill number> every <interval> seconds or when minion is
  killed
- For example, .auto pet 0 10  (Auto cast pet spell 0 every 10 seconds) -OR-
               .auto pet 0 x   (Auto cast pet spell 0 when pet 0 is killed)

.auto aura
- List the auras available for auto flash

.auto aura <aura number> ......   (up to 20 auras)
- Select aura(s) for flashing
- Order *does* matter.
- Any invalid value will set aura flash to off.  For example, .auto aura 99
- To switch of aura, type .auto aura 0
- For example, .auto aura 3 6 2 1
- You can select same aura more than once
- Auto Skills will discard the aura(s) you don't have.

.auto at <interval> ... (up to 20 intervals)  ('at' here means Aura Time)
- Setup the time interval, in seconds, for flashing each separate aura in queue
- '.auto at 0' will shut down aura flashing
- for aura with no time interval specified, the first time interval is used as
  time interval for remaining aura as well
- '.auto at' show aura queue

.auto a1
- Show defensive auras

.auto a2
- Show offensive auras

.auto mana [<blank>/n]
- Blank: Display mana save
- n    : the amount of mana save before auto casting spells

.auto stat
- Show the number of spells that Auto Skills cast for you.

.auto swap [<blank>/0/1]
- Blank: Display swap weapon setting.
- 0    : Turn OFF swap weapon for auto recast.
- 1    : Turn ON swap weapon for auto recast.

.auto log [<blank>/0/1]
- Blank: Display debug log on/off status.
- 0    : Turn OFF debug log for all characters
- 1    : Turn ON debug log for all characters.

.auto reset
- Reset auto cast and aura flash settings for current character.

.set verbose on
- Display message when auto casting skill / auto flashing aura.


Installation
============
1. Copy Auto.d2h to D2HackIt folder.
2. If you have not installed previous version, copy AUTO.INI to D2HackIt folder.


Known Problems
==============
* Auto Skills may not cast a spell on time while you are HOLDING the mouse
  button.
* In the game that Auto Skills is first loaded, it is possible to be
  disconnected by server if you have selected a skill that your character
  does not have.


Plan for future versions
========================
* Auto switch to charge-up skills and finishing move for Assassin.
* Auto switch to Feral Rage/Fury, Maul/Shockwave for Druid.


Contact Me
==========
Feel free to send me suggestion or bug report to the following address
jonathan__wu@hotmail.com with subject [Auto]

For bugs report, please tell me your character class, skills info and/or attach
AUTO.LOG (zip it first) in email.  This can speed up the bug hunting process.
Thank you!


Useful URL
==========
Home of Auto Skills:
  http://jonathan.makes.it   -or-  http://maulei.tripod.com

Official D2HackIt! Forum:
  http://www.gamer-networks.com/forums/forumdisplay.php?s=&forumid=31

BlizzHackers Forum
  http://forums.blizzhackers.com


Special thanks
==============
thohell
- For creating this excellent API, D2HackIt!.  Without it, Auto Skills does
  not exist at all!

icky
- Very helpful guy, gave me the information about a packet that update item
  status.  Without this information, recast upon spell expiry could not be
  done at all!

ackmed
- Helped me to kill the D2HackIt v0.56+ & WinXP/Win2K incompatability bug.

Boonchai Jarsapornsatid
- For reporting random disconnection when using Auto Skills.

Nair
- For the suggestion to improve Auto Skills.  Moreover, he is very helpful in
  testing Auto Skills under WinXP environment.

Michael Ross
- Extremely helpful and patient in reporting bugs.


--------------------------------------------------------------------------------

Author of Auto Skills
Jonathan Wu (aka Maulei in USEast)

<End of AUTO.TXT>
