L2JMobius

C6 Baium spawn

Strelook66 · 4 · 4686

Offline Strelook66

  • Knight
  • ***
    • Posts: 82
Hi,

There is an issue with the spawning of Baium. When I enter the zone and talk with the statue of Baium and hit "Wake Baium" I get the following error:

Quote
[23/08 22:42:35] Updated Baium(29020) status to 1
[23/08 22:42:35] Could not spawn Npc 29020
[23/08 22:42:36] null

And obviously, he wont spawn, but the statue dissapears. When i restart the server I get these erros:

Quote
[23/08 22:53:04] Could not spawn Npc 29020
java.lang.reflect.InvocationTargetException
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
   at java.lang.reflect.Method.invoke(Unknown Source)
   at com.l2jserver.script.java.JavaScriptEngine.evalClass(JavaScriptEngine.java:464)
   at com.l2jserver.script.java.JavaScriptEngine.eval(JavaScriptEngine.java:116)
   at com.l2jserver.script.java.JavaScriptEngine.eval(JavaScriptEngine.java:122)
   at com.l2jmobius.gameserver.scripting.L2ScriptEngineManager.executeScript(L2ScriptEngineManager.java:504)
   at com.l2jmobius.gameserver.scripting.L2ScriptEngineManager.executeScript(L2ScriptEngineManager.java:420)
   at com.l2jmobius.gameserver.scripting.L2ScriptEngineManager.executeScriptsList(L2ScriptEngineManager.java:206)
   at com.l2jmobius.gameserver.GameServer.main(GameServer.java:463)
Caused by: java.lang.NullPointerException
   at ai.bosses.Baium.<init>(Baium.java:151)
   at ai.bosses.Baium.main(Baium.java:673)
   ... 11 more
[23/08 22:53:04] Failed executing script: D:\Lineage_2_Build\L2Server\game\data\scripts\ai\bosses\Baium.java. See Baium.java.error.LOGGER for details.

And the logger says the following:

Quote
Error on: D:\Lineage_2_Build\L2Server\game\data\scripts\ai\bosses\Baium.java.error.LOGGER
Line: -1 - Column: -1

java.lang.reflect.InvocationTargetException

I checked the grandboss_data and the status is correct (1), yet it wont spawn.

Any ideas?


Offline Strelook66

  • Knight
  • ***
    • Posts: 82
After a lot of searching, I found the problem. In the npc sql table, for some reason the type for Baium was incorrect. I added the correct Instance type, in this case for me was L2GrandBoss and it worked. Can close this topic.


Online G-hamsteR

  • Viscount
  • *****
    • Posts: 328
There is no L2GrandBoss. Just GrandBoss. Are you sure that it's working?

You can also try these SQL queries:

Code: [Select]
DELETE FROM npc WHERE id = 29020 OR id = 29021;
INSERT INTO `npc` VALUES ('29020', '29020', 'Baium', 0, '', 0, 'Monster.baium', 65.00, 174.00, 75, 'male', 'GrandBoss', 40, 1709400, 16377, 668.78, 3.09, 60, 57, 73, 76, 70, 80, 10253400, 1081544, 5488, 5412, 3605, 3283, 230, 0, 3819, 0, 0, 0, 117, 176, 'baium_clan', '3000', '0', '12', 'FULL_PARTY');
INSERT INTO `npc` VALUES ('29021', '29021', 'Archangel', 0, '', 0, 'Monster.archangel', '15.00', '60.00', 74, 'male', 'Monster', 60, '186915', '1342', '158', '3.00', 40, 43, 30, 21, 20, 20, 6571, 343, '2255', '8326', '606', '2500', 230, 500, 3819, 93, 0, 0, 117, 176, 'baium_clan', '3000', '0', '12', 'FULL_PARTY');


Online Mobius

  • Distinguished King
  • *****
    • Posts: 16015