I know this is probably not the right place to put this topic, but I dont know where to write it, so excuse me. Here is my problem...
My site doesnt work for Hi5 , since the database in sql its l2jls, l2jgs, l2jcs not only l2jdb like before Hi5. This code must be rewriten in order the site to work. Otherwise no Login/Game server online/offline.
code of stats.php :
<?php
$db_user = "root";
$db_pass = "pass";
$db_name = "l2jdb"; (<=old style)
$db_serv = "adress";
$res = mysql_connect ( $db_serv, $db_user, $db_pass ) or die ("Coudn't connect to [$db_serv]");
$resdb = mysql_select_db ( $db_name, $res );
return $res;
?>
If someone knows how to fix it please do so!
And NO it doesnt work with changing $db_name = "l2jgs" !!!
Hey! It's been years since I tried this, just redownloaded everything for the nostalgia but I'm having the "mismatch" problem.
You were right, I used another system, not the one from the post! My bad!
Now I can't find the system that works with AuthGateD 🤣
I see you have found it and uploaded it but the link you provided no longer works. If you are still around, can you please reupload? Thank you!
Question
busta
I know this is probably not the right place to put this topic, but I dont know where to write it, so excuse me. Here is my problem...
My site doesnt work for Hi5 , since the database in sql its l2jls, l2jgs, l2jcs not only l2jdb like before Hi5. This code must be rewriten in order the site to work. Otherwise no Login/Game server online/offline.
code of stats.php :
<?php
$db_user = "root";
$db_pass = "pass";
$db_name = "l2jdb"; (<=old style)
$db_serv = "adress";
$res = mysql_connect ( $db_serv, $db_user, $db_pass ) or die ("Coudn't connect to [$db_serv]");
$resdb = mysql_select_db ( $db_name, $res );
return $res;
?>
If someone knows how to fix it please do so!
And NO it doesnt work with changing $db_name = "l2jgs" !!!
Please someone help me!
4 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now