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
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
24a8f3a448
Add a "gameend" hook. Patch from jorgenpt.
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@464 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2009-10-02 17:41:12 +00:00
Pasi Kallinen
70dcf4486d
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
2009-09-26 19:33:50 +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
3801c41172
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
2009-07-25 15:21:15 +00:00
Pasi Kallinen
959338a15a
Forgot to remove these shed_uid & shed_gid lines.
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@460 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2009-05-24 18:30:37 +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
14112830ce
Remove unneeded retard check
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@458 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2008-11-26 17:23:38 +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
24189a955a
Improve the flat text db -> sqlite3 db conversion script.
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@456 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2008-11-25 16:13:50 +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
77e40534c4
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
2008-10-01 18:02:21 +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
ff4a636ec2
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
2008-08-23 12:50:43 +00:00
Pasi Kallinen
d2be5b05d6
Don't keep reloading the banners.
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@451 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2008-08-23 12:47:11 +00:00
Pasi Kallinen
326ba77233
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
2008-08-23 12:41:17 +00:00
Pasi Kallinen
715108f70d
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
2008-08-23 12:39:01 +00:00
Pasi Kallinen
dfc4cc51d1
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
2008-08-23 09:47:04 +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
fb8bfdf5d4
Remove the old dgl-banner in the root dir.
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@446 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2008-04-06 11:26:38 +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
d481cee1fc
Update Changelog
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@443 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2008-04-06 10:05:41 +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
fd4f6161e5
Remove dgl-wall.c
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@440 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2008-04-06 08:28:37 +00:00
Pasi Kallinen
e63075f995
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
2008-04-06 08:27:44 +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
2184a3609c
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
2008-04-05 22:55:46 +00:00
Pasi Kallinen
25d36a74f5
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
2008-04-05 17:52:32 +00:00
Pasi Kallinen
ef7920a624
add the retard check to the new menus
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@435 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2008-04-05 15:07:26 +00:00
Pasi Kallinen
3e2e1c1721
Remove unused menu code
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@434 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2008-04-05 14:59:31 +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
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
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
7dfa5ca681
Call endwin() every time we leave, just in case.
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@429 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2008-03-23 16:55:32 +00:00
Pasi Kallinen
d5a33f3ad2
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
2008-03-23 12:51:21 +00:00
Pasi Kallinen
dbc778b478
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
2008-03-21 13:15:34 +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
802018c137
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
2008-03-20 17:03:17 +00:00
Pasi Kallinen
53b361ea54
Fix bug where all queues were connected.
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@424 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2008-03-20 17:00:31 +00:00
Pasi Kallinen
11b20c6b73
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
2008-01-15 22:01:44 +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
2b909a3610
Return to dgamelaunch after the game ends.
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@420 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2008-01-13 20:34:43 +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
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
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