Jump to content
Sign in to follow this  
MVD123

Как Добавить Например Какой Ни Будь Армор, Если У Тебя В Базе Навикат Нет Таблицы Armor

Recommended Posts

В датапаке у меня есть только 1 путь это /data/stats/armor... Как добавить армор то?

Share this post


Link to post
Share on other sites

Значит смотри armor в сборке в xml.

  • Upvote 1

Share this post


Link to post
Share on other sites

В датапаке у меня есть только 1 путь это /data/stats/armor... Как добавить армор то?

Как ето нет таблицы Армор ? ))

Сборка ?

Share this post


Link to post
Share on other sites

Значит смотри armor в сборке в xml.

да я добавил вещи в xml формате в датапак но мне вот такую ошибку выдаёт при загрузке гс.

Error in file D:\la2VT\gameserver\data\stats\armor\67000-67099.xml
java.lang.NullPointerException
	at com.l2dc.gameserver.skills.DocumentItem.applySetValues(DocumentItem.j
ava:330)
	at com.l2dc.gameserver.skills.DocumentItem.parseItem(DocumentItem.java:2
20)
	at com.l2dc.gameserver.skills.DocumentArmor.parseItem(DocumentArmor.java
:88)
	at com.l2dc.gameserver.skills.DocumentItem.parseDocument(DocumentItem.ja
va:185)
	at com.l2dc.gameserver.skills.DocumentBase.parse(DocumentBase.java:144)
	at com.l2dc.gameserver.skills.SkillsEngine.loadDataArmor(SkillsEngine.ja
va:145)
	at com.l2dc.gameserver.skills.SkillsEngine.loadArmors(SkillsEngine.java:
112)
	at com.l2dc.gameserver.datatables.ItemTable.load(ItemTable.java:95)
	at com.l2dc.gameserver.datatables.ItemTable.<init>(ItemTable.java:88)
	at com.l2dc.gameserver.datatables.ItemTable.<init>(ItemTable.java:51)
	at com.l2dc.gameserver.datatables.ItemTable$SingletonHolder.<clinit>(Ite
mTable.java:477)
	at com.l2dc.gameserver.datatables.ItemTable.getInstance(ItemTable.java:7
0)
	at com.l2dc.gameserver.GameServer.<init>(GameServer.java:148)
	at com.l2dc.gameserver.GameServer.main(GameServer.java:490)

Edited by MVD123

Share this post


Link to post
Share on other sites

Заполняй правельно -смотри как в других и делай также. + Скилы и арморсет тоже.

  • Upvote 1

Share this post


Link to post
Share on other sites

Заполняй правельно -смотри как в других и делай также. + Скилы и арморсет тоже.

Вот как я заполнил, что тут не правильного то ? %)

<?xml version="1.0" encoding="utf-8"?>
<list>
<item id='67000' name="Cloak of Aden">
 <for>
   <add val='20' order='0x10' stat='pDef'/>
   <enchant val='0' order='0x0C' stat='pDef'/>
 </for>
</item>
<item id='67001' name="Cloak of Dion">
 <for>
   <add val='20' order='0x10' stat='pDef'/>
   <enchant val='0' order='0x0C' stat='pDef'/>
 </for>
</item>
<item id='67002' name="Cloak of Giran">
 <for>
   <add val='20' order='0x10' stat='pDef'/>
   <enchant val='0' order='0x0C' stat='pDef'/>
 </for>
</item>
<item id='67003' name="Cloak of Gludio">
 <for>
   <add val='20' order='0x10' stat='pDef'/>
   <enchant val='0' order='0x0C' stat='pDef'/>
 </for>
</item>
<item id='67004' name="Cloak of Goddard">
 <for>
   <add val='20' order='0x10' stat='pDef'/>
   <enchant val='0' order='0x0C' stat='pDef'/>
 </for>
</item>
<item id='67005' name="Cloak of Innadril">
 <for>
   <add val='20' order='0x10' stat='pDef'/>
   <enchant val='0' order='0x0C' stat='pDef'/>
 </for>
</item>
<item id='67006' name="Cloak of Oren">
 <for>
   <add val='20' order='0x10' stat='pDef'/>
   <enchant val='0' order='0x0C' stat='pDef'/>
 </for>
</item>
<item id='67007' name="Cloak of Rune">
 <for>
   <add val='20' order='0x10' stat='pDef'/>
   <enchant val='0' order='0x0C' stat='pDef'/>
 </for>
</item>
<item id='67008' name="Cloak of Schuttgart">
 <for>
   <add val='20' order='0x10' stat='pDef'/>
   <enchant val='0' order='0x0C' stat='pDef'/>
 </for>
</item>
<item id='67009' name="Lighting Cloak">
 <for>
   <add val='20' order='0x10' stat='pDef'/>
   <enchant val='0' order='0x0C' stat='pDef'/>
 </for>
</item>
<item id="67010" name="Red Cloak of 300">
 <for>
   <add val="0" order="0x10" stat="pDef"/>
 </for>
</item>
<item id='67011' name="Super-Man Cape">
 <for>
   <add val='20' order='0x10' stat='pDef'/>
   <enchant val='0' order='0x0C' stat='pDef'/>
 </for>
</item>
<item id='67012' name="BatMan Cape">
 <for>
   <add val='20' order='0x10' stat='pDef'/>
   <enchant val='0' order='0x0C' stat='pDef'/>
 </for>
</item>
<item id='67013' name="Green Lantern Cape">
 <for>
   <add val='20' order='0x10' stat='pDef'/>
   <enchant val='0' order='0x0C' stat='pDef'/>
 </for>
</item>
<item id='67014' name="Sacrifice Cape">
 <for>
   <add val='20' order='0x10' stat='pDef'/>
   <enchant val='0' order='0x0C' stat='pDef'/>
 </for>
</item>
<item id='67015' name="Admins Cloak">
 <for>
   <add val='20' order='0x10' stat='pDef'/>
   <enchant val='0' order='0x0C' stat='pDef'/>
 </for>
</item>
<item id='67016' name="Antharas Cloak">
 <for>
   <add val='20' order='0x10' stat='pDef'/>
   <enchant val='0' order='0x0C' stat='pDef'/>
 </for>
</item>
<item id='67017' name="Cloak of Zaken">
 <for>
   <add val='20' order='0x10' stat='pDef'/>
   <enchant val='0' order='0x0C' stat='pDef'/>
 </for>
</item>
<item id='67018' name="Cloak of Freya">
 <for>
   <add val='20' order='0x10' stat='pDef'/>
   <enchant val='0' order='0x0C' stat='pDef'/>
 </for>
</item>
<item id='67019' name="Cloak of Frintezza">
 <for>
   <add val='20' order='0x10' stat='pDef'/>
   <enchant val='0' order='0x0C' stat='pDef'/>
 </for>
</item>
<item id='67020' name="Knights Cloak">
 <for>
   <add val='20' order='0x10' stat='pDef'/>
   <enchant val='0' order='0x0C' stat='pDef'/>
 </for>
</item>
<item id='67021' name="Archers Cloak">
 <for>
   <add val='20' order='0x10' stat='pDef'/>
   <enchant val='0' order='0x0C' stat='pDef'/>
 </for>
</item>
<item id='67022' name="Enchanters Cloak">
 <for>
   <add val='20' order='0x10' stat='pDef'/>
   <enchant val='0' order='0x0C' stat='pDef'/>
 </for>
</item>
<item id='67023' name="Healers Cloak">
 <for>
   <add val='20' order='0x10' stat='pDef'/>
   <enchant val='0' order='0x0C' stat='pDef'/>
 </for>
</item>
<item id='67024' name="Rouges Cloak">
 <for>
   <add val='20' order='0x10' stat='pDef'/>
   <enchant val='0' order='0x0C' stat='pDef'/>
 </for>
</item>
<item id='67025' name="Warriors Cloak">
 <for>
   <add val='20' order='0x10' stat='pDef'/>
   <enchant val='0' order='0x0C' stat='pDef'/>
 </for>
</item>
<item id='67026' name="Summoners Cloak">
 <for>
   <add val='20' order='0x10' stat='pDef'/>
   <enchant val='0' order='0x0C' stat='pDef'/>
 </for>
</item>
<item id='67027' name="Wizards Cloak">
 <for>
   <add val='20' order='0x10' stat='pDef'/>
   <enchant val='0' order='0x0C' stat='pDef'/>
 </for>
</item>
</list>

Share this post


Link to post
Share on other sites

Поправил xml всё загрузилось, но в игре пишу ID например 67000 а он мне дает, но в инвентаре плаща нету :(

b92eec85609e.jpg

Почему? хотя я всё сделал в armorgrp.dat и itemname-e.dat :(

Share this post


Link to post
Share on other sites

Вот мой плащ

<?xml version="1.0" encoding="utf-8"?>
<list>
<item id='67000' name="Cloak of Aden">
<set name="type2" val="accessory"/>
 <cond msgId="2453">
 <or>
     <!-- Heavy -->
     <player active_skill_id="8284"/> <!-- Vesper Noble Heavy Armor Set -->
     <player active_skill_id="8302"/> <!-- Vesper Noble Heavy Armor Set for Adults -->
     <player active_skill_id="3412"/> <!-- Dynasty Breast Plate -->
     <player active_skill_id="3348"/> <!-- Dynasty Breast Plate - Shield Master -->
     <player active_skill_id="3349"/> <!-- Dynasty Breast Plate - Weapon Master -->
     <player active_skill_id="3350"/> <!-- Dynasty Breast Plate - Force Master -->
     <player active_skill_id="3351"/> <!-- Dynasty Breast Plate - Bard -->
     <player active_skill_id="3636"/> <!-- Dynasty Platinum Plate - Shield Master -->
     <player active_skill_id="3637"/> <!-- Dynasty Platinum Plate - Weapon Master -->
     <player active_skill_id="3639"/> <!-- Dynasty Platinum Plate - Force Master -->
     <player active_skill_id="3638"/> <!-- Dynasty Platinum Plate - Bard -->
     <player active_skill_id="8202"/> <!-- Dynasty Breastplate - PvP -->
     <player active_skill_id="8203"/> <!-- Dynasty Breastplate - PvP Shield Master -->
     <player active_skill_id="8204"/> <!-- Dynasty Breastplate - PvP Weapon Master -->
     <player active_skill_id="8205"/> <!-- Dynasty Breastplate - PvP Force Master -->
     <player active_skill_id="8206"/> <!-- Dynasty Breastplate - PvP Bard -->
     <player active_skill_id="8219"/> <!-- Dynasty Platinum Breastplate - PvP Shield Master -->
     <player active_skill_id="8220"/> <!-- Dynasty Platinum Breastplate - PvP Weapon Master -->
     <player active_skill_id="8222"/> <!-- Dynasty Platinum Breastplate - PvP Force Master -->
     <player active_skill_id="8221"/> <!-- Dynasty Platinum Breastplate - PvP Bard -->
     <!-- Light -->
     <player active_skill_id="8286"/> <!-- Vesper Noble Leather Breastplate -->
     <player active_skill_id="8304"/> <!-- Vesper Noble Leather Breastplate {PvP} -->
     <player active_skill_id="3413"/> <!-- Dynasty Leather Armor -->
     <player active_skill_id="3352"/> <!-- Dynasty Leather Armor - Dagger Master -->
     <player active_skill_id="3353"/> <!-- Dynasty Leather Armor - Bow Master -->
     <player active_skill_id="3414"/> <!-- Dynasty Leather Armor - Force Master -->
     <player active_skill_id="3415"/> <!-- Dynasty Leather Armor - Weapon Master -->
     <player active_skill_id="3355"/> <!-- Dynasty Leather Armor - Enchanter -->
     <player active_skill_id="3420"/> <!-- Dynasty Leather Armor - Summoner -->
     <player active_skill_id="8225"/> <!-- Dynasty Jewel Leather Armor - PvP Force Master -->
     <player active_skill_id="8226"/> <!-- Dynasty Jewel Leather Armor - PvP Weapon Master -->
     <player active_skill_id="8228"/> <!-- Dynasty Jewel Leather Armor - PvP Enchanter -->
     <player active_skill_id="8227"/> <!-- Dynasty Jewel Leather Armor - PvP -->
     <player active_skill_id="8207"/> <!-- Dynasty Leather Armor - PvP -->
     <player active_skill_id="8208"/> <!-- Dynasty Leather Armor - PvP Dagger Master -->
     <player active_skill_id="8209"/> <!-- Dynasty Leather Armor - PvP Bow Master -->
     <player active_skill_id="3640"/> <!-- Dynasty Jewel Leather Mail Dagger Master -->
     <player active_skill_id="3641"/> <!-- Dynasty Jewel Leather Mail Bow Master -->
     <player active_skill_id="3642"/> <!-- Dynasty Jeweled Leather Armor Force Master -->
     <player active_skill_id="3643"/> <!-- Dynasty Jeweled Leather Armor Weapon Master -->
     <player active_skill_id="3646"/> <!-- Dynasty Jeweled Leather Armor Enchanter -->
     <player active_skill_id="3644"/> <!-- Dynasty Jeweled Leather Armor Summoner -->
     <player active_skill_id="8215"/> <!-- Dynasty Leather Armor - PvP Force Master -->
     <player active_skill_id="8216"/> <!-- Dynasty Leather Armor - PvP Weapon Master -->
     <player active_skill_id="8217"/> <!-- Dynasty Leather Armor - PvP Enchanter -->
     <player active_skill_id="8218"/> <!-- Dynasty Leather Armor - PvP Summoner -->
     <player active_skill_id="8223"/> <!-- Dynasty Jewel Leather Armor - PvP Dagger Master -->
     <player active_skill_id="8224"/> <!-- Dynasty Jewel Leather Armor - PvP Bow Master -->
     <!-- Robe -->
     <player active_skill_id="8288"/> <!-- Vesper Noble Tunic -->
     <player active_skill_id="8306"/> <!-- Vesper Noble Tunic {PvP} -->
     <player active_skill_id="3416"/> <!-- Dynasty Tunic -->
     <player active_skill_id="3354"/> <!-- Dynasty Tunic - Healer -->
     <player active_skill_id="3355"/> <!-- Dynasty Tunic - Enchanter -->
     <player active_skill_id="3356"/> <!-- Dynasty Tunic - Summoner -->
     <player active_skill_id="3357"/> <!-- Dynasty Tunic - Human Wizard -->
     <player active_skill_id="3645"/> <!-- Dynasty Silver Satin Tunic Healer -->
     <player active_skill_id="3646"/> <!-- Dynasty Silver Satin Tunic Enchanter -->
     <player active_skill_id="3647"/> <!-- Dynasty Silver Satin Tunic Summoner -->
     <player active_skill_id="3648"/> <!-- Dynasty Silver Satin Tunic Human Wizard -->
     <player active_skill_id="8229"/> <!-- Dynasty Silver Satin Tunic - PvP Healer -->
     <player active_skill_id="8230"/> <!-- Dynasty Silver Satin Tunic - PvP Enchanter -->
     <player active_skill_id="8231"/> <!-- Dynasty Silver Satin Tunic - PvP Summoner -->
     <player active_skill_id="8232"/> <!-- Dynasty Silver Satin Tunic - PvP Wizard -->
     <player active_skill_id="8210"/> <!-- Dynasty Tunic - PvP -->
     <player active_skill_id="8211"/> <!-- Dynasty Tunic - PvP Healer -->
     <player active_skill_id="8212"/> <!-- Dynasty Tunic - PvP Enchanter -->
     <player active_skill_id="8213"/> <!-- Dynasty Tunic - PvP Summoner -->
     <player active_skill_id="8214"/> <!-- Dynasty Tunic - PvP Wizard -->
   </or>
</cond>
 <set name="bodypart" val="back"/>
 <set name="weight" val="220"/>
 <set name="material" val="cloth"/>
 <set name="crystal_type" val="s84"/>
 <set name="price" val="28671000"/>
 <set name="enchantable" val="false"/>
 <for>
   <add  order='0x10' stat="pDef" val="20"/>
   <enchant  order='0x0C' stat="pDef" val="0"/>
 </for>
</item>

</list>

В чём ошибка то ? :(

Share this post


Link to post
Share on other sites

ааа всё ясно проверил armorgrp.dat а там этого плаща оказывается вообще нет, dat editor не сохраняет сволочь )

Share this post


Link to post
Share on other sites

ребят, вопрос, а у меня вообще нет в навикате armor и веапон, что делать то, так должно на хтмлках работать чтоли?

 

Edited by LineageTime

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...