alexdmiller/Duckerberg — Issue #6: Spawning extra connections on the same client
Author: DavidMah
Created: 2011-10-18 08:08:43+00:00
State: open

A friend went and mashed the crap out of the enter button at the end of a round and it spawned a ton more of himself into the scoreboard, so I guess it must mean that he is somehow spawned multiple connections with the webserver on the same client. When he got one powerup, it also spammed his own game client with as many 'deployed' messages as he had cloned himself.

But these extra users persist for the server side, which means the interface between the client and the webserver is hella jank(I blow users away when the socket closes at all).

We could probably hack it shut by enforcing that sockets could only ever be opened once in the game client.