__init__.py failing due to incorrect import calls (c_npc)
Posted: Wed Jan 20, 2010 7:19 am
If you want to receive support we need this info to help you properly.
ยป Find Revision
L2J Revision 3813:
L2JDP Revision 6891:
Hello. I was trying to install a NPC buffer and I get failures in the __init__.py saying it's unable to import the net module.
I assume it's referring to these calls:
Please advise if the imports have changed in epilogue. I have searched all other imports and nothing else in scripts uses the net module.
I appreciate any help. Thank you.
ยป Find Revision
L2J Revision 3813:
L2JDP Revision 6891:
Hello. I was trying to install a NPC buffer and I get failures in the __init__.py saying it's unable to import the net module.
I assume it's referring to these calls:
Code: Select all
import sys[u]from net.sf.l2j.gameserver.model.actor.instance import L2PcInstance[/u]from java.util import Iterator[u]from net.sf.l2j.gameserver.datatables import SkillTable[/u][u]from net.sf.l2j import L2DatabaseFactory[/u][u]from net.sf.l2j.gameserver.model.quest import State[/u][u]from net.sf.l2j.gameserver.model.quest import QuestState[/u][u]from net.sf.l2j.gameserver.model.base import Experience[/u][u]from net.sf.l2j.gameserver.model.quest.jython import QuestJython as JQuest[/u]qn = "18111983_QueenOfDragonFire"NPC = 18111983QuestId = 18111983QuestName = "QueenOfDragonFire"QuestDesc = "custom"InitialHtml = "1.htm"ADENA_ID = 57print "importing custom: 18111983_QueenOfDragonFire"class Quest (JQuest) :...
I appreciate any help. Thank you.