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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..