Malefic 2 Posted April 19, 2016 Boas pessoal ,estou a tentar implantar umas Coisas Aqui no meu cliente e files e tenho tido algumas dificuldades ao Implantar Por exemplo um NPC , tipo eu sei como localizar o diretorio onde devo por as cenas do NPC ,neste caso é npc2 , meto da o ficheiro do NPC ,mas depois não sei como atualizar o XML ,onde vou buscar as linhas que tenho de adicionar ao XML do NPC2. Se alguém me puder ajudar com este NPC depois já sei fazer o resto Share this post Link to post Share on other sites
rafaelxte2 38 Posted April 19, 2016 Filho esse codigo Isere esse no seu mob_proto do cliente descompactado xml <Mob vnum="ID QUE DESEJA" name="'??'" locale_name="NOME DO NPC" type="1" rank="5" battle_type="0" level="70" size="0" gold_min="0" gold_max="0" exp="562" max_hp="3954" regen_cycle="3" regen_percent="1" def="79" ai_flag="0" setRaceFlag="0" setImmuneFlag="0" st="0" dx="0" ht="0" iq="0" damage_min="0" damage_max="0" attack_speed="100" move_speed="100" aggressive_hp_pct="0" aggressive_sight="2000" attack_range="150" enchant_curse="0" enchant_slow="0" enchant_poison="0" enchant_stun="0" enchant_critical="0" enchant_penetrate="0" resist_sword="0" resist_twohand="0" resist_dagger="0" resist_bell="0" resist_fan="0" resist_bow="0" resist_fire="0" resist_elect="0" resist_magic="0" resist_wind="0" resist_poison="0" resurrection_vnum="0" drop_item="0" on_click="1" empire="0" folder="''" dam_multiply="0.000000" summon="0" drain_sp="0" mob_color="0" polymorph_item="0" skill_vnum0="0" skill_level0="0" skill_vnum1="0" skill_level1="0" skill_vnum2="0" skill_level2="0" skill_vnum3="0" skill_level3="0" skill_vnum4="0" skill_level4="0" sp_berserk="0" sp_stoneskin="0" sp_godspeed="0" sp_deathblow="0" sp_revive="0" /> este seguinte é a querry para o navicat INSERT INTO `mob_proto` (`vnum`, `name`, `locale_name`, `rank`, `type`, `battle_type`, `level`, `size`, `ai_flag`, `mount_capacity`, `setRaceFlag`, `setImmuneFlag`, `empire`, `folder`, `on_click`, `st`, `dx`, `ht`, `iq`, `damage_min`, `damage_max`, `max_hp`, `regen_cycle`, `regen_percent`, `gold_min`, `gold_max`, `exp`, `def`, `attack_speed`, `move_speed`, `aggressive_hp_pct`, `aggressive_sight`, `attack_range`, `drop_item`, `resurrection_vnum`, `enchant_curse`, `enchant_slow`, `enchant_poison`, `enchant_stun`, `enchant_critical`, `enchant_penetrate`, `resist_sword`, `resist_twohand`, `resist_dagger`, `resist_bell`, `resist_fan`, `resist_bow`, `resist_fire`, `resist_elect`, `resist_magic`, `resist_wind`, `resist_poison`, `dam_multiply`, `summon`, `drain_sp`, `mob_color`, `polymorph_item`, `skill_level0`, `skill_vnum0`, `skill_level1`, `skill_vnum1`, `skill_level2`, `skill_vnum2`, `skill_level3`, `skill_vnum3`, `skill_level4`, `skill_vnum4`, `sp_berserk`, `sp_stoneskin`, `sp_godspeed`, `sp_deathblow`, `sp_revive`) VALUES (ID QUE DESEJA, ''??', 'NOME DO NPC', 5, 1, 0, 70, '0', '0', 0, '0', '0', 0, '', 1, 0, 0, 0, 0, 0, 0, 3954, 3, 1, 0, 0, 562, 79, 100, 100, 0, 2000, 150, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.000000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); depois é só carergar seu mob_proto.txt caso suas files use o txt se nao so reiniciar o server Share this post Link to post Share on other sites
Malefic 2 Posted April 19, 2016 podes me dar o teu skype para te poder mandar o que acontece e o que pede ? Share this post Link to post Share on other sites
rafaelxte2 38 Posted April 19, 2016 podes me dar o teu skype para te poder mandar o que acontece e o que pede ? agora estou no trabalho Share this post Link to post Share on other sites
Malefic 2 Posted April 23, 2016 alguem pode ajudar ? Share this post Link to post Share on other sites
Wolvarinhas 107 Posted April 23, 2016 So precisas de adicionar na base de dados e as coordenadas nos respetivos mapas que tu queres colocar.... Esse NPC e NPC2 e so a estrutura/animações/textura Share this post Link to post Share on other sites
Malefic 2 Posted April 26, 2016 Pois adicionar na base de dados e que me esta a dar mal Share this post Link to post Share on other sites