Fix a few bugs

This commit is contained in:
Neale Pickett 2010-11-01 17:05:14 -06:00
parent 01857e6a94
commit 1dd2c4eaa3
6 changed files with 10 additions and 7 deletions

View File

@ -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

View File

@ -40,7 +40,7 @@ EOF
fi
cat <<EOF
<form action="/puzzler.cgi" method="post">
<form action="/puzzler.cgi" method="post" accept-charset="utf-8">
<input type="hidden" name="c" value="$cat">
<input type="hidden" name="p" value="$points">
Team:<input name="t" size="8">

View File

@ -0,0 +1 @@
.tnih a si sihT

View File

@ -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)
}

View File

@ -1,6 +1,7 @@
[Global]
Name = irc.ctf
Info = CTF IRC
OperCanUseMode = yes
[Operator]
Name = oper

View File

@ -1 +1,2 @@
&#9508;