News for hackers. Stuff that matters.

dan11

Re:Old school RPG style map in HTML5 canvas using websockets. on Wednesday October 06, 2010 @11:59AM (#1764474)
I'm not 100% sure how WebSockets work, but I assume it's going through your server and then sent to everyone else? Could you not do a rate limit of 5 per 30 seconds, or require at least one comment in between yours? Not sure what the best approach would be best.
Re:Old school RPG style map in HTML5 canvas using websockets. on Wednesday October 06, 2010 @11:51AM (#1764434)
Yeah, that's me.

var a = 1; function d() { $('#say').val(a); say(); a++; } setInterval("d();", 100);

Not exactly hard.