MerHaN wrote:
EDIT: When using the file it doesn't show any errors, it shows it normal..
but when i compile it say package com.l2jserver.script.python not found =/
You need to change (com.l2jserver.) to (net.sf.l2j.)
latest jython engine uses com.l2jserver and i think it always used this. if he uses latest jar file, i am for sure he must use com.l2jserver for the library import. but that can handle eclipse for him if the library is well imported in the eclipse project.
i cant understand..
when i close the file it doesn't show any "X" (Which would show me any solutions) so everything looks normal.
when i try to compile it, it say package com.l2jserver.script.jython does not exist
how does your build.xml looks like with the added jar file? is it really in that lib folder of the project (not of the build server!)?
check in your build.xml where jython.jar is used and check if you have there also jython-engine.jar . there are 2 places where to add it in build.xml .
DO NOT EVEN TRY TO MESS WITH ME! forum flOOderdancing dEVILoper♀ I don't give private support - PM will be ignored!
that error appears for all quests :S
What's wrong?
EDIT: I found what it is..
scripts.cfg tries to find quests on "Scripts" folder, while in interlude the name is "jscript"
any ideas how to fix it?
i think is core side..
or maybe prob with the jar??
check L2ScriptEngineManager class. or just search your gameserver sources for all occurence of "data/scripts" and replace with what your folder name is.
DO NOT EVEN TRY TO MESS WITH ME! forum flOOderdancing dEVILoper♀ I don't give private support - PM will be ignored!
janiii wrote:check L2ScriptEngineManager class. or just search your gameserver sources for all occurence of "data/scripts" and replace with what your folder name is.
janiii wrote:check L2ScriptEngineManager class. or just search your gameserver sources for all occurence of "data/scripts" and replace with what your folder name is.
so it has to be core error? =/
dont know, you can try.
DO NOT EVEN TRY TO MESS WITH ME! forum flOOderdancing dEVILoper♀ I don't give private support - PM will be ignored!
Well i checked the files i just added and all talk about scripts folder, not jscript..
maybe pay more attention at this error?
dunno..
i will try many things, give more ideas if you can..
and thank you all that you try to help me, while you will not win anything..
that's what professional is about..
helping newbies..
rly tnx
EDIT: I am now fixing __init__.py files in the other folders in order to fix the imports..
i will clean scripts.cfg later and i hope that the errors will be less..
EDIT 2: To load java files it needs java-engine too..
I added it I will test it now..