This forum is read only and just serves as an archive. If you have any questions, please post them on github.com/phoboslab/impact
sock.on('addNetPlayer',function(x, y, index){
console.log('addNetPlayer called');
var newplayer = ig.game.spawnEntity(EntityNetPlayer,x,y);
newplayer.id= index;
players.push(newplayer);
sock.emit('doYouKnowMe', self.id, self.pos.x, self.pos.y);
console.log(x+' '+y+' '+' '+id);
});
/lib/impact folder) and upload it to http://upea.se so we can take a closer look. And if necessary provide instruction on how to produce the error.
if (typeof sock != 'undefined')
sock.emit('update', this.padmap, this.id);