Jump to content
  • 0

Question

Posted

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

4 answers to this question

Recommended Posts

  • 0
Posted

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?

  • 0
Posted

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..

  • 0
Posted

change this

 

from com.l2jserver.tools.random                     import Rnd

 

for this

 

from com.l2jserver.util.random                     import Rnd

 

 

  • 0
Posted

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

Guest
This topic is now closed to further replies.


  • Posts

    • Thanks for the collection and the free advertising! These files have been in the public domain for a long time — you just saved people the trouble of searching. A true fan. 😄 Just to clarify for everyone reading: these files have nothing to do with this topic. They are 10+ year old builds, and since various third-party modifications exist in the wild, we cannot guarantee what may have been added or changed in those versions. Use them at your own risk. We have absolutely no judgment toward those who are on a tight budget and can't afford our current builds — these old shared files might genuinely help you get started. Just use them carefully and at your own risk. And please don't judge developers for the mistakes they made early in their careers — every developer goes through stages of growth, and what you see in those old builds is simply a snapshot of where we were back then. We've come a long way since. If you're interested in our older builds, we have a dedicated thread for that with significantly reduced prices — very accessible for any budget. We have also recently resumed full technical support for legacy builds, handled by a separate team that doesn't interfere with our private development direction for larger projects. You can find our legacy builds here: Our OLd L2-scripts Packs Actual revisions Our current private sources are a completely different story — which is exactly what this thread is about. Too bad all your time goes into collecting other people's old code instead of developing your own project. Though judging by "L2MID is currently offline, we will come back soon in 2026" — you clearly have plenty of time on your hands. 😉
    • SHARED alreaxy! Are these files yours? https://fex.net/ru/s/kdop2z4
    • You asked for examples of coping projects, we provided them, you asked for feedback from our clients, some of them wrote their reviews on the same mmodev, what else can I prove to you? you just asked your friends from mmodev to write nasty things, they have never been our customers and never will be, because they are used to downloading only free products and hacking it. You just don't respect the work of others, this is the conclusion that can be drawn from your inflammatory topic on mmodev, where there are many people who once could not buy our assemblies or whom we kicked out of work or for some other reason. But you are completely wrong and you are behaving very lowly. But let it be on your conscience. Good luck, keep busy with your project, and don't interfere with others.
    • I will never use L2J as the basis for my project but what i saw in MMODEV was enough for me. GL    
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..