Page 1 of 1

Scripts on java for Interlude

Posted: Wed May 25, 2011 3:49 pm
by Pelu
If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision Number: 1434
L2JDP Revision Number: 3759

I downloaded Interlude from l2j svn and used Zoey76 pacth for fix warnings. Server is working but it miss many things so I wanted to add some java scripts and found this: https://www.l2jserver.com/forum/viewtop ... 82&t=15422 and added BiggBoss's pacth. All fine. I did try to add Queen Ant AI from Freya but I get it:
Image
I did try to add java-engine.rar on libs instead of jython-engine.rar but no results. Could anyone give me some clue about what to do? Thx in advance.

Re: Scripts on java for Interlude

Posted: Wed May 25, 2011 4:17 pm
by Zoey76
I could take a look at it later, but at the moment I'm a bit busy.

Find the error logs and attach them as well.

Re: Scripts on java for Interlude

Posted: Wed May 25, 2011 4:30 pm
by Pelu
I forgot to add this:

Code: Select all

Error on: C:\Server\gameserver\data\jscript\ai\individual\QueenAnt.java.error.logLine: -1 - Column: -1 No engine registered for extension (java)
This is why I tried to add java-engine.rar. Anyways thanks for take a look

EDIT: I solved "Failed preconfiguring jython: No engine registered with name (jython)"

Code: Select all

 Add on: C:\...\L2_Gameserver_It\build.xmlLine 83:- <attribute name="Class-Path" value=". bsf.jar bsh-2.0b4.jar commons-logging-1.1.jar c3p0-0.9.1.2.jar jython.jar mysql-connector-java-5.0.7-bin.jar javolution.jar mmocore.jar"/>+ <attribute name="Class-Path" value=". bsf.jar bsh-2.0b4.jar commons-logging-1.1.jar c3p0-0.9.1.2.jar jython.jar jython-engine.jar mysql-connector-java-5.0.7-bin.jar javolution.jar mmocore.jar"/> 
But this: "No engine registered for extension (java)" persist, I'm gonna re-add java libs.

Re: Scripts on java for Interlude

Posted: Fri May 27, 2011 8:45 am
by Pelu
please someone have any idea?

Re: Scripts on java for Interlude

Posted: Wed Jun 08, 2011 7:10 pm
by giorgos_ts
You have to translate the code to the Python Programming Language.