mirror of https://github.com/dirtbags/moth.git
Fix a few bugs
This commit is contained in:
parent
01857e6a94
commit
1dd2c4eaa3
|
@ -11,11 +11,7 @@ NMT
|
||||||
* all packages ought to work standalone
|
* all packages ought to work standalone
|
||||||
* scoreboard: 8 points (1,1,3,3) looks incorrectly proportioned, maybe
|
* scoreboard: 8 points (1,1,3,3) looks incorrectly proportioned, maybe
|
||||||
table height competing with cell height?
|
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
|
* 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
|
* We need some programs so that we never have to edit .db files
|
||||||
directly. I truncated tokens.db with > instead of >>.
|
directly. I truncated tokens.db with > instead of >>.
|
||||||
|
|
||||||
|
@ -26,3 +22,7 @@ Physical
|
||||||
* We should buy a longer VGA cable
|
* We should buy a longer VGA cable
|
||||||
* Tape!
|
* Tape!
|
||||||
|
|
||||||
|
|
||||||
|
Possibly fixed
|
||||||
|
--------------
|
||||||
|
* sequence 300; puzzler isn't taking the unicode character right
|
||||||
|
|
|
@ -40,7 +40,7 @@ EOF
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cat <<EOF
|
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="c" value="$cat">
|
||||||
<input type="hidden" name="p" value="$points">
|
<input type="hidden" name="p" value="$points">
|
||||||
Team:<input name="t" size="8">
|
Team:<input name="t" size="8">
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
.tnih a si sihT
|
|
@ -105,14 +105,14 @@ BEGIN {
|
||||||
# Busybox awk segfaults if you try to close a file that didn't
|
# Busybox awk segfaults if you try to close a file that didn't
|
||||||
# exist. We work around it by calling cat.
|
# exist. We work around it by calling cat.
|
||||||
cmd = sprintf("cat %s/teams/colors/%s", base, team)
|
cmd = sprintf("cat %s/teams/colors/%s", base, team)
|
||||||
|
color = "444444";
|
||||||
cmd | getline color
|
cmd | getline color
|
||||||
if (! color) color = "cccccc";
|
|
||||||
colors_by_team[team] = color
|
colors_by_team[team] = color
|
||||||
close(cmd)
|
close(cmd)
|
||||||
|
|
||||||
cmd = sprintf("cat %s/teams/names/%s", base, team)
|
cmd = sprintf("cat %s/teams/names/%s", base, team)
|
||||||
|
name = "Phantoms"
|
||||||
cmd | getline name
|
cmd | getline name
|
||||||
if (! name) name = "Avengers"
|
|
||||||
names_by_team[team] = name
|
names_by_team[team] = name
|
||||||
close(cmd)
|
close(cmd)
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
[Global]
|
[Global]
|
||||||
Name = irc.ctf
|
Name = irc.ctf
|
||||||
Info = CTF IRC
|
Info = CTF IRC
|
||||||
|
OperCanUseMode = yes
|
||||||
|
|
||||||
[Operator]
|
[Operator]
|
||||||
Name = oper
|
Name = oper
|
||||||
|
|
|
@ -1 +1,2 @@
|
||||||
┤
|
┤
|
||||||
|
┤
|
||||||
|
|
Loading…
Reference in New Issue