• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

PHP Nicaw AAC vocations

Archez

'
Senator
Joined
Jun 26, 2008
Messages
6,589
Solutions
1
Reaction score
70
Location
Mexico
Request by: prowind
http://otland.net/f140/request-tut-how-change-voc-names-nicaw-xml-33514/


Go to your NICAW AAC folder, and open config.php.

Go to line 80~90...
You will see this:

PHP:
//Vocation names
$cfg['voc_normal'] = array('None','Sorcerer','Druid','Paladin','Knight','Master Sorcerer','Elder Druid','Royal Paladin','Elite Knight');

//Promoted names
$cfg['voc_promoted'] = array('None','Master Sorcerer','Elder Druid','Royal Paladin','Elite Knight');

This vocation names are the ones that will appear in the character search.
You are able to change those vocation names as you wish.

Now, go to account.php, line 187~192...
You will see this...

PHP:
<select name="vocation" class="textfield" <? if (!$cfg['vocation_choose']){echo 'style="display: none"';} ?> >
<option value="1" selected="selected">Sorcerer</option>
<option value="2">Druid</option>
<option value="3">Paladin</option>
<option value="4">Knight</option>
</select>

This vocation names are the ones that will appear in create character.
You are able to change those vocation names as you wish.

Example of config.php and account.php changed:

PHP:
//Vocation names
$cfg['voc_normal'] = array('None','Mage','Scholar','Archer','Warrior','Master Mage','Elder Scholar','Royal Archer','Elite Warrior');

//Promoted names
$cfg['voc_promoted'] = array('None','Master Mage','Elder Scholar','Royal Archer','Elite Warrior');

PHP:
<select name="vocation" class="textfield" <? if (!$cfg['vocation_choose']){echo 'style="display: none"';} ?> >
<option value="1" selected="selected">Mage</option>
<option value="2">Scholar</option>
<option value="3">Archer</option>
<option value="4">Warrior</option>
</select>



Live Demo

I hope this helped you. :)

Thank You,
//Archez!
rox.png
 
how do i change them o ngesior? i tryied, but it shows nothing when u search the character on website...
 
Back
Top