]> skyeroc.xyz Git - dgamelaunch/log
dgamelaunch
16 years agoIn the watching-screen you can press '/' and type a player name and press enter.
Pasi Kallinen [Sat, 17 Oct 2009 22:40:45 +0000 (22:40 +0000)]
In the watching-screen you can press '/' and type a player name and press enter.
If a player's name matches, you'll watch that player.

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@470 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

16 years agoAC_ARG_ENABLE does not take the full --enable-foo option. Thanks cph!
Pasi Kallinen [Sat, 17 Oct 2009 21:15:59 +0000 (21:15 +0000)]
AC_ARG_ENABLE does not take the full --enable-foo option. Thanks cph!

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@469 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

16 years agoAdd per-game configurable ttyrec-dir; If it's not defined for some game,
Pasi Kallinen [Sat, 17 Oct 2009 20:26:56 +0000 (20:26 +0000)]
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

16 years agoRemove lines that are commented out, and which can now be done via the config file...
Pasi Kallinen [Sat, 17 Oct 2009 17:37:58 +0000 (17:37 +0000)]
Remove lines that are commented out, and which can now be done via the config file hooks.

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@467 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

16 years agoMake dgl-create-chroot -script work again.
Pasi Kallinen [Sat, 17 Oct 2009 17:34:36 +0000 (17:34 +0000)]
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

16 years agoMinor typo fix.
Pasi Kallinen [Thu, 15 Oct 2009 15:11:54 +0000 (15:11 +0000)]
Minor typo fix.

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@465 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

16 years agoAdd a "gameend" hook. Patch from jorgenpt.
Pasi Kallinen [Fri, 2 Oct 2009 17:41:12 +0000 (17:41 +0000)]
Add a "gameend" hook. Patch from jorgenpt.

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@464 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

16 years agoPrint error to stderr when we can't read DEFCONFIG file.
Pasi Kallinen [Sat, 26 Sep 2009 19:33:50 +0000 (19:33 +0000)]
Print error to stderr when we can't read DEFCONFIG file.

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@463 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

16 years agoPatch from Jeremy Chadwick:
Pasi Kallinen [Sat, 26 Sep 2009 19:13:05 +0000 (19:13 +0000)]
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

17 years agoUse HAVE_SETENV. This must've been a leftover from before configure was used.
Pasi Kallinen [Sat, 25 Jul 2009 15:21:15 +0000 (15:21 +0000)]
Use HAVE_SETENV. This must've been a leftover from before configure was used.

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@461 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

17 years agoForgot to remove these shed_uid & shed_gid lines.
Pasi Kallinen [Sun, 24 May 2009 18:30:37 +0000 (18:30 +0000)]
Forgot to remove these shed_uid & shed_gid lines.

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@460 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

17 years agoMove shed_uid and shed_gid initial values to the correct place. Thanks to xororand.
Pasi Kallinen [Sun, 24 May 2009 17:32:32 +0000 (17:32 +0000)]
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

17 years agoRemove unneeded retard check
Pasi Kallinen [Wed, 26 Nov 2008 17:23:38 +0000 (17:23 +0000)]
Remove unneeded retard check

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@458 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

17 years agoMinor comment fixes in example dgamelaunch.conf
Pasi Kallinen [Tue, 25 Nov 2008 16:20:32 +0000 (16:20 +0000)]
Minor comment fixes in example dgamelaunch.conf

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@457 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

17 years agoImprove the flat text db -> sqlite3 db conversion script.
Pasi Kallinen [Tue, 25 Nov 2008 16:13:50 +0000 (16:13 +0000)]
Improve the flat text db -> sqlite3 db conversion script.

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@456 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

17 years agoUpdate TODO
Pasi Kallinen [Thu, 13 Nov 2008 20:40:50 +0000 (20:40 +0000)]
Update TODO

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@455 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

17 years agoOops, ee wasn't used even without --enable-virus. Found by xororand.
Pasi Kallinen [Wed, 1 Oct 2008 18:02:21 +0000 (18:02 +0000)]
Oops, ee wasn't used even without --enable-virus. Found by xororand.

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@454 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

17 years agoUpdate TODO
Pasi Kallinen [Sat, 23 Aug 2008 15:48:11 +0000 (15:48 +0000)]
Update TODO

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@453 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

17 years agoFix a bug where more than one defined game didn't show up or showed gibberish
Pasi Kallinen [Sat, 23 Aug 2008 12:50:43 +0000 (12:50 +0000)]
Fix a bug where more than one defined game didn't show up or showed gibberish

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@452 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

17 years agoDon't keep reloading the banners.
Pasi Kallinen [Sat, 23 Aug 2008 12:47:11 +0000 (12:47 +0000)]
Don't keep reloading the banners.

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@451 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

17 years agoRename game_start to gamestart so it's similar to dglstart.
Pasi Kallinen [Sat, 23 Aug 2008 12:41:17 +0000 (12:41 +0000)]
Rename game_start to gamestart so it's similar to dglstart.

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@450 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

17 years agoFix a bug where users couldn't exit from dgl. Found by blindcoder.
Pasi Kallinen [Sat, 23 Aug 2008 12:39:01 +0000 (12:39 +0000)]
Fix a bug where users couldn't exit from dgl. Found by blindcoder.

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@449 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

17 years agoFix a bug that caused multiple user entries to be inserted into the sqlite db when...
Pasi Kallinen [Sat, 23 Aug 2008 09:47:04 +0000 (09:47 +0000)]
Fix a bug that caused multiple user entries to be inserted into the sqlite db when the db was locked by some other process.

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@448 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

18 years agoIf the cursor-definition is missing from the menu, put cursor to the end of the last...
Pasi Kallinen [Sun, 6 Apr 2008 11:35:26 +0000 (11:35 +0000)]
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

18 years agoRemove the old dgl-banner in the root dir.
Pasi Kallinen [Sun, 6 Apr 2008 11:26:38 +0000 (11:26 +0000)]
Remove the old dgl-banner in the root dir.

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@446 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

18 years agoAdd example dgl-banner and the main menu files.
Pasi Kallinen [Sun, 6 Apr 2008 11:23:56 +0000 (11:23 +0000)]
Add example dgl-banner and the main menu files.

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@445 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

18 years agoAdd $SERVERID and server_id stuff so admin can change the server ID (url, telnet...
Pasi Kallinen [Sun, 6 Apr 2008 11:21:29 +0000 (11:21 +0000)]
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

18 years agoUpdate Changelog
Pasi Kallinen [Sun, 6 Apr 2008 10:05:41 +0000 (10:05 +0000)]
Update Changelog

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@443 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

18 years agoDon't show the "press 'm' to mail user" in watching screen unless spool is enabled.
Pasi Kallinen [Sun, 6 Apr 2008 09:36:20 +0000 (09:36 +0000)]
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

18 years agoMake watching-screen default sortmode configurable
Pasi Kallinen [Sun, 6 Apr 2008 09:13:50 +0000 (09:13 +0000)]
Make watching-screen default sortmode configurable

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@441 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

18 years agoRemove dgl-wall.c
Pasi Kallinen [Sun, 6 Apr 2008 08:28:37 +0000 (08:28 +0000)]
Remove dgl-wall.c

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@440 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

18 years agoFold the dgl-wall functionality into dgamelaunch itself:
Pasi Kallinen [Sun, 6 Apr 2008 08:27:44 +0000 (08:27 +0000)]
Fold the dgl-wall functionality into dgamelaunch itself:
./dgamelaunch -W "nick:message"

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@439 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

18 years agoUpdate TODO
Pasi Kallinen [Sat, 5 Apr 2008 23:20:28 +0000 (23:20 +0000)]
Update TODO

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@438 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

18 years agoAllow any number of different games per dgl installation without needing to recompile.
Pasi Kallinen [Sat, 5 Apr 2008 22:55:46 +0000 (22:55 +0000)]
Allow any number of different games per dgl installation without needing to recompile.

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@437 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

18 years agoDefine the admin-hasn't-installed-banner-file string in just one place
Pasi Kallinen [Sat, 5 Apr 2008 17:52:32 +0000 (17:52 +0000)]
Define the admin-hasn't-installed-banner-file string in just one place

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@436 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

18 years agoadd the retard check to the new menus
Pasi Kallinen [Sat, 5 Apr 2008 15:07:26 +0000 (15:07 +0000)]
add the retard check to the new menus

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@435 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

18 years agoRemove unused menu code
Pasi Kallinen [Sat, 5 Apr 2008 14:59:31 +0000 (14:59 +0000)]
Remove unused menu code

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@434 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

18 years agoUpdate TODO
Pasi Kallinen [Sat, 5 Apr 2008 14:52:45 +0000 (14:52 +0000)]
Update TODO

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@433 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

18 years agoAdmin-defineable menu structures.
Pasi Kallinen [Sat, 5 Apr 2008 13:29:19 +0000 (13:29 +0000)]
Admin-defineable menu structures.

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@432 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

18 years agoupdate todo, we have a minor bug
Pasi Kallinen [Wed, 26 Mar 2008 20:30:37 +0000 (20:30 +0000)]
update todo, we have a minor bug

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@431 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

18 years agoFor now, make game config files (and other files) created by dgl a+rw
Pasi Kallinen [Sun, 23 Mar 2008 18:01:56 +0000 (18:01 +0000)]
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

18 years agoCall endwin() every time we leave, just in case.
Pasi Kallinen [Sun, 23 Mar 2008 16:55:32 +0000 (16:55 +0000)]
Call endwin() every time we leave, just in case.

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@429 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

18 years agoReplace last flood protection with retard protection, and make the protection reset...
Pasi Kallinen [Sun, 23 Mar 2008 12:51:21 +0000 (12:51 +0000)]
Replace last flood protection with retard protection, and make the protection reset when editing options file.

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@428 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

18 years agoGeneralize the retarded clients / flood checking, and reset it when we played a game.
Pasi Kallinen [Fri, 21 Mar 2008 13:15:34 +0000 (13:15 +0000)]
Generalize the retarded clients / flood checking, and reset it when we played a game.

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@427 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

18 years agoUpdate todo
Pasi Kallinen [Thu, 20 Mar 2008 17:05:09 +0000 (17:05 +0000)]
Update todo

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@426 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

18 years agoIf we can't read from the canned rc file, don't create empty default one.
Pasi Kallinen [Thu, 20 Mar 2008 17:03:17 +0000 (17:03 +0000)]
If we can't read from the canned rc file, don't create empty default one.

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@425 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

18 years agoFix bug where all queues were connected.
Pasi Kallinen [Thu, 20 Mar 2008 17:00:31 +0000 (17:00 +0000)]
Fix bug where all queues were connected.

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@424 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

18 years agoDon't stop executing the cmdqueue even if file copy fails
Pasi Kallinen [Tue, 15 Jan 2008 22:01:44 +0000 (22:01 +0000)]
Don't stop executing the cmdqueue even if file copy fails

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@423 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

18 years agoAdd new config-file commands for quit, watch_menu, ask_login and ask_register
Pasi Kallinen [Mon, 14 Jan 2008 22:06:32 +0000 (22:06 +0000)]
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

18 years agoUpdate Changelog and TODO
Pasi Kallinen [Sun, 13 Jan 2008 20:36:24 +0000 (20:36 +0000)]
Update Changelog and TODO

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@421 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

18 years agoReturn to dgamelaunch after the game ends.
Pasi Kallinen [Sun, 13 Jan 2008 20:34:43 +0000 (20:34 +0000)]
Return to dgamelaunch after the game ends.

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@420 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

18 years agoAdd config file command "chmail" that will ask the user to change his email
Pasi Kallinen [Sun, 13 Jan 2008 18:28:50 +0000 (18:28 +0000)]
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

18 years agoUpdate TODO
Pasi Kallinen [Sun, 13 Jan 2008 18:18:42 +0000 (18:18 +0000)]
Update TODO

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@418 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

18 years agoAdd config file command "chpasswd" which will prompr user to change his password...
Pasi Kallinen [Sun, 13 Jan 2008 18:12:20 +0000 (18:12 +0000)]
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

18 years agoMore TODO
Pasi Kallinen [Sun, 13 Jan 2008 12:31:32 +0000 (12:31 +0000)]
More TODO

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@416 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

18 years agoUpdate TODO
Pasi Kallinen [Sun, 13 Jan 2008 12:21:31 +0000 (12:21 +0000)]
Update TODO

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@415 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

18 years agoUpdate TODO
Pasi Kallinen [Sun, 13 Jan 2008 10:53:08 +0000 (10:53 +0000)]
Update TODO

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@414 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

18 years agoUpdate Changelog
Pasi Kallinen [Sun, 13 Jan 2008 10:49:35 +0000 (10:49 +0000)]
Update Changelog

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@413 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

18 years agoChange allow_new_nicks to accept either "yes" or "no", not a number.
Pasi Kallinen [Sun, 13 Jan 2008 10:38:45 +0000 (10:38 +0000)]
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

18 years agoUpdate TODO
Pasi Kallinen [Sun, 13 Jan 2008 00:26:25 +0000 (00:26 +0000)]
Update TODO

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@411 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

18 years agoAdd a new configuration file command ifnxcp that allows file copying without overwrit...
Pasi Kallinen [Sun, 13 Jan 2008 00:12:59 +0000 (00:12 +0000)]
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

18 years agoAdd a configuration command to execute an arbitrary file.
Pasi Kallinen [Sat, 12 Jan 2008 23:47:45 +0000 (23:47 +0000)]
Add a configuration command to execute an arbitrary file.

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@409 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

18 years agoMake process titles give more information
Pasi Kallinen [Sat, 12 Jan 2008 23:15:30 +0000 (23:15 +0000)]
Make process titles give more information

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@408 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

18 years agoTweak some messages given to user
Pasi Kallinen [Sat, 12 Jan 2008 22:51:12 +0000 (22:51 +0000)]
Tweak some messages given to user

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@407 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

18 years agoBetter handling of tty loss
Pasi Kallinen [Sat, 12 Jan 2008 22:29:13 +0000 (22:29 +0000)]
Better handling of tty loss

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@406 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

18 years agoFor errors in config file, report the whole unrecognized token
Pasi Kallinen [Sun, 6 Jan 2008 19:35:14 +0000 (19:35 +0000)]
For errors in config file, report the whole unrecognized token
(and quit right after it) instead of error per char.

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@405 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

18 years agoMake sortmode keep it's value even if you back out of the watching window.
Pasi Kallinen [Sun, 6 Jan 2008 17:40:57 +0000 (17:40 +0000)]
Make sortmode keep it's value even if you back out of the watching window.

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@404 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

18 years agoUpdate TODO
Pasi Kallinen [Sun, 6 Jan 2008 12:35:41 +0000 (12:35 +0000)]
Update TODO

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@403 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

18 years agoFix a bug where num_games was one too big.
Pasi Kallinen [Sun, 6 Jan 2008 10:13:29 +0000 (10:13 +0000)]
Fix a bug where num_games was one too big.

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@402 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

18 years agoUpdate Changelog
Pasi Kallinen [Wed, 2 Jan 2008 16:50:41 +0000 (16:50 +0000)]
Update Changelog

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@401 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

18 years agoconfigure now accepts parameter --num-games=INT which will
Pasi Kallinen [Tue, 1 Jan 2008 21:41:17 +0000 (21:41 +0000)]
configure now accepts parameter --num-games=INT which will
set the maximum number of games dgamelaunch supports.

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@400 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

18 years agoMinor comment/whitespace cleaning
Pasi Kallinen [Tue, 1 Jan 2008 20:57:50 +0000 (20:57 +0000)]
Minor comment/whitespace cleaning

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@399 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

18 years agoUpdate the example config file, and allow comment-lines in it to have
Pasi Kallinen [Tue, 1 Jan 2008 20:43:13 +0000 (20:43 +0000)]
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

18 years agoupdate TODO
Pasi Kallinen [Tue, 1 Jan 2008 20:20:02 +0000 (20:20 +0000)]
update TODO

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@397 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

18 years agoAllow defining several game_args with one definition:
Pasi Kallinen [Tue, 1 Jan 2008 19:56:15 +0000 (19:56 +0000)]
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

18 years agoRemove the old mkdir and chdir options to prevent lex collisions
Pasi Kallinen [Tue, 1 Jan 2008 18:13:54 +0000 (18:13 +0000)]
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

18 years agoDon't do other NetHack-specific stuff either in dgl itself...
Pasi Kallinen [Tue, 1 Jan 2008 17:59:53 +0000 (17:59 +0000)]
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

18 years agoDon't set NETHACKOPTIONS env var inside dgl, set it in config file.
Pasi Kallinen [Tue, 1 Jan 2008 17:54:05 +0000 (17:54 +0000)]
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

18 years agoRemove savefilefmt from config file; backing up the savefile
Pasi Kallinen [Tue, 1 Jan 2008 17:36:46 +0000 (17:36 +0000)]
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

18 years agoTwo new things:
Pasi Kallinen [Tue, 1 Jan 2008 17:03:05 +0000 (17:03 +0000)]
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

18 years agobugfix: registration was allowed from the main menu even when allow_new_nicks = 0...
Pasi Kallinen [Tue, 1 Jan 2008 12:05:08 +0000 (12:05 +0000)]
bugfix: registration was allowed from the main menu even when allow_new_nicks = 0 in dgl rcfile.

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@390 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

18 years agoupdate TODO
Pasi Kallinen [Tue, 1 Jan 2008 11:45:14 +0000 (11:45 +0000)]
update TODO

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@389 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

18 years agoDefine both USE_SQLITE3 and USE_SQLITE_DB when --enable-sqlite and/or --sqlite-db...
Pasi Kallinen [Tue, 1 Jan 2008 11:28:51 +0000 (11:28 +0000)]
Define both USE_SQLITE3 and USE_SQLITE_DB when --enable-sqlite and/or --sqlite-db is given.

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@388 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

18 years agoNo need to check for buffer existence, gets rid of warnings
Pasi Kallinen [Sun, 30 Dec 2007 09:00:16 +0000 (09:00 +0000)]
No need to check for buffer existence, gets rid of warnings

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@387 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

18 years agoconfigure sorts the config.h defines alphabetically,
Pasi Kallinen [Sun, 30 Dec 2007 08:44:02 +0000 (08:44 +0000)]
configure sorts the config.h defines alphabetically,
so change DGL_SQLITE_DB to USE_SQLITE_DB so it's next to USE_SQLITE3.

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@386 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

18 years agoUnify the flat-text and sqlite handling
Pasi Kallinen [Sun, 30 Dec 2007 08:29:28 +0000 (08:29 +0000)]
Unify the flat-text and sqlite handling

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@385 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

18 years agoChangelog typo, whoops
Pasi Kallinen [Sun, 30 Dec 2007 08:05:25 +0000 (08:05 +0000)]
Changelog typo, whoops

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@384 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

18 years agoUpdate TODO
Pasi Kallinen [Sat, 29 Dec 2007 01:55:03 +0000 (01:55 +0000)]
Update TODO

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@383 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

18 years agoUpdate the autotools stuff to allow sqlite handling.
Pasi Kallinen [Sat, 29 Dec 2007 01:01:07 +0000 (01:01 +0000)]
Update the autotools stuff to allow sqlite handling.

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@382 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

18 years agoFix convert script test for already existing db file
Pasi Kallinen [Fri, 28 Dec 2007 23:45:15 +0000 (23:45 +0000)]
Fix convert script test for already existing db file

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@381 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

18 years agoImprove the conversion script
Pasi Kallinen [Fri, 28 Dec 2007 12:41:46 +0000 (12:41 +0000)]
Improve the conversion script

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@380 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

18 years agoUpdate TODO
Pasi Kallinen [Fri, 28 Dec 2007 12:02:58 +0000 (12:02 +0000)]
Update TODO

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@379 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

18 years agoUpdate Changelog
Pasi Kallinen [Fri, 28 Dec 2007 11:53:19 +0000 (11:53 +0000)]
Update Changelog

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@378 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

18 years agoFix the sqlite3 addition: Newly registered nicks shouldn't interfere with already...
Pasi Kallinen [Fri, 28 Dec 2007 10:01:35 +0000 (10:01 +0000)]
Fix the sqlite3 addition: Newly registered nicks shouldn't interfere with already registered ones.

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@377 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

18 years agoRemove some fixme-comments which are done already.
Pasi Kallinen [Thu, 27 Dec 2007 23:48:25 +0000 (23:48 +0000)]
Remove some fixme-comments which are done already.

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@376 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

18 years agoWhen the sqlite db is locked, retry up to ten times, sleeping one second between...
Pasi Kallinen [Thu, 27 Dec 2007 23:44:09 +0000 (23:44 +0000)]
When the sqlite db is locked, retry up to ten times, sleeping one second between tries.

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@375 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

18 years agoAdd a shell script to convert the old flat-text database to sqlite database.
Pasi Kallinen [Thu, 27 Dec 2007 19:54:05 +0000 (19:54 +0000)]
Add a shell script to convert the old flat-text database to sqlite database.

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@374 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

18 years agoAllow SQLite for the user login database, instead of the flat text file.
Pasi Kallinen [Thu, 27 Dec 2007 19:52:48 +0000 (19:52 +0000)]
Allow SQLite for the user login database, instead of the flat text file.
Define USE_SQLITE3 in the config.h, and define DGL_SQLITE_DB as the
database file to be used.  Note that sqlite must have write access to
the directory where the db file is.

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@373 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

18 years agoSimplify the watching-screen sorting.
Pasi Kallinen [Tue, 25 Dec 2007 16:27:30 +0000 (16:27 +0000)]
Simplify the watching-screen sorting.

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@372 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

18 years agoChangelog update
Pasi Kallinen [Mon, 24 Dec 2007 23:17:24 +0000 (23:17 +0000)]
Changelog update

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@371 db0b04b0-f4d1-0310-9a6d-de3e77497b0e