#mild-server
Mild is a very lightweight, very shitty multiplayer server framework via NodeJS and WebSockets. This is the Mild server (NodeJS, for deploment on Heroku, with possibilities for deploying on OpenShift too) ... (Unity C# integration and client example is here: https://github.com/radiatoryang/mild-client)
- technically works in browsers, but kind of poorly, in my experience
- for simplicity, there is no authoritative server model, every client owns their own object -- and every client can technically send messages about every object -- there can, and will be, some disagreement between clients
- easily hackable, easy to send fake requests, easy to cheat and break, if any of your players ever care to do so
- do not use this for large commercial-scale releases... this is intended more for small prototypes, small games, and trusted player communities... this framework follows a lot of "bad practice" that you're not supposed to do, but whatever
This is a very basic guide to getting your own multiplayer game server running -- it uses a cloud platform service called Heroku, which has a decent "free tier" of server features. With a bit of modification, you could also deploy this server on Redhat OpenShift as well, but this short guide will assume you're using Heroku.
- Register a GitHub account, and fork this mild-server repository by clicking "Fork" in the upper-right of this page. You now have your own copy of the server code.
- Register a Heroku account. http://heroku.com (recommended: Give them your credit card info to get "verified", they'll give you more monthly hours.)
- In the Heroku deploy setup, connect it to your GitHub account, then tell it to deploy automatically from your "mild-server" fork on GitHub.
- In the Heroku deploy setup, you might need to click the "manual deploy" button once, at the bottom of the page. Just to be safe. ("Deploy" means Heroku will grab the files off GitHub, and attempt to start the server process.)
- Your server should now be operational! If you want to see server logs, install a free add-on plugin called "Papertrail", then click on the "Events" button in the Papertrail dashboard.