AdilsonHacker 98 Postado Maio 25, 2013 Share Postado Maio 25, 2013 Galera Eu coloquei minhas novas vocation no modern acc só que não funfou não veja sé eu coloquei certo , se quiserem refazer dou 2 rep + : Sou novo nisso em sites , mais garanto quem me ajudar vai ser bem recompensado em reps rs'! Script : Abra Spoilers /*List of vocation available to choose when creating new character*/ $config['vocations'] = array(1=>"Sorcerer", 2=>"Druid", 3=>"Paladin", 4=>"Knight", 5=>"Miner", 6=>"Orc" , 7=> "Elf", 8=> "Elven Apprentice", 9=> "Orc Sorcerer", 10=> "Orc skirmister"); /*List of vocation that exists on server*/ $config['server_vocations'] = array(0=>"None", 1=>"Sorcerer", 2=>"Druid", 3=>"Paladin", 4=>"Knight", 5=>"Master Sorcerer", 6=>"Elder Druid", 7=>"Royal Paladin", 8=>"Elite Knight", 17=>"miner", 25=>"orc", 21=> "Elf", 31=> "Elven Apprentice", 39=> "Orc Sorcerer", 35=> "Orc skirmister"); /*List of promotions, the key is vocation without promotion*/ $config['promotions'] = array(1=>"Master Sorcerer", 2=>"Elder Druid", 3=>"Royal Paladin", 4=>"Elite Knight", 17=>"miner", 25=>"orc", 21=> "Elf", 31=> "Elven Apprentice", 39=> "Orc Sorcerer", 35=> "Orc skirmister"); /*Resitricted names*/ $config['restricted_names'] = array("god", "gamemaster", "admin", "account manager"); /*Names with any of this value cannot be created*/ $config['invalidNameTags'] = array("god", "gm", "cm", "gamemaster", "hoster", "admin", "demon", "ice serpent", "frost dragon", "others", "administrador"); /*ID and names of worlds*/ $config['worlds'][0] = "Dunedain"; // Enable multiworld by uncommenting this //$config['worlds'][1] = "Second World"; /* Addresses of each server */ $config['servers'][0] = array('address'=>'127.0.0.1', 'port'=>7171, 'vapusid'=>'<br /> <b>Notice</b>: Undefined variable: vapusID in <b>C:\xampp\htdocs\install\index.php</b> on line <b>143</b><br /> '); // Enable multiworld by uncommenting this //$config['servers'][1] = array('address'=>'127.0.0.1', 'port'=>7173, 'vapusid' => 'XXX'); /*Groups that exists on server*/ $config['groups'] = array(0=>"Player", 1=>"Player", 2=>"Tutor", 3=>"Senior Tutor", 4=>"Gamemaster", 5=>"Community Manager", 6=>"God"); /*Names of vocations as in database as samples. First key is world id and second vocation id.*/ $config['newchar_vocations'][0][1] = "Sorcerer"; $config['newchar_vocations'][0][2] = "Druid"; $config['newchar_vocations'][0][3] = "Paladin"; $config['newchar_vocations'][0][4] = "Knight"; $config['newchar_vocations'][0][17] = "Miner"; $config['newchar_vocations'][0][25] = "Orc"; $config['newchar_vocations'][0][21] = "Elf"; $config['newchar_vocations'][0][31] = "Elven Apprentice"; $config['newchar_vocations'][0][39] = "Orc Sorcerer"; $config['newchar_vocations'][0][35] = "Orc skirmister"; Verifiquem Apenas as Vocation sé estão corretas, os seguintes id das vocation são essa abaixo : Abra Spoiler Miner : id 17 Orc : Id 25 Elf : id 21 Elven Apprentice : id 31 Orc Sorcerer : id 39 Orc Skirmister : id 35 Sé alguem puder adicionar certinho para mim agradeço muito ! Abraços! @up Link para o comentário https://xtibia.com/forum/topic/214935-add-vocations-modern-acc-medio/ Compartilhar em outros sites More sharing options...
0 AdilsonHacker 98 Postado Maio 31, 2013 Autor Share Postado Maio 31, 2013 @up Link para o comentário https://xtibia.com/forum/topic/214935-add-vocations-modern-acc-medio/#findComment-1526504 Compartilhar em outros sites More sharing options...
0 AdilsonHacker 98 Postado Junho 7, 2013 Autor Share Postado Junho 7, 2013 @up Link para o comentário https://xtibia.com/forum/topic/214935-add-vocations-modern-acc-medio/#findComment-1529265 Compartilhar em outros sites More sharing options...
0 Enself 44 Postado Junho 7, 2013 Share Postado Junho 7, 2013 Vou tentar fazer jaja edito da algum error ? Link para o comentário https://xtibia.com/forum/topic/214935-add-vocations-modern-acc-medio/#findComment-1529271 Compartilhar em outros sites More sharing options...
0 AdilsonHacker 98 Postado Junho 8, 2013 Autor Share Postado Junho 8, 2013 não apenas na hora de escolher a vocation , não aparece lá no site só aparece apenas o druid , sorcerer , paladin , knight ! Qualquer Ajuda Será bem vinda ! Obrigado pela Atenção to na espera em ! Link para o comentário https://xtibia.com/forum/topic/214935-add-vocations-modern-acc-medio/#findComment-1529588 Compartilhar em outros sites More sharing options...
0 Enself 44 Postado Junho 8, 2013 Share Postado Junho 8, 2013 (editado) La vai em: Vá em Xampp/htdocs/system/application/views e abre o arquivo create.php Procure esta linha <select name="vocation" class="keyboardInput" id="vocation"> <option value="1">Sorcerer</option> <option value="1">Druid</option> <option value="1">Paladin</option> <option value="1">Knight</option> Adicione Isto: <option value="1">Sorcerer</option> <option value="2">Druid</option> <option value="3">Paladin</option> <option value="4">Knight</option> <option value="17">Miner</option> <option value="25">Orc</option> <option value="21">Elf</option> <option value="31">Elven Apprentice</option> <option value="39">Orc Sorcerer</option> <option value="35">Orc Skirmister</option> Em Option Value=" "> Vai ser o ID Da vocação no caso 1 Sorcerer entendeu ? se não deu certo avisa ai ^^ Editado Junho 8, 2013 por Enself Link para o comentário https://xtibia.com/forum/topic/214935-add-vocations-modern-acc-medio/#findComment-1529595 Compartilhar em outros sites More sharing options...
0 AdilsonHacker 98 Postado Junho 8, 2013 Autor Share Postado Junho 8, 2013 Nem Funfou mano tem que adicionar corretamente no local que falei acima ! Valeu pela atenção! Link para o comentário https://xtibia.com/forum/topic/214935-add-vocations-modern-acc-medio/#findComment-1529597 Compartilhar em outros sites More sharing options...
0 Enself 44 Postado Junho 8, 2013 Share Postado Junho 8, 2013 Cara no config são as vocações que cria quando ja tem Uma "Account" no Create e Quando voce vai criar sua "Account" Ja tem a aba de criar o Personagem seria la o Create e no config é se tivesse uma acc. Voce usa o localhost pra acessar o site né ? Tenta trocar essas linhas que acabei de criar aki. /*List of vocation available to choose when creating new character*/ $config['vocations'] = array(1=>"Sorcerer", 2=>"Druid", 3=>"Paladin", 4=>"Knight", 17=>"Miner", 25=>"Orc", 21=>"Elf", 31=>"Elven Apprentice", 39=>"Orc Sorcerer", 35=>"Orc Skirmister"); /*List of vocation that exists on server*/ $config['server_vocations'] = array(1=>"Sorcerer", 2=>"Druid", 3=>"Paladin", 4=>"Knight", 17=>"Miner", 25=>"Orc", 21=>"Elf", 31=>"Elven Apprentice", 39=>"Orc Sorcerer", 35=>"Orc Skirmister"); /*List of promotions, the key is vocation without promotion*/ $config['promotions'] = array(1=>"Master Sorcerer", 2=>"Elder Druid", 3=>"Royal Paladin", 4=>"Elite Knight"); Use o localhost para acessar o site aqui ta funfando belezinha. Link para o comentário https://xtibia.com/forum/topic/214935-add-vocations-modern-acc-medio/#findComment-1529599 Compartilhar em outros sites More sharing options...
0 AdilsonHacker 98 Postado Junho 8, 2013 Autor Share Postado Junho 8, 2013 Relaxa já sei como resolve valeu por tenta ajudar Rep + ai! Duvida Sanada ! Link para o comentário https://xtibia.com/forum/topic/214935-add-vocations-modern-acc-medio/#findComment-1529600 Compartilhar em outros sites More sharing options...
0 Enself 44 Postado Junho 8, 2013 Share Postado Junho 8, 2013 Opa vlw qual foi a forma que resolveu algum de meus negocios ai deram certo ? Reportado para moverem, duvida sanada. Link para o comentário https://xtibia.com/forum/topic/214935-add-vocations-modern-acc-medio/#findComment-1529601 Compartilhar em outros sites More sharing options...
0 Roksas 846 Postado Junho 8, 2013 Share Postado Junho 8, 2013 Tópico movido para a seção de dúvidas e pedidos resolvidos. Link para o comentário https://xtibia.com/forum/topic/214935-add-vocations-modern-acc-medio/#findComment-1529755 Compartilhar em outros sites More sharing options...
Pergunta
AdilsonHacker 98
Galera Eu coloquei minhas novas vocation no modern acc só que não funfou não veja sé eu coloquei certo , se quiserem refazer dou 2 rep + :
Sou novo nisso em sites , mais garanto quem me ajudar vai ser bem recompensado em reps rs'!
Script :
Abra Spoilers
/*List of vocation available to choose when creating new character*/
$config['vocations'] = array(1=>"Sorcerer", 2=>"Druid", 3=>"Paladin", 4=>"Knight", 5=>"Miner", 6=>"Orc" , 7=> "Elf", 8=> "Elven Apprentice", 9=> "Orc Sorcerer", 10=> "Orc skirmister");
/*List of vocation that exists on server*/
$config['server_vocations'] = array(0=>"None", 1=>"Sorcerer", 2=>"Druid", 3=>"Paladin", 4=>"Knight", 5=>"Master Sorcerer", 6=>"Elder Druid", 7=>"Royal Paladin", 8=>"Elite Knight", 17=>"miner", 25=>"orc", 21=> "Elf", 31=> "Elven Apprentice", 39=> "Orc Sorcerer", 35=> "Orc skirmister");
/*List of promotions, the key is vocation without promotion*/
$config['promotions'] = array(1=>"Master Sorcerer", 2=>"Elder Druid", 3=>"Royal Paladin", 4=>"Elite Knight", 17=>"miner", 25=>"orc", 21=> "Elf", 31=> "Elven Apprentice", 39=> "Orc Sorcerer", 35=> "Orc skirmister");
/*Resitricted names*/
$config['restricted_names'] = array("god", "gamemaster", "admin", "account manager");
/*Names with any of this value cannot be created*/
$config['invalidNameTags'] = array("god", "gm", "cm", "gamemaster", "hoster", "admin", "demon", "ice serpent", "frost dragon", "others", "administrador");
/*ID and names of worlds*/
$config['worlds'][0] = "Dunedain";
// Enable multiworld by uncommenting this
//$config['worlds'][1] = "Second World";
/* Addresses of each server */
$config['servers'][0] = array('address'=>'127.0.0.1', 'port'=>7171, 'vapusid'=>'<br />
<b>Notice</b>: Undefined variable: vapusID in <b>C:\xampp\htdocs\install\index.php</b> on line <b>143</b><br />
');
// Enable multiworld by uncommenting this
//$config['servers'][1] = array('address'=>'127.0.0.1', 'port'=>7173, 'vapusid' => 'XXX');
/*Groups that exists on server*/
$config['groups'] = array(0=>"Player", 1=>"Player", 2=>"Tutor", 3=>"Senior Tutor", 4=>"Gamemaster", 5=>"Community Manager", 6=>"God");
/*Names of vocations as in database as samples. First key is world id and second vocation id.*/
$config['newchar_vocations'][0][1] = "Sorcerer";
$config['newchar_vocations'][0][2] = "Druid";
$config['newchar_vocations'][0][3] = "Paladin";
$config['newchar_vocations'][0][4] = "Knight";
$config['newchar_vocations'][0][17] = "Miner";
$config['newchar_vocations'][0][25] = "Orc";
$config['newchar_vocations'][0][21] = "Elf";
$config['newchar_vocations'][0][31] = "Elven Apprentice";
$config['newchar_vocations'][0][39] = "Orc Sorcerer";
$config['newchar_vocations'][0][35] = "Orc skirmister";
Verifiquem Apenas as Vocation sé estão corretas, os seguintes id das vocation são essa abaixo :
Abra Spoiler
Miner : id 17
Orc : Id 25
Elf : id 21
Elven Apprentice : id 31
Orc Sorcerer : id 39
Orc Skirmister : id 35
Sé alguem puder adicionar certinho para mim agradeço muito !
Abraços!
@up
Link para o comentário
https://xtibia.com/forum/topic/214935-add-vocations-modern-acc-medio/Compartilhar em outros sites
10 respostass a esta questão
Posts Recomendados