Check it
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
-
- Posts: 33
- Joined: Wed Jan 27, 2010 3:39 pm
Check it
Well I know that you are working on epilogue but becus the most pro devs work here i need some help.
just tell me how or give me a patch to add scripts.cfg on interlude..
i cant run AIs writed on java =(
on old forum there was some support for old chronicles so spend some minites to explein me =(
just tell me how or give me a patch to add scripts.cfg on interlude..
i cant run AIs writed on java =(
on old forum there was some support for old chronicles so spend some minites to explein me =(
- BiggBoss
- L2j Veteran
- Posts: 1104
- Joined: Wed Apr 15, 2009 3:11 pm
- Location: Spain
- janiii
- L2j Veteran
- Posts: 4269
- Joined: Wed May 28, 2008 3:15 pm
- Location: Slovakia
Re: Check it
moved to legacy support
DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper ♀
I don't give private support - PM will be ignored!
forum flOOder dancing dEVILoper ♀
I don't give private support - PM will be ignored!
-
- Posts: 33
- Joined: Wed Jan 27, 2010 3:39 pm
Re: Check it
janiii wrote:moved to legacy support
tnx i hope somebody helps me
-
- Posts: 286
- Joined: Fri Sep 22, 2006 1:03 am
- Location: Red Rock, Mars
Re: Check it
I don't understand your question, what script are you having problems with loading?
-
- Posts: 33
- Joined: Wed Jan 27, 2010 3:39 pm
Re: Check it
i am using interlude.Deadmeat wrote:I don't understand your question, what script are you having problems with loading?
in interlude scripts.cfg file doesnt exist to register my scripts.
so everything must be registered in __init__.py
but init.py is loads only python files.
so i can't add java files to load.
all i want is to add scripts.cfg
- BiggBoss
- L2j Veteran
- Posts: 1104
- Joined: Wed Apr 15, 2009 3:11 pm
- Location: Spain
Re: Check it
Heres the l2j java script compiler for interlude. You will need to rework the AI's for IL (Smthing that will cause many core-side modifications)
Also, add jython-engine.jar to your lib folder
Also, add jython-engine.jar to your lib folder
You do not have the required permissions to view the files attached to this post.
-
- Posts: 33
- Joined: Wed Jan 27, 2010 3:39 pm
Re: Check it
all is fine but i get an error here:
context.setAttribute(com.l2jserver.script.jython.JythonScriptEngine.JYTHON_ENGINE_INSTANCE, engine, ScriptContext.ENGINE_SCOPE);
it shows error at com.l2jserver.script
obviusly cuz now the imports are changed, but doesn't work even with net.sf.l2j...
all the others dont give compile errors, i hope they will work..
PS: Can anyone share jython engine?
context.setAttribute(com.l2jserver.script.jython.JythonScriptEngine.JYTHON_ENGINE_INSTANCE, engine, ScriptContext.ENGINE_SCOPE);
it shows error at com.l2jserver.script
obviusly cuz now the imports are changed, but doesn't work even with net.sf.l2j...
all the others dont give compile errors, i hope they will work..
PS: Can anyone share jython engine?
- janiii
- L2j Veteran
- Posts: 4269
- Joined: Wed May 28, 2008 3:15 pm
- Location: Slovakia
Re: Check it
did you add the lib to your lib folder of the gameserver project? did you add it also to the classpath of the project in eclipse? did you also add it in the build.xml file? that are not questions, just do it having all needed jar files on the classpath of the project, you can use the organize import function in eclipse to check the imports of unknown classes like the java scripting engine.
DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper ♀
I don't give private support - PM will be ignored!
forum flOOder dancing dEVILoper ♀
I don't give private support - PM will be ignored!
-
- Posts: 33
- Joined: Wed Jan 27, 2010 3:39 pm
Re: Check it
I'll take care, only give me a jython engine jar :Sjaniii wrote:did you add the lib to your lib folder of the gameserver project? did you add it also to the classpath of the project in eclipse? did you also add it in the build.xml file? that are not questions, just do it having all needed jar files on the classpath of the project, you can use the organize import function in eclipse to check the imports of unknown classes like the java scripting engine.
- BiggBoss
- L2j Veteran
- Posts: 1104
- Joined: Wed Apr 15, 2009 3:11 pm
- Location: Spain
Re: Check it
the classpath and build.xml modifications that you need (the same as janiii said) are inside the path. And you can get the jython-engine.jar by downloading the nightly core
-
- Posts: 33
- Joined: Wed Jan 27, 2010 3:39 pm
Re: Check it
did everything but still shows error when i try to compile the gs atB1ggBoss wrote:the classpath and build.xml modifications that you need (the same as janiii said) are inside the path. And you can get the jython-engine.jar by downloading the nightly core
com.l2jserver =/
Any ideas?
I added all files and made changes..
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 =/
-
- Posts: 286
- Joined: Fri Sep 22, 2006 1:03 am
- Location: Red Rock, Mars
Re: Check it
You need to change (com.l2jserver.) to (net.sf.l2j.)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 =/
- janiii
- L2j Veteran
- Posts: 4269
- Joined: Wed May 28, 2008 3:15 pm
- Location: Slovakia
Re: Check it
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.Deadmeat wrote:You need to change (com.l2jserver.) to (net.sf.l2j.)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 =/
DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper ♀
I don't give private support - PM will be ignored!
forum flOOder dancing dEVILoper ♀
I don't give private support - PM will be ignored!