Thank you for replying.
1. I'm new to MySQL so I'm kinda struggling with it.
2. Will try and make a report on it.
3. I'm testing CoDUOExtended (made by phpcod, not yet released), thus I can just use provided functions/methods.
4. I use phpmyadmin to confirm: no changes were made in the database but still, my connection exists: if not, the game crashes.
PHP Code:
mysql_stuff()
{
level.host = getCvar("mysql_host");
level.pass = getCvar("mysql_password");
level.database = getCvar("mysql_database");
level.user = getCvar("mysql_user");
level.table = getCvar("mysql_table");
level.mysql_connection = xmysql_connect(level.host, level.user, level.pass, level.database, 3306);
if(!isdefined(level.mysql_connection) || level.mysql_connection == 0)
{
logprint("mysql not defined");
return;
}
else
logprint("MySQL: Connect to "+ level.host +" successfully");
}
5. I forgot it.