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

ares413

New Member
Joined
Apr 1, 2010
Messages
130
Reaction score
3
I dont want to mess up my configuration file for gesior, but at this part the code reads:

PHP:
		// Show name vocation world -- $vocation_name[getWorld][getPromotion]
		$vocation_name[0][0] = array(0 => 'None', 1 => 'Sorcerer', 2 => 'Druid', 3 => 'Paladin', 4 => 'Knight'); 
		$vocation_name[0][1] = array(1 => 'Master Sorcerer', 2 => 'Elder Druid', 3 => 'Royal Paladin', 4 => 'Elite Knight'); 
		$vocation_name[1][0] = array(0 => 'None', 1 => 'Sorcerer', 2 => 'Druid', 3 => 'Paladin', 4 => 'Knight'); 
		$vocation_name[1][1] = array(1 => 'Master Sorcerer', 2 => 'Elder Druid', 3 => 'Royal Paladin', 4 => 'Elite Knight');

i need to add, 5,6,7,8, as Dark Lord, Angel, Vigilante, and Warrior

how would i go about doing this? i just want it to show if someone has the second promotion, as of now if a player does have the promotion it just shows their level it wont show a vocation.

repp++ please help!
 
It should go something like this:

// Show name vocation world -- $vocation_name[getWorld][getPromotion]
$vocation_name[0][0] = array(0 => 'None', 1 => 'Sorcerer', 2 => 'Druid', 3 => 'Paladin', 4 => 'Knight');
$vocation_name[0][1] = array(1 => 'Master Sorcerer', 2 => 'Elder Druid', 3 => 'Royal Paladin', 4 => 'Elite Knight', 5 => 'Dark Lord', 6 => 'Angel', 7 => 'Vigilante', 8 => 'Warrior');
$vocation_name[1][0] = array(0 => 'None', 1 => 'Sorcerer', 2 => 'Druid', 3 => 'Paladin', 4 => 'Knight');
$vocation_name[1][1] = array(1 => 'Master Sorcerer', 2 => 'Elder Druid', 3 => 'Royal Paladin', 4 => 'Elite Knight', 5 => 'Dark Lord', 6 => 'Angel', 7 => 'Vigilante', 8 => 'Warrior');

I hope this works for you!
 
Back
Top