God Wars II - Development Environment/CVS

The source code for God Wars II is stored in CVS and makes use of PHP, Apache, bespoke SOAP-like interfaces and daemons. This mini-site contains documentation that will enable an authorised developer to get, maintain and contribute to the project.

Currently the CVS documentation is password protected. As the information contained therein increased I became concerned about the risk of someone using this resource as a starting point of an attack. If you feel you need the password, please contact myself or one or the other senior team members through the forum.

Instructions and notes

Follow these instructions in order and you can't go wrong...

1. CVS notes

There are several pages of notes on how to set up CVS and obtain the source code, the web site and the MWI. Most people will want to jump straight to the verbose section on setting up windows clients.

2. Checkpoint

The next bit is complex if you are not familiar with "web applications", so before you go on and install MySQL, Apache and PHP I recommend you install a good text editor and check that your setup matches these instructions so far.

3. MySQL installation

The forums and web pages require a database behind the scenes. We are using MySQL, these instructions will help you set it up.

4. Apache and PHP installation

To develop the MWI you will need run the web site (and game) locally. These pages explain how to set up and configure the Apache 2 web server with PHP 4.

5. Web Site Configuration

Finally we have a platform ready to run the God Wars II website. The final step if to "tell" the web site about your local setup, we do this through a PHP configuration file.

6. MUD on Cygwin

"MWI" stands for Mud-Web-Interface. We've got the Web site, the interface is a set of XML requests and responses already wrapped in function calls - the only thing left is the Mud. We run the God Wars II MUD game server under Linux on the live server, however for developer installs you can use Cygwin. These instructions tell you how to set it up and compile the game.

7. PHP 5

Mud Magic have moved to PHP 5 - these instructions will hopefully follow on from step 4 and replace the older version of PHP.

Nat Blundell (Tepic) Valid CSS! Valid XHTML 1.0 Strict