boris1 Posted August 18, 2012 Posted August 18, 2012 Hey all. I have l2 Rin4a Buffer Edited by ZiTioN Fix and i have one error: Error on: C:\Users\Konrad\Desktop\CURRENT SERVER!!! WORKING H5\L2Brick_Server\gameserver\data\scripts\custom\Buffer\__init__.py.error.log Line: -1 - Column: -1 Traceback (innermost last): File "__init__.py", line 4, in ? ImportError: cannot import name Config on __init__.py : import sys from java.lang import System from java.util import Iterator from com.l2jserver import Config 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 from com.l2jserver.gameserver.instancemanager import QuestManager from com.l2jserver import L2DatabaseFactory from com.l2jserver.gameserver.datatables import SkillTable from com.l2jserver.gameserver.datatables import ItemTable from com.l2jserver.gameserver.model.actor.instance import L2PcInstance from com.l2jserver.gameserver.model.actor.instance import L2PetInstance from com.l2jserver.gameserver.model.actor.instance import L2SummonInstance from com.l2jserver.gameserver.network.serverpackets import SetSummonRemainTime from com.l2jserver.gameserver.network.serverpackets import SetupGauge i was try evrything ... but i no have solutions anymore .. what i need to do ?? thx for now !!
0 SkySkase Posted August 18, 2012 Posted August 18, 2012 i use l2 Brick server Thats why... Change import and you are ok. This are for l2jserver
0 boris1 Posted August 18, 2012 Author Posted August 18, 2012 u can tell me, how i can change import ?
0 SkySkase Posted August 18, 2012 Posted August 18, 2012 import sys from com.l2jbrick.gameserver.model.actor.instance import L2PcInstance from java.util import Iterator from com.l2jbrick.gameserver.datatables import SkillTable from com.l2jbrick import L2DatabaseFactory from com.l2jbrick.gameserver.model.quest import State from com.l2jbrick.rver.model.quest import QuestState from com.l2jbrick.gameserver.model.quest.jython import QuestJython as JQues Everywere that say l2jserver put l2jbrick i am not 100% Sure if its l2jbrick Chek on source how exacly its writen
0 boris1 Posted August 18, 2012 Author Posted August 18, 2012 now i have this :/ Traceback (innermost last): (no code object) at line 0 SyntaxError: ('invalid syntax', ('__init__.py', 4, 26, 'from com.l2brick. import Config'))
0 boris1 Posted August 18, 2012 Author Posted August 18, 2012 this is from l2brick version # version = ${l2brick.revision} # builddate = 20111006_1723
0 SkySkase Posted August 18, 2012 Posted August 18, 2012 As i told you Chek on source about the right name Edit: Dont copy paste my import Just change your Import
0 boris1 Posted August 18, 2012 Author Posted August 18, 2012 so.. what now to do.. am sorry,am boring,but i have now this :/ Traceback (innermost last): File "__init__.py", line 4, in ? ImportError: no module named l2brick in init file i was edit to l2brick import sys from java.lang import System from java.util import Iterator from com.l2brick.revision import Config from com.l2brick.revision.gameserver.model.quest import State from com.l2brick.revision.gameserver.model.quest import QuestState from com.l2brick.revision.gameserver.model.quest.jython import QuestJython as JQuest from com.l2brick.revision.gameserver.instancemanager import QuestManager from com.l2brick.revision import L2DatabaseFactory from com.l2brick.revision.gameserver.datatables import SkillTable from com.l2brick.revision.gameserver.datatables import ItemTable from com.l2brick.revision.gameserver.model.actor.instance import L2PcInstance from com.l2brick.revision.gameserver.model.actor.instance import L2PetInstance from com.l2brick.revision.gameserver.model.actor.instance import L2SummonInstance from com.l2brick.revision.gameserver.network.serverpackets import SetSummonRemainTime from com.l2brick.revision.gameserver.network.serverpackets import SetupGauge
0 SkySkase Posted August 19, 2012 Posted August 19, 2012 so.. what now to do.. am sorry,am boring,but i have now this :/ Traceback (innermost last): File "__init__.py", line 4, in ? ImportError: no module named l2brick in init file i was edit to l2brick import sys from java.lang import System from java.util import Iterator from com.l2brick.revision import Config from com.l2brick.revision.gameserver.model.quest import State from com.l2brick.revision.gameserver.model.quest import QuestState from com.l2brick.revision.gameserver.model.quest.jython import QuestJython as JQuest from com.l2brick.revision.gameserver.instancemanager import QuestManager from com.l2brick.revision import L2DatabaseFactory from com.l2brick.revision.gameserver.datatables import SkillTable from com.l2brick.revision.gameserver.datatables import ItemTable from com.l2brick.revision.gameserver.model.actor.instance import L2PcInstance from com.l2brick.revision.gameserver.model.actor.instance import L2PetInstance from com.l2brick.revision.gameserver.model.actor.instance import L2SummonInstance from com.l2brick.revision.gameserver.network.serverpackets import SetSummonRemainTime from com.l2brick.revision.gameserver.network.serverpackets import SetupGauge the name its diferent its not l2brick Try l2jbrick else Log on your Eclipse and Chek the right name
0 boris1 Posted August 19, 2012 Author Posted August 19, 2012 u right !! :)) import is "l2.brick.blabla" :) now it working xD thx men a lot ! :)
0 SkySkase Posted August 19, 2012 Posted August 19, 2012 u right !! :)) import is "l2.brick.blabla" :) now it working xD thx men a lot ! :) Np dude i am happy that i helped
Question
boris1
Hey all. I have l2 Rin4a Buffer Edited by ZiTioN Fix and i have one error:
Error on: C:\Users\Konrad\Desktop\CURRENT SERVER!!! WORKING H5\L2Brick_Server\gameserver\data\scripts\custom\Buffer\__init__.py.error.log
Line: -1 - Column: -1
Traceback (innermost last):
File "__init__.py", line 4, in ?
ImportError: cannot import name Config
on __init__.py :
import sys
from java.lang import System
from java.util import Iterator
from com.l2jserver import Config
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
from com.l2jserver.gameserver.instancemanager import QuestManager
from com.l2jserver import L2DatabaseFactory
from com.l2jserver.gameserver.datatables import SkillTable
from com.l2jserver.gameserver.datatables import ItemTable
from com.l2jserver.gameserver.model.actor.instance import L2PcInstance
from com.l2jserver.gameserver.model.actor.instance import L2PetInstance
from com.l2jserver.gameserver.model.actor.instance import L2SummonInstance
from com.l2jserver.gameserver.network.serverpackets import SetSummonRemainTime
from com.l2jserver.gameserver.network.serverpackets import SetupGauge
i was try evrything ... but i no have solutions anymore .. what i need to do ??
thx for now !!
14 answers to this question
Recommended Posts