if u meaning i just draw the config.php on firefox or ID ??
if correct that come out code is like this
array('TG ( NW )',100), '1'=>array('Chan 1 Trade) ',100), '2'=>array('Chan 2 (Novice)',100), '3'=>array('Chan 3 (PK\PVP)',100), '4'=>array('Chan 4',100), '5'=>array('Chan 5',100), '6'=>array('Chan 6',100), '7'=>array('Chan 7 ( War)',100) ); $_config['reg_open'] = true; $_config['reg_md5'] = true; $_config['adm_logs'] = 'userLogs'; $_config['language'] = 'English'; //separate languages with , (comma) //ranking setup $_config['admins'] = array('admin01','johnd'); // Hide GM char names in the rankings? $_config['hide_gms'] = true; $_config['gms'] = array('gm01','gm02'); // donations $_config['dollar2points'] = 11; $_config['paypal_email'] = '
[email protected]'; $_config['paypal_ipn'] = '#'; $_config['paypal_ty'] = '#'; //user cp $_config['ucp_allow_warp'] = false; $_config['ucp_allow_nation'] = true; $_config['ucp_pk_pay'] = 200000; $_config['ucp_allow_nation_pay'] = 10000000; $_config['ucp_allow_nation_level'] = 95; $_config['nation'] = array('Neutral','Capella','Procyon','GameMaster'); $_config['ucp_allow_free_alz'] =false; // LEvel Reset config $_config['ucp_lvl_allow'] = false; // true or false $_config['ucp_lvl_level'] = 175; $_config['ucp_lvl_payment'] = 100000000; $_config['ucp_lvl_inv_check'] = true; // if true will check if inventory and equipments are empty $_config['ucp_lvl_keep_stat'] = false; // if true keep stats is enabled $_config['ucp_lvl_bonus'] = 20; // Bonus per reset $_config['ucp_lvl_magic_clear'] = false; // if true will remove magic list $_config['ucp_lvl_limit'] = 10; // Limit number for resets $_config['ucp_lvl_col'] = 'RESETS'; // name of the column $_config['webshop_on'] = true; //items $_config['craft_level'] = array(9=>'3%',10=>'4%',11=>'5%',12=>'6%',13=>'8%',14=>'9%',15=>'10%'); $_config['craft_title'] = array(1=>"of Desctruction (Attak)",2=>"of Destruction(Magic)",3=>"of Destruction (Attack rate)",4=>"of Deathblow (Dmg)",5=>"of Deathblow (Rate)",6=>"of Luck (2slot item drop)",7=>"of Adept (Skill EXP)",8=>"of Amp (Sword)",9=>"of Amp (Magic)"); $_config['timelimit'] = array(array(0,0),array(0,1),array(0,2),array(0,3),array(0,5),array(0,10),array(0,12),array(1,0),array(2,0),array(3,0),array(5,0),array(7,0),array(10,0),array(14,0),array(20,0),array(30,0),array(45,0),array(60,0),array(90,0),31=>'Permanent'); // Title shown at the top of pages define('PAGE_TITLE','Name'); // Link to website or patch define('LINK_WSITE','http://website'); // Text to display for link define('NAME_WSITE','http://website'); // Link to forums define('LINK_FORUM','http://website'); // Text to display for link define('NAME_FORUM','http://website'); // MSSQL server connection details // In case you have a different db names define('DB_ACC','ACCOUNT'); define('DB_GAM','GAMEDB'); define('DB_CCA','CABALCASH'); define('DB_CSH','CASHSHOP'); // ServerIdx MUST match the one in WorldSvr_XX_YY.ini or cash items // Will not get delivered correctly. define('SVR_IDX','1'); // Category names for cash shop admin panel $cats=array(1=>'Costumes',2=>'Gear',3=>'Pets',4=>'Consumables',5=>'Items'); // Print debug info at the top of the cash shop pages define('TESTMODE',false); // Maintenance mode, open to GMs only. define('MAINTMODE',false); // Uses LastIp validation as well as UserNum and AuthKey // Can cause problems define('IPVALIDATION',false); // Allow transfer of Alz from warehoue to the bank // Set to false if you don't want to use Alz for cash items define('ALLOW_BANK',true); // Login server IP and port define("SVR_ADDR","127.0.0.1"); define("SVR_PORT","38101"); // Max players per channel $maxplayers=100; $channels = array( 1=> array("number"=>1, "type"=>0, "name"=>"Channel 1 (Novice)", "ip"=>"127.0.0.1", "port"=>"38111" ), 2=> array("number"=>2, "type"=>0, "name"=>"Channel 2 (Trade)", "ip"=>"127.0.0.1", "port"=>"38112" ), 3=> array("number"=>3, "type"=>1, "name"=>"Channel 3 (PK)", "ip"=>"127.0.0.1", "port"=>"38113" ), 4=> array("number"=>4, "type"=>4, "name"=>"Channel 4 (Premium)", "ip"=>"127.0.0.1", "port"=>"38114" ), 5=> array("number"=>5, "type"=>8, "name"=>"Channel 5 (War)", "ip"=>"127.0.0.1", "port"=>"38115" ), 6=> array("number"=>10, "type"=>16908368, "name"=>"Channel 10 (TG)", "ip"=>"127.0.0.1", "port"=>"38116" ) ); $num_acc=0; $num_cha=0; $num_onl=0; $r=mssql_query('select count (*) from '.DB_ACC.'.dbo.cabal_auth_table'); $num_acc=mssql_result($r,0,0); $r=mssql_query('select count (*) from '.DB_GAM.'.dbo.cabal_character_table where Login=1'); $num_onl=mssql_result($r,0,0); $r=mssql_query('select count (*) from '.DB_GAM.'.dbo.cabal_character_table'); $num_cha=mssql_result($r,0,0); ?>
================================================================
this my config.php
================================================================
<?php
///
///Cabal WEB SITE - Desenvolvido Por LuanRox - Destru

Nao Remova Os Creditos
///
$titulo='Sugar Cabal Online'; //Title of Website, appears top of browser
$svname='Sugar Cabal Server'; //Server Name
$svversao='Ep 2'; //Server Version
$addr='192.168.25.95'; // Ip DataBases
$user='sa'; // Login SQL
$pass='nostealmypassword'; // Pass SQL
$drop="500x"; // Drop Rate
$exp="500x"; // Exp Rate
$skillsx="500x"; // Exp Skill Rate
$uplink="100mb"; // Upload Speed/ Internet Connection Speed
$alzes="200x"; // Alz Rate
$intesx="3"; // Items Per Drop
$forumlink="m"; // Link to Forum
$cliente=""; // Link to Download Client
$patch=""; // Link to Patch
// 2 Part Configuration
$_config['Server'] = "192.168.25.95"; // Ip SQL
$_config['User'] = "sa"; // User SQL
$_config['Pass'] = "nostealmypassword"; // Pass SQL
$_config['DB'] = "ACCOUNT"; // Database Account
$_config['DB2'] = "GAMEDB"; // Database GAMEDB
$_config['DB3'] = "CabalCash"; // Database Shop
$_config['ssh_user'] = 'root'; // User CentOS
$_config['ssh_ip'] = '192.168.25.94'; // IP CentOS
$_config['ssh_pass'] = 'sugarcabal'; // Pass CentOS
// 3 Part
define('DB_ADDR','192.168.25.95');
define('DB_USER','sa'); // DB USER
define('DB_PASS','nostealmypassword'); // DB Password
$_config['dbdebug'] = 0;
$ADODB_CACHE_DIR = 'tmp/';
error_reporting(0);
$_config['service'] = array(
'10'=>array('TG ( NW )',100),
'1'=>array('Chan 1 Trade) ',100),
'2'=>array('Chan 2 (Novice)',100),
'3'=>array('Chan 3 (PK\PVP)',100),
'4'=>array('Chan 4',100),
'5'=>array('Chan 5',100),
'6'=>array('Chan 6',100),
'7'=>array('Chan 7 ( War)',100)
);
$_config['reg_open'] = true;
$_config['reg_md5'] = true;
$_config['adm_logs'] = 'userLogs';
$_config['language'] = 'English'; //separate languages with , (comma)
//ranking setup
$_config['admins'] = array('admin01','johnd');
// Hide GM char names in the rankings?
$_config['hide_gms'] = true;
$_config['gms'] = array('gm01','gm02');
// donations
$_config['dollar2points'] = 11;
$_config['paypal_email'] = '
[email protected]';
$_config['paypal_ipn'] = '#';
$_config['paypal_ty'] = '#';
//user cp
$_config['ucp_allow_warp'] = false;
$_config['ucp_allow_nation'] = true;
$_config['ucp_pk_pay'] = 200000;
$_config['ucp_allow_nation_pay'] = 10000000;
$_config['ucp_allow_nation_level'] = 95;
$_config['nation'] = array('Neutral','Capella','Procyon','GameMaster');
$_config['ucp_allow_free_alz'] =false;
// LEvel Reset config
$_config['ucp_lvl_allow'] = false; // true or false
$_config['ucp_lvl_level'] = 175;
$_config['ucp_lvl_payment'] = 100000000;
$_config['ucp_lvl_inv_check'] = true; // if true will check if inventory and equipments are empty
$_config['ucp_lvl_keep_stat'] = false; // if true keep stats is enabled
$_config['ucp_lvl_bonus'] = 20; // Bonus per reset
$_config['ucp_lvl_magic_clear'] = false; // if true will remove magic list
$_config['ucp_lvl_limit'] = 10; // Limit number for resets
$_config['ucp_lvl_col'] = 'RESETS'; // name of the column
$_config['webshop_on'] = true;
//items
$_config['craft_level'] = array(9=>'3%',10=>'4%',11=>'5%',12=>'6%',13=>'8%',14=>'9%',15=>'10%');
$_config['craft_title'] = array(1=>"of Desctruction (Attak)",2=>"of Destruction(Magic)",3=>"of Destruction (Attack rate)",4=>"of Deathblow (Dmg)",5=>"of Deathblow (Rate)",6=>"of Luck (2slot item drop)",7=>"of Adept (Skill EXP)",8=>"of Amp (Sword)",9=>"of Amp (Magic)");
$_config['timelimit'] = array(array(0,0),array(0,1),array(0,2),array(0,3),array(0,5),array(0,10),array(0,12),array(1,0),array(2,0),array(3,0),array(5,0),array(7,0),array(10,0),array(14,0),array(20,0),array(30,0),array(45,0),array(60,0),array(90,0),31=>'Permanent');
// Title shown at the top of pages
define('PAGE_TITLE','Name');
// Link to website or patch
define('LINK_WSITE','http://website');
// Text to display for link
define('NAME_WSITE','http://website');
// Link to forums
define('LINK_FORUM','http://website');
// Text to display for link
define('NAME_FORUM','http://website');
// MSSQL server connection details
// In case you have a different db names
define('DB_ACC','ACCOUNT');
define('DB_GAM','GAMEDB');
define('DB_CCA','CABALCASH');
define('DB_CSH','CASHSHOP');
// ServerIdx MUST match the one in WorldSvr_XX_YY.ini or cash items
// Will not get delivered correctly.
define('SVR_IDX','1');
// Category names for cash shop admin panel
$cats=array(1=>'Costumes',2=>'Gear',3=>'Pets',4=>'Consumables',5=>'Items');
// Print debug info at the top of the cash shop pages
define('TESTMODE',false);
// Maintenance mode, open to GMs only.
define('MAINTMODE',false);
// Uses LastIp validation as well as UserNum and AuthKey
// Can cause problems
define('IPVALIDATION',false);
// Allow transfer of Alz from warehoue to the bank
// Set to false if you don't want to use Alz for cash items
define('ALLOW_BANK',true);
// Login server IP and port
define("SVR_ADDR","127.0.0.1");
define("SVR_PORT","38101");
// Max players per channel
$maxplayers=100;
$channels = array(
1=> array("number"=>1, "type"=>0, "name"=>"Channel 1 (Novice)", "ip"=>"127.0.0.1", "port"=>"38111" ),
2=> array("number"=>2, "type"=>0, "name"=>"Channel 2 (Trade)", "ip"=>"127.0.0.1", "port"=>"38112" ),
3=> array("number"=>3, "type"=>1, "name"=>"Channel 3 (PK)", "ip"=>"127.0.0.1", "port"=>"38113" ),
4=> array("number"=>4, "type"=>4, "name"=>"Channel 4 (Premium)", "ip"=>"127.0.0.1", "port"=>"38114" ),
5=> array("number"=>5, "type"=>8, "name"=>"Channel 5 (War)", "ip"=>"127.0.0.1", "port"=>"38115" ),
6=> array("number"=>10, "type"=>16908368, "name"=>"Channel 10 (TG)", "ip"=>"127.0.0.1", "port"=>"38116" )
);
$num_acc=0;
$num_cha=0;
$num_onl=0;
$r=mssql_query('select count (*) from '.DB_ACC.'.dbo.cabal_auth_table');
$num_acc=mssql_result($r,0,0);
$r=mssql_query('select count (*) from '.DB_GAM.'.dbo.cabal_character_table where Login=1');
$num_onl=mssql_result($r,0,0);
$r=mssql_query('select count (*) from '.DB_GAM.'.dbo.cabal_character_table');
$num_cha=mssql_result($r,0,0);
?>