Suporte para 5 tipos de vips. ldgeneral.class.php, ldpaneluser.class.php, ldvips.class.php, ldtpl.class.php, *.tpl.php
Devido ao alto número de linhas alteradas no settings.php nessa parte do update, será necessário trocar
a sua settings.php atual pela nova que acompanha esta versão do site para evitar erros de edição.
Adiciona uma settings.php em inglês para clientes do exterior. settings_english.php
Deletar conta agora deleta Baus Extras. ldpaneladmin.class.php
Sistema de linguagem agora tem todos os textos internos costomizaveis na pasta /languages/. ldlanguage.class.php, *.class.php
Adicionar no settings.php as linhas:
/*
@Sistema de linguagem
*/
define('LANGUAGE_PATH', 'pt-br');
Opção de esconder os stats no perfil do personagem. ldranking.class.php
Adicionar no settings.php as linhas:
$RANKING_CONFIGS['STATS'] = TRUE; //Mostra os status do personagem (Força, Agilidade, Energia, Vitalidade, Comando)
Adicionada opção de forçar o cadastro de logins minusculos. ldregister.class.php
Adicionar no settings.php as linhas:
$REGISTER_SETTINGS['USERNAME']['FORCELOWER'] = true; //Força o login a ser minusculo.
Colocado filtro de planos para gerenciar screenshots (free, e vips). screenshots.module.php
Procure a linha abaixo no settings.php:
$PANELUSER_PREMISSIONS['SCREENSHOT'] = array(/*Ligar*/ 1); //Gerenciar Screenshots - Painel usuário
Troque ela pela linha abaixo:
$PANELUSER_PREMISSIONS['SCREENSHOT'] = array(/*Ligar*/ 1, /*Free*/ 1, /*Vip Silver*/ 1, /*Vip Gold*/ 1); //Gerenciar Screenshots - Painel usuário
Fixada opção de mudar classe para não bugar Quests e Magias. ldpaneluser.class.php
Sistemas que envolvem itens adaptados para funcionar no PHP 5.3. ldvault.class.php, ldcharacter.class.php
Ranking de Gens da X-Team adaptado para funcionar no SQL 2000. ldranking.class.php
Adicionado sistema de bônus de itens no cadastro. ldregister.class.php, ldItemMake.class.php, ldregister.tpl.php
Adicionar no settings.php as linhas:
$REGISTER_SETTINGS['BONUS_ITEM']['ACTIVE'] = TRUE; //Ativa bonus de item ao cadastrar
$REGISTER_SETTINGS['BONUS_ITEM']['VERSION'] = 3; //1 = (Versões antigas sem personal store [97d]), 2 = (Versões antigas com personal store [1.0]), 3 = (Versões novas com personal store e harmony [1.02n ou acima])
/**
* Como configurar o sistema abaixo:
* O sistema está configurado para dar um Kit de Blade Knight, Soul Master, Muse Elf por padrão, para cadastrar mais itens ou kits, siga a logica dos exemplos;
* Atenção, mesmo que você use uma versão antiga que não contenha sockets, harmony e etc, não remova a opção, e sim, apenas coloque o valor correspondente a ela desligada!
*
* A opção: "Name", deve conter o nome do kit a ser entregue para o player
* A opção: "Items", deve conter os items a serem entregues para o player
* Dentro da opção "Items", existe as propriedades:
* "idCategorie", deve ser a categoria do item desejado (informação contida no item(kor).txt ou item.txt do MuServer)
* "idItem", deve ser o id do item desejado (informação contida no item(kor).txt ou item.txt do MuServer)
* "options", aqui dentro serão ditas as propriedades do item.
* "Level", determine o level que o item irá ter. (Valores possiveis: 0 até 15)
* "Option", determine o option do item (opção da life). (Valores possiveis: para +0 coloque 0, para +4 coloque 1, para +8 coloque 2, para +12 coloque 3, para +16 coloque 4, para +20 coloque 5, para +24 coloque 6, para +28 coloque 7)
* "Skill", determine se o item terá Skill ou não. (Valores possiveis: true para sim, false para não)
* "Luck", determine se o item terá Luck ou não. (Valores possiveis: true para sim, false para não)
* "Serial", determine se o item terá Serial ou não, (Recomendamos: SIM) caso sim, sera pego um serial na ordem do MuServer (igual o MuShopping), caso não, o serial será colocado 00000000. (Valores possiveis: true para sim, false para não)
* "Excellent", determine quais opções excelentes o item vai possuir. Observe que existem 6 valores a serem definidos aqui (true, true, true, true, true, true), veja a ordem em um editor, e teste o cadastro para checar se esta correto! (Valores possiveis: true para sim, false para não)
* "Ancient", determine se o item é ancient ou não. (Valores possiveis: 0, 1 ou 2; 0 para nada, 1 para ancient 1, e 2 para o ancient 2).
* "Refine", determine se o item é refinado ou não (Option 380). (Valores possiveis: 0, 1 ou 2; 0 para nada, 1 para ancient 1, e 2 para o ancient 2).
* "HarmonyType", determine se o tipo de option harmony. (Valores possiveis: 0 [NADA], 1, 2, 3, 4, 5, 6, 7, 8, 9, 10).
* "HarmonyType", determine se o level do option harmony. (Valores possiveis: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13).
* "SocketOption", determine quais opções sockets o item vai possuir. Observe que existem 5 valores a serem definidos aqui (255, 255, 255, 255, 255), teste o cadastro para checar se esta correto! (Valores possiveis: 255 para sem socket, 254 para socket vazio, demais valores vide editor. [Para versões SCF / SCFMT = 0 para sem socket, 255 para socket vazio])
*/
$REGISTER_SETTINGS['BONUS_ITEM']['ITEMS'] = array(
array(
"Name" => "Kit de Blade Knight",
"Items" => array(
array("idCategorie" => 7, "idItem" => 17, "options" => array("Level" => 13, "Option" => 7, "Skill" => false, "Luck" => true, "Serial" => true, "Excellent" => array(true, true, true, true, true, true), "Ancient" => 0, "Refine" => false, "HarmonyType" => 0, "HarmonyLevel" => 0, "SocketOption" => array(255,255,255,255,255))),
array("idCategorie" => 8, "idItem" => 17, "options" => array("Level" => 13, "Option" => 7, "Skill" => false, "Luck" => true, "Serial" => true, "Excellent" => array(true, true, true, true, true, true), "Ancient" => 0, "Refine" => false, "HarmonyType" => 0, "HarmonyLevel" => 0, "SocketOption" => array(255,255,255,255,255))),
array("idCategorie" => 9, "idItem" => 17, "options" => array("Level" => 13, "Option" => 7, "Skill" => false, "Luck" => true, "Serial" => true, "Excellent" => array(true, true, true, true, true, true), "Ancient" => 0, "Refine" => false, "HarmonyType" => 0, "HarmonyLevel" => 0, "SocketOption" => array(255,255,255,255,255))),
array("idCategorie" => 10, "idItem" => 17, "options" => array("Level" => 13, "Option" => 7, "Skill" => false, "Luck" => true, "Serial" => true, "Excellent" => array(true, true, true, true, true, true), "Ancient" => 0, "Refine" => false, "HarmonyType" => 0, "HarmonyLevel" => 0, "SocketOption" => array(255,255,255,255,255))),
array("idCategorie" => 11, "idItem" => 17, "options" => array("Level" => 13, "Option" => 7, "Skill" => false, "Luck" => true, "Serial" => true, "Excellent" => array(true, true, true, true, true, true), "Ancient" => 0, "Refine" => false, "HarmonyType" => 0, "HarmonyLevel" => 0, "SocketOption" => array(255,255,255,255,255))),
array("idCategorie" => 12, "idItem" => 5, "options" => array("Level" => 13, "Option" => 7, "Skill" => false, "Luck" => true, "Serial" => true, "Excellent" => array(true, true, true, true, true, true), "Ancient" => 0, "Refine" => false, "HarmonyType" => 0, "HarmonyLevel" => 0, "SocketOption" => array(255,255,255,255,255))),
array("idCategorie" => 0, "idItem" => 22, "options" => array("Level" => 13, "Option" => 7, "Skill" => false, "Luck" => true, "Serial" => true, "Excellent" => array(true, true, true, true, true, true), "Ancient" => 0, "Refine" => false, "HarmonyType" => 0, "HarmonyLevel" => 0, "SocketOption" => array(255,255,255,255,255))),
)
),
array(
"Name" => "Kit de Soul Master",
"Items" => array(
array("idCategorie" => 7, "idItem" => 22, "options" => array("Level" => 13, "Option" => 7, "Skill" => false, "Luck" => true, "Serial" => true, "Excellent" => array(true, true, true, true, true, true), "Ancient" => 0, "Refine" => false, "HarmonyType" => 0, "HarmonyLevel" => 0, "SocketOption" => array(255,255,255,255,255))),
array("idCategorie" => 8, "idItem" => 22, "options" => array("Level" => 13, "Option" => 7, "Skill" => false, "Luck" => true, "Serial" => true, "Excellent" => array(true, true, true, true, true, true), "Ancient" => 0, "Refine" => false, "HarmonyType" => 0, "HarmonyLevel" => 0, "SocketOption" => array(255,255,255,255,255))),
array("idCategorie" => 9, "idItem" => 22, "options" => array("Level" => 13, "Option" => 7, "Skill" => false, "Luck" => true, "Serial" => true, "Excellent" => array(true, true, true, true, true, true), "Ancient" => 0, "Refine" => false, "HarmonyType" => 0, "HarmonyLevel" => 0, "SocketOption" => array(255,255,255,255,255))),
array("idCategorie" => 10, "idItem" => 22, "options" => array("Level" => 13, "Option" => 7, "Skill" => false, "Luck" => true, "Serial" => true, "Excellent" => array(true, true, true, true, true, true), "Ancient" => 0, "Refine" => false, "HarmonyType" => 0, "HarmonyLevel" => 0, "SocketOption" => array(255,255,255,255,255))),
array("idCategorie" => 11, "idItem" => 22, "options" => array("Level" => 13, "Option" => 7, "Skill" => false, "Luck" => true, "Serial" => true, "Excellent" => array(true, true, true, true, true, true), "Ancient" => 0, "Refine" => false, "HarmonyType" => 0, "HarmonyLevel" => 0, "SocketOption" => array(255,255,255,255,255))),
array("idCategorie" => 12, "idItem" => 4, "options" => array("Level" => 13, "Option" => 7, "Skill" => false, "Luck" => true, "Serial" => true, "Excellent" => array(true, true, true, true, true, true), "Ancient" => 0, "Refine" => false, "HarmonyType" => 0, "HarmonyLevel" => 0, "SocketOption" => array(255,255,255,255,255))),
array("idCategorie" => 5, "idItem" => 13, "options" => array("Level" => 13, "Option" => 7, "Skill" => false, "Luck" => true, "Serial" => true, "Excellent" => array(true, true, true, true, true, true), "Ancient" => 0, "Refine" => false, "HarmonyType" => 0, "HarmonyLevel" => 0, "SocketOption" => array(255,255,255,255,255))),
)
),
array(
"Name" => "Kit de Muse Elf",
"Items" => array(
array("idCategorie" => 7, "idItem" => 24, "options" => array("Level" => 13, "Option" => 7, "Skill" => false, "Luck" => true, "Serial" => true, "Excellent" => array(true, true, true, true, true, true), "Ancient" => 0, "Refine" => false, "HarmonyType" => 0, "HarmonyLevel" => 0, "SocketOption" => array(255,255,255,255,255))),
array("idCategorie" => 8, "idItem" => 24, "options" => array("Level" => 13, "Option" => 7, "Skill" => false, "Luck" => true, "Serial" => true, "Excellent" => array(true, true, true, true, true, true), "Ancient" => 0, "Refine" => false, "HarmonyType" => 0, "HarmonyLevel" => 0, "SocketOption" => array(255,255,255,255,255))),
array("idCategorie" => 9, "idItem" => 24, "options" => array("Level" => 13, "Option" => 7, "Skill" => false, "Luck" => true, "Serial" => true, "Excellent" => array(true, true, true, true, true, true), "Ancient" => 0, "Refine" => false, "HarmonyType" => 0, "HarmonyLevel" => 0, "SocketOption" => array(255,255,255,255,255))),
array("idCategorie" => 10, "idItem" => 24, "options" => array("Level" => 13, "Option" => 7, "Skill" => false, "Luck" => true, "Serial" => true, "Excellent" => array(true, true, true, true, true, true), "Ancient" => 0, "Refine" => false, "HarmonyType" => 0, "HarmonyLevel" => 0, "SocketOption" => array(255,255,255,255,255))),
array("idCategorie" => 11, "idItem" => 24, "options" => array("Level" => 13, "Option" => 7, "Skill" => false, "Luck" => true, "Serial" => true, "Excellent" => array(true, true, true, true, true, true), "Ancient" => 0, "Refine" => false, "HarmonyType" => 0, "HarmonyLevel" => 0, "SocketOption" => array(255,255,255,255,255))),
array("idCategorie" => 12, "idItem" => 3, "options" => array("Level" => 13, "Option" => 7, "Skill" => false, "Luck" => true, "Serial" => true, "Excellent" => array(true, true, true, true, true, true), "Ancient" => 0, "Refine" => false, "HarmonyType" => 0, "HarmonyLevel" => 0, "SocketOption" => array(255,255,255,255,255))),
array("idCategorie" => 6, "idItem" => 6, "options" => array("Level" => 13, "Option" => 7, "Skill" => false, "Luck" => true, "Serial" => true, "Excellent" => array(true, true, true, true, true, true), "Ancient" => 0, "Refine" => false, "HarmonyType" => 0, "HarmonyLevel" => 0, "SocketOption" => array(255,255,255,255,255))),
)
),
); //Lista de Kits dos itens ao cadastrar
Alterada a versão para 2.1.0. index.php
Altere no settings.php a chave de update para: 0x555972D1
Exemplo de como irá ficar: define("updateKeyChangelog", 0x555972D1); //Veja a Chave de atualização no Changelog.html que acompanha o site.