Page 1 of 1

End of Jython support

Posted: Thu May 25, 2017 5:01 pm
by Zoey76
Hello everyone,

We started porting every script from Jython to Java, then we made a decision to rewrite every quest and script from Jython to Java, and we have been doing that for the last 3 to 5 years, along with this we started by rejecting Jython contributions, then we limited support for official and custom scripts, finally we locked down the script support for Jython all together.

We are now 1 quest away from having all in Java, I'm currently developing quest 335 (long quest!) and after I complete it, we will release 2.6.1.0 some time next month.

After that we will refactor Core and eventually Datapack to remove unnecessary code and libraries used only for Jython support, after that more changes to the script system will be done, such as unification of Listeners system, separation of quests and AIs by implementing better abstraction, better support for instances and events, plugins support, etc.

My recommendation to you is that you start porting your Jython scripts now and get rid of them by the end of the next (June) month.

L2J developers will not provide official support for Jython anymore, so it's up to the community to help each other and share knowledge and scripts.

Finally we are evaluating adding some custom features to the source, probably HorridoJoho's scheme buffer with some changes, that will give users an officially maintained NPC buffer.

Re: End of Jython support

Posted: Fri May 26, 2017 5:32 pm
by Gladicek
RIP cancer Jython :kappa:

Re: End of Jython support

Posted: Thu Jun 15, 2017 3:11 am
by g4rwin
R.I.P

Re: End of Jython support

Posted: Wed Aug 02, 2017 8:27 pm
by KGB1st
TypeError: int() argument must be a string or a number
[02/08 20:58:29] /home/l2jserver/game/data/scripts/quests/999_T1Tutorial/__init__.py
Traceback (innermost last): File "quests/999_T1Tutorial/__init__.py", line 236, in onKill
TypeError: int() argument must be a string or a number
# Made by Mr. Have fun! - version 0.4 by Rolarga
# C5 addons by DrLecter
# C4 addons by Kerberos
# updated to Kamael by Kerberos

Code: Select all

Ex = int(qs.get("Ex"))
not understand what is this qs.get("Ex")

Re: End of Jython support

Posted: Thu Sep 21, 2017 9:14 pm
by u3games
Why ...

Code: Select all

compile 'org.python:jython:2.2.1'
in build.gradle ??

Re: End of Jython support

Posted: Fri Oct 06, 2017 4:52 am
by Zoey76
u3games wrote:
Thu Sep 21, 2017 9:14 pm
Why ...

Code: Select all

compile 'org.python:jython:2.2.1'
in build.gradle ??
Because we will remove core support and libraries on the next big release.

Re: End of Jython support

Posted: Sat Oct 07, 2017 10:34 am
by u3games
Zoey76 wrote:
Fri Oct 06, 2017 4:52 am
u3games wrote:
Thu Sep 21, 2017 9:14 pm
Why ...

Code: Select all

compile 'org.python:jython:2.2.1'
in build.gradle ??
Because we will remove core support and libraries on the next big release.
Ok perfet ^^

Re: End of Jython support

Posted: Sun Oct 22, 2017 12:02 am
by ruk33
Hi, I would like to know why Jython is no longer being supported (is it bad?, performs poorly?, what are the reasons). Thanks.

Re: End of Jython support

Posted: Sun Oct 22, 2017 6:36 am
by Sacrifice
obsoleted?

Re: End of Jython support

Posted: Fri Oct 27, 2017 8:27 pm
by Zoey76
ruk33 wrote:
Sun Oct 22, 2017 12:02 am
Hi, I would like to know why Jython is no longer being supported (is it bad?, performs poorly?, what are the reasons). Thanks.
Many systems work by using Python, it's pretty good for fast prototyping, it does perform slower than Java, C++ or Go.

We find that debugging and fixing errors in Python takes more time than on Java, also, it's good that the entire system works with the same code base and language, that allow us to focus on improving Java skills.