diff --git a/doc/problems.txt b/doc/problems.txt index 3b9b98f..6ad9463 100644 --- a/doc/problems.txt +++ b/doc/problems.txt @@ -1,2 +1,2 @@ * claim.cgi not exiting (maybe fixed?) -* get LAUR for contest + diff --git a/doc/todo.txt b/doc/todo.txt index 79483aa..6380f26 100644 --- a/doc/todo.txt +++ b/doc/todo.txt @@ -1,5 +1,5 @@ Things That Need Fixin' ======================= -* puzzles.cgi really needs to cross out points your team has claimed. -* Make an OpenWRT router image for a FitPC +* Do something about all the symbolic links in the build tree +* Make arc4 global somehow diff --git a/packages/mcp/bin/addteam b/packages/mcp/bin/addteam index 2116259..f2773d1 100755 --- a/packages/mcp/bin/addteam +++ b/packages/mcp/bin/addteam @@ -49,3 +49,7 @@ echo "$1" > $base/teams/names/$hash echo "$color" > $base/teams/colors/$hash echo "Registered with hash: $hash" + +# Create encrypted listing of teams +ls $base/teams/names | KEY="Too much cheese." /opt/mcp/bin/arc4 > $www/teams.txt.$$ +mv $www/teams.txt.$$ $www/teams.txt diff --git a/packages/mcp/bin/scoreboard b/packages/mcp/bin/scoreboard index 0a2e365..b495677 100755 --- a/packages/mcp/bin/scoreboard +++ b/packages/mcp/bin/scoreboard @@ -30,18 +30,18 @@ function escape(s) { return s } -function print_bar(cat, team, n, d) { +function print_bar(cat, teamid, teamname, n, d) { printf("