An open source Agar.io server implementation, written in Node.js.
The project is nearly complete. Here's a rough list of what's been done and what needs to be done: 3053191736
- Master server basic implementation
- Game server basic implementation (clients can connect)
- Single-cell movement
- Randomly generated cells and viruses
- Ejecting mass
- Splitting
- Multi-cell player movement
- Cells eating other cells
- Leaderboard
- Team mode
- Spectate mode
- More features
Go to localhost and you will see a button that says "Click here to play" click it to play you Ogar3 server you made
If you are on Windows, Ogar3 no longer requires an installation of node.js to run. Simply launch the batch file that is included to run the server. This is a beta feature, and if there are any problems, switch back to using Ogar3 with node.js. The rest of this section is for non Windows users.
As Ogar3 is written in Node.js, you must have Node.js and its "ws" module installed to use it (Unless you are on Windows). You can usually download Node using your distribution's package manager (for *nix-like systems), or from the Node website. To install the "ws" module that is required, open up your system command line (cmd for windows, terminal for mac) and type "npm install ws".
Although Ogar3 allows you to run both the Agar.io master server and game server separately, it's currently recommended that you run both servers together until the master server is more implemented. Alternatively, you could run the game server only, and use a client-side mod to connect to the IP address of the server.
~$ git clone git:github.com/Faris90/Ogar3.git Ogar3
~$ npm install ./Ogar3
~$ node Ogar3
Currently, Ogar3 listens on this port(for now):
- *:80 - for the game server
Please note that on some systems, you may have to run the process as root or otherwise elevate your privileges to allow the process to listen on the needed ports.
Use gameserver.ini in src to modify Ogar3's configurations field.