Commit Graph

101 Commits

Author SHA1 Message Date
Martijn Braam 554e60bf52
Abandon the freenode ship 2021-05-19 18:56:34 +02:00
wenngle ef438e1477
disallow duplicate names 2021-01-18 13:32:08 -05:00
Eyal Sawady a663003bc5
Makefile: remove -DVERSION="unknown"
This is handled by the #ifndef in main.c
2020-12-11 14:19:50 -05:00
Eyal Sawady 584ddb3654
Makefile: fix redirection
&>/dev/null is unspecified by POSIX
2020-12-11 14:15:33 -05:00
Ultracoolguy 83d06b048e
Revert "Rewrite Makefile"
This reverts commit 94b7c83fd4.
2020-12-11 13:59:43 -05:00
Eyal Sawady c3f2d9d552
Improve socket error handling 2020-12-09 12:39:59 -05:00
Philip K 6693c97749
Ensure port number is valid 2020-12-06 12:56:17 -05:00
Eyal Sawady 9a742e0ca6
.gitignore: add *.o 2020-12-06 11:44:35 -05:00
Philip K 94b7c83fd4
Rewrite Makefile 2020-12-06 11:42:44 -05:00
Philip K a990d49313
Catch all undefined flags 2020-12-06 11:41:33 -05:00
Ultracoolguy 6d74f2c4b9
Add ifndef guard for VERSION 2020-12-02 14:48:22 -05:00
j3s f9cf6faa70
Make /skip work properly 2020-12-02 03:10:50 -05:00
j3s 4aeebd4f53
Correct murder being gendered 2020-12-02 00:26:25 -05:00
Ultracoolguy e69c479dd5
Make Makefile slightly more readable 2020-11-30 15:33:47 -05:00
Ultracoolguy 6ff83c2761
Print version of among-sus on client connection 2020-11-30 15:08:44 -05:00
Rampoina 1e43573346
Fix typo 2020-11-13 19:23:02 -05:00
Ultracoolguy 5f2cb288b7
Allow players to connect during match
It does so by putting them in a WAITING stage and check
accordingly
2020-11-10 15:20:19 -05:00
Eyal Sawady 7f9142c472
Initialize listen_addr et al 2020-11-09 16:44:39 -05:00
Ultracoolguy ca1166febf
Add newline for emergency button related errors 2020-11-08 13:22:44 -05:00
Ultracoolguy b22111593d
Prohibit voting for dead people and fix vote logging
Previously, on top of allowing voting dead people, it also
allowed vote logging even on invalid votes. Fix that by
moving the logging below the checking.
2020-11-08 11:30:45 -05:00
Ultracoolguy 96448759d6
Add argument parsing 2020-11-07 17:25:04 -05:00
Ultracoolguy aae642876e
Make map a char array 2020-11-07 12:11:16 -05:00
Martijn Braam da55a652c7
Make the game a bit more self documenting 2020-10-31 00:39:36 +01:00
Martijn Braam 1f4c8d800d
Add SO_REUSEADDR for ipv6 socket 2020-10-29 21:28:37 +01:00
Martijn Braam de6c8f0495
Differentiate win conditions 2020-10-29 21:26:59 +01:00
Martijn Braam 7012edb640
Fix a common typo in tasks 2020-10-29 21:25:52 +01:00
Ultracoolguy 4504fb3cda
Discard messages empty or with only whitespace 2020-10-24 19:47:03 -04:00
Konrad Dybcio e3c8b41ce4
README.md: remove trailing whitespace 2020-10-23 16:08:49 -04:00
Martijn Braam 02f42a16c0
Add rlwrap hint 2020-10-22 21:02:46 +02:00
Martijn Braam 436df90387
Fix chat <0 bug 2020-10-22 20:58:00 +02:00
Eyal Sawady 6fc27a322a
Allow disabling of notifications 2020-10-22 13:56:44 -04:00
Martijn Braam c0319a5ed2
Added freenode and list to README 2020-10-22 19:17:23 +02:00
j.r 628e77fa2c
Add LDFLAGS to Makefile
This commit adds LDFLAGS to the Makefile, because they are needed for
the build system of some distros.
2020-10-22 12:59:41 -04:00
Martijn Braam fb2bd86344
Fixed impostor inconsistency 2020-10-21 19:58:46 +02:00
Martijn Braam be99b00470
Added /set without arguments 2020-10-21 19:57:14 +02:00
Martijn Braam c57a41da43
Don't allow overwriting end of input buffer 2020-10-21 19:52:26 +02:00
Ultracoolguy dbd3648f9d
Add /set command. Only one conf is supported atm 2020-10-21 12:45:23 -04:00
Martijn Braam d0d782aa77
Removed invalid door on upper 2020-10-21 16:05:49 +02:00
Konrad Dybcio 5a83eedc8a
main.c: Fix trailing whitespace 2020-10-20 15:32:09 -04:00
Martijn Braam 2d0296794e
Fixed admin reassign 2020-10-20 21:05:14 +02:00
Konrad Dybcio a20d2cfe51
main.c: Add alarm beep on game start 2020-10-20 14:44:23 -04:00
Martijn Braam 78b6cc9873
Added monitors to storage 2020-10-20 20:39:45 +02:00
Martijn Braam d74b5e3409
Clear admin state on join 2020-10-20 19:24:10 +02:00
Martijn Braam 3e2a9ed786
Discussion chat upgrades
- Added input sanitization
- Ghosts can talk to eachother
- Added /me and /shrug
2020-10-20 00:53:47 +02:00
Eyal Sawady 889111b734
Don't show movement notifications for ghosts 2020-10-19 17:59:46 -04:00
Koby Samuel 385bae9c74
referencing value fix 2020-10-19 14:40:19 -04:00
Eyal Sawady 5af8c9ae24
Prevent ghosts from calling emergencies 2020-10-19 14:29:57 -04:00
Eyal Sawady 3d49bbdc32
Require ghost task completion 2020-10-19 14:21:06 -04:00
Eyal Sawady ba10f73428
Remove trailing whitespace 2020-10-19 13:41:48 -04:00
Eyal Sawady 35f9e24fe8
discussion: clean up integer parsing 2020-10-19 12:28:48 -04:00