I had been using EbonHack to play on NAO normally, so I thought, why not work with this, and add a farming windows to it.

So I moved onto using AuthoHotKey to farm with putty, but It was very slow, because I couldn't reliably tell when the screen had finished refreshing.

I started pudding farming by pasting text into putty, while connected to NAO. Talking with paxed on IRC led us to conclude that pasting too much data could crash netHack!

Instructions!

EbonFarm is based around your "Safe Spot".

When you click "Farm" or "Loot", EbonFarm detects the current cursor position, and calls that your "Safe Spot".

You have to hide a lot of messages from nethack to use EbonFarm, see my NAO nethackrc for examples of the "hide" messages I use.

Both vt_tiledata and num_keys must be enabled. num_keys for movement, and vt_tiledata for EbonFarm to determine when the commands it sent have completed.

The radio buttons are used to tell where you want to attack or offer.

The "Attacks" entry is how many attack message are sent in each network message, using 3 would be like like pasting in "F3F3F3"

The "Rounds" entry is how many network message are sent in between changing weapons, currently EbonFarm will re-wield the weapon before starting any round, even if only 1 weapon is used..

The "Offer" option will sacrifice the corpses it has recently killed.

For this to be useful, the number of "Attacks" must be sufficiently small for the corpses to still be fresh.

I generally set Attacks to 3 when farming on an alter, and using the "Offer" options.

The "Loot" button will attempt to BUC the item class selected, it is only useful if your Safe Spot has an "uncursed sack" as the only container, and you are picking items up from an altar.

It moves to altar, picks up items, drops them, picks them up again, and moves back to the "Safe Spot": Repeats until all of that item class is moved into the sack.

You will take hits doing this, so it is only recommended if you have already have enough HP.

Regardless of "Offer", or "Loot", if there is no pudding in the flagged direction for 7 rounds, then EbonFarm will Loot scrolls off of the alter. This is to pick up the scrolls of scare monster.