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

Ustawianie domyślnej prfesji [Gesior ACC Maker]

popekxx

New Member
Joined
Feb 19, 2010
Messages
24
Reaction score
0
// CHARACTER config, format: ID_of_vocation => 'Name of Character to copy', load vocation name from $vocation_name[0] (below)
$config['site']['newchar_vocations'][0] = array(1 => 'Pokemon Trainer Sample',);
$config['site']['newchar_towns'][0] = array(0);
// sample, if all players should spawn in one city (city with ID 4):
$config['site']['newchar_towns'] = array(0);

// list of vocations on ots (world 0)
$vocation_name[0][0] = array(1 => 'Pokemon Trainer'); // id => 'name' , $vocation_name[0] - promotion level 0, $vocation_name[0] - for world ID 0

Gdy chcę zrobić nową postać, pojawia się owy błąd:
The Following Errors Have Occurred:
Wrong characters configuration. Try again or contact with admin. ADMIN: Edit file config/config.php and set valid characters to copy names. Character to copy doesn't exist.

Postać Pokemon Trainer Sample jest w bazie danych i mogę się na nią normalnie logować.
Nie wiem co jest nie tak.
 
poprostu jak pokemon loguje na pokemona to jest dobrze ale jak ktos normalny chce zrobic pokemona to nie moze ;/ noob
 
Boski z ciebie programista, u mnie masz szacun razy 2, i 3 punkty do dzielnicy.
PHP:
$config['site']['newchar_vocations'][0] = array(1 => 'Pokemon Trainer Sample',);
Po co na końcu ten przecinek jest tam umieszczony?
 
$config['site']['newchar_vocations'][0] = array(1 => 'Pokemon Trainer Sample',);

tego przecinka nie usunalem bo teraz mam:

$config['site']['newchar_vocations'][0] = array(1 => 'Pokemon Trainer Sample', 'Pokemon Trainer Sample');

nawet jak nie ma przecinka to i tak nie dziala -.-
 
Back
Top