baiumbg Posted June 30, 2010 Posted June 30, 2010 I searched. I found 2. Tried both. Both had bugs. Are there any BUGLESS npcs of that type for Gracia CT2.3 ?
0 Matim Posted June 30, 2010 Posted June 30, 2010 Bugs...? Show/explain us what do you mean about these bugs.
0 baiumbg Posted June 30, 2010 Author Posted June 30, 2010 For example, in the english one, when I try to list PVPs/PKs it displays source code.
0 Matim Posted June 30, 2010 Posted June 30, 2010 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 baiumbg Posted July 1, 2010 Author Posted July 1, 2010 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 mogo Posted July 1, 2010 Posted July 1, 2010 Remove "none" from the getConnection(none) method call
0 baiumbg Posted July 1, 2010 Author Posted July 1, 2010 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
0 GameBlonD Posted July 1, 2010 Posted July 1, 2010 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 AnsS Posted July 1, 2010 Posted July 1, 2010 ImportError: no module named tools 11 line: from com.l2jserver.tools.random import Rnd This is wrong.
0 baiumbg Posted July 1, 2010 Author Posted July 1, 2010 ImportError: no module named tools 11 line: from com.l2jserver.tools.random import Rnd This is wrong. What do you mean?
0 Matim Posted July 1, 2010 Posted July 1, 2010 Check current patch for this class - Rnd And correct this import.
0 baiumbg Posted July 2, 2010 Author Posted July 2, 2010 This is in my script: from net.sf.l2j.util import Rnd
Question
baiumbg
I searched. I found 2. Tried both. Both had bugs. Are there any BUGLESS npcs of that type for Gracia CT2.3 ?
20 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 accountSign in
Already have an account? Sign in here.
Sign In Now