El mes

Páginas: 8 (1804 palabras) Publicado: 7 de marzo de 2011
Tema: Re: Pedido de config.php Vie Feb 18, 2011 12:26 pm
+
Código:

<?PHP
$config['site']['worlds'] = array(0 => 'Paradoxx', 1 => 'Server 2 Name');
$config['site']['quests'] = array('Annihilator' => 5000,'Demon Helmet' => 2645,'Pits of Inferno' => 5550); // list of quests, 'questname' =>

storage-id,
// ACCOUNT config
$config['site']['one_email'] = 0; //one e-mail can be used only to create one account 0 / 1
$config['site']['verify_code'] = 1; // show verify code to block stupid scripts, set 0 if you have problems with image
$config['site']['email_days_to_change'] = 2; // how many days user need to change e-mail to account - block hackers
$config['site']['newaccount_premdays'] = 0; // how many days receive new account
// USE ONLY IF YOUCONFIGURED E-MAIL AND IT WORK
$config['site']['create_account_verify_mail'] = 0; // when create account player must use right e-mail, he will receive random password to

account like on RL tibia, 1 = yes, 0 = no
$config['site']['generate_new_reckey'] = 0; // let player generate new recovery key, he will receive e-mail with new rec key (not display on

page, hacker can't generate rec key)$config['site']['generate_new_reckey_price'] = 5; // you can get some Premium Points for new rec key
$config['site']['send_mail_when_change_password'] = 0; // send e-mail with new password when change password to account, set 0 if

someone abuse to send spam
$config['site']['send_mail_when_generate_reckey'] = 0; // send e-mail with rec key (key is displayed on page anyway when generate), set 0 ifsomeone abuse to send spam
$config['site']['send_register_email'] = 0; // send e-mail when register account

// CHARACTER config, format: ID_of_vocation => 'Name of Character to copy', load vocation name from $vocation_name[0] (below)
$config['site']['newchar_vocations'][0] = array(1 => 'Sorcerer Sample', 2 => 'Druid Sample', 3 => 'Paladin Sample', 4 => 'Knight Sample');$config['site']['newchar_vocations'][1] = array(1 => 'Sorcerer Sample', 2 => 'Druid Sample', 3 => 'Paladin Sample', 4 => 'Knight Sample');
// sample, if rook only: $config['site']['newchar_vocations'][0] = array(0 => 'Rook Sample');
$config['site']['newchar_towns'][0] = array(1);
$config['site']['newchar_towns'][1] = array(1);
// sample, if all players should spawn in onecity (city with ID 4): $config['site']['newchar_towns'] = array(4);

// list of vocations on ots (world 0)
$vocation_name[0][0] = array(0 => 'None', 1 => 'Sorcerer', 2 => 'Druid', 3 => 'Paladin', 4 => 'Knight'); // id => 'name' , $vocation_name[0] -

promotion level 0, $vocation_name[0] - for world ID 0
$vocation_name[0][1] = array(1 => 'Master Sorcerer', 2=> 'Elder Druid', 3 => 'Royal Paladin', 4 => 'Elite Knight'); // id => 'name' ,

$vocation_name[1] - promotion level 1, $vocation_name[0] - for world ID 0
$vocation_name[0][2] = array(2 => 'Alchimist',2 => 'Biochemist', 3 => 'Sniper', 4 => 'Gladiator'); // id => 'name' , $vocation_name[2] -

promotion level 2, $vocation_name[0] - for world ID 0
// list of vocationson ots (world 1)
$vocation_name[1][0] = array(0 => 'None', 1 => 'Sorcerer', 2 => 'Druid', 3 => 'Paladin', 4 => 'Knight'); // id => 'name' , $vocation_name[0] -

promotion level 0, $vocation_name[1] - for world ID 1
$vocation_name[1][1] = array(1 => 'Master Sorcerer', 2 => 'Elder Druid', 3 => 'Royal Paladin', 4 => 'Elite Knight'); // id => 'name' ,$vocation_name[1] - promotion level 1, $vocation_name[1] - for world ID 1

// list of towns on ots
$towns_list[0] = array(0 => 'Thais', 1 => 'Carlin', 2 => 'Yalahar', 3 => 'Gengia', 4 => 'Faligarth', 5 => 'Enigma city'); // list of towns, id =>

'name', $towns_list[0] - for world id 0
$towns_list[1] = array(0 => 'Venore', 1 => 'lol', 2 => 'lol', 3 => 'lol', 4...
Leer documento completo

Regístrate para leer el documento completo.

Estos documentos también te pueden resultar útiles

  • Mesa
  • mesas
  • La Mesa
  • Los meses
  • Mesa
  • mesa
  • Meso
  • la mesa

Conviértase en miembro formal de Buenas Tareas

INSCRÍBETE - ES GRATIS