- 0
This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and 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..
Question
CyReal
Hello world!
I'm trying to install weapons set to my HF server, and GS says this:
java.lang.IllegalArgumentException: Enum value of type l2p.gameserver.templates.
item.EtcItemTemplate$EtcItemTyperequired, but found: null!
at l2p.commons.collections.MultiValueSet.getEnum(Mult iValueSet.java:279)
at l2p.gameserver.templates.item.EtcItemTemplate.(Unk nown Source)
at l2p.gameserver.data.xml.parser.ItemParser.readData (Unknown Source)
at l2p.commons.data.xml.AbstractParser.parseDocument( AbstractParser.java
:36)
at l2p.commons.data.xml.AbstractParser.parseCrypted(A bstractParser.java:
40)
at l2p.commons.data.xml.AbstractDirParser.parse(Abstr actDirParser.java:4
5)
at l2p.commons.data.xml.AbstractParser.load(AbstractP arser.java:56)
at l2p.gameserver.data.xml.Parsers.parseAll(Unknown Source)
at l2p.gameserver.GameServer.(Unknown Source)
at l2p.gameserver.GameServer.main(Unknown Source)
Item xml example:
<set name="default_action" val="equip" />
<set name="weapon_type" val="sword" />
<set name="bodypart" val="rhand" />
<set name="random_damage" val="10" />
<set name="attack_range" val="40" />
<set name="damage_range" val="0;0;40;120" />
<set name="immediate_effect" val="1" />
<set name="crystal_count" val="9872" />
<set name="crystal_type" val="s84" />
<set name="material" val="steel" />
<set name="weight" val="1520" />
<set name="price" val="205668000" />
<set name="change_weaponId" val="32011" />
<set name="soulshots" val="1" />
<set name="spiritshots" val="1" />
<set name="element_enabled" val="1" />
<set name="enchant_enabled" val="1" />
<for>
<set order="0x08" stat="pAtk" val="452" />
<set order="0x08" stat="mAtk" val="204" />
<set order="0x08" stat="rCrit" val="8" />
<set order="0x08" stat="pAtkSpd" val="379" />
<enchant val="0" order="0x0C" stat="pAtk" />
<enchant val="0" order="0x0C" stat="mAtk" />
</for>
</item>
Build LRServ. High Five.
Can somebody give any hook? Thanks.
1 answer to this question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now