Jump to content
  • 0

Question

Posted (edited)

Hi everyine. I try to add R items and i get sme errors in GS when i try to adding into my server. My server have L2jserver (high five).

Anyne know how to fix that?

This is error

Cannot create item 43204
java.lang.reflect.InvocationTargetException
        at com.l2jserver.gameserver.engines.items.DocumentItem.makeItem(DocumentItem.java:175)
        at com.l2jserver.gameserver.engines.items.DocumentItem.parseItem(DocumentItem.java:133)
        at com.l2jserver.gameserver.engines.items.DocumentItem.parseDocument(DocumentItem.java:85)
        at com.l2jserver.gameserver.engines.DocumentBase.parse(DocumentBase.java:161)
        at com.l2jserver.gameserver.engines.DocumentEngine.loadItems(DocumentEngine.java:124)
        at com.l2jserver.gameserver.datatables.ItemTable.load(ItemTable.java:128)
        at com.l2jserver.gameserver.datatables.ItemTable.<init>(ItemTable.java:119)
        at com.l2jserver.gameserver.datatables.ItemTable$SingletonHolder.<clinit>(ItemTable.java:418)
        at com.l2jserver.gameserver.datatables.ItemTable.getInstance(ItemTable.java:114)
        at com.l2jserver.gameserver.GameServer.<init>(GameServer.java:204)
        at com.l2jserver.gameserver.GameServer.main(GameServer.java:455)
Caused by: java.lang.reflect.InvocationTargetException
        at sun.reflect.GeneratedConstructorAccessor104.newInstance(Unknown Source)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
        at java.lang.reflect.Constructor.newInstance(Unknown Source)
        at com.l2jserver.gameserver.engines.items.DocumentItem.makeItem(DocumentItem.java:171)
        ... 10 more
Caused by: java.lang.IllegalArgumentException: Enum value of type com.l2jserver.gameserver.model.items.type.MaterialType required, but found: bronze
        at com.l2jserver.gameserver.model.StatsSet.getEnum(StatsSet.java:553)
        at com.l2jserver.gameserver.model.items.L2Item.<init>(L2Item.java:171)
        at com.l2jserver.gameserver.model.items.L2Armor.<init>(L2Armor.java:44)
        ... 14 more

this error it is in Items. Thank you

Edited by criss22

1 answer to this question

Recommended Posts

  • 0
Posted

Item with id 43204 have got wrong material type, you have put "bronze" but you can only put values that can be seen in MaterialType enum

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


×
×
  • Create New...

Important Information

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..