Closed LiamKarlMitchell closed 9 years ago
Add to util.js
// If for some reason an IPv6 address is given we want to strip off the
// junk and just get our IPv4 address
cleanIP: function(ip) {
return ip.substr(ip.lastIndexOf(':')+1);
},
And patch world and login etc to use it.
look for socket.remoteAddress and this.remoteAddress in world.js login.js and handleGameStart.js
Fix error in CVec3 missing , Fix error in world.js addSocketToTransferQueue the setTimeout should just be setTimeout not socket.setTimeout.
Resolved
http://stackoverflow.com/questions/24896386/request-connection-remoteaddress-now-prefixed-in-ffff-in-node-js
Temp solution disable IPv6 from network settings.