Welcome!

Join our community of MMORPG enthusiasts and private server developers! By registering, you'll gain access to in-depth discussions on source codes, binaries, and the latest developments in MMORPG server files. Collaborate with like-minded individuals, explore tutorials, and share insights on building and optimizing private servers. Join us today and unlock the full potential of MMORPG server development!

Join Today!

[help]NPC Buffer error L2J 

Junior Spellweaver
Joined
Jun 4, 2006
Messages
127
Reaction score
1
Location
Lithuania
Is GS console I keep getting this error:
Code:
WARNING
java.lang.NullPointerException
        at net.sf.l2j.gameserver.model.actor.instance.L2PcInstance.useMagic(L2Pc
Instance.java:7209)
        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 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.PyObject.invoke(Unknown Source)
        at data.jscript.custom.9999_NPCBuffer$py.onEvent$3(C:\Documents and Sett
ings\UniQue\Desktop\L2J Viskas\Interlude\Serveris\l2j-gameserver\data\jscript\cu
stom\9999_NPCBuffer\__init__.py:142)
        at data.jscript.custom.9999_NPCBuffer$py.call_function(C:\Documents and
Settings\UniQue\Desktop\L2J Viskas\Interlude\Serveris\l2j-gameserver\data\jscrip
t\custom\9999_NPCBuffer\__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.9999_NPCBuffer$Quest$282.onEve
nt(Unknown Source)
        at net.sf.l2j.gameserver.model.quest.Quest.onAdvEvent(Quest.java:366)
        at net.sf.l2j.gameserver.model.quest.Quest.notifyEvent(Quest.java:312)
        at net.sf.l2j.gameserver.model.actor.instance.L2PcInstance.processQuestE
vent(L2PcInstance.java:1426)
        at net.sf.l2j.gameserver.clientpackets.RequestBypassToServer.runImpl(Req
uestBypassToServer.java:271)
        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)
And In the client:
"Script Error"
 
check for the errors on line 142

In what file?

This is my 142 Line
Code:
				st.getPlayer().useMagic(SkillTable.getInstance().getInfo(9913,1),False,False)

Is it right?
 
Last edited by a moderator:
Upvote 0
Back