Ogar game server with fast and smooth vanilla physics and multi-protocol support.
Since Barbosik stopped working on the original MultiOgar, I decided to continue it on this fork =D
Current version: 1.6.0
MultiOgar-Edited code based on MultiOgar code that I heavily modified, and will continue to update. Almost all physics and protocol code were rewritten and optimized. The OgarProject owns Ogar, and I do not claim it as mine! Original Ogar found here
The goal is to make vanilla physics, cleanup the code, and add many features, while also maintaining better performance than the original MultiOgar.
Please see the issue templete before you make an issue, you can find it here. More coming soon!
You can found active Ogar servers on http://ogar-tracker.tk It updates server information in realtime with no need to refresh the page.
If you want to include your server in the list. Just install the latest version of MultiOgar server and enable server tracking with serverTracker = 1 in gameserver.ini
If you have other server and want to include it in the list, just insert the code to ping ogar-tracker.tk into your server. You can found example in MultiOgar source code: https://github.com/Megabyte918/MultiOgar-Edited/blob/master/src/GameServer.js#L1350-L1373
MultiOgar console:
Performance:
Version 1.2.8 (Original MultiOgar):
- 1000 bots, 500 viruses, 1000 foods, map 14142x14142
- Works slightly slower than normal, speed decreases gradually as bots get larger.
- CPU load: 14% (x4 cores)
- Memory usage: 70 MB
- MS [lag]: Minimum of around 78
Version 1.6.0 (MultiOgar-Edited):
- 1000 bots, 500 viruses, 1000 foods, map 14142x14142
- Works very-very smooth, speed decreases gradually as bots get larger.
- CPU load: 24% (x2 cores)
- Memory usage: 35 MB
- MS [lag]: Minimum of around 45
- Download and install node.js: https://nodejs.org/en/download/ (64-bit recommended)
- Download MultiOgar code: https://github.com/Megabyte918/MultiOgar-Edited/archive/master.zip
- Unzip MultiOgar code into some folder.
Method 1:
- Run the win-Install_Dep.bat file. (It'll close automatically once it's done)
- Run run\win-Start.bat
Method 2:
Start command line and execute from MultiOgar folder.
npm installand run the server:
cd src
node index.js# First update your packages:
sudo apt-get update
# Install git:
sudo apt-get install git
# Install node.js:
sudo apt-get install nodejs-legacy npm
# Clone MultiOgar:
git clone git://github.com/Megabyte918/MultiOgar-Edited.git
# Install dependencies:
cd MultiOgar
npm install
# Run the server:Method 1:
cd run
sh lin-Start.shMethod 2:
cd src
sudo node index.jsThis lists Ogar clients and server trackers that I found on internet.
###Ogar server trackers
| URL | Description |
|---|---|
| http://ogar-tracker.tk | Ogar tracker |
| http://ogar.mivabe.nl/master | MivaBe, tracks a lot of servers |
| http://c0nsume.me/tracker.php | c0nsume.me server tracker |
Now you can allow MultiOgar to be listed on a server tracker.
Just set serverTracker = 1 in the gameserver.ini, and your server will appear
on these pages: http://ogar.mivabe.nl/master , http://c0nsume.me/tracker.php
If you don't want to include your server to tracker list,
just set serverTracker = 0 and the server will not ping the server tracker.
###Ogar clients
Just replace 127.0.0.1:443 in the url to the server IP and port to play.
| URL | Protocol | Description |
|---|---|---|
| http://agar.io/?ip=127.0.0.1:443 | 11 | Vanilla |
| http://ogar.mivabe.nl/?ip=127.0.0.1:443 | early 5 | MivaBe, pretty smooth, custom graphics (anime) |
| http://old.ogarul.io/?ip=127.0.0.1:443 | 4 | OgarUL, old vanilla style |
| http://c0nsume.me/private4.php?ip=127.0.0.1:443 | 5 | Vanilla style |
| http://astr.io/?ip=127.0.0.1:443 | 6 | Extension like |
| http://alis.io/?ip=127.0.0.1:443 | 5 | Extension like |
Most of the physics code from the original MultiOgar were rewritten. The physics engine in this project are pretty close to vanilla physics.

