Permalink
Browse files

leaderboard magic..

  • Loading branch information...
1 parent 467e79f commit e91113ddb150df5713996403345f5dbf73d19b21 @zackster committed Mar 4, 2012
Showing with 16 additions and 1 deletion.
  1. +9 −0 app.js
  2. +7 −1 dependencies
View
9 app.js
@@ -2,6 +2,14 @@
/*global setInterval: false */
+/*
+
+current errors:
+ getRoomCounts is undefined
+
+
+*/
+
//just for debugging -- looking for errors that would trigger disconnects, and any other problems
//todo - modify log.js to insert this into the database .
process.on('uncaughtException', function(err) {
@@ -221,6 +229,7 @@ process.on('uncaughtException', function(err) {
// by uncommenting this..... and letting dnode be down... and then trying to talk.... i think THAT can force a disconnect.
try {
+ var leaderboard = {};
dnode.connect(5050, function(remote) {
console.log('connected to remote');
remote.getMostRecentScores(function(leaderboard) {
View
@@ -1,4 +1,10 @@
node-markdown
express
connect
-mongoose
+mongoose
+socket.io
+async
+uglify-js
+geoip
+sqwish
+http-digest

0 comments on commit e91113d

Please sign in to comment.