Pasi Kallinen
7c0741110e
Ensure valid values in watching
2012-03-17 12:17:02 +02:00
Pasi Kallinen
a6ab367469
Update TODO
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@627 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2011-10-12 15:35:44 +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
5a0c90fa0f
Make bannerstrmangle able to handle arbitrarily long strings.
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@623 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2011-10-11 18:05:11 +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
9fc78de52e
Bugfix: when using sqlite and registering a nick with length longer or equal to max_newnick_len, it may have succeeded even if such a nick already existed.
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@590 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2011-10-03 13:47:19 +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
61e3e65647
When using $INCLUDE() in a bannerfile, don't display the file being included.
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@587 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2011-08-12 18:06:34 +00:00
Pasi Kallinen
24001a23c5
Add TODO: Document the exit error codes.
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@586 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2011-03-28 14:30:19 +00:00
Pasi Kallinen
3405bcf1a8
Add TODO: Cursor keys not working after watching a game of curses-nethack.
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@585 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2011-03-26 19:01:57 +00:00
Pasi Kallinen
7223417d76
Add account flags for admins, banned accounts, preventing password or email changing.
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@581 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2011-01-29 16:39:05 +00:00
Pasi Kallinen
ff31d082d1
Make ncurses redraw the whole screen after watching someone.
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@574 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2010-05-18 19:58:32 +00:00
Pasi Kallinen
3f3e9c3277
Handle some additional keys in the watching-menu.
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@557 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2010-05-06 17:30:16 +00:00
Pasi Kallinen
ce1dd29060
Output some identifying info to the first frame of the ttyrec.
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@553 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2010-05-05 13:37:40 +00:00
Pasi Kallinen
113fc564ef
Show the number of people watching each game in the watching-menu.
...
Also allow sorting by # of watchers.
Requires dgamelaunch to be compiled with --enable-shmem
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@536 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2010-05-01 14:41:54 +00:00
Pasi Kallinen
13c2d4ec3f
Update TODO
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@533 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2010-03-13 18:33:34 +00:00
Pasi Kallinen
e677422418
Test commit from joshk
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@532 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2010-03-12 22:07:08 +00:00
Pasi Kallinen
43f2b685c7
Update TODO
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@522 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2010-01-09 11:24:56 +00:00
Pasi Kallinen
64c9bf043f
Fix a segfault when selecting a non-existent game entry to watch. Found by blackpenguin.
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@521 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2009-12-23 18:04:26 +00:00
Pasi Kallinen
41c0322ad9
Change max. length of passwords from magic number to a define.
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@518 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2009-11-28 17:53:00 +00:00
Pasi Kallinen
9bed813458
Change max. length of player name from magic number to a define.
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@516 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2009-11-27 18:41:35 +00:00
Pasi Kallinen
160ddf3b5b
Remove unused variable. Update TODO.
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@515 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2009-11-27 18:05:36 +00:00
Pasi Kallinen
482382c585
Make configure accept both lex _and_ flex.
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@514 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2009-10-23 07:16:29 +00:00
Pasi Kallinen
ada8b7d674
Abort configure if we cannot find [n]curses devel libs.
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@511 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2009-10-21 14:49:46 +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
65eb9a89bc
Prep for 1.5.1
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@509 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2009-10-20 15:51:29 +00:00
Pasi Kallinen
284a2201e3
Show the watching-menu sorting by hilighting the title.
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@483 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2009-10-18 10:31:45 +00:00
Pasi Kallinen
2b6b21cb51
Minor typo fix.
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@465 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2009-10-15 15:11:54 +00:00
Pasi Kallinen
5782235ecf
Patch from Jeremy Chadwick:
...
Linux telnetd allows importing the USER envvar via telnet,
while FreeBSD does not. FreeBSD, on the other hand, does allow
the LOGNAME envvar. Check USER first, then LOGNAME.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@462 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2009-09-26 19:13:05 +00:00
Pasi Kallinen
aae24f9893
Move shed_uid and shed_gid initial values to the correct place. Thanks to xororand.
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@459 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2009-05-24 17:32:32 +00:00
Pasi Kallinen
e08465fa22
Update TODO
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@455 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2008-11-13 20:40:50 +00:00
Pasi Kallinen
6ac216b592
Update TODO
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@453 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2008-08-23 15:48:11 +00:00
Pasi Kallinen
6cf3c008bc
Don't show the "press 'm' to mail user" in watching screen unless spool is enabled.
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@442 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2008-04-06 09:36:20 +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
9792a8289a
Update TODO
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@438 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2008-04-05 23:20:28 +00:00
Pasi Kallinen
94ea761a7b
Update TODO
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@433 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2008-04-05 14:52:45 +00:00
Pasi Kallinen
7678120451
update todo, we have a minor bug
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@431 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2008-03-26 20:30:37 +00:00
Pasi Kallinen
4eb5ec3c68
For now, make game config files (and other files) created by dgl a+rw
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@430 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2008-03-23 18:01:56 +00:00
Pasi Kallinen
4e082fbcd6
Update todo
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@426 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2008-03-20 17:05:09 +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
ea203348e1
Update Changelog and TODO
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@421 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2008-01-13 20:36:24 +00:00
Pasi Kallinen
2d0a128be7
Update TODO
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@418 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2008-01-13 18:18:42 +00:00
Pasi Kallinen
979f455eb0
More TODO
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@416 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2008-01-13 12:31:32 +00:00
Pasi Kallinen
5c5a2443e7
Update TODO
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@415 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2008-01-13 12:21:31 +00:00
Pasi Kallinen
a8efb00680
Update TODO
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@414 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2008-01-13 10:53:08 +00:00
Pasi Kallinen
eba56654bd
Update TODO
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@411 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2008-01-13 00:26:25 +00:00
Pasi Kallinen
d34e23035a
Update TODO
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@403 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2008-01-06 12:35:41 +00:00
Pasi Kallinen
88adb16393
update TODO
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@397 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2008-01-01 20:20:02 +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