Jump to content

Recommended Posts

Posted

hello, using this script

 

<?php

    $db_user = "root"; 
    $db_pass = "root"; 
    $db_name = "l2jls"; 
    $db_serv = "127.0.0.1"; 

    $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; 

?>

 

 

 

and it fails because the script is made for chronicles before h5, when the database where just called l2jdb

 

now we have 4 databases,  l2jcb, l2jcs, l2jgs and l2jls, so i get  the error Table 'l2jls.characters' doesn't exist

anyone have any idea how to edit this simple script to work with the newest l2j?

 

20gctxd.jpg

 

 

 

  • 2 weeks later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock