NetHack Patch Database v0.27

323 patches

Configurable Statuslines

NameConfigurable Statuslines v2.1
Rating100%
AuthorPasi Kallinen
ForNetHack 3.4.1
DescriptionAllows changing the two status lines in config-file.
 Allows the user to change what is shown on the bottom statuslines, by setting the options in the config file.


Here's an example of how the default statuslines would look:

OPTIONS=statline1:"%-.10a the %-12b St:%c Dx:%d Co:%e In:%f Wi:%g Ch:%h %i %y"
OPTIONS=statline2:"%-7k %$:%-4l HP:%n(%m) Pw:%p(%o) AC:%-2q %t %v %w"

and here's alternative ones:

OPTIONS=statline1:"%-.10a the %b S:%c D:%d C:%e I:%f W:%g C:%h %.3i %R %Z"
OPTIONS=statline2:"%-7k %$:%-4l HP:%n(%m) Pw:%p(%o) AC:%-2q %t %v %S%T%U%V%W%X%Y"
or
OPTIONS=statline2:'%-7k %$:%-2l HP:%{s:n;m}%n%{c}(%m) Pw:%{s:p;o}%p%{c}(%o) AC:%-2q %t %v %w'

See the file README.cnf_botl in the diff.
Downloadhttp://bilious.alt.org/~paxed/nethack/nh341-cnfbotl.diff or Get it from us (24.5 Kb)
AddedJanuary 30, 2005 17:38
ChangedMay 30, 2010 10:58
Submit an update to this patch

9 Comments

5ElronndApril 06, 2015 16:37
This patch should be on NAO![Quote]
 MarkMarch 23, 2012 05:23
Looks like that patch worked. Everything is fine now, yes.[Quote]
 paxedMarch 19, 2012 17:29
Mark, add the following line to src/botl.c, line 632 (the showbotl-function, put it inside the while-loop and before the switch):

if (x >= 80) break;

that seems to fix it for me.[Quote]
 MarkMarch 13, 2012 04:08
(Terminals are typically in the 90-105 x 26-29 range)[Quote]
 MarkMarch 12, 2012 02:38
OPTIONS=statline1:"%-.10a the %b St:%c De:%d Co:%e In:%f Wi:%g Ch:%h %.3i %{c:cyan}%R %{c:orange}%Z"
OPTIONS=statline2:'%-7k %$:%-2l HP:%{s:n;m}%n%{c}(%m) Pw:%{s:p;o}%p%{c}(%o) AC:%-2q %t %v %{c:2}%T %{c:11}%U %{c:4}%V %{c:2}%W %X %Y'

I spent a lot of time fighting against the .nethackrc max length ^_^ ...

These are what I came up with. Game would always segfault around DL 10-13 or so. Tried putting it in gdb, but couldn't get a crash in those games. Will try again.[Quote]
 paxedMarch 06, 2012 15:50
Mark wrote:

Sadly, had to uninstall this patch. Random seg faults pretty much every time. Usually around DL 10-13 :(

I've been trying to find out what could cause this, but so far no luck. Do you remember what you configured your status lines to be? and what size your terminal was?[Quote]
 MarkFebruary 23, 2012 08:30
Sadly, had to uninstall this patch. Random seg faults pretty much every time. Usually around DL 10-13 :([Quote]
5MarkJanuary 17, 2012 18:23
1. can confirm the patch works fine still in 3.4.3
2. love it.

i wish it could do different colours / sliding for different degrees of hunger, but that's minor — highly recommended.[Quote]
5sartanJanuary 21, 2008 09:45
I love the customization! The "Sliding" feature here seems very powerful[Quote]

Add a comment

Name ()required
Rating (0 is worst, 5 is best) 
Commentrequired
You can use up to 1024 characters.
Only supported tag is [url]clickable_link[/url].

You will need to answer the following question correctly: What symbol represents something edible?