ESRutils

This page covers ESRutils and its plugins that are some quality of life enhancements for Eastern Sun Rises.

## D2ESRutils.ini (and how to activate plugins)

This file is used to select which plugins are loaded into ESRutils. The loot filter and exp are turned off by default, activate them by adding them to the autoload line in the .ini.

Default:

`Autoload= as, t, ae, dc, oc, statefix, hotkey`

Enable the loot filter:

`Autoload= as, t, ae, dc, oc, statefix, hotkey**, filter**`

## Plugins

#### Transmute

Transmute is used to rotate the output of the stockers in ESR. This can be useful because a short chat command will instantly cycle your stocker to the desired output, which could otherwise require 20 or more cube transmutes, and if you press the key just once more than desired, you have to cycle throug everything again. Instead use the following command with only the stocker to cycle in your cube.

`.t start output`

Cycles the stocker in the cube to the desired output, *this uses string search*, so `.t start dec` will cycle the multi stocker to the output Ancient Decipherer. All output is lower case except for runes, which are capitalized. Currently, the rerolling orb can't be cycled using transmute.

`.t count N`

Cycles the stocker in the cube N times.

#### Auto-Extract

Put your stocker and extractor in to the cube and enter

`.ae start`

This will extract the selected output until either your inventory is full except for two squares which can hold the stocker and extractor or until there are no more items in the stocker.

#### D-Stone Clicker

This cycles all d-stones in your inventory to the desired type.

`.dc start N`

Cycles all d-stones to type N.

`.dc types`

Prints a list of types with each number. Dragon Stones cycle through one item for each class: Dragon Stone (1), Holy Symbol (2), Blackmoor (3), Forging Hammer (4), Crushed Gem (5), Spider's Silk (6), Tyranium Ore (7).

#### Organ Clicker **(only 5.3 and later!!)**

This cycles all organs in your inventory to the desired type.

`.oc start N`

Cycles all d-stones to type N.

`.oc types`

Prints a list of types with each number. Organs cycle through all possible versions: Heart (1), brain (2), jawbone (3), eye (4), horn (5), tail (6), flag (7), fang (8), quill (9), soul (10), scalp (11), and spleen (12).

#### Hotkey

This plugin allows to map certain actions to hotkeys which can be configured by the user. Currently, there are two hotkeys: drop to cube and transmute. Future version will contain hotkeys for dropping items to ground and dropping items to inventory, which can speed up inventory actions.

`.hotkey SetDropToCube`

`.hotkey SetTransmute`

Allows to set new hotkeys ingame. They can also be configured using Plugin\hotkey.ini. See keyboard key codes to find out which number refers to which key.

#### Filter

This plugin allows to filter loot on the ground and hide certain items to reduce clutter. Especially in high level areas and in multiplayer games, lots of items drop in Eastern Sun Rises. The filter can be turned on and off using

`.filter on`

`.filter off`

The filter is highly configurable, please check the loot filter page for more details.

##### Gamble

Allows to gamble for a certain item, this is mostly useful on the realm, where the gamble filter is not available.

`.gamble start [code]`

Will walk to the closest gamble NPC (may get stuck, get next to them first) and will re-open the gambling screen and buy all items with item code [code] until it either runs out of gold or inventory space. **To stop gambling, press the space bar!**

#### Exp (off by default)

This plugin tracks the average experience per monster in a certain area and prints total experience from zone and game each time the zone is changed.