Jump to content

Recommended Posts

Posted

testing the updated ( 28/04) version

 

 

EDIT: Tested on test server, works with/without gm access smoothly.

Not tested on live server. Regarding someone above who said it would cause issues, my suggestion is to put level limit on using the buffer, so not everyone will start creating schemes at your server's launch, flooding the database. And another idea is to also put more than one buffer at every town.

 

Thanks/gz for sharing/fixing/adapting it.

  • 1 month later...
  • 1 month later...
  • 2 weeks later...
Posted (edited)

Can anyone help with this?

Game server console:

Failed executing script: C:\Lineage 2 Test Server\game\data\scripts\custom\555
_NPCBuffer\__init__.py. See __init__.py.error.log for details.

error.log

Error on: C:\Lineage 2 Test Server\game\data\scripts\custom\555_NPCBuffer\__init__.py.error.log
Line: -1 - Column: -1


Traceback (innermost last):
File "custom/555_NPCBuffer/__init__.py", line 8, in ?
ImportError: no module named jython

Thanks.

Edited by xXxJimPowerxXx
  • 2 weeks later...
  • 4 weeks later...
Posted (edited)

not working any more for latest l2jserver beta.... big changes made

 

 

L2JDP  10003
L2JSERVER  6254
 
changed getEffects to applyEffects  as specified in rev 6249
 
but still get errors on rin4a buffer _init_.py
 
Edited by Aphopis
  • 2 weeks later...
Posted
Unclosed connection! Trace: sun.reflect.GeneratedMethodAccessor22.invoke(Unknown

 Source)

java.lang.RuntimeException

        at com.l2jserver.L2DatabaseFactory.getConnection(L2DatabaseFactory.java:

273)

        at sun.reflect.GeneratedMethodAccessor22.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.PyInstance.invoke(Unknown Source)

        at org.python.pycode.serializable._pyx1384304944317.buildHtml$19(custom/

555_NPCBUFFER/__init__.py:343)

        at org.python.pycode.serializable._pyx1384304944317.call_function(custom

/555_NPCBUFFER/__init__.py)

        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.pycode.serializable._pyx1384304944317.onAdvEvent$14(custom

/555_NPCBUFFER/__init__.py:827)

        at org.python.pycode.serializable._pyx1384304944317.call_function(custom

 

Help please?   L2jdp 1024

  • 2 months later...
  • 9 months later...
  • 1 month later...
Posted
Lastest HighFive beta (L2jserver.com master branch)

 

Traceback (innermost last):

  File "custom/555_NPCBUFFER/__init__.py", line 7, in ?

ImportError: no module named jython

 

line 7 is

from com.l2jserver.gameserver.model.quest.jython import QuestJython as JQuest

  • 1 month later...
Posted

 

Lastest HighFive beta (L2jserver.com master branch)
 
Traceback (innermost last):
  File "custom/555_NPCBUFFER/__init__.py", line 7, in ?
ImportError: no module named jython
 
line 7 is
from com.l2jserver.gameserver.model.quest.jython import QuestJython as JQuest

 

 

Just copy this: 

from com.l2jserver.gameserver.model.quest import Quest as JQuest

And ur next error will be in lane 10, to fix it, just type "SkillData" in the end, like this:

from com.l2jserver.gameserver.datatables import SkillData

Now buffer loaded, can spawn in game ... BUT:

f4c78ffa7d63.jpg

 

And whatewer what i press, i have same text:

 

fb4da94ff2d8.jpg

 

Anyone know where is problem? Here is my error log:

 

 

[07/03 00:01:15] C:\server\Server\game\data\scripts\custom\555_NPCBUFFER\__init_

_.py
Traceback (innermost last):
  (no code object) at line 0
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
 
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
 
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou
rce)
        at java.lang.reflect.Constructor.newInstance(Unknown Source)
        at com.mysql.jdbc.Util.handleNewInstance(Util.java:408)
        at com.mysql.jdbc.Util.getInstance(Util.java:383)
        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1062)
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4226)
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4158)
        at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
        at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
        at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2840)
        at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.ja
va:2082)
        at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:
2212)
        at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeQuery(NewPr
oxyPreparedStatement.java:430)
        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)
 
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: com.mysql.jdbc.except
ions.jdbc4.MySQLSyntaxErrorException: Table 'l2jgs.buffer_scheme_list' doesn't e
xist
 
        at org.python.core.Py.JavaError(Unknown Source)
        at org.python.core.PyObject._jthrow(Unknown Source)
        at org.python.core.PyObject._jcall(Unknown Source)
        at org.python.proxies.main$Quest$73.onAdvEvent(Unknown Source)
        at com.l2jserver.gameserver.model.quest.Quest.notifyEvent(Quest.java:520
)
        at com.l2jserver.gameserver.model.actor.instance.L2PcInstance.processQue
stEvent(L2PcInstance.java:1596)
        at handlers.bypasshandlers.QuestLink.useBypass(QuestLink.java:74)
        at com.l2jserver.gameserver.network.clientpackets.RequestBypassToServer.
runImpl(RequestBypassToServer.java:325)
        at com.l2jserver.gameserver.network.clientpackets.L2GameClientPacket.run
(L2GameClientPacket.java:70)
        at com.l2jserver.gameserver.network.L2GameClient.run(L2GameClient.java:1
134)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
 
[07/03 00:01:15] main$Quest$73: null
 

 

Thanks for answers.

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
Reply to this topic...

×   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...