Need help with script
Posted: Tue Jul 06, 2010 12:48 pm
If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision Number:
L2JDP Revision Number:
Hello, i m using this pet buffer, but it gives me errors, when a user doesent have a pet and uses the buffer...
is there any way to give a message or smt if user doesent have a pet and uses it?
this is the error
» Find Revision
L2J Revision Number:
L2JDP Revision Number:
Hello, i m using this pet buffer, but it gives me errors, when a user doesent have a pet and uses the buffer...
is there any way to give a message or smt if user doesent have a pet and uses it?
this is the error
Code: Select all
com.l2jserver.gameserver.model.quest.Quest showErrorWARNING: \gameserver\data\scripts\custom\9997_PetBuffer\__init__.pyTraceback (innermost last): File "__init__.py", line 904, in onEventAttributeError: 'NoneType' object has no attribute 'getMaxHp' at org.python.core.Py.AttributeError(Unknown Source) at org.python.core.PyObject.noAttributeError(Unknown Source) at org.python.core.PyObject.__getattr__(Unknown Source) at org.python.core.PyObject.invoke(Unknown Source) at org.python.pycode.serializable._pyx1278386062828.onEvent$3(__init__.py:904) at org.python.pycode.serializable._pyx1278386062828.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$425.onEvent(Unknown Source) at com.l2jserver.gameserver.model.quest.Quest.onAdvEvent(Quest.java:674) at com.l2jserver.gameserver.model.quest.Quest.notifyEvent(Quest.java:405) at com.l2jserver.gameserver.model.actor.instance.L2PcInstance.processQuestEvent(L2PcInstance.java:1788) at com.l2jserver.gameserver.network.clientpackets.RequestBypassToServer.runImpl(RequestBypassToServer.java:229) at com.l2jserver.gameserver.network.clientpackets.L2GameClientPacket.run(L2GameClientPacket.java:93) 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)