End of Jython support
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
- Zoey76
- L2j Inner Circle
- Posts: 7005
- Joined: Tue Aug 11, 2009 3:36 am
End of Jython support
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.
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.
Powered by Eclipse 4.30
| Eclipse Temurin 21
| MariaDB 11.3.2
| L2J Server 2.6.3.0 - High Five ![๐](//cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f680.svg)
Join our Discord! ![๐ฎ](//cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f3ae.svg)
![๐ฌ](//cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f4ac.svg)
- Gladicek
- Posts: 634
- Joined: Wed Jan 19, 2011 6:25 pm
- Location: Czech Republic
-
- Posts: 1
- Joined: Thu Jun 15, 2017 3:02 am
- Location: United Kingdom
- KGB1st
- Posts: 230
- Joined: Sat Jul 26, 2014 5:58 pm
Re: End of Jython support
TypeError: int() argument must be a string or a number
# C5 addons by DrLecter
# C4 addons by Kerberos
# updated to Kamael by Kerberos
not understand what is this qs.get("Ex")
# Made by Mr. Have fun! - version 0.4 by Rolarga[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
# C5 addons by DrLecter
# C4 addons by Kerberos
# updated to Kamael by Kerberos
Code: Select all
Ex = int(qs.get("Ex"))
- u3games
- Posts: 1156
- Joined: Sun Feb 27, 2011 7:00 pm
- Location: Espaรฑa
- Contact:
Re: End of Jython support
Why ...
in build.gradle ??
Code: Select all
compile 'org.python:jython:2.2.1'
- Zoey76
- L2j Inner Circle
- Posts: 7005
- Joined: Tue Aug 11, 2009 3:36 am
Re: End of Jython support
Because we will remove core support and libraries on the next big release.u3games wrote: โThu Sep 21, 2017 9:14 pm Why ...
in build.gradle ??Code: Select all
compile 'org.python:jython:2.2.1'
Powered by Eclipse 4.30
| Eclipse Temurin 21
| MariaDB 11.3.2
| L2J Server 2.6.3.0 - High Five ![๐](//cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f680.svg)
Join our Discord! ![๐ฎ](//cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f3ae.svg)
![๐ฌ](//cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f4ac.svg)
- u3games
- Posts: 1156
- Joined: Sun Feb 27, 2011 7:00 pm
- Location: Espaรฑa
- Contact:
Re: End of Jython support
Ok perfet ^^Zoey76 wrote: โFri Oct 06, 2017 4:52 amBecause we will remove core support and libraries on the next big release.u3games wrote: โThu Sep 21, 2017 9:14 pm Why ...
in build.gradle ??Code: Select all
compile 'org.python:jython:2.2.1'
-
- Posts: 9
- Joined: Tue Oct 17, 2017 12:29 am
Re: End of Jython support
Hi, I would like to know why Jython is no longer being supported (is it bad?, performs poorly?, what are the reasons). Thanks.
-
- Advanced User
- Posts: 1026
- Joined: Thu Aug 14, 2014 6:31 am
Re: End of Jython support
obsoleted?
- Zoey76
- L2j Inner Circle
- Posts: 7005
- Joined: Tue Aug 11, 2009 3:36 am
Re: End of Jython support
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.
Powered by Eclipse 4.30
| Eclipse Temurin 21
| MariaDB 11.3.2
| L2J Server 2.6.3.0 - High Five ![๐](//cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f680.svg)
Join our Discord! ![๐ฎ](//cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f3ae.svg)
![๐ฌ](//cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f4ac.svg)