Jump to content

Question

Posted

Βρηκα αρκετα Guides για Account Manager αφου κατεληξα στο Deadalus account manager και ακολουθησα ολα τα βηματα 1 προς 1 εχω το ακολουθο προβλημα :

 

Checking php version :

   PHP version : 5.2.17 OK


Checking extensions loaded :

   mysql extension : OK
   gd extension : OK
   openssl extension : OK


Checking mysql connexion :

   connected ? KO


Checking db connexion :

   connected ? KO


Checking table connexion :

   accounts exist ? KO
   account_data exist ? KO


Checking sql parsing on accounts table :

   email exist ? KO
   created_time exist ? KO


Checking rights of the cache folder :

   cache folder : OK

 

To config.php einai ws e3is..

<?php

defined( '_ACM_VALID' ) or die( 'Direct Access to this location is not allowed.' );

define ('DEBUG', false);					// Enable debug mode ; for set on replace false by true
define ('LOG', false);						// Enable log mode ; for set off replace true by false

//##########################################################################################
//############################### Login Server Configuration ###############################
//##########################################################################################

CONFIG::g()->ca('login_server', array(
								'hostname' => 'loginserverip',	// login host database DB
								'user' => 'dbusername',		// login user
								'password' => 'dbpassword',	// login password
								'database' => 'l2jdb'		// login database name
							));

//##########################################################################################
//############################### Game Server Configuration ################################
//##########################################################################################

CONFIG::g()->add_game_server(array(
							'id' => 1,			// game id
							'hostname' => 'loginserverip',	// game host database DB
							'user' => 'dbusername',		// game user
							'password' => 'dbpassword',	// game password
							'database' => 'l2jdb'		// game database name
						));


//##########################################################################################
//################################### Web Configuration ####################################
//##########################################################################################

CONFIG::g()->cs('core_server_name', 'L2-Carnage');			// server name

CONFIG::g()->cs('core_iso_type', 'utf-8');				// set the charset type

CONFIG::g()->cb('core_act_img', true);					// Activate image verification ; set false if you want deactivate

CONFIG::g()->ci('core_spam_try', 5);					// We allow to the user 5 times unsuccessfull login after that system block him IP.
CONFIG::g()->ci('core_spam_time', 30);					// Need to wait 30 minutes after been blocked by anti spam system

CONFIG::g()->cb('core_act_email', false);				// Activate email verification ; set false if you want deactivate
CONFIG::g()->cb('core_same_email', false);				// Allow to have same email with different account ; set false if you want deactivate
CONFIG::g()->cb('core_can_chg_email', false);				// User can change email ; set false if you want prohibit

CONFIG::g()->cbi('core_acc_limit', false);				// How many account can be registered ; set false for unlimited

CONFIG::g()->cs('core_language', 'english');				// language use by the Account Manager ; name of language file in language folder

CONFIG::g()->cb('core_ack_cond', false);				// User must accept before register ; conditions can be edited on the language file

CONFIG::g()->cs('core_template', 'gracia');				// template directory

CONFIG::g()->cb('core_interlude', false);				// If you are using interlude database set to true

//##########################################################################################
//################################### Characters Config ####################################
//##########################################################################################

CONFIG::g()->cb('service_allow', true);						// Enable Account Services
CONFIG::g()->cb('service_allow_with_karma', true);				// Enable Account Services for player who have karma

CONFIG::g()->cs('service_server_name', './servername.xml');			// ServerName list (refer to the l2j xml list on datapack)

CONFIG::g()->cb('service_name', false);						// Enable Account services feature (change name)
CONFIG::g()->cs('service_name_regex', '`^[[:alnum:]]{3,16}$`');			// allow alphanumeric character in char name (3-16 char.)

CONFIG::g()->cb('service_sex', false);						// Enable Account services feature (change gender)
CONFIG::g()->ci('service_sex_time', 7);						// Need to wait 7 days after change gender before to change another time
CONFIG::g()->ca('service_sex_item_female', array(8559,8913,8917));		// Check female-use only items before to change gender
CONFIG::g()->ca('service_sex_item_male', array(8923));				// Check male-use only items before to change gender

CONFIG::g()->cb('service_fix', false);						// Enable fixing feature for offline character
CONFIG::g()->ci('service_fix_time', 24);					// Need to wait 24 hours before to use fix or unstuck against

CONFIG::g()->cb('service_unstuck', true);					// Enable unstuck feature for offline character
CONFIG::g()->cb('service_unstuck_static', true);				// Use static coords when using unstuck and fix feature
CONFIG::g()->ca('service_unstuck_default', array(82730,148494,-3468));		// When coord static enable tp player to the coords (x,y,z)

//##########################################################################################
//######################################### Email ##########################################
//##########################################################################################

CONFIG::g()->ce('email_from', 'admin@l2-carnage.net');				// Specify an adress email source

CONFIG::g()->cb('email_smtp_use', false);					// Set to true if you want use an smtp server
CONFIG::g()->cs('email_smtp_address', 'smtp.server.com');			// Address of the smtp server
CONFIG::g()->ci('email_smtp_port', 25);						// Port of the smtp server
CONFIG::g()->cs('email_smtp_login', '');					// login of the smtp server if you need authentication
CONFIG::g()->cs('email_smtp_password', '');					// password of the smtp server if you need authentication
CONFIG::g()->cs('email_smtp_domain', '');					// domain of your host

//##########################################################################################
//####################################### End Config #######################################
//##########################################################################################

?>

Υπαρχει καποιος που να μπορει να βοηθισει ?

Δεν εχει παρα πολυ καιρο που αρχισα να ασχολουμαι με L2J και μερικα πραγματα μου φενονται αρκετα δυσκολα προς το παρων.

 

Ευχαριστω εκ των προτερων για οποιαδηποτε βοηθεια.

 

 

5 answers to this question

Recommended Posts

  • 0
Posted

'hostname' => 'loginserverip'

 

Εδω χρειαζεται πραγματική ip ή domain name, αν ειναι το ACM στο ιδιο PC με τον mySql τοτε βαλε την Localhost ή 127.0.0.1

  • 0
Posted

Αν ειναι σε διαφορετικό IP απαιτεί να ορισεις και port της βασης δεδομενων, ανοιγμα του port στον router.

O ACM δεν εχει σχεση με τον loginserver και gameserver, συνεργαζεται απευθειας με την βαση δεδομενων μεσω php.

  • 0
Posted

'hostname' => 'loginserverip', // login host database DB

'user' => 'dbusername', // login user

'password' => 'dbpassword', // login password

'database' => 'l2jdb' // login database name

));

 

//##########################################################################################

//############################### Game Server Configuration ################################

//##########################################################################################

 

CONFIG::g()->add_game_server(array(

'id' => 1, // game id

'hostname' => 'loginserverip', // game host database DB

'user' => 'dbusername', // game user

'password' => 'dbpassword', // game password

'database' => 'l2jdb' // game database name

edw prepi na exei kanh kapio la8os  opos to id h kana user name  h kana pass elen3eta 3ana!!

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
Answer this question...

×   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...