Skip to content

Buffer

Featured Replies

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

You are trying to deploy a java script of l2emuproject to l2jserver as it seems...

Check ImportError: no module named l2jserver  ;)

hi marwan are u trying to make a new server or devl waleeds server

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.