Tytuł: NPC Buffer problem
Wiadomość wysłana przez: ReQntar w Styczeń 21, 2013, 10:47:55 AM
Wiadomość wysłana przez: ReQntar w Styczeń 21, 2013, 10:47:55 AM
Witam! Mam problem z bufferem http://maxcheaters.com/forum/index.php?topic=214890.msg1765898#msg1765898 . Mam problem z buffowaniem. Gdy zaczynam rozmowę z NPC, nic sie nie pokazuje, a w konsoli zaczyna pluć problemami. Po drugiej próbie dodatkowo w gdzie wyskakuje okienko z Tittle ScriptError, a w treści nic nie ma. Jednakże w konsoli pokazuje się gdzie tkwi błąd. Sam jednak nie potrafię go naprawić.
Pracuję na plikach Interlude ze zbiorów Nightly.
Kod [Zaznacz]
Bad RequestBypassToServer:
java.lang.NullPointerException
at net.sf.l2j.gameserver.model.quest.QuestState.getStateId(QuestState.ja
va:181)
at net.sf.l2j.gameserver.model.quest.Quest.createQuestInDb(Quest.java:74
0)
at net.sf.l2j.gameserver.model.quest.Quest.newQuestState(Quest.java:182)
at net.sf.l2j.gameserver.model.actor.instance.L2NpcInstance.showQuestWin
dow(L2NpcInstance.java:1260)
at net.sf.l2j.gameserver.model.actor.instance.L2NpcInstance.onBypassFeed
back(L2NpcInstance.java:928)
at net.sf.l2j.gameserver.model.actor.instance.L2FolkInstance.onBypassFee
dback(L2FolkInstance.java:314)
at net.sf.l2j.gameserver.model.actor.instance.L2TeleporterInstance.onByp
assFeedback(L2TeleporterInstance.java:133)
at net.sf.l2j.gameserver.clientpackets.RequestBypassToServer.runImpl(Req
uestBypassToServer.java:110)
at net.sf.l2j.gameserver.clientpackets.L2GameClientPacket.run(L2GameClie
ntPacket.java:79)
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)
Traceback (innermost last):
File "C:\Users\Piotr\Desktop\l2 serwer\gameserver\data\jscript\quests\15012_NP
CBuffer\__init__.py", line 855, in onTalk
AttributeError: class 'net.sf.l2j.gameserver.model.quest.State' has no attribute
'STARTED'
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 data.jscript.quests.15012_NPCBuffer$py.onTalk$4(C:\Users\Piotr\Deskto
p\l2 serwer\gameserver\data\jscript\quests\15012_NPCBuffer\__init__.py:855)
at data.jscript.quests.15012_NPCBuffer$py.call_function(C:\Users\Piotr\D
esktop\l2 serwer\gameserver\data\jscript\quests\15012_NPCBuffer\__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.data.jscript.quests.15012_NPCBuffer$Quest$305.onTa
lk(Unknown Source)
at net.sf.l2j.gameserver.model.quest.Quest.notifyTalk(Quest.java:315)
at net.sf.l2j.gameserver.model.actor.instance.L2NpcInstance.showQuestWin
dow(L2NpcInstance.java:1244)
at net.sf.l2j.gameserver.model.actor.instance.L2NpcInstance.onBypassFeed
back(L2NpcInstance.java:928)
at net.sf.l2j.gameserver.model.actor.instance.L2FolkInstance.onBypassFee
dback(L2FolkInstance.java:314)
at net.sf.l2j.gameserver.model.actor.instance.L2TeleporterInstance.onByp
assFeedback(L2TeleporterInstance.java:133)
at net.sf.l2j.gameserver.clientpackets.RequestBypassToServer.runImpl(Req
uestBypassToServer.java:110)
at net.sf.l2j.gameserver.clientpackets.L2GameClientPacket.run(L2GameClie
ntPacket.java:79)
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)
Traceback (innermost last):
File "C:\Users\Piotr\Desktop\l2 serwer\gameserver\data\jscript\quests\15012_NP
CBuffer\__init__.py", line 855, in onTalk
AttributeError: class 'net.sf.l2j.gameserver.model.quest.State' has no attribute
'STARTED'
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 data.jscript.quests.15012_NPCBuffer$py.onTalk$4(C:\Users\Piotr\Deskto
p\l2 serwer\gameserver\data\jscript\quests\15012_NPCBuffer\__init__.py:855)
at data.jscript.quests.15012_NPCBuffer$py.call_function(C:\Users\Piotr\D
esktop\l2 serwer\gameserver\data\jscript\quests\15012_NPCBuffer\__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.data.jscript.quests.15012_NPCBuffer$Quest$305.onTa
lk(Unknown Source)
at net.sf.l2j.gameserver.model.quest.Quest.notifyTalk(Quest.java:315)
at net.sf.l2j.gameserver.model.actor.instance.L2NpcInstance.showQuestWin
dow(L2NpcInstance.java:1244)
at net.sf.l2j.gameserver.model.actor.instance.L2NpcInstance.onBypassFeed
back(L2NpcInstance.java:928)
at net.sf.l2j.gameserver.model.actor.instance.L2FolkInstance.onBypassFee
dback(L2FolkInstance.java:314)
at net.sf.l2j.gameserver.model.actor.instance.L2TeleporterInstance.onByp
assFeedback(L2TeleporterInstance.java:133)
at net.sf.l2j.gameserver.clientpackets.RequestBypassToServer.runImpl(Req
uestBypassToServer.java:110)
at net.sf.l2j.gameserver.clientpackets.L2GameClientPacket.run(L2GameClie
ntPacket.java:79)
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)Pracuję na plikach Interlude ze zbiorów Nightly.