Jump to content
  • 0

[Request] Top 50 PVP/PK


Question

Recommended Posts

  • 0
Posted

For example, in the english one, when I try to list PVPs/PKs it displays source code.

 

Source code or maybe... error? I guess ..hmm Im sure that it was error log.

  • 0
Posted

Yep. It's an error:

 

C:\l2j\gameserver\data\scripts\custom\50300_PKlist\__init__.py
Traceback (innermost last):
 File "__init__.py", line 65, in onEvent
TypeError: getConnection(): expected 0 args; got 1

       at org.python.core.Py.TypeError(Unknown Source)
       at org.python.core.PyReflectedFunction.throwError(Unknown Source)
       at org.python.core.PyReflectedFunction.throwArgCountError(Unknown Source
)
       at org.python.core.PyReflectedFunction.throwError(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._pyx1277967772062.onEvent$4(__init__.p
y:65)
       at org.python.pycode.serializable._pyx1277967772062.call_function(__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.main$Quest$406.onEvent(Unknown Source)
       at net.sf.l2j.gameserver.model.quest.Quest.onAdvEvent(Quest.java:675)
       at net.sf.l2j.gameserver.model.quest.Quest.notifyEvent(Quest.java:406)
       at net.sf.l2j.gameserver.model.actor.instance.L2PcInstance.processQuestE
vent(L2PcInstance.java:1650)
       at net.sf.l2j.gameserver.network.clientpackets.RequestBypassToServer.run
Impl(RequestBypassToServer.java:196)
       at net.sf.l2j.gameserver.network.clientpackets.L2GameClientPacket.run(L2
GameClientPacket.java:76)
       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)

 

This is the line:

 

			con = L2DatabaseFactory.getInstance().getConnection(None)

  • 0
Posted

Now it worked :) (I think)

 

But the NPC name is Innadril Guard. I changed it in the database. I restarted the server, but the name is the same...I use this one - http://www.maxcheaters.com/forum/index.php?topic=136602.0

Go to your l2jdb > npc> find the innadril guard and put serversideName 1 instead of 0.

  • 0
Posted

ImportError: no module named tools

11 line:

 

from com.l2jserver.tools.random                    import Rnd

 

This is wrong.

  • 0
Posted

ImportError: no module named tools

11 line:

 

from com.l2jserver.tools.random                    import Rnd

 

This is wrong.

 

What do you mean?

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

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock