Jump to content
  • 0

[HELP] Imports


killer666

Question

well gyus i search but i dont have much time to search more.

i put smth in my server and i have problem with this import in l2jserver.

how is the fix of this import?

this have a mistake :/

help?

 

from com.l2jserver.tools.random                    import Rnd

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

import sys
from net.sf.l2j.gameserver.model.actor.instance import L2PcInstance
from java.util import Iterator
from net.sf.l2j.gameserver.datatables import SkillTable
from net.sf.l2j			       import L2DatabaseFactory
from net.sf.l2j.gameserver.model.quest import State
from net.sf.l2j.gameserver.model.quest import QuestState
from net.sf.l2j.gameserver.model.quest.jython import QuestJython as JQuest

 

this search?

Link to comment
Share on other sites

  • 0

my imports are them

 

 

import sys

from java.util                                   import Iterator

from com.l2jserver.tools.random                     import Rnd

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.network.serverpackets import CreatureSay

from com.l2jserver                                  import L2DatabaseFactory

 

but as i say the error log show me error in the red line.. i dont know what to change in this import..

Link to comment
Share on other sites

  • 0

change this

 

from com.l2jserver.tools.random                     import Rnd

 

for this

 

from com.l2jserver.util.random                     import Rnd

 

 

Link to comment
Share on other sites

  • 0

change this

 

from com.l2jserver.tools.random                     import Rnd

 

for this

 

from com.l2jserver.util.random                     import Rnd

 

 

 

you help me a lot with "utils"

the correct is:

from com.l2jserver.util                          import Rnd

 

thanks a lot!

 

problem solved /locked

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


×
×
  • Create New...