Commit Graph

66 Commits

Author SHA1 Message Date
Pasi Kallinen badc02927e Add play_if_exist command 2015-12-07 18:11:58 +02:00
Pasi Kallinen 4d16194de8 Change the shared memory key to the password file. (from Edoardo Spadolini) 2013-03-04 17:08:49 +02:00
Pasi Kallinen 768cddff32 Add config option "flowcontrol" to disable XON/XOFF. 2012-12-18 18:34:06 +02:00
Pasi Kallinen 9bd76d6c15 Add default_term configuration option.
If the user's TERM is something unknown, dgl will use the default_term instead.
2012-12-15 01:17:20 +02:00
Pasi Kallinen 2407611518 Allow printing raw string.
Add escape codes to string substitutions.
Some mode docs in the example config file.
Make chroot creation script fail with message when no sqlite3.
2012-06-04 18:11:56 +03:00
Pasi Kallinen bb5507b983 Allow defining the login db in config file also when using sqlite.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@628 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2011-10-13 16:13:53 +00:00
Pasi Kallinen b5d3e6257b Allow getting the server time and date via banner variables:
bannervars = [ "$DATETIME" = timeformat("%F %T") ]


git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@624 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2011-10-12 14:34:40 +00:00
Pasi Kallinen 85d39473fb Always draw the whole banner.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@621 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2011-10-11 15:50:59 +00:00
Pasi Kallinen d770f8ed96 Add "duration" watch-mode column, which shows time since the game was started.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@618 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2011-10-10 17:50:41 +00:00
Pasi Kallinen b42d170041 Add configurable default filemode.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@617 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2011-10-09 19:09:43 +00:00
Pasi Kallinen acfbf2781d ...except ncurses prevents using escape sequences. Grh.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@616 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2011-10-09 18:01:59 +00:00
Pasi Kallinen 6bce15fd41 Add $ESC(code), which allows changing text color and attributes in banners.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@615 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2011-10-09 17:47:24 +00:00
Pasi Kallinen 1b0489d50f Document $INCLUDE()
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@614 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2011-10-09 16:36:58 +00:00
Pasi Kallinen 0ba0998ece Replace server_id with generic configurable string replacements usable in banners.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@613 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2011-10-09 15:31:34 +00:00
Pasi Kallinen 78e94fa5de Add %t string formatting, for the TTYREC of the last played game. (Edoardo Spadolini <kerio00@gmail.com>)
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@612 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2011-10-07 14:41:21 +00:00
Pasi Kallinen 3c51941256 Make sending select-utf8-charset escape code configurable.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@611 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2011-10-05 13:57:32 +00:00
Pasi Kallinen 1d7ceb5ddf Make locale configurable.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@610 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2011-10-04 14:03:15 +00:00
Pasi Kallinen 47cfe66d43 ancient encodings: config option (Adam Borowski <kilobyte@angband.pl>)
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@597 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2011-10-03 15:23:14 +00:00
Pasi Kallinen 514e8808a9 Add extra_info_file support. (Darshan Shaligram <scintilla@gmail.com>)
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@595 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2011-10-03 15:00:14 +00:00
Pasi Kallinen 6439b5788b Document the watch_columns option. (Darshan Shaligram <scintilla@gmail.com>)
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@593 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2011-10-03 14:49:22 +00:00
Pasi Kallinen b1e40ba5b7 Add per-game "postcommand" hook, executed right after the game ends.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@588 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2011-08-31 14:36:22 +00:00
Pasi Kallinen 16a15a6ff2 Update example config url and year.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@578 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2010-11-13 20:55:19 +00:00
Pasi Kallinen 30c458d9fc Add %N string mangling that returns the first character of the user's name.
This is a hack to work around the userdata directory limits.


git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@577 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2010-10-12 13:47:40 +00:00
Pasi Kallinen 0321c2713c Remove the internal text editor and all the support code; now compiles virus and ee as standalone executables.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@575 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2010-05-18 20:39:32 +00:00
Pasi Kallinen ef7d6eb846 Define menu_max_idle_time option to kill dgl when the user idles too long. From Darshan Shaligram
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@531 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2010-03-02 18:32:57 +00:00
Pasi Kallinen 9934d365bd Allow dgamelaunch to kill processes that are idle for too long with SIGHUP. From Darshan Shaligram
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@530 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2010-03-02 18:02:51 +00:00
Pasi Kallinen cd69271684 Add short game name (%s) for string substitutions. From Marc H. Thoben
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@524 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2010-02-25 16:52:25 +00:00
Pasi Kallinen 4a76ab5733 Remove the "unsorted" watch-menu sort method, and make "username" the default.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@510 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2009-10-21 09:06:44 +00:00
Pasi Kallinen add9a7fa49 Allow ',' in the watching menu to sort by the previous column.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@508 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2009-10-19 20:45:27 +00:00
Pasi Kallinen ae11d81827 Allow sorting by all of the fields in the watching-menu.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@507 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2009-10-19 19:29:47 +00:00
Pasi Kallinen be6b2a6073 Fix wrong spooldir in example config file.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@504 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2009-10-19 14:57:19 +00:00
Pasi Kallinen 1561eb4007 Teenytiny cosmetic fix.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@503 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2009-10-18 19:27:08 +00:00
Pasi Kallinen f07d814c27 Move the terminal resize to when you're watching the game.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@501 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2009-10-18 18:24:22 +00:00
Pasi Kallinen afef47940f Update watching menu help to reflect previous change.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@496 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2009-10-18 17:14:06 +00:00
Pasi Kallinen 06e783db08 Update the year in the example menus
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@494 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2009-10-18 16:09:37 +00:00
Pasi Kallinen 29f507bda8 Add a watching-menu command to start watching a random game.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@489 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2009-10-18 13:10:45 +00:00
Pasi Kallinen dde7cc68b4 Change the chroot creation script to use the symlink trick for the nethack binary too.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@482 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2009-10-18 09:58:21 +00:00
Pasi Kallinen 94f0867063 Add better watchmenu help
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@480 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2009-10-18 09:45:42 +00:00
Pasi Kallinen 972bb6fa6b Add per-game configurable ttyrec-dir; If it's not defined for some game,
no ttyrecs are saved for that game, and those games cannot be spectated.

Add more debugging output to dgldebug.log -file

Add configure option --enable-debugfile to enable or disable the debugging log.


git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@468 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2009-10-17 20:26:56 +00:00
Pasi Kallinen 39456b7a75 Make dgl-create-chroot -script work again.
Change the dgldir directory layout; all rcfiles, dumps and ttyrecs are now under dgldir/userdata/USERNAME/


git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@466 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2009-10-17 17:34:36 +00:00
Pasi Kallinen a44b161d76 Minor comment fixes in example dgamelaunch.conf
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@457 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2008-11-25 16:20:32 +00:00
Pasi Kallinen 5d0bfc1b21 If the cursor-definition is missing from the menu, put cursor to the end of the last line of the banner.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@447 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2008-04-06 11:35:26 +00:00
Pasi Kallinen c5b4b3e759 Add example dgl-banner and the main menu files.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@445 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2008-04-06 11:23:56 +00:00
Pasi Kallinen db5bcbaf85 Add $SERVERID and server_id stuff so admin can change the server ID (url, telnet address, whatever) simply by editing one line in the
config file.


git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@444 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2008-04-06 11:21:29 +00:00
Pasi Kallinen 146947b386 Make watching-screen default sortmode configurable
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@441 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2008-04-06 09:13:50 +00:00
Pasi Kallinen 9612c57b94 Admin-defineable menu structures.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@432 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2008-04-05 13:29:19 +00:00
Pasi Kallinen b57983ec56 Add new config-file commands for quit, watch_menu, ask_login and ask_register
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@422 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2008-01-14 22:06:32 +00:00
Pasi Kallinen 0ee48979db Add config file command "chmail" that will ask the user to change his email
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@419 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2008-01-13 18:28:50 +00:00
Pasi Kallinen 7d639dea61 Add config file command "chpasswd" which will prompr user to change his password, if logged in.
Also, remove dgl-wall from Makefile, because it doesn't work anymore.


git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@417 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2008-01-13 18:12:20 +00:00
Pasi Kallinen e266a3bf7d Change allow_new_nicks to accept either "yes" or "no", not a number.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@412 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2008-01-13 10:38:45 +00:00