*******************************
Gobwars 1.0
by Black Lemming
blacklemming@gmail.com
*******************************

WHAT IS GOBWARS ?
-----------------

Gobwars is a little funny game that blends with a vBulletin community,
it allows users to play every day.

The players can choose between 3 tribes of Goblins.

Each Midnight the game will compute for the winners
being the tribe which gathered the most players.

WHERE ARE THE FILES ?
---------------------

You can download Gobwars version 1.0 here : Gobwars1.rar
(if clicking brings to you a page written in Chinese, "Right-Click" the link and "save target as" instead !)

HOW TO INSTALL ?
----------------

I - First you have to make sure you're running a vBulletin forum (or that you're
able to code in PHP to adapt the game to connect to an other user/passwords database
In this case if you adapt the game to phpBB for example, please send me your
modifications so everybody can benefit of your work)

II - Once you have found your vBulletin installation, you must gather 3 informations

Your hosting MySQL username (exemple : totomartin)
Your hosting MySQL password (exemple : 54OlkflT#2)
The database name which will contain the table for the game.

III - Once you have these 3 informations, update the file "connexion.php" :

<?
//***************************************************************
// Connexion to data base
//***************************************************************

$username = "username";         // Set your user name and password here
$password = "password";         // Set your password here
$database = "dbname";           // Set the database name here, could be your "username" depending on your hoster.

(...)


IV - Execute the SQL request contained in the gobwars.sql file :

--START-----------------------------------------------------------------

DROP TABLE IF EXISTS `gobwars`;

CREATE TABLE `gobwars` (
  `gid` bigint(20) NOT NULL auto_increment,

`day` date NOT NULL default '0000-00-00',

`playername` varchar(100) NOT NULL default '',

`gob` bigint(20) NOT NULL default '0',

`ally` tinyint(4) NOT NULL default '0',

`bonus` tinyint(4) NOT NULL default '0',

`curse` tinyint(4) NOT NULL default '0',

`beer` int(11) NOT NULL default '0',

`postscost` int(11) NOT NULL default '0',

PRIMARY KEY  (`gid`)
) TYPE=MyISAM AUTO_INCREMENT=1 ;



--END-----------------------------------------------------------------

This ^^ should create you the table that will contain all game data.


V - Once you're set up with your accesses, you need to upload
the game on your website, I suggest you upload it in gobwars/ subfolder


VI - If you've done this all nice, you should be able to log on Gobwars and play :)

COPYRIGHT INFO :
----------------

Gobwars should be distributed freely, author Loc Jean-Fulcrand / Black Lemming
permits only non-profit use, do not sell or rent gobwars.

Any modifications you make to the program, please once done send it back to
the author : at blacklemming@gmail.com

Graphics note : Nearly all graphics are copyrighted Dialsoft inc, or T4C V2, or
The Fourth Coming (tm)

Thanks ! and play well !!