Skip to content

ironbane/IronbaneServerLegacy

Repository files navigation

DEPRECATED

This repository is no longer maintained as the server and client for Ironbane are being rewritten. Please visit the new server repository and the new client repository.

Ironbane Server

Ironbane Logo

The server for Ironbane, the open source MMO. Play the game at http://www.ironbane.com/.

Requirements

  • GraphicsMagick
  • NodeJS
  • Grunt
  • MySql

Getting started

  • Clone this repository somewhere on your system.
    git clone https://github.com/ironbane/IronbaneServer.git
  • Install GraphicsMagick, make sure the binaries are in your PATH. On Ubuntu
    sudo add-apt-repository ppa:dhor/myway
    sudo apt-get update
    sudo apt-get install graphicsmagick

On Mac I found that on macOS, GraphicsMagick has some errors, but I found that using ImageMagick instead fixes the problem. You can do

    brew install imagemagick --with-libtiff

Then you need to change a line in /src/server/http/routes/main.js Replace gm = require('gm'), with gm = require('gm').subClass({imageMagick: true}),. Everything should work.

    git clone git@github.com:ironbane/IronbaneAssets.git

Your root folder should now contain an IronbaneAssets folder.

  • Run npm install from the root directory

  • Run node ironbane.js init at the prompt OR Create a config.json file setting values for the properties you need. Refer to nconf.js for the defaults.

  • Run npm install -g grunt-cli to install Grunt

  • (Optional) If you want to make new 3d models and test them out, you will need to have Python 2.7.x installed. Do not use the latest version of Python, only 2.7.x currently works with the script that converts our 3d models to be used in-game.

  • Run grunt grunt

  • Run node ironbane.js adminpass from the root directory to set a new admin password.

  • Run mysql -u root -p ironbane < IronbaneAssets/gamecontent.sql from the root directory to populate the db

  • Run node ironbane.js start from the root directory.

  • Open http://localhost:8080/ to try out your installation.

  • Login using username admin and your password.