Ir para conteúdo
  • 0

Error Characters.php


matheusata55

Pergunta

bom galera, meu otserv existe uma promotion segundaria para jogadores VIP, e essa promotion e acionada automaticamente, assim que o player compra vip no site, porem quando pesquisa o nome do character no site, a PROFISSÃO dele fica em branco, como segue a imagem abaixo...

 

IRREI DEIXAR AQUI MEU CHARACTERS.PHP, O CONFIG.PHP E O ID DAS VOCAÇÃO QUEM PUDER ME AJUDAR VLW!

 

characters.php

config.php

 

 

<vocation id="5" name="Master Sorcerer (VIP)"

<vocation id="6" name="Elder Druid (VIP)"

<vocation id="7" name="Royal Paladin (VIP)"

<vocation id="8" name="Elite Knight (VIP)"

 

 

 

r3VJh5o.jpg


@up


@up


@up

Editado por matheusata55
Link para o comentário
Compartilhar em outros sites

Posts Recomendados

  • 0

mano, mesmo seguindo este seu tutorial, quando eu pesquiso o nome do player e ele ta free, fica normal por exemplo "Profission: Elder Druid" dai quando ele compra vip no jogo automaticamente o nome dele muda pra por exemplo... "You see Sukebsk (Level 8). He is an elder druid (vip)." mais no site fica "Profssion: " você poderia baixar o config ali e tentar adicionar pra mim? eu estou achando que é porque a vocação tem parenteses... ja tem a voc no jogo ta tudo certo, so nao aparece no site :/

@up

Link para o comentário
Compartilhar em outros sites

  • 0

Deixe assim seu config.php:

 

 

<?PHP
###############################
### Config Websiste by Wake ###
###############################

################################
#### Double Points System ######
################################
$config['site']['bonusPoints'] = 1; #! Quantidade de vezes a ser multiplicados os points !#


###################################
# Website by Daniel Freire (Wake)##
###################################

$config['site']['check_titles']= false;
$config['site']['allowed_titles'] = array();

$config['site']['worlds'] = array(0 => 'Titania-Global');
$config['site']['one_email'] = 1;
$config['site']['verify_code'] = 1;
$config['site']['email_days_to_change'] = 2;
$config['site']['newaccount_premdays'] = 1;
$config['site']['create_account_verify_mail'] = 0; 
$config['site']['generate_new_reckey'] = "1";
$config['site']['generate_new_reckey_price'] = 5;
$config['site']['send_mail_when_change_password'] = 0;
$config['site']['send_mail_when_generate_reckey'] = 1;
$config['site']['send_register_email'] = 1;

##############################################
####### CONFIGURAÇÃO DAS VOCAÇÕES ############
##############################################
$config['site']['newchar_vocations'][0] = array(1 => 'Sorcerer Sample', 2 => 'Druid Sample', 3 => 'Paladin Sample', 4 => 'Knight Sample');
$config['site']['newchar_vocations'][1] = array(1 => 'Sorcerer Sample', 2 => 'Druid Sample', 3 => 'Paladin Sample', 4 => 'Knight Sample');

$config['site']['newchar_towns'][0] = array(2);
$config['site']['newchar_towns'][1] = array(2);

$vocation_name[0][0] = array(0 => 'None', 1 => 'Sorcerer', 2 => 'Druid', 3 => 'Paladin', 4 => 'Knight'); 
$vocation_name[0][1] = array(1 => 'Master Sorcerer (VIP)', 2 => 'Elder Druid (VIP)', 3 => 'Royal Paladin (VIP)', 4 => 'Elite Knight (VIP)'); 
$vocation_name[1][0] = array(0 => 'None', 1 => 'Sorcerer', 2 => 'Druid', 3 => 'Paladin', 4 => 'Knight'); 
$vocation_name[1][1] = array(1 => 'Master Sorcerer (VIP)', 2 => 'Elder Druid (VIP)', 3 => 'Royal Paladin (VIP)', 4 => 'Elite Knight (VIP)'); 

#######################################
######### Cidades do Servidor #########
#######################################
$towns_list[0] = array(2 => 'Thais');

$config['site']['monsters'] = array("amazon","valkyrie","carrion worm","rotworm","rotworm queen","cockroach","kongra","merlkin","sibang","crystal spider","giant spider","poison spider","scorpion","spider","tarantula","achad","axeitus headbanger","bloodpaw","bovinus","colerian the barbarian","cursed gladiator","frostfur","orcus the cruel","rocky","the hairy one","avalanche","drasilla","grimgor guteater","kreebosh the exile","slim","spirit of earth","spirit of fire","spirit of water","the dark dancer","the hag","darakan the executioner","deathbringer","fallen mooh'tah master ghar","gnorre chyllson","norgle glacierbeard","svoren the mad","the masked marauder","the obliverator","the pit lord","webster","barbarian bloodwalker","barbarian brutetamer","barbarian headsplitter","barbarian skullhunter","bear","panda","polar bear","braindeath","beholder","elder beholder","gazer","chicken","dire penguin","flamingo","parrot","penguin","seagull","terror bird","bazir","infernatil","thul","munster","son of verminor","xenia","zoralurk","big boss trolliver","foreman kneebiter","mad technomancer","man in the cave","lord of the elements","the count","the plasmother","dracola","the abomination","the handmaiden","mr. punish","the countess sorrow","the imperor","massacre","apocalypse","brutus bloodbeard","deadeye devious","demodras","dharalion","fernfang","ferumbras","general murius","ghazbaran","grorlam","lethal lissy","morgaroth","necropharus","orshabaal","ron the ripper","the evil eye","the horned fox","the old widow","tiquandas revenge","apprentice sheng","dog","hellhound","war wolf","winter wolf","wolf","chakoya toolshaper","chakoya tribewarden","chakoya windcaller","blood crab","crab","frost giant","frost giantess","ice golem","yeti","acolyte of the cult","adept of the cult","enlightened of the cult","novice of the cult","ungreez","dark torturer","demon","destroyer","diabolic imp","fire devil","fury","hand of cursed fate","juggernaut","nightmare","plaguesmith","blue djinn","efreet","green djinn","marid","frost dragon","wyrm","sea serpent","dragon lord","dragon","hydra","dragon hatchling","dragon lord hatchling","frost dragon hatchling","dwarf geomancer","dwarf guard","dwarf soldier","dwarf","dworc fleshhunter","dworc venomsniper","dworc voodoomaster","elephant","mammoth","elf arcanist","elf scout","elf","charged energy elemental","energy elemental","massive energy elemental","overcharged energy elemental","energy overlord","cat","lion","tiger","azure frog","coral frog","crimson frog","green frog","orchid frog","toad","jagged earth elemental","muddy earth elemental","earth elemental","massive earth elemental","earth overlord","gargoyle","stone golem","ghost","phantasm","phantasm","pirate ghost","spectre","cyclops smith","cyclops drone","behemoth","cyclops","slick water elemental","roaring water elemental","ice overlord","water elemental","massive water elemental","ancient scarab","butterfly","bug","centipede","exp bug","larva","scarab","wasp","lizard sentinel","lizard snakecharmer","lizard templar","minotaur archer","minotaur guard","minotaur mage","minotaur","squirrel","goblin demon","badger","bat","deer","the halloween hare","hyaena","pig","rabbit","silver rabbit","skunk","wisp","dark monk","monk","tha exp carrier","necromancer","priestess","orc berserker","orc leader","orc rider","orc shaman","orc spearman","orc warlord","orc warrior","orc","goblin leader","goblin scavenger","goblin","goblin assassin","assasin","bandit","black knight","hero","hunter","nomad","smuggler","stalker","poacher","wild warrior","ashmunrah","dipthrah","mahrdis","morguthis","omruc","rahemos","thalas","vashresamun","pirate buccaneer","pirate corsair","pirate cutthroat","pirate marauder","carniphila","spit nettle","fire overlord","massive fire elemental","blistering fire elemental","blazing fire elemental","fire elemental","hellfire fighter","quara constrictor scout","quara hydromancer scout","quara mantassin scout","quara pincher scout","quara predator scout","quara constrictor","quara hydromancer","quara mantassin","quara pincher","quara predator","cave rat","rat","cobra","crocodile","serpent spawn","snake","wyvern","black sheep","sheep","mimic","betrayed wraith","bonebeast","demon skeleton","lost soul","pirate skeleton","skeleton","skeleton warrior","undead dragon","defiler","slime2","slime","bog raider","ice witch","warlock","witch","bones","fluffy","grynch clan goblin","hacker","minishabaal","primitive","tibia bug","undead minion","annihilon","hellgorak","latrivan","madareth","zugurosh","ushuriel","golgordan","thornback tortoise","tortoise","eye of the seven","deathslicer","flamethrower","magicthrower","plaguethrower","poisonthrower","shredderthrower","troll champion","frost troll","island troll","swamp troll","troll","banshee","blightwalker","crypt shambler","ghoul","lich","mummy","vampire","grim reaper","trainer","forest dragon","knight","paladin","druid","sorcerer","guard","mercenary","thief","toxiros","pyramo","lazarus","zathroth","goshnar","durin","demora","orc champion","lumenia","dracula","alezzo","prince almirith","elf warlord","random noob","magebomb");
$config['site']['npc'] = array('alice', 'oarkhal', 'equer', 'parkhal', 'leoric', 'sarkhal', 'pallo', 'riona', 'her miona', 'varkhal', 'eura', 'blitz', 'markhal', 'wengo', 'larkhal');


$config['site']['max_players_per_account'] = 5;
$config['site']['guild_need_level'] = 8;
$config['site']['guild_need_pacc'] = 0;
$config['site']['guild_image_size_kb'] = 200;
$config['site']['guild_description_chars_limit'] = 1000;
$config['site']['guild_description_lines_limit'] = 6;
$config['site']['guild_motd_chars_limit'] = 150;

###########################################
########## CONFIGURAÇÃO DE SMTP ###########
###########################################
$config['site']['send_emails'] = 1;
$config['site']['mail_address'] = "dolera-global@bol.com.br";
$config['site']['smtp_enabled'] = "yes";
$config['site']['smtp_host'] = "smtp.bol.com.br";
$config['site']['smtp_port'] = 587;
$config['site']['smtp_auth'] = "yes";
$config['site']['smtp_user'] = "dolera-global@bol.com.br";
$config['site']['smtp_pass'] = "carlos10";

#OPTIONS ACESS AND VIEW#
$config['site']['access_news'] = 6;
$config['site']['access_admin_panel'] = 6;
$config['site']['news_big_limit'] = 3;
$config['site']['news_ticks_limit'] = 5;
$config['site']['show_creationdate'] = 1;
$config['site']['last_deaths_limit'] = 40;
$config['site']['players_group_id_block'] = 4;
$config['site']['support_group_id'] = 2;
$config['site']['shop_system'] = 1;
$config['site']['shopguild_system'] = 1;
$config['site']['serverinfo_page'] = 1;
$config['site']['email_lai_sec_interval'] = 180;
$config['site']['screenoftheday'] = 0;

#############
## Layouts ##
#############
$config['site']['layout'] = 'tibiacom';

############################
## PagSeguro/Paypal Email ##
############################
$config['pagseguro']['email'] = 'dolera-suporte@live.com';
$config['paypal']['email'] = 'carlos-fear@hotmail.com';

## Formas de pagamento [1 = ativo | 0 = inativo] ##
$config['site']['caixa'] = 0;
$config['site']['pagseguro'] = 1;
$config['site']['paypal'] = 1;

#####################
## Nome do Produto ##
#####################
$config['pagseguro']['produtoNome'] = 'Premium Points';

#############################
######### C A I X A ########
#############################
#! Informações do pagamento com caixa economica federal !#
$config['site']['CaixaCont'] = "
C/C:
Ag:
etc..
"; 
?> 

 

 

Link para o comentário
Compartilhar em outros sites

  • 0

Deixe assim seu config.php:

 

 

<?PHP
###############################
### Config Websiste by Wake ###
###############################

################################
#### Double Points System ######
################################
$config['site']['bonusPoints'] = 1; #! Quantidade de vezes a ser multiplicados os points !#


###################################
# Website by Daniel Freire (Wake)##
###################################

$config['site']['check_titles']= false;
$config['site']['allowed_titles'] = array();

$config['site']['worlds'] = array(0 => 'Titania-Global');
$config['site']['one_email'] = 1;
$config['site']['verify_code'] = 1;
$config['site']['email_days_to_change'] = 2;
$config['site']['newaccount_premdays'] = 1;
$config['site']['create_account_verify_mail'] = 0; 
$config['site']['generate_new_reckey'] = "1";
$config['site']['generate_new_reckey_price'] = 5;
$config['site']['send_mail_when_change_password'] = 0;
$config['site']['send_mail_when_generate_reckey'] = 1;
$config['site']['send_register_email'] = 1;

##############################################
####### CONFIGURAÇÃO DAS VOCAÇÕES ############
##############################################
$config['site']['newchar_vocations'][0] = array(1 => 'Sorcerer Sample', 2 => 'Druid Sample', 3 => 'Paladin Sample', 4 => 'Knight Sample');
$config['site']['newchar_vocations'][1] = array(1 => 'Sorcerer Sample', 2 => 'Druid Sample', 3 => 'Paladin Sample', 4 => 'Knight Sample');

$config['site']['newchar_towns'][0] = array(2);
$config['site']['newchar_towns'][1] = array(2);

$vocation_name[0][0] = array(0 => 'None', 1 => 'Sorcerer', 2 => 'Druid', 3 => 'Paladin', 4 => 'Knight'); 
$vocation_name[0][1] = array(1 => 'Master Sorcerer (VIP)', 2 => 'Elder Druid (VIP)', 3 => 'Royal Paladin (VIP)', 4 => 'Elite Knight (VIP)'); 
$vocation_name[1][0] = array(0 => 'None', 1 => 'Sorcerer', 2 => 'Druid', 3 => 'Paladin', 4 => 'Knight'); 
$vocation_name[1][1] = array(1 => 'Master Sorcerer (VIP)', 2 => 'Elder Druid (VIP)', 3 => 'Royal Paladin (VIP)', 4 => 'Elite Knight (VIP)'); 

#######################################
######### Cidades do Servidor #########
#######################################
$towns_list[0] = array(2 => 'Thais');

$config['site']['monsters'] = array("amazon","valkyrie","carrion worm","rotworm","rotworm queen","cockroach","kongra","merlkin","sibang","crystal spider","giant spider","poison spider","scorpion","spider","tarantula","achad","axeitus headbanger","bloodpaw","bovinus","colerian the barbarian","cursed gladiator","frostfur","orcus the cruel","rocky","the hairy one","avalanche","drasilla","grimgor guteater","kreebosh the exile","slim","spirit of earth","spirit of fire","spirit of water","the dark dancer","the hag","darakan the executioner","deathbringer","fallen mooh'tah master ghar","gnorre chyllson","norgle glacierbeard","svoren the mad","the masked marauder","the obliverator","the pit lord","webster","barbarian bloodwalker","barbarian brutetamer","barbarian headsplitter","barbarian skullhunter","bear","panda","polar bear","braindeath","beholder","elder beholder","gazer","chicken","dire penguin","flamingo","parrot","penguin","seagull","terror bird","bazir","infernatil","thul","munster","son of verminor","xenia","zoralurk","big boss trolliver","foreman kneebiter","mad technomancer","man in the cave","lord of the elements","the count","the plasmother","dracola","the abomination","the handmaiden","mr. punish","the countess sorrow","the imperor","massacre","apocalypse","brutus bloodbeard","deadeye devious","demodras","dharalion","fernfang","ferumbras","general murius","ghazbaran","grorlam","lethal lissy","morgaroth","necropharus","orshabaal","ron the ripper","the evil eye","the horned fox","the old widow","tiquandas revenge","apprentice sheng","dog","hellhound","war wolf","winter wolf","wolf","chakoya toolshaper","chakoya tribewarden","chakoya windcaller","blood crab","crab","frost giant","frost giantess","ice golem","yeti","acolyte of the cult","adept of the cult","enlightened of the cult","novice of the cult","ungreez","dark torturer","demon","destroyer","diabolic imp","fire devil","fury","hand of cursed fate","juggernaut","nightmare","plaguesmith","blue djinn","efreet","green djinn","marid","frost dragon","wyrm","sea serpent","dragon lord","dragon","hydra","dragon hatchling","dragon lord hatchling","frost dragon hatchling","dwarf geomancer","dwarf guard","dwarf soldier","dwarf","dworc fleshhunter","dworc venomsniper","dworc voodoomaster","elephant","mammoth","elf arcanist","elf scout","elf","charged energy elemental","energy elemental","massive energy elemental","overcharged energy elemental","energy overlord","cat","lion","tiger","azure frog","coral frog","crimson frog","green frog","orchid frog","toad","jagged earth elemental","muddy earth elemental","earth elemental","massive earth elemental","earth overlord","gargoyle","stone golem","ghost","phantasm","phantasm","pirate ghost","spectre","cyclops smith","cyclops drone","behemoth","cyclops","slick water elemental","roaring water elemental","ice overlord","water elemental","massive water elemental","ancient scarab","butterfly","bug","centipede","exp bug","larva","scarab","wasp","lizard sentinel","lizard snakecharmer","lizard templar","minotaur archer","minotaur guard","minotaur mage","minotaur","squirrel","goblin demon","badger","bat","deer","the halloween hare","hyaena","pig","rabbit","silver rabbit","skunk","wisp","dark monk","monk","tha exp carrier","necromancer","priestess","orc berserker","orc leader","orc rider","orc shaman","orc spearman","orc warlord","orc warrior","orc","goblin leader","goblin scavenger","goblin","goblin assassin","assasin","bandit","black knight","hero","hunter","nomad","smuggler","stalker","poacher","wild warrior","ashmunrah","dipthrah","mahrdis","morguthis","omruc","rahemos","thalas","vashresamun","pirate buccaneer","pirate corsair","pirate cutthroat","pirate marauder","carniphila","spit nettle","fire overlord","massive fire elemental","blistering fire elemental","blazing fire elemental","fire elemental","hellfire fighter","quara constrictor scout","quara hydromancer scout","quara mantassin scout","quara pincher scout","quara predator scout","quara constrictor","quara hydromancer","quara mantassin","quara pincher","quara predator","cave rat","rat","cobra","crocodile","serpent spawn","snake","wyvern","black sheep","sheep","mimic","betrayed wraith","bonebeast","demon skeleton","lost soul","pirate skeleton","skeleton","skeleton warrior","undead dragon","defiler","slime2","slime","bog raider","ice witch","warlock","witch","bones","fluffy","grynch clan goblin","hacker","minishabaal","primitive","tibia bug","undead minion","annihilon","hellgorak","latrivan","madareth","zugurosh","ushuriel","golgordan","thornback tortoise","tortoise","eye of the seven","deathslicer","flamethrower","magicthrower","plaguethrower","poisonthrower","shredderthrower","troll champion","frost troll","island troll","swamp troll","troll","banshee","blightwalker","crypt shambler","ghoul","lich","mummy","vampire","grim reaper","trainer","forest dragon","knight","paladin","druid","sorcerer","guard","mercenary","thief","toxiros","pyramo","lazarus","zathroth","goshnar","durin","demora","orc champion","lumenia","dracula","alezzo","prince almirith","elf warlord","random noob","magebomb");
$config['site']['npc'] = array('alice', 'oarkhal', 'equer', 'parkhal', 'leoric', 'sarkhal', 'pallo', 'riona', 'her miona', 'varkhal', 'eura', 'blitz', 'markhal', 'wengo', 'larkhal');


$config['site']['max_players_per_account'] = 5;
$config['site']['guild_need_level'] = 8;
$config['site']['guild_need_pacc'] = 0;
$config['site']['guild_image_size_kb'] = 200;
$config['site']['guild_description_chars_limit'] = 1000;
$config['site']['guild_description_lines_limit'] = 6;
$config['site']['guild_motd_chars_limit'] = 150;

###########################################
########## CONFIGURAÇÃO DE SMTP ###########
###########################################
$config['site']['send_emails'] = 1;
$config['site']['mail_address'] = "dolera-global@bol.com.br";
$config['site']['smtp_enabled'] = "yes";
$config['site']['smtp_host'] = "smtp.bol.com.br";
$config['site']['smtp_port'] = 587;
$config['site']['smtp_auth'] = "yes";
$config['site']['smtp_user'] = "dolera-global@bol.com.br";
$config['site']['smtp_pass'] = "carlos10";

#OPTIONS ACESS AND VIEW#
$config['site']['access_news'] = 6;
$config['site']['access_admin_panel'] = 6;
$config['site']['news_big_limit'] = 3;
$config['site']['news_ticks_limit'] = 5;
$config['site']['show_creationdate'] = 1;
$config['site']['last_deaths_limit'] = 40;
$config['site']['players_group_id_block'] = 4;
$config['site']['support_group_id'] = 2;
$config['site']['shop_system'] = 1;
$config['site']['shopguild_system'] = 1;
$config['site']['serverinfo_page'] = 1;
$config['site']['email_lai_sec_interval'] = 180;
$config['site']['screenoftheday'] = 0;

#############
## Layouts ##
#############
$config['site']['layout'] = 'tibiacom';

############################
## PagSeguro/Paypal Email ##
############################
$config['pagseguro']['email'] = 'dolera-suporte@live.com';
$config['paypal']['email'] = 'carlos-fear@hotmail.com';

## Formas de pagamento [1 = ativo | 0 = inativo] ##
$config['site']['caixa'] = 0;
$config['site']['pagseguro'] = 1;
$config['site']['paypal'] = 1;

#####################
## Nome do Produto ##
#####################
$config['pagseguro']['produtoNome'] = 'Premium Points';

#############################
######### C A I X A ########
#############################
#! Informações do pagamento com caixa economica federal !#
$config['site']['CaixaCont'] = "
C/C:
Ag:
etc..
"; 
?> 

 

 

mano deu até certo, mais somente pros players que ja eram vip, agora se voce cria um char e compra a vip a profission dele fica como nenhuma

Link para o comentário
Compartilhar em outros sites

  • 0

mano deu até certo, mais somente pros players que ja eram vip, agora se voce cria um char e compra a vip a profission dele fica como nenhuma

Mas isso é a realidade man, se você quer que todos os players VIP's fiquem promovidos, você tem que alterar seu sistema.

Uma vez que eu fizer essa alteração somente no characters.php, ingame ele continuará sem promotion...

Ou o que pode ser feito também é uma alteração na parte de criar o char, pra se ele for vip, ele já ser criado com status promovido!

Link para o comentário
Compartilhar em outros sites

  • 0

no seu config.php a parte das voc deixa assim

 

$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[0][2] = array(1 => 'Master Sorcerer (vip)', 2 => 'Elder Druid (vip)', 3 => 'Royal Paladin (vip)', 4 => 'Elite Knight (vip)');
Link para o comentário
Compartilhar em outros sites

  • 0

$vocation_name[0][0] ~~vocação sem promotion

$vocation_name[0][1] ~~vocação com promotion

$vocation_name[0][2] ~~vocação segunda promotion

 

Espero que você tenha entendido!

cara, olha como eu deixei do jeito certo e mesmo assim fica em branco, namoral aff...

 

$vocation_name[0][1] = array(0 => 'None', 1 => 'Master Sorcerer', 2 => 'Elder Druid', 3 => 'Royal Paladin', 4 => 'Elite Knight');
$vocation_name[0][2] = array(1 => 'Master Sorcerer (VIP)', 2 => 'Elder Druid (VIP)', 3 => 'Royal Paladin (VIP)', 4 => 'Elite Knight (VIP)');
$vocation_name[0][1] = array(0 => 'None', 1 => 'Master Sorcerer', 2 => 'Elder Druid', 3 => 'Royal Paladin', 4 => 'Elite Knight');
$vocation_name[0][2] = array(1 => 'Master Sorcerer (VIP)', 2 => 'Elder Druid (VIP)', 3 => 'Royal Paladin (VIP)', 4 => 'Elite Knight (VIP)');
Link para o comentário
Compartilhar em outros sites

  • 0

 

cara, olha como eu deixei do jeito certo e mesmo assim fica em branco, namoral aff...

 

$vocation_name[0][1] = array(0 => 'None', 1 => 'Master Sorcerer', 2 => 'Elder Druid', 3 => 'Royal Paladin', 4 => 'Elite Knight');
$vocation_name[0][2] = array(1 => 'Master Sorcerer (VIP)', 2 => 'Elder Druid (VIP)', 3 => 'Royal Paladin (VIP)', 4 => 'Elite Knight (VIP)');
$vocation_name[0][1] = array(0 => 'None', 1 => 'Master Sorcerer', 2 => 'Elder Druid', 3 => 'Royal Paladin', 4 => 'Elite Knight');
$vocation_name[0][2] = array(1 => 'Master Sorcerer (VIP)', 2 => 'Elder Druid (VIP)', 3 => 'Royal Paladin (VIP)', 4 => 'Elite Knight (VIP)');

 

 

 

no seu config.php a parte das voc deixa assim

 

$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[0][2] = array(1 => 'Master Sorcerer (vip)', 2 => 'Elder Druid (vip)', 3 => 'Royal Paladin (vip)', 4 => 'Elite Knight (vip)');

 

preciso nem dizer mais nada né? /\/\/\/\/\/\/\/\

Link para o comentário
Compartilhar em outros sites

  • 0

está do jeito que ele falou, porem nao vai do mesmo jeito

amigo verifica se o chares com vip estão com promotion 2 ou com as vocações das promotion.

Link para o comentário
Compartilhar em outros sites

  • 0

seu script
$vocation_name[0][1] = array(0 => 'None', 1 => 'Master Sorcerer', 2 => 'Elder Druid', 3 => 'Royal Paladin', 4 => 'Elite Knight');
$vocation_name[0][2] = array(1 => 'Master Sorcerer (VIP)', 2 => 'Elder Druid (VIP)', 3 => 'Royal Paladin (VIP)', 4 => 'Elite Knight (VIP)');
$vocation_name[0][1] = array(0 => 'None', 1 => 'Master Sorcerer', 2 => 'Elder Druid', 3 => 'Royal Paladin', 4 => 'Elite Knight');
$vocation_name[0][2] = array(1 => 'Master Sorcerer (VIP)', 2 => 'Elder Druid (VIP)', 3 => 'Royal Paladin (VIP)', 4 => 'Elite Knight (VIP)');

mitsung script
$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[0][2] = array(1 => 'Master Sorcerer (vip)', 2 => 'Elder Druid (vip)', 3 => 'Royal Paladin (vip)', 4 => 'Elite Knight (vip)');

me diz a diferença entre os 2, só prestar a atenção, você mesmo vai ver e rir de você mesmo!
aqui eu so dou o conhecimento só você prestar atenção que você consegue!



 


ele tem que aprender com os erros!

Editado por Piabeta
Link para o comentário
Compartilhar em outros sites

  • 0

amigo, eu ja vi meu erro eu ja arrumei e deixei igual o mitsuig falou, porem o player está vip e fica so "elder druid"

 

esses sao os ids da voc vip

<vocation id="5" name="Master Sorcerer (VIP)"

<vocation id="6" name="Elder Druid (VIP)"

<vocation id="7" name="Royal Paladin (VIP)"

<vocation id="8" name="Elite Knight (VIP)"

Link para o comentário
Compartilhar em outros sites

  • 0

amigo, eu ja vi meu erro eu ja arrumei e deixei igual o mitsuig falou, porem o player está vip e fica so "elder druid"

 

esses sao os ids da voc vip

<vocation id="5" name="Master Sorcerer (VIP)"

<vocation id="6" name="Elder Druid (VIP)"

<vocation id="7" name="Royal Paladin (VIP)"

<vocation id="8" name="Elite Knight (VIP)"

então vamos la pq ta tudo errado, vocaçoes normais vao de 1 a 4 sem promotion, 5 a 8 com promotion e 9 a 12 com segunda vocação, para usar esse sistema seu npc de promoção tem que dar second promotion ou seja (promotion, cid 2),logo então é um erro do seu sistema de segunda promoção!

Link para o comentário
Compartilhar em outros sites

×
×
  • Criar Novo...