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

Can't see custom vocation names on webpage

Snach

Sensei
Joined
Aug 8, 2009
Messages
1,694
Reaction score
84
Location
Estonia
I made a custom vocation and when a player upgrades himself to super druid for example then on the webpage it doesn't show he is super druid. It's like
vocation : --emptyness--
How can it be fixed?
 
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
Add:
PHP:
$vocation_name[0][2] = array(1 => 'Super Sorcerer', 2 => 'Super Druid', 3 => 'Super Paladin', 4 => 'Super Knight'); // id => 'name' , $vocation_name[2] - promotion level 2, $vocation_name[0] - for world ID 0
 
Back
Top