[Resolved]import line problem

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
Nemesis_hommage
Posts: 53
Joined: Fri Nov 06, 2009 9:42 am

[Resolved]import line problem

Post 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
Last edited by Nemesis_hommage on Fri Apr 22, 2011 6:27 pm, edited 1 time in total.
User avatar
janiii
L2j Veteran
L2j Veteran
Posts: 4269
Joined: Wed May 28, 2008 3:15 pm
Location: Slovakia

Re: import line problem

Post by janiii »

you can check other scripts, how they import the Rnd class..

Code: Select all

from net.sf.l2j.util import Rnd
DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper
I don't give private support - PM will be ignored!
Nemesis_hommage
Posts: 53
Joined: Fri Nov 06, 2009 9:42 am

Re: import line problem

Post 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 ?
Post Reply