NetHack

Hardfought now hosts an online NetHack server, which offers a couple different versions of the original, or ‘vanilla’ game, as well as a handful of variants. At this page, you can find everything you need to know to successfully connect to and play on our server. You’ll also find useful information covering a wide variety of subjects, from where to go if you need assistance with a game, to specific how-to links, and other meaningful data.

How to connect

First things first – register an account. Game account registration can *only* be done via SSH (see below paragraph on how to connect). Regardless of which server you want to regularly play on, ssh to nethack@hardfought.org and register your account there. Within a couple minutes, your registered account with sync with the other two servers (Europe and Australia) and you’ll then be able to play on every Hardfought NetHack server.

Start up the terminal of your choice (for Windows users, a very popular choice is PuTTY), and connect (ssh) to nethack@hardfought.org (US server, east coast), nethack@eu.hardfought.org (EU server, London), or to nethack@au.hardfought.org (AU server, Sydney) via port 22 (SSH). Be sure to check the RSA and ECDSA public key fingerprints when connecting to ensure you’re where you’re supposed to be:

Hardfought US Server:
2048 RSA 41:b3:ce:da:b0:63:22:8c:7c:ac:74:b5:46:1c:f5:8b
256 ECDSA f0:5f:fb:da:6d:ac:1c:88:2a:91:ea:24:fe:44:d4:50

Hardfought EU Server:
2048 RSA 02:05:1d:13:aa:fe:1c:00:7a:b1:3f:c7:59:39:8a:c8
256 ECDSA a2:64:b4:4c:df:7c:ce:ec:ce:c8:29:b2:f5:b5:fc:de

Hardfought AU Server:
2048 RSA b2:28:60:f7:09:dd:05:f8:1c:11:78:d1:e7:20:eb:5c
256 ECDSA 31:27:a2:b8:11:ae:f2:a4:6c:79:04:fd:e4:4c:77:13

Connecting from a *nix terminal is straightforward, you just type ‘ssh nethack@hardfought.org’ or ‘ssh nethack@eu.hardfought.org’ at the prompt. If you’re on Windows and are using PuTTY, there’s great how-to up on the NetHack Wiki – https://nethackwiki.com/wiki/PuTTY

You can also connect via hterm, which is a web interface that connects directly to whichever server you want to play on. Nice option to have if work err I mean your home network blocks port 22 for some reason. Links to our hterm instances can be found up above under the ‘NetHack’ menu.

Configuration

Each variant has it’s own configuration settings which can be accessed in-game, or in the case of NetHack 3-based variants, it’s configuration file, or ‘rc file’, can be edited directly. This can be accomplished one of two ways – either via the dgamelaunch menu before you start your game (options include using rnano or virus) or via the website here using the RC Editor page. Using the editors included via the dgl menu is great for a quick edit; the web-based RC Editor is ideal for making large edits, such as importing an entire rc configuration file from another server to here.

Currently the RC Editor only works on the US-based server. If you play on either the EU or AU server, you can sync your rc file over from the US server – you’ll see an option to do so when you first login to the EU or AU servers.

If you’re unsure of what type of configuration you should have, browse the configuration files of other players here to get an idea of what settings you’d like to use. Configurations files are somewhat of an art form, and you can always find something useful that you may not have thought about using previously by digging through what other players have available.

Account Password Reset

Should you require a password reset for your dgamelaunch (dgl) account, please send an email to admin@hardfought.org with your request, or find an admin in #hardfought on Freenode IRC. For security purposes, please submit or have on hand the email address you registered with for verification purposes.

My game crashed, now what?

If your game experiences a crash or fatal error, try to record as much information about the event as you can, such as any displayed error messages, what you were doing in-game that led up to the crash, etc. Even reporting the lack of any error messages can be helpful. Some of the variants we host, such as UnNetHack, have an auto-recover feature. Most of the variants hosted here do not. Try NOT to start a new game or, if given the option, to destroy your old game if you want the chance for it to be recovered. Contact the admins with your crash report and we’ll attempt to recover your game as best we can. Turnaround time will typically be within 24 hours, and usually much less time than that.

Take heed – variants such as SporkHack, dNetHack, Slash’EM Extended, and especially DynaHack have some significant flaws that can make a crashed game very difficult if not impossible to recover. Save often and at key points/milestones during your game. Play at your own risk.

IRC Bot commands

Beholder is linked to the NetHack game server on hardfought.org, and lives in the freenode.net IRC channel #hardfought. Beholder reports on games being played on the server, including ascensions(wins), deaths(losses), and other significant game events.

Additionally, it responds to the following commands:

Utility commands:

!help – provides you a link to this webpage.
!commands – lists all available commands you can pass to the bot.
!ping – check if bot is alive.
!time – displays current time of the server (EST).
!tell [nick] [message] – forward a message when the recipient becomes active.
!hello – receive a greeting from the bot.

Game server commands:

!lastgame [variant] [player] – display link to dumplog of last game ended.
!asc [player] [variant] – listing of all ascended games for a particular player (all variants or specified).
!lastasc [variant] [player] – dumplog for last ascended game.
!scores or !sb – provides you with a link to the Hardfought scoreboard of all variants hosted.
!setmintc [turn count] – prevent bot from reporting your deaths below specified turn count. Cleared by not specifying a turn count.
!whereis [player] – shows variant and location within the game of the specified player.
!players – displays a list of all players currently online and which variant they are playing.
!who – same as !players
!streak [player] – shows how many games a player has won in a row without dying.

Random Number Generator (RNG) commands:

![m]d[n] – roll m dice of n sides. e.g. !2d6, or !d20. Range for number of dice is 50; sides per die is 1000.
!role [variant] – suggest a role for specified variant, or a variant and role.
!race [variant] – as above, for race.
!variant – suggest a variant to play.
!rng elf | orc | gnome – pick random word from | separated list (pipe not required to separate one-word entries).
!rng do dishes | play NetHack | write bot instructions – pick random phrase from | separated list (pipe is required to separate phrases).
!rng m-n – pick random number between m and n.
!rng – provides information on NetHack RNG functionality ;)

Other:

!tea, !coffee, !potion, !booze, ![various liquors] [recipient] – prepare a special unique beverage for you, or recipient.
!beer – similar to above.
!goat [recipient] – send in the goat.
!source – provides a link to the source code of this bot.
!lotg [recipient] – a blessing of sorts…
!pom – displays current phase of the moon (based on EST) [under development].
!8ball [question] – consult the mystic oracle with your questions. You may or may not like the answer…

Aliases:

Where commands take the name of a variant, the following aliases are accepted:

nh343:  nh343 nethack 343
nh362:  nh362 362 362-hdf
nh13d:  nh13d 13d
gh:  grunt grunthack
un:  unnethack unh
fh:  fiqhack
4k:  nhfourk nhf fourk
dnh:  dnethack dn
dyn:  dynahack dyn
nh4:  nethack4 n4
sp:  sporkhack spork
slex:  slex
xnh:  xnethack xnh
spl:  splicehack spl
slshm:  slashem slshm

NetHack Home Page
The NetHack Wiki
Official NetHack Git Repository
Reddit NetHack page
rec.games.roguelike.nethack
NetHack Online (NAO)
NetHack Scoreboard
NetHack Patch Database
#NetHack Quote Database
Junethack

Contact us

Probably the easiest way to get a hold of an admin (K2 or Tangles), would be to use IRC – hop on channel #hardfought at freenode.net, the server admins are parked there 24/7, as are several community members who can field any queries you might have. If you prefer email, send your message to admin@hardfought.org.