Jump to content
  • 0

L2jHellas: Couldn't load the NPC list?


Question

Posted (edited)
  1. Good afternoon everyone. I need your help for troubleshooting the following error:
ItemTable: Loaded 1014 Armors.
ItemTable: Loaded 6880 Items.
ItemTable: Loaded 1313 Weapons.
ItemTable: Highest item Id used: 9208
ArmorSetsData: Loaded 51 armor sets.
ArmorSetsData: Loaded 51 custom armor sets.
SummonItems Loaded: 14 items.
SoulCrystalsTable: Loaded 39 SC(s) data and 124 NPC(s) data.
=======================================================================-[ Npc ]
NpcData: Loaded 6533 npc templates.
NpcData: Loaded 6548 npc templates.
NpcData: Loaded 0 custom droplist.
NpcData: Players droplist was cached.
Exception in thread "main" java.lang.ExceptionInInitializerError
        at com.l2jhellas.gameserver.datatables.sql.NpcData.getInstance(NpcData.java:740)
        at com.l2jhellas.gameserver.GameServer.<init>(GameServer.java:187)
        at com.l2jhellas.gameserver.GameServer.main(GameServer.java:468)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 119
        at com.l2jhellas.gameserver.datatables.sql.NpcData.restoreNpcData(NpcData.java:350)
        at com.l2jhellas.gameserver.datatables.sql.NpcData.<init>(NpcData.java:57)
        at com.l2jhellas.gameserver.datatables.sql.NpcData$SingletonHolder.<clinit>(NpcData.java:745)
        ... 3 more


I've tried to run a clear installation of the database, recompiled the pack, but without any changes, from the original work.
This happened suddenly and unexpectedly. I am running stock L2JHellas coding.

Looking forward for your help.

Edited by xFranky

6 answers to this question

Recommended Posts

  • 0
Posted
4 hours ago, DenArt Designs said:

@AbsolutePower

you can report such bugs here https://l2jhellas.com/ :)

I did. I just wanted to get it sorted soon before my hair becomes white from getting pissed off about it :p Thank you for advice :)

  • 0
Posted
21 minutes ago, Tryskell said:

What is that line ?

Thank you for your reply.

 

The line is the following:

Quote

npc.addTeachInfo(ClassId.values()[classId]);

 

The code is available at:

https://subversion.assembla.com/svn/l2hellas/trunk/L2JHellasC/java/com/l2jhellas/gameserver/datatables/sql/NpcData.java

 

 

  • 0
Posted
1 hour ago, Tryskell said:

What is that line ?

Sorry for the double post. This quote was actually really helpful because I found the route of my problem.

This error is involved with the skill_learn.xml or skill_learn in db. I added my old work, and since it was old, the class_id was going greater than 118, and that was causing that error.

Even though the problem is now solved, it would be nice to have a safety and working layer on loading.

 

 

This topic can be locked, since the problem is solved!

 

Thank you Tryskell

  • 0
Posted

That's cool you manage to find error logic by yourself. :)

 

Not sure about the usefulness of a safety, it's up to the static data to be valid - and thrown error is normally enough to debug.

  • Like 1
Guest
This topic is now closed to further replies.


  • Posts

    • just with this extender that I have shared it is not possible to start with c4 client, you have to make some changes to the extender and it works with c4 client perfectly. regarding the updates in this last revision   🔹dll is not packaged with vmprotect   New custom zone types have been added: 🔹 NO_NOBLESS begin MinX=84638 MaxX=92616 MinY=-87170 MaxY=-82018 MinZ=-6000 MaxZ=0 Type=NO_NOBLESS KickOutPos=83007/148057/-3464 end   ▶️ This zone checks if the character is noble. If it does not meet the condition, it will be automatically kicked to the indicated position (KickOutPos). 🔹 CUSTOM_SPAWN_ZONE begin MinX=77275 MaxX=85704 MinY=10122 MaxY=18066 MinZ=-8000 MaxZ=5000 Type=CUSTOM_SPAWN_ZONE OutPos=83007/148057/-3464 Spawns={{82984/18066/-5256}};{{79275/15147/-5248}};{{82922/14263/-5256}};{{83704/10122/-5288}} end ▶️ This zone allows characters, upon death, to respawn with full buff, CP, HP and MP if they press “Fixed”. They will only be able to revive in one of the positions defined in Spawns. 🔧 Both zones are fully configurable from territorydata.txt
    • Could you tell me what changed in this update?   more one question: Is it possible to log in through the c4 client instead of interlude? That would be great  
    • ➡ Discount for your purchase: JULY2025 (11% discount) ➡ Our Online Shop: https://socnet.store  ➡ Our SMM-Boosting Panel: https://socnet.pro  ➡ Telegram Shop Bot: https://socnet.shop  ➡ Telegram Support: https://t.me/solomon_bog  ➡ Telegram Channel: https://t.me/accsforyou_shop  ➡ Discord Support: @AllSocialNetworksShop  ➡ Discord Server: https://discord.gg/y9AStFFsrh  ➡ WhatsApp Support: https://wa.me/79051904467 ➡ WhatsApp Channel: https://whatsapp.com/channel/0029Vau0CMX002TGkD4uHa2n  ➡ Email Support: solomonbog@socnet.store 
    • ➡ Discount for your purchase: JULY2025 (11% discount) ➡ Our Online Shop: https://socnet.store  ➡ Our SMM-Boosting Panel: https://socnet.pro  ➡ Telegram Shop Bot: https://socnet.shop  ➡ Telegram Support: https://t.me/solomon_bog  ➡ Telegram Channel: https://t.me/accsforyou_shop  ➡ Discord Support: @AllSocialNetworksShop  ➡ Discord Server: https://discord.gg/y9AStFFsrh  ➡ WhatsApp Support: https://wa.me/79051904467 ➡ WhatsApp Channel: https://whatsapp.com/channel/0029Vau0CMX002TGkD4uHa2n  ➡ Email Support: solomonbog@socnet.store 
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock