Own Posted September 10, 2012 Posted September 10, 2012 hello mxc i have a problem with top pvp / pk npc init file give this error anyone can solve ? pls Error on: C:\Users\***\Desktop\***\game\data\scripts\custom\36601_Toplist\__init__.py.error.log Line: -1 - Column: -1 Traceback (innermost last): File "__init__.py", line 3, in ? ImportError: cannot import name L2DatabaseFactory Quote
0 ^Wyatt Posted September 10, 2012 Posted September 10, 2012 You need to adapt imports of your pack... Which pack are you using? Chronicle? Quote
0 Own Posted September 10, 2012 Author Posted September 10, 2012 i use l2j emulator chronicle is H5 Quote
0 ^Wyatt Posted September 10, 2012 Posted September 10, 2012 Look for L2DatabaseFactory inside source and change the import... Quote
0 Own Posted September 10, 2012 Author Posted September 10, 2012 import sys from java.util import Iterator from com.l2jserver import L2DatabaseFactory <------ here? from com.l2jserver.gameserver.model.quest import State from com.l2jserver.gameserver.model.quest import QuestState from com.l2jserver.gameserver.model.quest.jython import QuestJython as JQuest Quote
0 Own Posted September 11, 2012 Author Posted September 11, 2012 anyone can solve this problem pls? Quote
0 Mhoska Posted September 11, 2012 Posted September 11, 2012 Look for L2DatabaseFactory inside source and change the import... ... just do that. Quote
0 Fanky Posted September 11, 2012 Posted September 11, 2012 import sys from java.util import Iterator from com.l2jserver import L2DatabaseFactory <------ here? from com.l2jserver.gameserver.model.quest import State from com.l2jserver.gameserver.model.quest import QuestState from com.l2jserver.gameserver.model.quest.jython import QuestJython as JQuest check what's the path of this class in your package. Quote
Question
Own
hello mxc i have a problem with top pvp / pk npc
init file give this error anyone can solve ? pls
Error on: C:\Users\***\Desktop\***\game\data\scripts\custom\36601_Toplist\__init__.py.error.log
Line: -1 - Column: -1
Traceback (innermost last):
File "__init__.py", line 3, in ?
ImportError: cannot import name L2DatabaseFactory
7 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.