Jump to content
  • 0

Adicionando custom no server (Rev L2jMega)


Majoris

Question

Olá, 

Estou tentando adicionar um set novo em meu projeto, porém, percebi que junto do set vem um arquivo sql com os comandos de insert.

INSERT INTO `armor` VALUES ('11100', 'Sacrifice Helm', 'head', 'true', 'none', '570', 'fine_steel', 's', '0', '-1', '69', '0', '0', '0', '0', 'true', 'true', 'true', 'true', '0', '0');
INSERT INTO `armor` VALUES ('11101', 'Sacrifice Plate Armor', 'fullarmor', 'true', 'heavy', '9780', 'leather', 's', '0', '-1', '278', '0', '0', '0', '0', 'true', 'true', 'true', 'true', '0', '0');
INSERT INTO `armor` VALUES ('11102', 'Sacrifice Gauntlet - Heavy Armor', 'gloves', 'true', 'none', '580', 'leather', 's', '0', '-1', '46', '0', '0', '0', '0', 'true', 'true', 'true', 'true', '0', '0');
INSERT INTO `armor` VALUES ('11103', 'Sacrifice Solleret - Heavy Armor', 'feet', 'true', 'none', '1130', 'blood_steel', 's', '0', '-1', '46', '0', '0', '0', '0', 'true', 'true', 'true', 'true', '0', '0');
INSERT INTO `armor` VALUES ('11106', 'Sacrifice Boots - Robe', 'feet', 'true', 'none', '1130', 'blood_steel', 's', '0', '-1', '46', '0', '0', '0', '0', 'true', 'true', 'true', 'true', '0', '0');
INSERT INTO `armor` VALUES ('11107', 'Sacrifice Brigandine', 'fullarmor', 'true', 'light', '5400', 'leather', 's', '0', '-1', '209', '0', '0', '0', '0', 'true', 'true', 'true', 'true', '0', '0');
INSERT INTO `armor` VALUES ('11108', 'Sacrifice Leather Gloves - Light Armor', 'gloves', 'true', 'none', '580', 'leather', 's', '0', '-1', '46', '0', '0', '0', '0', 'true', 'true', 'true', 'true', '0', '0');
INSERT INTO `armor` VALUES ('11109', 'Sacrifice Boots - Light Armor', 'feet', 'true', 'none', '1130', 'blood_steel', 's', '0', '-1', '46', '0', '0', '0', '0', 'true', 'true', 'true', 'true', '0', '0');
INSERT INTO `armor` VALUES ('11104', 'Sacrifice Doublet', 'fullarmor', 'true', 'magic', '2450', 'leather', 's', '0', '-1', '139', '0', '665', '0', '0', 'true', 'true', 'true', 'true', '0', '0');
INSERT INTO `armor` VALUES ('11105', 'Sacrifice Silk Gloves - Robe', 'gloves', 'true', 'none', '580', 'leather', 's', '0', '-1', '46', '0', '0', '0', '0', 'true', 'true', 'true', 'true', '0', '0');

 

Mas observei que no meu banco de dados não possui a tabela armor, então tentei adicionar todos os outros arquivos (info de skill e armor .xml, texturas, armorgrp e itemname) vi que o servidor lê o arquivo na lista de sets cadastrados, mas que não chama a armadura para a bolsa de equipamentos. 

Alguém pode me orientar no que pode estar errado?

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0
2 horas atrás, Majoris disse:

Olá, 

Estou tentando adicionar um set novo em meu projeto, porém, percebi que junto do set vem um arquivo sql com os comandos de insert.

INSERT INTO `armor` VALUES ('11100', 'Sacrifice Helm', 'head', 'true', 'none', '570', 'fine_steel', 's', '0', '-1', '69', '0', '0', '0', '0', 'true', 'true', 'true', 'true', '0', '0');
INSERT INTO `armor` VALUES ('11101', 'Sacrifice Plate Armor', 'fullarmor', 'true', 'heavy', '9780', 'leather', 's', '0', '-1', '278', '0', '0', '0', '0', 'true', 'true', 'true', 'true', '0', '0');
INSERT INTO `armor` VALUES ('11102', 'Sacrifice Gauntlet - Heavy Armor', 'gloves', 'true', 'none', '580', 'leather', 's', '0', '-1', '46', '0', '0', '0', '0', 'true', 'true', 'true', 'true', '0', '0');
INSERT INTO `armor` VALUES ('11103', 'Sacrifice Solleret - Heavy Armor', 'feet', 'true', 'none', '1130', 'blood_steel', 's', '0', '-1', '46', '0', '0', '0', '0', 'true', 'true', 'true', 'true', '0', '0');
INSERT INTO `armor` VALUES ('11106', 'Sacrifice Boots - Robe', 'feet', 'true', 'none', '1130', 'blood_steel', 's', '0', '-1', '46', '0', '0', '0', '0', 'true', 'true', 'true', 'true', '0', '0');
INSERT INTO `armor` VALUES ('11107', 'Sacrifice Brigandine', 'fullarmor', 'true', 'light', '5400', 'leather', 's', '0', '-1', '209', '0', '0', '0', '0', 'true', 'true', 'true', 'true', '0', '0');
INSERT INTO `armor` VALUES ('11108', 'Sacrifice Leather Gloves - Light Armor', 'gloves', 'true', 'none', '580', 'leather', 's', '0', '-1', '46', '0', '0', '0', '0', 'true', 'true', 'true', 'true', '0', '0');
INSERT INTO `armor` VALUES ('11109', 'Sacrifice Boots - Light Armor', 'feet', 'true', 'none', '1130', 'blood_steel', 's', '0', '-1', '46', '0', '0', '0', '0', 'true', 'true', 'true', 'true', '0', '0');
INSERT INTO `armor` VALUES ('11104', 'Sacrifice Doublet', 'fullarmor', 'true', 'magic', '2450', 'leather', 's', '0', '-1', '139', '0', '665', '0', '0', 'true', 'true', 'true', 'true', '0', '0');
INSERT INTO `armor` VALUES ('11105', 'Sacrifice Silk Gloves - Robe', 'gloves', 'true', 'none', '580', 'leather', 's', '0', '-1', '46', '0', '0', '0', '0', 'true', 'true', 'true', 'true', '0', '0');

 

Mas observei que no meu banco de dados não possui a tabela armor, então tentei adicionar todos os outros arquivos (info de skill e armor .xml, texturas, armorgrp e itemname) vi que o servidor lê o arquivo na lista de sets cadastrados, mas que não chama a armadura para a bolsa de equipamentos. 

Alguém pode me orientar no que pode estar errado?

qual rev, aCis ?
Para a aCis, não precisa do SQL, você tem que ter um xml na pasta item e colocar também no arquivo armorSet.xml

  • Like 1

Apenas um aprendiz

Link to comment
Share on other sites


  • 0
2 horas atrás, Majoris disse:

Olá, 

Estou tentando adicionar um set novo em meu projeto, porém, percebi que junto do set vem um arquivo sql com os comandos de insert.

INSERT INTO `armor` VALUES ('11100', 'Sacrifice Helm', 'head', 'true', 'none', '570', 'fine_steel', 's', '0', '-1', '69', '0', '0', '0', '0', 'true', 'true', 'true', 'true', '0', '0');
INSERT INTO `armor` VALUES ('11101', 'Sacrifice Plate Armor', 'fullarmor', 'true', 'heavy', '9780', 'leather', 's', '0', '-1', '278', '0', '0', '0', '0', 'true', 'true', 'true', 'true', '0', '0');
INSERT INTO `armor` VALUES ('11102', 'Sacrifice Gauntlet - Heavy Armor', 'gloves', 'true', 'none', '580', 'leather', 's', '0', '-1', '46', '0', '0', '0', '0', 'true', 'true', 'true', 'true', '0', '0');
INSERT INTO `armor` VALUES ('11103', 'Sacrifice Solleret - Heavy Armor', 'feet', 'true', 'none', '1130', 'blood_steel', 's', '0', '-1', '46', '0', '0', '0', '0', 'true', 'true', 'true', 'true', '0', '0');
INSERT INTO `armor` VALUES ('11106', 'Sacrifice Boots - Robe', 'feet', 'true', 'none', '1130', 'blood_steel', 's', '0', '-1', '46', '0', '0', '0', '0', 'true', 'true', 'true', 'true', '0', '0');
INSERT INTO `armor` VALUES ('11107', 'Sacrifice Brigandine', 'fullarmor', 'true', 'light', '5400', 'leather', 's', '0', '-1', '209', '0', '0', '0', '0', 'true', 'true', 'true', 'true', '0', '0');
INSERT INTO `armor` VALUES ('11108', 'Sacrifice Leather Gloves - Light Armor', 'gloves', 'true', 'none', '580', 'leather', 's', '0', '-1', '46', '0', '0', '0', '0', 'true', 'true', 'true', 'true', '0', '0');
INSERT INTO `armor` VALUES ('11109', 'Sacrifice Boots - Light Armor', 'feet', 'true', 'none', '1130', 'blood_steel', 's', '0', '-1', '46', '0', '0', '0', '0', 'true', 'true', 'true', 'true', '0', '0');
INSERT INTO `armor` VALUES ('11104', 'Sacrifice Doublet', 'fullarmor', 'true', 'magic', '2450', 'leather', 's', '0', '-1', '139', '0', '665', '0', '0', 'true', 'true', 'true', 'true', '0', '0');
INSERT INTO `armor` VALUES ('11105', 'Sacrifice Silk Gloves - Robe', 'gloves', 'true', 'none', '580', 'leather', 's', '0', '-1', '46', '0', '0', '0', '0', 'true', 'true', 'true', 'true', '0', '0');

 

Mas observei que no meu banco de dados não possui a tabela armor, então tentei adicionar todos os outros arquivos (info de skill e armor .xml, texturas, armorgrp e itemname) vi que o servidor lê o arquivo na lista de sets cadastrados, mas que não chama a armadura para a bolsa de equipamentos. 

Alguém pode me orientar no que pode estar errado?


PAsta xml itens weapon ou armor custom abre um la vai na ultima linha copia aque codigo do item e altera o o id e status do seu item novo

Link to comment
Share on other sites

  • 0
Em 08/12/2024 at 22:11, pioneer disse:

qual rev, aCis ?
Para a aCis, não precisa do SQL, você tem que ter um xml na pasta item e colocar também no arquivo armorSet.xml

Sim, é aCis. 

 

O set sacrifice não consegui instalar, mas coloquei o set Ice, porém quando eu crio ele, ao dar restart, o set desaparece da bag do char. Porque isso esta acontecendo?

Link to comment
Share on other sites

  • 0
1 hora atrás, Majoris disse:

Sim, é aCis. 

 

O set sacrifice não consegui instalar, mas coloquei o set Ice, porém quando eu crio ele, ao dar restart, o set desaparece da bag do char. Porque isso esta acontecendo?

Restart no char ou no server ?

Você tem que reiniciar/desligar o servidor pelo painel do admin, se fechar diretamente o  console não ira salvar.

Edited by pioneer

Apenas um aprendiz

Link to comment
Share on other sites

  • 0
1 minuto atrás, pioneer disse:

Restart no char ou no server ?

Você tem que reiniciar/desligar o servidor pelo painel do admin, se fechar diretamente o  console não ira salvar.

Quando eu dou restart no char. Eu tenho ela, chego a vestir, mas quando dou restart no char, na seleção de char ele já aparece sem o set, e ele some da bag.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...



×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.