Page 1 of 1

gs-error: "error creating custom NPC table"

Posted: Sat May 09, 2009 11:48 am
by Cresceus
If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision Number: 2944
L2JDP Revision Number: 5991

Hello everybody,

may someone tell me how i can solve this error?

i used search: "error creating custom NPC table", but with no results.

Code: Select all

[...]L2World: Setting up World RegionsL2World: (96 by 136) World Region Grid set up.Initializing GrandBossManagerGrandBossManager: Loaded 7 InstancesDone: loaded 407 zones.Initializing CastleManagerInitializing FortManagerSearching clan halls doors:DoorTable: Loaded 689 Door Templates.StaticObject: Loaded 29 StaticObject Templates.NpcTable: Loaded 8649 NPC templates.>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>[color=#FF0000]NPCTable: Error creating custom NPC table.java.lang.IllegalArgumentException: String value required, but not specified        at net.sf.l2j.gameserver.templates.StatsSet.getString(StatsSet.java:372)         at net.sf.l2j.gameserver.templates.chars.L2NpcTemplate.<init>(L2NpcTemplate.java:154)        at net.sf.l2j.gameserver.datatables.NpcTable.fillNpcTable(NpcTable.java:397)        at net.sf.l2j.gameserver.datatables.NpcTable.restoreNpcData(NpcTable.java:110)        at net.sf.l2j.gameserver.datatables.NpcTable.<init>(NpcTable.java:65)        at net.sf.l2j.gameserver.datatables.NpcTable.getInstance(NpcTable.java:56)        at net.sf.l2j.gameserver.model.entity.Fort.initNpcs(Fort.java:1205)        at net.sf.l2j.gameserver.model.entity.Fort.<init>(Fort.java:270)        at net.sf.l2j.gameserver.instancemanager.FortManager.load(FortManager.java:96)        at net.sf.l2j.gameserver.instancemanager.FortManager.getInstance(FortManager.java:40)        at net.sf.l2j.gameserver.model.actor.instance.L2DoorInstance.getFort(L2DoorInstance.java:338)        at net.sf.l2j.gameserver.datatables.DoorTable.parseList(DoorTable.java:222)        at net.sf.l2j.gameserver.model.entity.Castle.loadDoor(Castle.java:848)        at net.sf.l2j.gameserver.model.entity.Castle.<init>(Castle.java:273)        at net.sf.l2j.gameserver.instancemanager.CastleManager.load(CastleManager.java:103)        at net.sf.l2j.gameserver.instancemanager.CastleManager.getInstance(CastleManager.java:44)        at net.sf.l2j.gameserver.datatables.MerchantPriceConfigTable.parseMerchantPriceConfig(MerchantPriceConfigTable.java:172)        at net.sf.l2j.gameserver.datatables.MerchantPriceConfigTable.loadXML(MerchantPriceConfigTable.java:114)        at net.sf.l2j.gameserver.datatables.MerchantPriceConfigTable.<init>(MerchantPriceConfigTable.java:64)        at net.sf.l2j.gameserver.datatables.MerchantPriceConfigTable.getInstance(MerchantPriceConfigTable.java:50)        at net.sf.l2j.gameserver.GameServer.<init>(GameServer.java:228)        at net.sf.l2j.gameserver.GameServer.main(GameServer.java:540)[/color]>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>CustomDropList: Added 12 custom droplist.NpcTable: Loaded 437 Minions.MerchantPriceConfigTable: Loaded 28 merchant price configs.DayNightSpawnManager: Day/Night handler initializedSpawnTable: Loaded 39875 Npc Spawn Locations.CustomSpawnTable: Loaded 224 Npc Spawn Locations.Loaded: 21 fortressInitializing FortSiegeManagerRestored 1 clans from the database.Loaded: 9 castlesMerchantPriceConfigTable: Loaded 28 merchant price configs.TradeController: Loaded 677 Buylists.TradeController: Loaded 10 Custom Buylists.Initializing InstanceManagerMultiverse Instance createdUniverse Instance createdNpcBufferSkillIdsTable: Loaded 2 buffers and 64 skills.RecipeController: Loaded 910 recipes.PetSkillsTable: Loaded 1766 skills.ArmorSetsTable: Loaded 128 armor sets.ArmorSetsTable: Loaded 0 Custom armor sets.FishTable: Loaded 270 Fishes.SkillSpellbookTable: Loaded 460 Spellbooks.CharTemplateTable: Loaded 103 Character Templates.Cache[HTML]: Running lazy cacheCache[Crest]: 0,000MB on 0 files loaded. (Forget Time: 300s , Capacity: 50)HennaTable: Loaded 180 Templates.HennaTreeTable: Loaded 8136 Henna Tree Templates.Helper Buff Table: Loaded 17 Templates.Geodata Engine: Disabled.[...]
The problem seems to be in the custom tables i guess. but what can i do?

i updated to the latest revisions. db is updated too, without any problems. but on gs-start up this error occures.

i would be thankfull for any advise.

regards
cresceus

Re: gs-error: "error creating custom NPC table"

Posted: Sat May 09, 2009 11:56 am
by janiii
did you install custom tables when you was installing the l2jdb ?

Re: gs-error: "error creating custom NPC table"

Posted: Sat May 09, 2009 12:03 pm
by Cresceus
yes i did. the same problem.

now i dropped all custom tables (before that i make a backup) and i installed the custom tables again.
now the error is disappeared, but the custom tables are empty.

i bet that the error will occure again when i load the custom-sql-scripts and the tables are filled with data.


i will try and post the result.

Re: gs-error: "error creating custom NPC table"

Posted: Sat May 09, 2009 12:32 pm
by Cresceus
Well the problem is solved.

the whole thing was because of this entry in the custom_npc table:

Code: Select all

INSERT INTO `custom_npc` VALUES ('0', '0', null, '0', '', '0', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, '0', '0', 'LAST_HIT', '0', '0', '0', 'fighter', 'false');
i don't know where this entry comes from.


thank you very much for your quick response anyway, janiii! :)