Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Problem with connection script ranking with status

Newbie Spellweaver
Joined
Jun 12, 2018
Messages
57
Reaction score
6
Hello guys :)

I have problem with connection i think ,cuz i don't see players in my ranking .....

All setting is correct SQL><SCRIPT i mean username,password etc.

I use one of release "Normal Ranking With Status".

Ranking from Beshoy is working fine.

If anyone can help me, I will be grateful. :love:
 
Elite Diviner
Joined
Feb 28, 2013
Messages
401
Reaction score
145
So you mean that the Ranking comes with Beshoy Scripts is working fine so why you don't use it instead ?

Check also that your players are having 0 in Admin roles in the db.
 
Upvote 0
Newbie Spellweaver
Joined
Jun 12, 2018
Messages
57
Reaction score
6
So you mean that the Ranking comes with Beshoy Scripts is working fine so why you don't use it instead ?

Check also that your players are having 0 in Admin roles in the db.

"Normal Ranking With Status" is more easy for me i mean when i edit :p

And anyway i need ranking with top3 ^^



I need line to include ind dns php ODBC Driver username,pass,server etc but i can't find correctly -.-
 
Upvote 0
Elite Diviner
Joined
Feb 28, 2013
Messages
401
Reaction score
145
create a .php file call it dbconnect.php and add the following code in it. Don't forget to replace the stuff in the code with yours.

PHP:
<?php
$connect = mssql_connect("Replace it with yours\SQLEXPRESS","User (sa) by default","PW");
mssql_select_db('php', $connect);
?>

Then go to your php pages and add this code in it.

PHP:
<?php
  $config = array(
    'db_username' => 'sa', // database username
    'db_password' => '',   // database password
    'db_dsn'      => 'Driver={SQL Server};Server=Add yours\SQLEXPRESS;Database=kal_db;',   

    'debug'       => 'false',               // show SQL errors if true
);




        $conn = odbc_connect($config['db_dsn'],
                             $config['db_username'],
                             $config['db_password']);
?>

Hope i helped you <3

Kind Regards,
ItsTaP
 
Upvote 0
Newbie Spellweaver
Joined
Jun 12, 2018
Messages
57
Reaction score
6
create a .php file call it dbconnect.php and add the following code in it. Don't forget to replace the stuff in the code with yours.

PHP:
<?php
$connect = mssql_connect("Replace it with yours\SQLEXPRESS","User (sa) by default","PW");
mssql_select_db('php', $connect);
?>

Then go to your php pages and add this code in it.

PHP:
<?php
  $config = array(
    'db_username' => 'sa', // database username
    'db_password' => '',   // database password
    'db_dsn'      => 'Driver={SQL Server};Server=Add yours\SQLEXPRESS;Database=kal_db;',   

    'debug'       => 'false',               // show SQL errors if true
);




        $conn = odbc_connect($config['db_dsn'],
                             $config['db_username'],
                             $config['db_password']);
?>

Hope i helped you <3

Kind Regards,
ItsTaP

Thanks alot ! Working fine <3

 
Last edited:
Upvote 0
Back
Top