From 1dd2c4eaa3804bfb8aeb5d514dcd78fe40633901 Mon Sep 17 00:00:00 2001 From: Neale Pickett Date: Mon, 1 Nov 2010 17:05:14 -0600 Subject: [PATCH] Fix a few bugs --- doc/problems.txt | 8 ++++---- mkpuzzles | 2 +- packages/bletchley/100/index.mdwn | 1 + packages/mcp/bin/scoreboard | 4 ++-- packages/mcp/service/ircd/ngircd.conf | 1 + packages/sequence/300/key | 1 + 6 files changed, 10 insertions(+), 7 deletions(-) create mode 100644 packages/bletchley/100/index.mdwn diff --git a/doc/problems.txt b/doc/problems.txt index 1336dcf..f218a83 100644 --- a/doc/problems.txt +++ b/doc/problems.txt @@ -11,11 +11,7 @@ NMT * all packages ought to work standalone * scoreboard: 8 points (1,1,3,3) looks incorrectly proportioned, maybe table height competing with cell height? -* sequence 300; puzzler isn't taking the unicode character right -* mcp/ngircd.conf: add "OperCanUseMode = yes" to Global section -* scoreboard: if a team doesn't exist it's still giving them a name * forf manual: describe comments -* key.png (8x12): .tnih a ton si siht * We need some programs so that we never have to edit .db files directly. I truncated tokens.db with > instead of >>. @@ -26,3 +22,7 @@ Physical * We should buy a longer VGA cable * Tape! + +Possibly fixed +-------------- +* sequence 300; puzzler isn't taking the unicode character right diff --git a/mkpuzzles b/mkpuzzles index 48b96b3..13b88d9 100755 --- a/mkpuzzles +++ b/mkpuzzles @@ -40,7 +40,7 @@ EOF fi cat < +
Team: diff --git a/packages/bletchley/100/index.mdwn b/packages/bletchley/100/index.mdwn new file mode 100644 index 0000000..984fdc2 --- /dev/null +++ b/packages/bletchley/100/index.mdwn @@ -0,0 +1 @@ +.tnih a si sihT diff --git a/packages/mcp/bin/scoreboard b/packages/mcp/bin/scoreboard index b495677..d7d05ab 100755 --- a/packages/mcp/bin/scoreboard +++ b/packages/mcp/bin/scoreboard @@ -105,14 +105,14 @@ BEGIN { # Busybox awk segfaults if you try to close a file that didn't # exist. We work around it by calling cat. cmd = sprintf("cat %s/teams/colors/%s", base, team) + color = "444444"; cmd | getline color - if (! color) color = "cccccc"; colors_by_team[team] = color close(cmd) cmd = sprintf("cat %s/teams/names/%s", base, team) + name = "Phantoms" cmd | getline name - if (! name) name = "Avengers" names_by_team[team] = name close(cmd) } diff --git a/packages/mcp/service/ircd/ngircd.conf b/packages/mcp/service/ircd/ngircd.conf index 6c4380e..1e459ec 100644 --- a/packages/mcp/service/ircd/ngircd.conf +++ b/packages/mcp/service/ircd/ngircd.conf @@ -1,6 +1,7 @@ [Global] Name = irc.ctf Info = CTF IRC + OperCanUseMode = yes [Operator] Name = oper diff --git a/packages/sequence/300/key b/packages/sequence/300/key index 4e818df..89a49a6 100644 --- a/packages/sequence/300/key +++ b/packages/sequence/300/key @@ -1 +1,2 @@ ┤ +┤