Skip to content

Lineage 2 website script help

Featured Replies

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

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.