Jump to content

Question

Posted

hello guys when i add buffer scripts to my server when game server try to load it , it gives me error

 

__init__.py.error

Error on: C:\Users\Marwan\Desktop\L2Mghmron\game\data\scripts\custom\16000_NpcBuffer\__init__.py
Line: -1 - Column: -1

javax.script.ScriptException: Traceback (innermost last):
  File "__init__.py", line 2, in ?
ImportError: no module named l2jserver

at com.sun.script.jython.JythonScriptEngine.evalCode(JythonScriptEngine.java:346)
at com.sun.script.jython.JythonScriptEngine.access$000(JythonScriptEngine.java:55)
at com.sun.script.jython.JythonScriptEngine$JythonCompiledScript.eval(JythonScriptEngine.java:94)
at net.l2emuproject.gameserver.scripting.L2ScriptEngineManager.executeScript(L2ScriptEngineManager.java:418)
at net.l2emuproject.gameserver.scripting.L2ScriptEngineManager.executeScript(L2ScriptEngineManager.java:364)
at net.l2emuproject.gameserver.scripting.L2ScriptEngineManager.executeScriptList(L2ScriptEngineManager.java:220)
at net.l2emuproject.gameserver.L2GameServer.main(L2GameServer.java:365)
Caused by: Traceback (innermost last):
  File "__init__.py", line 2, in ?
ImportError: no module named l2jserver

at org.python.core.Py.ImportError(Unknown Source)
at org.python.core.imp.import_logic(Unknown Source)
at org.python.core.imp.import_name(Unknown Source)
at org.python.core.imp.importName(Unknown Source)
at org.python.core.ImportFunction.load(Unknown Source)
at org.python.core.ImportFunction.__call__(Unknown Source)
at org.python.core.PyObject.__call__(Unknown Source)
at org.python.core.__builtin__.__import__(Unknown Source)
at org.python.core.imp.importFromAs(Unknown Source)
at org.python.core.imp.importFrom(Unknown Source)
at org.python.pycode._pyx397.f$0(__init__.py:2)
at org.python.pycode._pyx397.call_function(__init__.py)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyCode.call(Unknown Source)
at org.python.core.Py.runCode(Unknown Source)
at com.sun.script.jython.JythonScriptEngine.evalCode(JythonScriptEngine.java:341)
... 6 more

3 answers to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...