tr 0.04 for D2HackIt!

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

This is a trainer module.  When loaded, it allows you to telewalk,
auto-identify items when talking to NPC, resync your position with the
server when you encounter the black wall of lag/telewalk, auto-pick up of
your corpse, auto-pickup of gold, auto-manage belt and books, use scrolls/
potions/cube from anywhere (even from your stash or cube), and disable
item pickup when you've got your corpse lying around.  You can also filter
out certain items to cut down on graphical lag.  Some of these features
will not be available immediately after loading the module; you will have
to ask someone to trade and cancel it after the trade window shows up, or
you'll need to rejoin the game.

Changes:
0.02 Resync works better, added filtering system
0.03 Added item quality filtering, gold pickup
0.04 Added ear filtering and simple belt/book manager, enabled use of
     scrolls/potions/cube from any buffer, fixed cube/leg filtering, renamed
     id to auto.id


Commands:
  .tr tw [mode 0 | 1]
       Telewalk.
           If <mode> present, turns telewalk off (0) or on (1).
           If not present, enables telewalk on next move only.

  .tr resync
       Resyncs client location with last known good location from server.
           Use this when you encounter the black wall of lag/telewalk.

  .tr auto.id [auto 0 | 1]
       Auto-identify items when talking to NPC.
           If <auto> present, turns auto-identify off (0) or on (1).
           If not present, displays the current setting.

  .tr auto.belt [auto 0 | 1]
       Auto-manage potions/scrolls to belt.  Use belt command to set belt.
           If <auto> present, turns auto-belt manage off (0) or on (1).
           If not present, displays the current setting.

  .tr auto.book [auto 0 | 1]
       Auto-manage scrolls to book.
           If <auto> present, turns auto-book manage off (0) or on (1).
           If not present, displays the current setting.

  .tr id
       Locate and use and identification scroll if present.  It will try
       to use up all single scrolls in your inventory, trade buffer,
       cube, then stash.  If it cannot locate one, it'll will try to
       use a scroll book from your inventory, trade buffer, cube, then
       stash.  If it still can't locate one, it'll will try to use one from
       your belt.

  .tr tp [go 0 | 1]
       Locate and use a town portal scroll, and optionally go through it
       when it opens.  See the id command for the search algorithm used to
       locate the scroll.
           If <go> is present and set to 1, it will go through the portal
           as soon as it is opened.

  .tr potion <type>
       Locate a potion of the given type and use it.  See the id command for
       the search algorithm used to locate the potion.
           Type is one of:
                h = health, m = mana, r = rejuv, a = antidote, s = stamina,
                t = thawing

  .tr potion.health
       Locate health or rejuv potion and use it.  See the id command for the
       search algorithm used to locate the potion.  It will locate health
       potions that are not in the belt first, then rejuv potions that are
       not on the belt.  If it cannot locate either, it will locate health
       potions from the belt, then rejuv potions on the belt.

  .tr potion.mana
       Locate mana or rejuv potion and use it.  See the potion.health
       command for the search algorithm used to locate the potion.

  .tr belt [col [type]]
       Show/set item type to put in belt at given column.
           If <col> and <type> present, set column to manage items of type.
           If only <col> is present, shows the item to manage at column.
           If <col> is not present, shows entire belt setting.
           Type is one of:
                1 = health, 2 = mana, 3 = rejuv, 4 = antidote, 5 = stamina,
                6 = thawing, 7 = identify-scroll, 8 = town-portal

  .tr cube.open
       Opens up your real cube if you have one anywhere in your possession,
           or your cube buffer if you do not.

  .tr corpse [pickup 0 | 1]
       Allow items to be picked up when your corpse is laying around.
           If <pickup> present, disallows pickup (0) or allows it (1).
           If not present, displays the current setting.

  .tr goldpu [amount]
       Auto-pickup gold piles greater or equal to amount.
           If <amount> present, sets the minimum gold pile to pick up
             (0 = disabled).
           If not present, displays the current setting.

  .tr info
       Shows info on the items in your belt and potions/scrolls in your
       possession.

  .tr filters
       List current filters

  .tr filters.clear
       Clears all filters

  .tr filter.gold [amount]
       Filter gold less than amount.  0 = disabled.

  .tr filter.rune [number]
       Filter runes less than number.  0 = disabled.

  .tr filter.gem [value]
       Filter gems.
           Value is the sum of the gems you want to hide:
                1 = amethyst, 2 = topaz, 4 = saphire, 8 = emerald,
                16 = ruby, 32 = diamond, 64 = skull

  .tr filter.gemtype [value]
       Filter gem types.
           Value is the sum of the gems type you want to hide:
                1 = chipped, 2 = flawed, 4 = normal, 8 = flawless,
                16 = perfect

  .tr filter.hpot [value]
       Filter health potions.
           Value is the sum of the potion sizes you want to hide:
                1 = minor, 2 = light, 4 = normal, 8 = greater,
                16 = super

  .tr filter.mpot [value]
       Filter mana potions.
           Value is the sum of the potion sizes you want to hide:
                1 = minor, 2 = light, 4 = normal, 8 = greater,
                16 = super

  .tr filter.pot [value]
       Filter potions.
           Value is the sum of the potions you want to hide:
                1 = stamina, 2 = antidote, 4 = thawing, 8 = rejuv,
                16 = full rejuv

  .tr filter.quality [value]
       Filter item quality.
           Value is the sum of the item qualities you want to hide:
                1 = socketed, 2 = inferior, 4 = normal, 8 = superior,
                16 = ethereal, 32 = magic, 64 = rare

  .tr filter.misc [value]
       Filter miscellaneous items.
           Value is the sum of the items you want to hide:
                1 = identify scroll, 2 = town portal scroll, 4 = key,
                8 = arrows, 16 = bolts

  .tr load [section]
       Loads settings from [section] tr.ini

  .tr save [section]
       Saves settings to [section] in tr.ini.

  .tr help
       Shows help

Installation:
  Copy tr.d2h and tr.ini to your D2HackIt folder and use ".load tr" to 
  load the module.

Tips:
  If you haven't rescued Cain, turn off auto-identify.
  If item pick up is disabled when your corpse is present and you need to
    pick up an item, open your inventory and you'll be able to pick it up
    and place it in your inventory (or equip it).
  Some features will not work correctly immediately after loading the module.
    You will have to ask someone to trade and cancel it after the trade
    window appears, or you'll need to rejoin the game.
  Keep your cube and books in your stash or book so you'll have more space
    in your inventory to pick things up.
  Use bind and bind keys to certain commands so you don't have to waste time
    typing them in.
  Gold pickup works with telekinesis when you switch to the skill.
  Load/save settings that filter items for certain classes and difficulty
    settings.  For example, filter out arrows and bolts for non-bow
    characters.


To Do:
Better belt manager (auto-pickup/upgrade potions/scrolls)
Better filtering system (faster, don't filter any special items)
Better inventory tracking

Requirements:
  D2HackIt! 0.45 or later.


MD5 for tr.d2h: 14310d3d545e1de5a4398a0cf6adcf0f

http://geocities.com/herzog_zwei/

-hz
--------------------------------------------------------------------------------
