Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

L2J [help]NPC Buffer error

Junior Spellweaver
Joined
Jun 4, 2006
Messages
127
Reaction score
1
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"
 
Junior Spellweaver
Joined
Jun 4, 2006
Messages
127
Reaction score
1
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
Top