Page 1 of 1

[Resolved]import line problem

Posted: Wed Dec 23, 2009 11:55 am
by Nemesis_hommage
L2J Revision 3375:
L2JDP Revision 6473:

hi my name is Alan i have aproblem with some quests

For quest 604_DaimonWhiteEyedPart2,i need to import the line

from net.sf.l2j.tools.random import Rnd

and the error log send me always the same answer that he doesn't exist

ImportError: no module named tools


Can somebody help me to modify this line please

I apologyze my very unperfect english


thanks a lot
Nemesis

Re: import line problem

Posted: Wed Dec 23, 2009 12:00 pm
by janiii
you can check other scripts, how they import the Rnd class..

Code: Select all

from net.sf.l2j.util import Rnd

Re: import line problem

Posted: Wed Dec 23, 2009 12:19 pm
by Nemesis_hommage
it works perfectly
a great thanks janiii

i hava also a problem with certifications
the html files work properly but on the end the npc gives me nothing
any idea about this ?