Open harlos0517 opened 7 years ago
I would not suggest using Ogar, as it is very obsolete. If you want a project, which is still worked on, and has many features, I shall suggest: https://github.com/Megabyte918/MultiOgar-Edited
I may add, MultiOgar-Edited also is compatible with the latest Agar.io Client.
^ this.
gameserver.js is at Ogar-master\src. Edit it with notepad++ and comment ( // ) from line 219 to 229
@freaky767 with multiogar when i control my minions and make them eject mass, everyone dies. why?
What I've done: (all on Win 10, with latest npm and node version)
http://agar.io/?ip=127.0.0.1:443 in Google Chrome It kept showing connecting, and the server command line showed error
So I go check the code of GameServer.js and found this
Addbot 10
and it showed[Console] Added 10 player bots
which seems to imply that the server IS still working.I tried to search through both the issues here and the Net but in vain. So there are actually two problems here:
When trying to connect to server, in server command line
where in GameServer.js
var origin = ws.upgradeReq.headers.origin;
P.S. A friend of mine tried the same method on Ubuntu 16.04 and showed the same error.(After simply remove the related code mentioned above) When trying to connect to server, it kept showing Connecting, but no error message in the server command line. P.S. Ubuntu 16.04 works fine (after removing the code).
I would appreciate it very much if anybody could help, because my team wants to use this in a student conference on June 11th.