Ir para conteúdo

[Gesior Acc] Como Por Pra Quando Criar O Char Ja Criar Como Promotion?


Hudsin

Posts Recomendados

Exemplo: Na hora de criar o char,no lugar de aparecer pra escolher entre Knight,Sorcerer,Druid,Paladin colocar para escolher entre Elite Knight,Master Sorcerer,Elder Druid,Royal Paladin.

 

alguem ajuda plx :tongue2:

Editado por Hudsin
Link para o comentário
Compartilhar em outros sites

Oláa cara, então vou tirar sua dúvida...

 

Vá até "htdocs\config\config.php". Após ir até lá, procure por:

$config['site']['newchar_vocations'][0] = array(1 => 'Mago Sample', 2 => 'Druida Sample', 3 => 'Arqueiro Sample', 4 => 'Guerreiro Sample');

Onde está Mago, Druida, Arqueiro, Guerreiro modifique para - Master Sorcerer, Elder Druid, Royal Paladin, Elite Knight.

 

Abraços.

Link para o comentário
Compartilhar em outros sites

Aew Felipe vlw pela ajuda,mas ainda nao deu certo...

Na pagina de criar os characters ainda continua aparecendo pra escolher "Sorcerer,Druid,Knight,Paladin" e quando vai criar o char da o seguinte erro

 

The Following Errors Have Occurred:

Wrong characters configuration. Try again or contact with admin. ADMIN: Edit file config/config.php and set valid characters to copy names. Character to copyElite Knight Sample doesn't exist.

 

vlw

Editado por Hudsin
Link para o comentário
Compartilhar em outros sites

Não deu,continua aparecendo Sorcerer,Druid,Knight e Paladin pra criar,e quando cria tbm cria vocação normal /=

 

Obs: Também tentei mudar o id da vocation dos Samples e nao deu :(

Editado por Hudsin
Link para o comentário
Compartilhar em outros sites

Então cara, não vou saber lhe responder. Desculpa... Se não funcionou agora não sei como funciona.... Ou tente modificar no "vocations.xml" mude assim:

 

<?xml version="1.0" encoding="UTF-8"?>
<vocations>
<vocation id="0" name="None" description="none" needpremium="0" gaincap="5" gainhp="5" gainmana="5" gainhpticks="6" gainhpamount="1" gainmanaticks="6" gainmanaamount="1" manamultiplier="4.0" attackspeed="2100" soulmax="100" gainsoulticks="120" fromvoc="0" attackable="no">
<formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/>
<skill fist="1.5" club="2.0" sword="2.0" axe="2.0" distance="2.0" shielding="1.5" fishing="1.1" experience="1.0"/>
</vocation>

<vocation id="1" name="Master Sorcerer" description="a mago" needpremium="0" gaincap="10" gainhp="5" gainmana="30" gainhpticks="6" gainhpamount="25" gainmanaticks="3" gainmanaamount="35" manamultiplier="1.1" attackspeed="2000" soulmax="100" gainsoulticks="120" fromvoc="1">
<formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/>
<skill fist="1.5" club="2.0" sword="2.0" axe="2.0" distance="2.0" shielding="1.5" fishing="1.1" experience="1.0"/>
</vocation>

<vocation id="2" name="Elder Druid" description="a druida" needpremium="0" gaincap="10" gainhp="5" gainmana="30" gainhpticks="6" gainhpamount="25" gainmanaticks="3" gainmanaamount="35" manamultiplier="1.1" attackspeed="2000" soulmax="100" gainsoulticks="120" fromvoc="2">
<formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/>
<skill fist="1.5" club="1.8" sword="1.8" axe="1.8" distance="1.8" shielding="1.5" fishing="1.1" experience="1.0"/>
</vocation>

<vocation id="3" name="Royal Paladin" description="a arqueiro" needpremium="0" gaincap="20" gainhp="10" gainmana="15" gainhpticks="4" gainhpamount="30" gainmanaticks="4" gainmanaamount="25" manamultiplier="1.4" attackspeed="1900" soulmax="100" gainsoulticks="120" fromvoc="3">
<formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/>
<skill fist="1.2" club="1.2" sword="1.2" axe="1.2" distance="1.1" shielding="1.1" fishing="1.1" experience="1.0"/>
</vocation>

<vocation id="4" name="Elite Knight" description="a guerreiro" needpremium="0" gaincap="25" gainhp="15" gainmana="5" gainhpticks="3" gainhpamount="45" gainmanaticks="6" gainmanaamount="15" manamultiplier="3.0" attackspeed="1800" soulmax="100" gainsoulticks="120" fromvoc="4">
<formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/>
<skill fist="1.1" club="1.1" sword="1.1" axe="1.1" distance="1.4" shielding="1.1" fishing="1.1" experience="1.0"/>
</vocation>

<vocation id="5" name="Epic Master Sorcerer" description="a feiticeiro" needpremium="1" gaincap="10" gainhp="5" gainmana="30" gainhpticks="4" gainhpamount="60" gainmanaticks="2" gainmanaamount="120" manamultiplier="1.1" attackspeed="1600" soulmax="200" gainsoulticks="15" fromvoc="1" lessloss="30">
<formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/>
<skill fist="1.5" club="2.0" sword="2.0" axe="2.0" distance="2.0" shielding="1.5" fishing="1.1" experience="1.0"/>
</vocation>

<vocation id="6" name="Epic Elder Druid" description="an necromancer" needpremium="1" gaincap="10" gainhp="5" gainmana="30" gainhpticks="4" gainhpamount="60" gainmanaticks="2" gainmanaamount="120" manamultiplier="1.1" attackspeed="1600" soulmax="200" gainsoulticks="15" fromvoc="2" lessloss="30">
<formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/>
<skill fist="1.5" club="1.8" sword="1.8" axe="1.8" distance="1.8" shielding="1.5" fishing="1.1" experience="1.0"/>
</vocation>

<vocation id="7" name="Epic Royal Paladin" description="a hunter" needpremium="1" gaincap="20" gainhp="10" gainmana="15" gainhpticks="3" gainhpamount="75" gainmanaticks="3" gainmanaamount="65" manamultiplier="1.4" attackspeed="1400" soulmax="200" gainsoulticks="15" fromvoc="3" lessloss="30">
<formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/>
<skill fist="1.2" club="1.2" sword="1.2" axe="1.2" distance="1.1" shielding="1.1" fishing="1.1" experience="1.0"/>
</vocation>

<vocation id="8" name="Epic Elite Knight" description="an gladiador" needpremium="1" gaincap="25" gainhp="15" gainmana="5" gainhpticks="2" gainhpamount="180" gainmanaticks="4" gainmanaamount="55" manamultiplier="3.0" attackspeed="1300" soulmax="200" gainsoulticks="15" fromvoc="4" lessloss="30">
<formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/>
<skill fist="1.1" club="1.1" sword="1.1" axe="1.1" distance="1.4" shielding="1.1" fishing="1.1" experience="1.0"/>
</vocation>
</vocations>

 

Modifique, e tudo que eu pedi para modificar deixe modificado.

Abraços.

Link para o comentário
Compartilhar em outros sites

  • 1 month later...

kra vai em xampp\htdocs\config\config.PHP

 

na linha:

// 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

 

ponhe assim:

 

// list of vocations on ots (world 0)

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

$vocation_name[0][1] = array(1 => 'A SUA SEGUNDA VOCAÇAO Sorcerer', 2 => 'A SUA SEGUNDA VOCAÇAO Druid', 3 => 'A SUA SEGUNDA VOCAÇAO Paladin', 4 => 'A SUA SEGUNDA VOCAÇAO Knight'); // id => 'name' , $vocation_name[1] - promotion level 1, $vocation_name[0] - for world ID 0

 

SE AJUDEI REP+

Link para o comentário
Compartilhar em outros sites

OT Wodbo

 

aproveitando que ja estamos em add vocação no site. ajuda com outra coisa;.

 

queria por no meu site escolher city, no config eu achei. mas nao sei editar foi isto que encontrei.

##################################################
#                 Town Config                    #
##################################################
/*
NOTICE
Town IDs must be correct and match those in your map
*/
# Town names
$cfg['temple'][1]['name'] = 'Small city';


# Now set which town(s) you want to use in character making
$cfg['temple'][1]['x'] = 306;
$cfg['temple'][1]['y'] = 46;
$cfg['temple'][1]['z'] = 5;
$cfg['temple'][1]['enabled'] = true;

Link para o comentário
Compartilhar em outros sites

×
×
  • Criar Novo...