Hello, I openned server on l2jbrasil files, I am trying to put custom buffer but I got problem with imports.
My __init__.py imports I have
import sys
from com.it.br.gameserver.model.quest import State
from com.it.br.gameserver.model.quest import QuestState
from com.it.br.gameserver.model.quest.jython import QuestJython as JQuest
from com.it.br.gameserver.datatables.sql import ItemTable
from com.it.br.gameserver.model.actor.instance import L2PcInstance
from java.util import Iterator
from com.it.br.gameserver.datatables import SkillTable
from com.it.br import L2DatabaseFactory
I receive error in log file:
Error on: C:\Users\ROKAS\Desktop\srv2\Game\data\jscript\custom\99_NPCBuffer\__init__.py.error.log
Line: -1 - Column: -1
Traceback (innermost last):
File "__init__.py", line 9, in ?
ImportError: cannot import name SkillTable
So something wrong with from com.it.br.gameserver.datatables import SkillTable
Question
rokasbalsys
Hello, I openned server on l2jbrasil files, I am trying to put custom buffer but I got problem with imports.
My __init__.py imports I have
I receive error in log file:
So something wrong with
from com.it.br.gameserver.datatables import SkillTable
can someone help me ?
4 answers to this question
Recommended Posts