This is a good share but I've a problem with L2J Interlude version (GS:rev.4347 ; DP:rev.7596)
when i talk with the npc i see a "Script Error" in the game and this error in the gameserver console :
Traceback (innermost last):
File "C:\L2j\gameserver\data\jscript\custom\855_SubclassNpc\__init__.py", line
715, in onFirstTalk
File "C:\L2j\gameserver\data\jscript\custom\855_SubclassNpc\__init__.py", line
97, in MainHtml
File "C:\L2j\gameserver\data\jscript\custom\855_SubclassNpc\__init__.py", line
386, in getsubsammount
File "C:\L2j\gameserver\data\jscript\custom\855_SubclassNpc\__init__.py", line
369, in getVar
TypeError: getConnection(): expected 0 args; got 1
at org.python.core.Py.TypeError(Unknown Source)
at org.python.core.PyReflectedFunction.throwError(Unknown Source)
at org.python.core.PyReflectedFunction.throwArgCountError(Unknown Source
)
at org.python.core.PyReflectedFunction.throwError(Unknown Source)
at org.python.core.PyReflectedFunction.__call__(Unknown Source)
at org.python.core.PyMethod.__call__(Unknown Source)
at org.python.core.PyObject.__call__(Unknown Source)
at org.python.core.PyInstance.invoke(Unknown Source)
at data.jscript.custom.855_SubclassNpc$py.getVar$14(C:\L2j\gameserver\da
ta\jscript\custom\855_SubclassNpc\__init__.py:369)
at data.jscript.custom.855_SubclassNpc$py.call_function(C:\L2j\gameserve
r\data\jscript\custom\855_SubclassNpc\__init__.py)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyFunction.__call__(Unknown Source)
at data.jscript.custom.855_SubclassNpc$py.getsubsammount$15(C:\L2j\games
erver\data\jscript\custom\855_SubclassNpc\__init__.py:386)
at data.jscript.custom.855_SubclassNpc$py.call_function(C:\L2j\gameserve
r\data\jscript\custom\855_SubclassNpc\__init__.py)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyFunction.__call__(Unknown Source)
at data.jscript.custom.855_SubclassNpc$py.MainHtml$1(C:\L2j\gameserver\d
ata\jscript\custom\855_SubclassNpc\__init__.py:97)
at data.jscript.custom.855_SubclassNpc$py.call_function(C:\L2j\gameserve
r\data\jscript\custom\855_SubclassNpc\__init__.py)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyFunction.__call__(Unknown Source)
at data.jscript.custom.855_SubclassNpc$py.onFirstTalk$28(C:\L2j\gameserv
er\data\jscript\custom\855_SubclassNpc\__init__.py:715)
at data.jscript.custom.855_SubclassNpc$py.call_function(C:\L2j\gameserve
r\data\jscript\custom\855_SubclassNpc\__init__.py)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyFunction.__call__(Unknown Source)
at org.python.core.PyMethod.__call__(Unknown Source)
at org.python.core.PyObject.__call__(Unknown Source)
at org.python.core.PyObject._jcallexc(Unknown Source)
at org.python.core.PyObject._jcall(Unknown Source)
at org.python.proxies.data.jscript.custom.855_SubclassNpc$Quest$311.onFi
rstTalk(Unknown Source)
at net.sf.l2j.gameserver.model.quest.Quest.notifyFirstTalk(Quest.java:32
2)
at net.sf.l2j.gameserver.model.actor.instance.L2NpcInstance.onAction(L2N
pcInstance.java:663)
at net.sf.l2j.gameserver.clientpackets.Action.runImpl(Action.java:94)
at net.sf.l2j.gameserver.clientpackets.L2GameClientPacket.run(L2GameClie
ntPacket.java:79)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source
)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Any idea for the fix ? ???
P.S.
Instead your other npc ( AIO Grand Master) workly ;)
--------------------------------------------------------------------------------------------------------------------------------
Oh yeah I fix it !!! Now workly !!! :D
I removed "none" from the getConnection(none) method call ..... thanks to this post [Request] Top 50 PVP/PK 8)