Nice... I hope you have proper hosting for this game, and how have you tested it if you haven't set mysql up yet...? Anyway, you have a lot of learning to do but I'll try to help, maybe kipax can add a few pointers as well as he is more experienced in this field...
Quote:
1) Run the sql commands in mysql. You can use something like phpMyAdmin or if you are a double hard b******* like me log in at the command line and do "\. db.bak" ...or is it "/. db.bak" I can never remember (try both!). You should end up with a load of tables starting with pdm_ in your database.
|
I doubt that you have command line access so you will have to use phpmyadmin (the safest way anyway). Your host should already have this installed on the server, ask them about how to access it for your mysql database. It looks like db.bak is a database sql database fiel that should be in the zip that you downloaded with the game. It should have a .sql ending though but never mind. Go into phpmyadmin and import your db.bak file into your database. PHPMyAdmin is pretty straightforward and there is help all over the internet if you are struggling with that.
Quote:
2) Edit common.inc and replace pdm_pdm on line 3 with the name of your database. Now on line 27 replace "localhost" with the DNS name/IP of your mysql server (or leave it as localhost if it is on the same machine as the webserver) replace "pdm_pdm" with your database username and "BG77ygir" with your database password. The game should now run!
|
Ask your host for your database details and enter them as explained. Most likely leave localhost as is, again your host will confirm this.
Quote:
3)All the automatic stuff is in the cronStuff directory, you can run the php files as normal web pages and they will do whatever they do (reset health, update charts etc.) but I used to run them as cron jobs from the command line using "php -f FILENAE". The paths in these files will need changing to the relevant path on your machine (just go through each file and search for "include" statements and you'll see what I mean).
|
For running cron jobs it helps if you have hosting with a decent control panel, something like CPanel. If you have this then simply log in and go to the cronjobs section. Depending on the update scipts you may want to set them to every hour or every day or whatever. Anyway, you will need the full path to your home directory on the server - again your host can provide this information.
Quote:
Help!!!!!!!!
|
[/quote]
I hope this helped, you might want to try sending your requests to your host as they will be able to confirm if you can actually run this game on the server you have been allocated to.