27.09.2012, 11:16
Quote:
Thats your server.cfg
I need the mysql_log.txt , mysql_debug(1); inside your ongamemodeinit if it isn't there yet, also look if there isn't a mysql_debug(0); inside of it so you can edit it to 1. After that , restart the server, and post some of your mysql_log.txt lines. If you look at your console, you see it cannot connect to mysql, try to set your IP to localhost, might this works, and be sure the database data is correct with the database inside your server. Do you even have a database running on your local pc? |
@OP: Setting up XAMPP takes 5 minutes on an average PC. Then you go into PHPMyAdmin and create a database. In your GM (that is the PWN file) you will have to specify the account credentials to your database. Standard: Server: localhost User: root Password: no password. The database is the one you just created in PHPMyAdmin.
If the gamemode does not create the tables, there has to be a .sql file or other instructions what has to be in the database. If not, then you can basically throw everything away or you will be stuck with looking through all the code for the database info and guessing and it will take you a few months to get it 60% right.