A fully functional open source c0nsume.me server implementation, written in Node.js. LulzyOgar is designed to be used with the c0nsume.me client. If you find any issues, tell me. Btw. code needs to be cleaned up because I edited other version of Ogar.
The official website is www.c0nsume.me You connect to your server using, for example http://c0nsume.me/private.php?ip=127.0.0.1:600
If you want 24/7 cheap public server with anti-ddos, check https://www.ovh.com
If you don't know your IP address, check it there https://www.whatismyip.com/
I recommend using version 4.4.5 of Node.js, it's well tested, stable etc. If you have older version, then update it.
If you have problems with running your sever, post it in Issues section https://github.com/lulzyyy/lulzyOgar/issues
First, you need Node.js.
For Windows, click https://nodejs.org/dist/v4.4.5/node-v4.4.5-x64.msi and install it.
Download LulzyOgar by clicking 'Clone or Download' -> 'Download ZIP' and unzip these files somewhere
Open console and write
npm install ws
npm install request
npm install geoip-lite
npm install -g forever
Go to LulzyOgar-master/src folder and click 'Start-Node.bat' to run. You can also click 'Start-Forever.bat' if you want server to be automatically restarted.(But then you can't execute anything in console, idk why).
For Linux do:
~$ curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash -
~$ sudo apt-get install -y nodejs
~$ sudo apt-get install -y build-essential
To install LulzyOgar do:
~$ git clone git://github.com/lulzyyy/lulzyOgar.git lulzyOgar
~$ cd lulzyOgar/src
~$ npm install ws
~$ npm install geoip-lite
~$ npm install -g forever
~$ npm install request
~$ node index.js or forever index.js
Currently, LulzyOgar listens on the following addresses and ports:
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. If you are getting an EADDRINUSE error, it means that the port required to run Ogar is being used. Usually, Skype is the culprit. To solve this, either close out skype, or change the serverPort value in gameserver.ini to a different port. You will have to change your connection ip to "127.0.0.1:PORT"
Once the game server is running, you can connect (locally) by typing http://c0nsume.me/private.php?ip=127.0.0.1:600 into your browser's address bar.
Use "gameserver.ini" to modify LulzyOgar's configurations field. Player bots are currently basic and for testing purposes. To add/remove bot names, edit the file named "botnames.txt" which is in the same folder as "gameserver.ini". Names should be separated by using the enter key. To add for example 10 bots just write in console 'addbots 10' and to kick them, write 'kickbots 10'.
LulzyOgar has support for 3 basic game modes. To switch between game modes, change the value of "gamemode" in the configurations file to the selected game mode id and restart the server. The current supported game modes are:
Id | Name |
---|---|
0 | Free For All |
1 | Teams |
2 | Experimental |
The current available console commands are listed here. Command names are not case sensitive, but player names are.
Please see LICENSE.md.