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

5th Vocation, Not creatable on website.

Danny_

Evora Project Dev
Joined
Mar 19, 2008
Messages
283
Reaction score
4
Location
Bermuda Triangle
All my first four vocations works as they should! Which is awesome

But my 5th vocation just keeps loading when I hit the button "Create"
I've tried to get this fixed, tried lots of things....

So I hope you can help me!

This Is inside Config.php --- I'm using ModernAAC with Linux Ubuntu -- I posted 3 different "lines" because I didn't want to Ctrl + A / Ctrl + V my database information xD
Lua:
 /*List of vocation available to choose when creating new character*/
$config['vocations'] = array(1=>"Elementalist", 2=>"Ranger", 3=>"Warrior", 4=>"Guardian", 5=>"Nymph");

-----------------------
/*List of vocation that exists on server*/
$config['server_vocations'] = array(0=>"None", 1=>"Elementalist", 2=>"Ranger", 3=>"Warrior", 4=>"Guardian", 5=>"Nymph", 6=>"Elder Druid", 7=>"Royal Paladin", 8=>"Elite Knight", 9=>"Master Sorcerer");

-----------------------
/*Names of vocations as in database as samples. First key is world id and second vocation id.*/
$config['newchar_vocations'][0][0] = "Rook Sample";
$config['newchar_vocations'][0][1] = "Sorcerer Sample";
$config['newchar_vocations'][0][2] = "Druid Sample";
$config['newchar_vocations'][0][3] = "Paladin Sample";
$config['newchar_vocations'][0][4] = "Knight Sample";
$config['newchar_vocations'][1][0] = "Rook Sample";
$config['newchar_vocations'][1][1] = "Sorcerer Sample";
$config['newchar_vocations'][1][2] = "Druid Sample";
$config['newchar_vocations'][1][3] = "Paladin Sample";
$config['newchar_vocations'][1][4] = "Knight Sample";
$config['newchar_vocations'][0][5] = "Nymph Sample";

Vocations.xml here:
XML:
<?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="2000" 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="Elementalist" description="a Elementalist" needpremium="0" gaincap="10" 
gainhp="5" gainmana="35" gainhpticks="6" gainhpamount="10" gainmanaticks="2" 
gainmanaamount="10" 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="1.3" sword="2.0" axe="2.0" distance="2.0" 
shielding="1.5" fishing="1.1" experience="1.0"/>
	</vocation>
	<vocation id="2" name="Ranger" description="a Ranger" needpremium="0" gaincap="15" 
gainhp="10" gainmana="10" gainhpticks="4" gainhpamount="10" gainmanaticks="4" 
gainmanaamount="10" 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.3" sword="2.0" axe="2.0" distance="1.1" 
shielding="1.5" fishing="1.1" experience="1.0"/>
	</vocation>
	<vocation id="3" name="Warrior" description="a Warrior" needpremium="0" 
gaincap="25" gainhp="15" gainmana="5" gainhpticks="3" gainhpamount="10" gainmanaticks="7" 
gainmanaamount="10" manamultiplier="1.1" attackspeed="2000" soulmax="100" gainsoulticks="120" 
fromvoc="3">
		<formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" 
magHealingDamage="1.0" defense="0.7" magDefense="1.0" armor="0.7"/>
		<skill fist="1.1" club="1.1" sword="1.1" axe="1.1" distance="1.4" 
shielding="1.4" fishing="1.1" experience="1.0"/>
	</vocation>
	<vocation id="4" name="Guardian" description="a Guardian" needpremium="0" 
gaincap="25" gainhp="20" gainmana="5" gainhpticks="3" gainhpamount="10" gainmanaticks="7" 
gainmanaamount="10" manamultiplier="1.1" attackspeed="2000" soulmax="100" gainsoulticks="120" 
fromvoc="4">
		<formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" 
magHealingDamage="1.0" defense="0.7" magDefense="1.0" armor="0.7"/>
		<skill fist="1.1" club="1.2" sword="1.2" axe="1.2" distance="1.4" 
shielding="1.1" fishing="1.1" experience="1.0"/>
	</vocation>
	<vocation id="5" name="Nymph" description="a Nymph" needpremium="0" gaincap="10" 
gainhp="5" gainmana="35" gainhpticks="6" gainhpamount="10" gainmanaticks="2" 
gainmanaamount="10" manamultiplier="1.1" attackspeed="2000" soulmax="100" gainsoulticks="120" 
fromvoc="5">
		<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.3" sword="2.0" axe="2.0" distance="2.0" 
shielding="1.5" fishing="1.1" experience="1.0"/>
	</vocation>
</vocations>
 
ideally for the same account as the other samples, but doesn't matter as long as the account is inaccessible
 
SQL:
INSERT INTO `players` (`id`, `name`, `world_id`, `group_id`, `account_id`, `level`, `vocation`, `health`, `healthmax`, `experience`, `lookbody`, `lookfeet`, `lookhead`, `looklegs`, `looktype`, `lookaddons`, `maglevel`, `mana`, `manamax`, `manaspent`, `soul`, `town_id`, `posx`, `posy`, `posz`, `conditions`, `cap`, `sex`, `lastlogin`, `lastip`, `save`, `skull`, `skulltime`, `rank_id`, `guildnick`, `lastlogout`, `blessings`, `balance`, `stamina`, `direction`, `loss_experience`, `loss_mana`, `loss_skills`, `loss_containers`, `loss_items`, `premend`, `online`, `marriage`, `promotion`, `deleted`, `description`, `created`, `nick_verify`, `old_name`, `hide_char`, `worldtransfer`, `comment`) VALUES
(5, 'Nymph Sample', 0, 1, 1, 8, 5, 185, 185, 4200, 0, 0, 0, 0, 110, 0, 0, 35, 35, 0, 0, 1, 50, 50, 7, '', 440, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 201660000, 0, 100, 100, 100, 100, 100, 0, 0, 0, 0, 0, '', 0, 0, '', 0, 0, 'This player has no comment at this moment.');
go to phpmyadmin click on your database, click in SQL and paste it there.
 
then make it assign an id automatically
SQL:
INSERT INTO `players` (`id`, `name`, `world_id`, `group_id`, `account_id`, `level`, `vocation`, `health`, `healthmax`, `experience`, `lookbody`, `lookfeet`, `lookhead`, `looklegs`, `looktype`, `lookaddons`, `maglevel`, `mana`, `manamax`, `manaspent`, `soul`, `town_id`, `posx`, `posy`, `posz`, `conditions`, `cap`, `sex`, `lastlogin`, `lastip`, `save`, `skull`, `skulltime`, `rank_id`, `guildnick`, `lastlogout`, `blessings`, `balance`, `stamina`, `direction`, `loss_experience`, `loss_mana`, `loss_skills`, `loss_containers`, `loss_items`, `premend`, `online`, `marriage`, `promotion`, `deleted`, `description`, `created`, `nick_verify`, `old_name`, `hide_char`, `worldtransfer`, `comment`) VALUES
(NULL, 'Nymph Sample', 0, 1, 1, 8, 5, 185, 185, 4200, 0, 0, 0, 0, 110, 0, 0, 35, 35, 0, 0, 1, 50, 50, 7, '', 440, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 201660000, 0, 100, 100, 100, 100, 100, 0, 0, 0, 0, 0, '', 0, 0, '', 0, 0, 'This player has no comment at this moment.');
 
then make it assign an id automatically
SQL:
INSERT INTO `players` (`id`, `name`, `world_id`, `group_id`, `account_id`, `level`, `vocation`, `health`, `healthmax`, `experience`, `lookbody`, `lookfeet`, `lookhead`, `looklegs`, `looktype`, `lookaddons`, `maglevel`, `mana`, `manamax`, `manaspent`, `soul`, `town_id`, `posx`, `posy`, `posz`, `conditions`, `cap`, `sex`, `lastlogin`, `lastip`, `save`, `skull`, `skulltime`, `rank_id`, `guildnick`, `lastlogout`, `blessings`, `balance`, `stamina`, `direction`, `loss_experience`, `loss_mana`, `loss_skills`, `loss_containers`, `loss_items`, `premend`, `online`, `marriage`, `promotion`, `deleted`, `description`, `created`, `nick_verify`, `old_name`, `hide_char`, `worldtransfer`, `comment`) VALUES
(NULL, 'Nymph Sample', 0, 1, 1, 8, 5, 185, 185, 4200, 0, 0, 0, 0, 110, 0, 0, 35, 35, 0, 0, 1, 50, 50, 7, '', 440, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 201660000, 0, 100, 100, 100, 100, 100, 0, 0, 0, 0, 0, '', 0, 0, '', 0, 0, 'This player has no comment at this moment.');

This worked to insert into phpmyadmin - "SQL" but when trying to make a chracter, the same problem is still there

( LOADING FOREVER YAAH) xd :(
 
Back
Top