Package Details: nethack-nao 3.4.3_20130720-1

Package Base: nethack-nao
Description: A single player dungeon exploration game (with patches from NAO)
Upstream URL: http://alt.org/nethack/naonh.php
Category: games
Licenses: custom
Submitter: None
Maintainer: None
Last Packager: None
Votes: 2
First Submitted: 2012-04-10 21:01
Last Updated: 2013-07-21 03:34

Dependencies (1)

Required by (0)

Sources

Latest Comments

Comment by holos

2013-07-21 18:52

I haven't noticed any issues with those features removed. Thanks!

Anonymous comment

2013-07-21 03:35

Ah! Cool! I didn't know about this new way of cloning repositories with the new pacman. :)

About the livelog thing, it seems to me that something went wrong and the game didn't unlock the file. I guess removing that file could be a workaround. Anyway, I updated the PKGBUILD with yours and disabled the feature (livelog) which, again, seems to be used just by the server.

Thanks!

Comment by holos

2013-07-21 02:34

same thing with /var/games/nethack/livelog

here's a pacman41 git pkgbuild (using the new vcs functionality) http://ix.io/6LZ

Anonymous comment

2013-07-21 01:53

hehe Yeah! The NetHack build itself is confusing, compared with what we have for some other packages. But, I think what they're doing is maintaining a git repository with the source code for NetHack v3.4.3 with the patches they apply to use in the server.

On top of that I created a patch so the build fits with the Archlinux standards (hopefully). :) That's what the PKGBUILD build to create the package.

I hope the changes fixed the issues you were having! :D

Comment by holos

2013-07-21 01:28

Yeah the build process is pretty confusing to me. It's pretty annoying that they are committing the binaries to the git repo >_>

Anonymous comment

2013-07-21 00:09

Hey! Thanks for reporting!

Unfortunately I don't think I can track down this problem. But I notice that NAO moved away from the patch to provide only a git repository. I updated the PKGBUILD to use this repository, but I don't know if I should have sent a new package with "-git" appended. For now, I will leave it like this, but if this isn't acceptable, we can figure out something to change this package to use a better name.

I have disabled the extended logging features used by the NAO server, because I think it's tied to the dgamelaunch that they use, which was causing the problems while creating the logs. I think most of the people isn't interested in these logs anyway...

Right now I can't really teste the package to see if every thing is alright, so let me know if something went wrong!

Comment by holos

2013-07-20 19:40

in addition to what looks like permissions troubles in creating a dump file like barchiesi pointed out, there is also a bug when zapping a wand of wishing:

k - a blessed gray dragon scale mail.
Waiting for release of fcntl lock on /var/games/nethack/livelog. (9 retries left).
...
I give up. Sorry.
Some other process has an unnatural grip on /var/games/nethack/livelog.

Anonymous comment

2013-04-12 04:27

@Tenchi: yw! I'm glad you liked! :D

Anonymous comment

2013-04-12 03:48

Thank you so much for this! =)

Anonymous comment

2013-02-12 19:12

I'm sorry, the commands below should be run as ROOT, of course, not as a user. :)

Hope it fix... If you wish a walkthrough to fixing the permission by hand, you can reach me at #archlinux IRC channel. My nickname is AkiraYB.

Good luck!

Anonymous comment

2013-02-12 19:03

Looks like a permission problem. I don't really know for sure though...

You could fix the permissions by hand or, if you don't mind, remove the folder /var/games/nethack (all saves/logs will be removed) and reinstall the package like this:

$ pacman -Rscun nethack-nao
$ rm -r /var/games/nethack

Then reinstall.

Comment by barchiesi

2013-02-12 18:40

I'm getting the following, any ideas?

Can't open /var/games/nethack/userdata/d/david/dumplog/1360694669.nh343.txt for output. Dump file not created.--More--

Anonymous comment

2012-10-27 23:20

Just updated the package. I have changed from sed to a patch (nethack.patch), so the PKGBUILD is much more cleaner now. I have also "enabled" some log featues (just changed the dir path to an existing one) that the NAO patch adds, so there's now two new folders in the package: /var/games/nethack/{extrainfo,userdata}. Please, report to me here if something went wrong about the changes. :) Thanks!

Anonymous comment

2012-10-25 02:06

Thank you! I don't have time to update it right now, but I'll try tomorrow. :)

Comment by pezz

2012-10-24 02:18

Patch file has changed.

Anonymous comment

2012-08-26 06:27

Thanks for pointing that out! PKGBUILD updated.

Comment by Ideka

2012-08-25 03:46

Please, make this change: http://pastebin.com/YVZng2gg (see line 35).

Anonymous comment

2012-06-03 03:29

hehe Yes, they update it fairly quickly. I try to check it now and then when I remember. But you're right, most of the time just changing the checksum does the job. :) Thanks for the heads up, I'll update it soon.

Anonymous comment

2012-06-03 03:17

alt.org appears to update the patch file frequently (most recent patch was June 2, 2012), meaning the sha256sum in the current PKGBUILD won't match the one generated from the patch file, causing the validity check to fail so the package won't build.

Here's the new sha256sum for the most recent (June 2, 2012) patch file:
'b5161664e5581b17fb372aec6f8cc1eeb9db143c8035db0dd3b237976acf50de'

Anonymous comment

2012-04-10 21:11

I hope you enjoy!

nethack-nao
-----------

I began this PKGBUILD because I couldn't find one with all the features I like
in nethack. Usually I play this game through telnet on nethack.alt.org (NAO),
but sometimes it can be a little "laggy". This is when a local nethack can come
in handy. So I decided to make this with the very same patches applied in the
NAO public server. Besides, I tried to make the package like the official one
in the community repository with, hopefully, some improvements.