• 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!

Vocation Name in Acc page

Nashalito

New Member
Joined
May 21, 2009
Messages
273
Reaction score
0
Hello. I am using geisor acc 0.3.6 and i have custom vocations that i want they can see like in hiighscores . How do i configure it?
 
Config.php
Edit those lines
PHP:
// 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
:thumbup:
 
Config.php
Add this line and edit
PHP:
$vocation_name[*W*][*P*] = array(1 => '*Sorcerer', 2 => '*Druid', 3 => '*Paladin', 4 => '*Knight');
Editing:
*w* = world id
*p* = promotion level
*Sorcerer = Sorc super vocation name
*Druid = druid super vocation name
*paladin = pally super vocation name
*knight = knight super vocation name

To add new vocations:
PHP:
$vocation_name[*W*][*P*] = array(1 => '*Sorcerer', 2 => '*Druid', 3 => '*Paladin', 4 => '*Knight', 5 => '*New voc name');
X => 'Vocation name'
x is the vocation number

if you want to add new vocations, simply add ", " without the quotes at the end of ')' and put
PHP:
 X => 'Vocation name'
x is the number of the vocation
 
Last edited:
Written like this :
PHP:
$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(1 => '*Super Sorcerer', 2 => '*Super Druid', 3 => '*Super Paladin', 4 => 'Super *Knight');

But it's empty in acc apge -.-
 
Try This :)
PHP:
$vocation_name[0][2] = array(1 => 'Super Sorcerer', 2 => 'Super Druid', 3 => 'Super Paladin', 4 => 'Super Knight'); // id => 'name' , $vocation_name[1] - promotion level 2, $vocation_name[2] - for world ID 0
 
Back
Top