Jump to content

Lineage 2 website script help


urahara

Recommended Posts

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

 

 

 

Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...