Ta ai um modo de criar seu npc , mais rapido e fácil
, boa sorte!
1º Vamos Criar A Sql Do seu Npc.
. Abra Seu Navicat, Va Na Tabela "NPC" Clique Com O botão Direito Nela Va Ate em "Dump Sql File" Escolha
Um lugar Para Salvar O Arquivo e Clique Em salvar.
. Logo Depois Va Onde Vc Salvou O Arquivo "NPC" Escolha Um Npc , Copie-o, Abra O Bloco De Notas Cole, E Mude
A 12ª Linha Para "L2Merchant" ( Pra Quem tiver Duvida E A linha "Type" Normalmente L2Monter, L2Pet....etc.)Mude A 1ª Linha Q E a Linha Da "ID" Do "NPC" Coloque Uma Inexistente Em Sua db. Se Desejar Mude A Linha INSERT INTO `npc` VALUES e Coloque INSERT INTO `custom_npc` VALUES.
Ex: INSERT INTO `custom_npc` VALUES ('111741', '35629', 'Lidia von Hellmann', '0', 'Mercenary', '0', 'Monster3.lidia_von_helmann', '10.00', '25.40', '73', 'male', 'L2Merchant', '40', '25000', '1493', '11.85', '2.78', '40', '43', '30', '21', '20', '10', '0', '0', '4000', '2250', '2000', '2000', '500', '0', '720', '8209', '8209', '0', '88', '132', null, '0', '0', '0', 'LAST_HIT');
Logo Depois SALVE, Não Se Esqueca De salvar Com a Extensão ".sql", e EXECUTE Em Seu Navicat ( Pra Quem tem Duvida , Abra Seu Navicat, Botão Direito Nele "Execute Batch File", E veja Se Deu Certo, Se De Errado, Confira A ID dele.)
2º Agora VAmos Criar A Htm Do Seu Npc.
. Para Não Complicar Seus PACOVÀ Copie A HTM Do Npc Q vou Deixar Aqui E salve Em Seu PC, Pra Toda Vez Q for Fazer Um Npc Merchant Ja Ta com Ele PRATICAMENTE PRONTO.
Vamos La entao.
<html>
<body>
<center>
<br><center><font color="007700">NPC SHOP S</font></center>
<br><br>
<br><img src="L2.Sparta" width=260 height=1>
<br><center><font color="007700">GRADE S ITENS</font></center>
<br><button value="SET DRACONIC" action="bypass -h npc_%objectId%_multisell 01" width=204 height=14 back="sek.cbui36" fore="sek.cbui72">
<br><button value="SET MAJOR ARCANA" action="bypass -h npc_%objectId%_multisell 02" width=204 height=14 back="sek.cbui36" fore="sek.cbui72">
<br><button value="SET IMPERIAL CRUSADER" action="bypass -h npc_%objectId%_multisell 03" width=204 height=14 back="sek.cbui36" fore="sek.cbui72">
<br><button value="JOIAS S" action="bypass -h npc_%objectId%_multisell 80123" width=204 height=14 back="sek.cbui36" fore="sek.cbui72">
<center>
<center>
</body>
</html>
Galera Lembrando Q Isso E so Um exemplo, Vcs Podem Fazer O q Quiserem. Essa E a HTM de UM NPC SHOP Q Uso,
Com Essa HTM Vcs Podem Fazer O q Quiserem.
. Copie A HTM Cole No Bloco de Notas E Salve Com A ID DO NPC Q VC FEZ Seguido de ".htm". Depois Copie e Va em Gameserver/dist/data/html/Merchant E cole A htm Do NPC
AKI.
3. Agora Vamos A Multisell Do Npc ( A PARTE MAIS FACIL )
. Essa e SIMPLES, Siga Esse Tuto AKi
http://www.l2jbrasil.com/index.php?showtopic=5
A Multisell Fazer Manualmente Eu Acho Perca De tempo, VC Aprende, Mais Demora PAKAS.
. Feito Sua Multisell, Ex. Vc fez 3 Multisells e Salvou-as Com Os Numeros 11,12 e 13. Salve-as Em Gamesever/dist/data/multisell, depois Va Na HTM do NPC q VC Criou E Coloque O numero de Suas Multsells Em Seus Devidos Lugares
<html>
<body>
<center>
<br><center><font color="007700">NPC SHOP S</font></center>
<br><br>
<br><img src="L2.Sparta" width=260 height=1>
<br><center><font color="007700">GRADE S ITENS</font></center>
<br><button value="SET DRACONIC" action="bypass -h npc_%objectId%_multisell 11" width=204 height=14 back="sek.cbui36" fore="sek.cbui72">
<br><button value="SET MAJOR ARCANA" action="bypass -h npc_%objectId%_multisell 12" width=204 height=14 back="sek.cbui36" fore="sek.cbui72">
<br><button value="SET IMPERIAL CRUSADER" action="bypass -h npc_%objectId%_multisell 13" width=204 height=14 back="sek.cbui36" fore="sek.cbui72">
<br><button value="JOIAS S" action="bypass -h npc_%objectId%_multisell 80123" width=204 height=14 back="sek.cbui36" fore="sek.cbui72">
<center>
<center>
</body>
</html>
Depois De Toda Essa Complicação Para Fazer Um Npc, Ligue Seu Server E de //Spawn No Npc Q vc Criou.
Créditos : Creditos:
Tuto "Fazendo Sua Multisell" KELVIN
And

1º Vamos Criar A Sql Do seu Npc.
. Abra Seu Navicat, Va Na Tabela "NPC" Clique Com O botão Direito Nela Va Ate em "Dump Sql File" Escolha
Um lugar Para Salvar O Arquivo e Clique Em salvar.
. Logo Depois Va Onde Vc Salvou O Arquivo "NPC" Escolha Um Npc , Copie-o, Abra O Bloco De Notas Cole, E Mude
A 12ª Linha Para "L2Merchant" ( Pra Quem tiver Duvida E A linha "Type" Normalmente L2Monter, L2Pet....etc.)Mude A 1ª Linha Q E a Linha Da "ID" Do "NPC" Coloque Uma Inexistente Em Sua db. Se Desejar Mude A Linha INSERT INTO `npc` VALUES e Coloque INSERT INTO `custom_npc` VALUES.
Ex: INSERT INTO `custom_npc` VALUES ('111741', '35629', 'Lidia von Hellmann', '0', 'Mercenary', '0', 'Monster3.lidia_von_helmann', '10.00', '25.40', '73', 'male', 'L2Merchant', '40', '25000', '1493', '11.85', '2.78', '40', '43', '30', '21', '20', '10', '0', '0', '4000', '2250', '2000', '2000', '500', '0', '720', '8209', '8209', '0', '88', '132', null, '0', '0', '0', 'LAST_HIT');
Logo Depois SALVE, Não Se Esqueca De salvar Com a Extensão ".sql", e EXECUTE Em Seu Navicat ( Pra Quem tem Duvida , Abra Seu Navicat, Botão Direito Nele "Execute Batch File", E veja Se Deu Certo, Se De Errado, Confira A ID dele.)
2º Agora VAmos Criar A Htm Do Seu Npc.
. Para Não Complicar Seus PACOVÀ Copie A HTM Do Npc Q vou Deixar Aqui E salve Em Seu PC, Pra Toda Vez Q for Fazer Um Npc Merchant Ja Ta com Ele PRATICAMENTE PRONTO.
Vamos La entao.
<html>
<body>
<center>
<br><center><font color="007700">NPC SHOP S</font></center>
<br><br>
<br><img src="L2.Sparta" width=260 height=1>
<br><center><font color="007700">GRADE S ITENS</font></center>
<br><button value="SET DRACONIC" action="bypass -h npc_%objectId%_multisell 01" width=204 height=14 back="sek.cbui36" fore="sek.cbui72">
<br><button value="SET MAJOR ARCANA" action="bypass -h npc_%objectId%_multisell 02" width=204 height=14 back="sek.cbui36" fore="sek.cbui72">
<br><button value="SET IMPERIAL CRUSADER" action="bypass -h npc_%objectId%_multisell 03" width=204 height=14 back="sek.cbui36" fore="sek.cbui72">
<br><button value="JOIAS S" action="bypass -h npc_%objectId%_multisell 80123" width=204 height=14 back="sek.cbui36" fore="sek.cbui72">
<center>
<center>
</body>
</html>
Galera Lembrando Q Isso E so Um exemplo, Vcs Podem Fazer O q Quiserem. Essa E a HTM de UM NPC SHOP Q Uso,
Com Essa HTM Vcs Podem Fazer O q Quiserem.
. Copie A HTM Cole No Bloco de Notas E Salve Com A ID DO NPC Q VC FEZ Seguido de ".htm". Depois Copie e Va em Gameserver/dist/data/html/Merchant E cole A htm Do NPC
AKI.
3. Agora Vamos A Multisell Do Npc ( A PARTE MAIS FACIL )
. Essa e SIMPLES, Siga Esse Tuto AKi
http://www.l2jbrasil.com/index.php?showtopic=5
A Multisell Fazer Manualmente Eu Acho Perca De tempo, VC Aprende, Mais Demora PAKAS.
. Feito Sua Multisell, Ex. Vc fez 3 Multisells e Salvou-as Com Os Numeros 11,12 e 13. Salve-as Em Gamesever/dist/data/multisell, depois Va Na HTM do NPC q VC Criou E Coloque O numero de Suas Multsells Em Seus Devidos Lugares
<html>
<body>
<center>
<br><center><font color="007700">NPC SHOP S</font></center>
<br><br>
<br><img src="L2.Sparta" width=260 height=1>
<br><center><font color="007700">GRADE S ITENS</font></center>
<br><button value="SET DRACONIC" action="bypass -h npc_%objectId%_multisell 11" width=204 height=14 back="sek.cbui36" fore="sek.cbui72">
<br><button value="SET MAJOR ARCANA" action="bypass -h npc_%objectId%_multisell 12" width=204 height=14 back="sek.cbui36" fore="sek.cbui72">
<br><button value="SET IMPERIAL CRUSADER" action="bypass -h npc_%objectId%_multisell 13" width=204 height=14 back="sek.cbui36" fore="sek.cbui72">
<br><button value="JOIAS S" action="bypass -h npc_%objectId%_multisell 80123" width=204 height=14 back="sek.cbui36" fore="sek.cbui72">
<center>
<center>
</body>
</html>
Depois De Toda Essa Complicação Para Fazer Um Npc, Ligue Seu Server E de //Spawn No Npc Q vc Criou.
Créditos : Creditos:
Tuto "Fazendo Sua Multisell" KELVIN
And
Editado por um moderador: