Commit Graph

242 Commits

Author SHA1 Message Date
Joshua Kwan 8da5f29475 dgamelaunch 1.4.2 soon
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@244 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-17 06:18:36 +00:00
Joshua Kwan cb40c5ffc0 DEFCONFIG holds path to config file, hardcoded, edit Makefile for this
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@243 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-17 02:44:33 +00:00
Jilles Tjoelker 9e10c33d22 Some todo-items mentioned in #nethack.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@242 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-17 01:55:59 +00:00
Joshua Kwan 686c76bbea zero 'me' after allocating it
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@241 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-17 01:00:22 +00:00
Jilles Tjoelker f7f3ebcae7 Set me to NULL if new user doesn't enter a username.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@240 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-17 00:58:21 +00:00
Jilles Tjoelker 8769ab9e15 Block signals during writefile().
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@239 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-17 00:53:28 +00:00
Jilles Tjoelker 90fdfa022c Stress-test script for creation of new accounts
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@238 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-16 17:47:41 +00:00
Jilles Tjoelker 33f37ede33 List PIDs of xterms for easier killing.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@237 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-15 23:20:51 +00:00
Jilles Tjoelker ee48608bcf Users with name like "test10" picked up inprogress files for "test1" as their
own.


git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@236 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-15 23:19:39 +00:00
Jilles Tjoelker 195c938c53 Simple stress-test script.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@235 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-15 23:10:33 +00:00
Joshua Kwan 6e01003303 Maybe this'll do it.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@234 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-13 23:15:03 +00:00
Joshua Kwan 1dd5b1dc8b call fcntl(2) with F_SETLK not F_UNLCK
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@233 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-13 23:01:17 +00:00
Jilles Tjoelker d9d9e9f1c9 Remove bogus and too early unlock
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@232 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-13 22:59:28 +00:00
Joshua Kwan bf82bdb034 Due to severity of the bug fixed, this should be v1.4.1
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@231 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-13 22:47:29 +00:00
Joshua Kwan 363ceebf62 Jilles-pedantry
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@230 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-13 22:36:17 +00:00
Joshua Kwan 0676d450d0 CRITICAL: Do NOT call writefile() for a new user
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@229 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-13 22:30:59 +00:00
Joshua Kwan ccd503105e Removed some worthless input cruft
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@228 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-10 21:19:49 +00:00
Joshua Kwan e541cf9a6f Any key refreshes, not just 'r'
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@227 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-07 08:42:26 +00:00
Joshua Kwan 939fc7ef8b Some administrivia... ->1.5pre
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@226 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-06 21:09:37 +00:00
Jilles Tjoelker 92bfc49788 while (true) -> for (;;)
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@225 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-05 19:50:58 +00:00
Joshua Kwan 7f0a010f23 at Pasi's request add option to change email address.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@224 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-05 19:38:17 +00:00
Joshua Kwan 09b7c71f72 attempt to remove the inprogress file on an unclean termination
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@222 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-03 03:02:19 +00:00
Joshua Kwan c0afaba270 - remove third argument from ttyplay_main
- kludge to not run strip_gfx when stripped == NO_GRAPHICS
- other random fixes


git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@221 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-03 02:55:24 +00:00
Jilles Tjoelker e4ede2e885 Make ibmgraphics stripping work (decgraphics stripping still doesn't work
for me)


git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@220 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-02 23:42:41 +00:00
Joshua Kwan 39100e0631 a few security fixes
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@219 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-02 23:28:17 +00:00
Joshua Kwan f0efefec2f SECURITY: accept only argument following -f for dgamelaunch.conf path
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@218 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-02 22:57:54 +00:00
Jilles Tjoelker 142b5d434e Remove C++ variable declaration after statement.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@217 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-02 20:51:37 +00:00
Joshua Kwan 38503b374a allow dynamic switching of graphics stripping
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@216 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-02 20:43:12 +00:00
Joshua Kwan 6a0ceb9af0 Fix signed/unsigned char issues in ee.c to quell warnings with other compilers
as well as gcc -pedantic


git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@215 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-02 09:58:10 +00:00
Joshua Kwan 9ca4d758a9 bad thinko, remove [^-]
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@214 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-02 01:31:48 +00:00
Joshua Kwan 98bc415047 add line number references to all errors
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@213 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-02 01:07:21 +00:00
Joshua Kwan 4fc6f54bec handle unterminated strings a bit better, and negative numbers
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@212 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-02 01:03:57 +00:00
Joshua Kwan d5c7d15202 doh, errno.h for ERANGE
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@211 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-02 00:30:06 +00:00
Joshua Kwan 56fd9165d0 Let's use getopt..
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@210 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-01 20:53:08 +00:00
Joshua Kwan 38d2f7576b Support unhandled options.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@209 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-01 20:46:08 +00:00
Joshua Kwan d136a3db4a make error message like the others
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@208 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-01 20:45:55 +00:00
Joshua Kwan ff36a733cf Warning-fix for -O2
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@207 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-01 20:45:47 +00:00
Joshua Kwan 474bcfb095 error handling for when yyerror happens and we bounce back into create_config
with a NULL myconfig


git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@206 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-01 09:25:22 +00:00
Joshua Kwan b34e8a4af3 Kludge to detect 'maxusers = 0' and handle f_num > myconfig->max more smoothly
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@205 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-01 08:20:28 +00:00
Joshua Kwan 8721002b54 Error handling for negative numbers.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@204 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-01 08:10:18 +00:00
Joshua Kwan 1c777df980 Pedantry, c/o paxed
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@203 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-01 08:10:00 +00:00
Joshua Kwan 9072f9c8db make sure precedence doens't bite ARRAY_SIZE in the ass
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@202 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-31 08:41:00 +00:00
Joshua Kwan cdd0377d70 amended Changelog
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@201 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-31 08:39:46 +00:00
Joshua Kwan a1369613b5 Unneeded variables now that ccomment() is gone
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@200 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-31 06:25:59 +00:00
Joshua Kwan 31ca4349ce update documentation for -q flag
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@199 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-31 06:25:30 +00:00
Joshua Kwan 99e9e4997b Config file blues.. add silent option on command line
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@198 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-31 06:23:02 +00:00
Joshua Kwan 8ef19f7ecc C-comments are pretty superfluous, remove support for them
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@197 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-31 06:22:38 +00:00
Joshua Kwan 8bdb57a194 Fix a little fallout, also notify mailer of failed login...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@196 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-31 03:10:03 +00:00
Joshua Kwan 710df809e0 Allow user to login on the spot.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@195 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-31 03:04:58 +00:00
Joshua Kwan 95d5ec6655 Return to game after mail sending - is done!
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@194 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-31 02:57:02 +00:00