OgarProject / Ogar

An open source Agar.io server implementation, written with Node.js.
Other
719 stars 820 forks source link

problem #706

Open willthepill opened 7 years ago

willthepill commented 7 years ago

Hi, im not very good with code and things like that, but i tried before and did it and that was months ago. I have a problem. here is what shows up after i type node index.js into terminal.

TypeError: Cannot read property 'headers' of undefined at GameServer.connectionEstablished (/Users/willchamberlain/Desktop/Ogar-master/src/GameServer.js:219:35) at emitTwo (events.js:106:13) at WebSocketServer.emit (events.js:191:7) at handleUpgrade (/Users/willchamberlain/Desktop/Ogar-master/node_modules/ws/lib/WebSocketServer.js:88:16) at WebSocketServer.completeUpgrade (/Users/willchamberlain/Desktop/Ogar-master/node_modules/ws/lib/WebSocketServer.js:270:5) at WebSocketServer.handleUpgrade (/Users/willchamberlain/Desktop/Ogar-master/node_modules/ws/lib/WebSocketServer.js:197:10) at Server.WebSocketServer._ultron.on (/Users/willchamberlain/Desktop/Ogar-master/node_modules/ws/lib/WebSocketServer.js:87:14) at emitThree (events.js:116:13) at Server.emit (events.js:194:7) at onParserExecuteCommon (_http_server.js:409:14)

any solutions?

Cloudninjakip commented 7 years ago

i got the same thing. don't worry about it. private servers dont work anymore.

willthepill commented 7 years ago

ok, I'm using open agar now, it works better

ZfsrGhS953 commented 7 years ago

@willthepill You may have malware on your computer! This is a serious warning, no one except Andrews54757 knows what's in the obfuscated files. Quickly delete ClosedAgar (OpenAgar) and run an antivirus scan. For now, use MultiOgar-Edited until I finish Bacter2, which will be literally a hundred times faster than ClosedAgar.

Faris90 commented 7 years ago

.......................................................................

SA0WII commented 7 years ago

Delete lines 211-230.