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
Pasi Kallinen
45f9640554
Add a new configuration file command ifnxcp that allows file copying without overwriting already existing file.
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@410 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2008-01-13 00:12:59 +00:00
Pasi Kallinen
83de87968d
Add a configuration command to execute an arbitrary file.
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@409 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2008-01-12 23:47:45 +00:00
Pasi Kallinen
d15a30cf3e
Update the example config file, and allow comment-lines in it to have
...
spaces or tabs before '#'
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@398 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2008-01-01 20:43:13 +00:00
Pasi Kallinen
9ebb30b417
Allow defining several game_args with one definition:
...
game_args = "goo", "bar", ..
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@396 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2008-01-01 19:56:15 +00:00
Pasi Kallinen
4f95c35047
Remove the old mkdir and chdir options to prevent lex collisions
...
with the commands mkdir and chdir
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@395 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2008-01-01 18:13:54 +00:00
Pasi Kallinen
efcfb05f41
Don't do other NetHack-specific stuff either in dgl itself...
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@394 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2008-01-01 17:59:53 +00:00
Pasi Kallinen
b029b458f3
Don't set NETHACKOPTIONS env var inside dgl, set it in config file.
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@393 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2008-01-01 17:54:05 +00:00
Pasi Kallinen
0d509576d8
Remove savefilefmt from config file; backing up the savefile
...
can now be done with per-game commands.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@392 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2008-01-01 17:36:46 +00:00
Pasi Kallinen
24cb396d16
Two new things:
...
1) Allow admin to define some commands that are run when something happens.
format is
commands [ <time> ] = <command> ...
<time> can be one of:
login = when user logs in
dglstart = when someone telnets in
register = when a new user is registered
gamestart = when a game is started
<command> is:
mkdir "foo" = creates a directory "foo"
chdir "foo" = changes current work dir to "foo"
cp "foo" "bar" = copies file "foo" to "bar"
unlink "foo" = deletes file "foo"
setenv "foo "bar" = sets environment variable "foo" to "bar"
For example
commands[login] = mkdir "foo", unlink "bar", setenv "Z" "foo"
You can also define per-game commands that are executed when
the game is started.
2) Defining game info in the config file has changed slightly.
Put "DEFINE { ... }" around the game-specific stuff.
See the example config file.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@391 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2008-01-01 17:03:05 +00:00
Pasi Kallinen
7b3bcd72d7
Config-file variable allow_new_nicks
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@360 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2007-04-09 16:42:14 +00:00
Pasi Kallinen
9fc8adb586
Update example config file
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@356 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2007-04-01 16:06:50 +00:00
Pasi Kallinen
1feff8677b
Watching menu shows what game the players are playing
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@354 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2007-04-01 10:11:38 +00:00
Pasi Kallinen
71cbbcbd04
Expand the example config file
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@353 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2007-03-31 21:31:52 +00:00
Pasi Kallinen
731caa2fcf
Allow setting max nick length in the dgl config file, while still retaining backwards compatibility with old-style, up to 20-char
...
long nicks.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@347 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2007-03-31 11:10:07 +00:00
Pasi Kallinen
7ec2c4b9cc
Allow more than one game per dgl installation.
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@345 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2007-03-29 20:14:55 +00:00
Joshua Kwan
4d45d4d263
move junk around, genericize things
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@287 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-04-03 19:27:42 +00:00