Ir para conteúdo
  • Cadastre-se

[Source] L2kt - Interlude Open Source in Kotlin


Elfocrash

Posts recomendados

Hello everyone

L2kt is a project based on 379 aCis currently migrating from Java to

O conteúdo está oculto, favor efetuar login ou se cadastrar!

 

Project goals

  • Migrate from Java to 100% Kotlin.
  • Refactor a lot of the terrible code in aCis (most of it).
  • Create an advanced plugin based API for people to write their customs in without messing up with the source.
  • Migrate from Ant to Gradle.
  • Dockerise the project.
  • Keep it open source. The main engine itself will never be private.

 

Current stage

The project has been migrated to 20% Kotlin. It is already 20 thousand lines less code, just by migrating. There is not major refactoring that has taken place yet.

 

Sources

If you can do any of those things then feel free to give me a hand.

O conteúdo está oculto, favor efetuar login ou se cadastrar!

It's licensed under GLP-3.0 mainly because that is the L2j license and I don't have any right to sublicense.

The project is fully managed on Discord for now: 

O conteúdo está oculto, favor efetuar login ou se cadastrar!

 

(To be updated soon)

  • Gostei 14
  • Amei 4
  • Obrigado 1
Link para o comentário
Compartilhar em outros sites


26 minutes ago, Dwbryel said:

Interesting, I've never heard of Kotlin

It's a really nice JVM language that's getting really popular and have A TON of advantages, the main one being, it's way cleaner and faster to write.

Example in Java:

O conteúdo está oculto, favor efetuar login ou se cadastrar!

 

The EXACT same thing in Kotlin:

O conteúdo está oculto, favor efetuar login ou se cadastrar!

 

There are many many others, I highly recommend reading up on it.

Link para o comentário
Compartilhar em outros sites

Just now, SkyDoidao said:

People are already old in java and did not want to learn from laziness.
Do you really think they'll be interested in a new language of programation?
Nice job, but I think there will only be requests and no help!

You don't have to learn the language. You can keep writing java. Kotlin is interopable with Java, which means you can have both languages in the same project.
L2kt will have an API to allow for customs without the need to change the source unless there is a special case.

I am not writing it in Kotlin because of the community but because of me. It just also happens to be open source.

 

Link para o comentário
Compartilhar em outros sites

19 minutes ago, Dwbryel said:

progress is very fast Wow!

I'm integrated with how this will work ?

First step will be to test the project and see if there are any bugs created from the migration. In parallel with that, a lot of ThreadPool executions will be replaces with coroutines. That's where the performance improvements will come into place and differentiate use from acis.

Link para o comentário
Compartilhar em outros sites

Em 14/02/2019 at 16:37, SkyDoidao disse:

People are already old in java and did not want to learn from laziness.
Do you really think they'll be interested in a new language of programation?
Nice job, but I think there will only be requests and no help!

People are not willing to learn something new is fact, I understand. However, I may be wrong, but L2jBrasil is a forum to learn, but many confuse it with a forum full of packs ready to be online, hence the various applications! But deciding not to learn something new is stupid.

Link para o comentário
Compartilhar em outros sites

É muito bacana ver alguém fazendo algo tão aprimorado como isso, pena que foi para uma chronica morta. 

Se eu fosse você não deixaria open source, daqui a pouco alguém pega teu projeto, troca de nome, adiciona uns java mods e começa a vender. 

Um mundo de diversão no Lineage 2

https://www.primeworld.com.br

Discord: Em breve

Comunidade brasileira de Lineage. Interlude Remastered / High Five / Essence 

Classes remasterizadas, sistemas únicos, diversão garantida.

Link para o comentário
Compartilhar em outros sites

26 minutos atrás, Elesis disse:

É muito bacana ver alguém fazendo algo tão aprimorado como isso, pena que foi para uma chronica morta. 

Se eu fosse você não deixaria open source, daqui a pouco alguém pega teu projeto, troca de nome, adiciona uns java mods e começa a vender. 

Acho interessante a galera querer privar as coisas, que não são pra ser, igual respondi ao amigo la em cima, L2jBrasil é um fórum de aprendizado, apesar de muitos não ver isso. A ideia dele é ótima, a nossa cultura que é ruim! Sou fruto dos OpenSource aqui do forum, graças a eles, eu consigo fazer oque eu gosto hoje em dia, e irei seguir a iniciativa, e modificar a L2jBlueHeart. Quem sabe não saia uma L2KT BlueHeart

Link para o comentário
Compartilhar em outros sites

Em 22/02/2019 at 13:25, TurtleLess disse:

Acho interessante a galera querer privar as coisas, que não são pra ser, igual respondi ao amigo la em cima, L2jBrasil é um fórum de aprendizado, apesar de muitos não ver isso. A ideia dele é ótima, a nossa cultura que é ruim! Sou fruto dos OpenSource aqui do forum, graças a eles, eu consigo fazer oque eu gosto hoje em dia, e irei seguir a iniciativa, e modificar a L2jBlueHeart. Quem sabe não saia uma L2KT BlueHeart

Não quero privar as coisas, meu jovem, isso é algo que acontece e muito e você sabe. Hoje em dia mexer com a estrutura de uma rev vem puramente do prazer mesmo, da satisfação de fazer algo que goste, por que necessidade, não há. Você pode pegar uma aCis e abrir um server se for bem divulgado ele vai lotar e vai morrer assim como acontece com todo e QUALQUER servidor interlude em pouquíssimo tempo. 

Boa sorte com seus projetos BlueHeart, seria bacana se você investisse também em Gracia final ou epilog quem sabe, afinal de contas não existe nenhum projeto L2J sendo trabalhado no mesmo e muita gente adora tais chronicas. 

Um mundo de diversão no Lineage 2

https://www.primeworld.com.br

Discord: Em breve

Comunidade brasileira de Lineage. Interlude Remastered / High Five / Essence 

Classes remasterizadas, sistemas únicos, diversão garantida.

Link para o comentário
Compartilhar em outros sites

  • 5 months later...

Tópico movido para área de links offline.

12 minutos atrás, Failed disse:

Alguém tem essa soucer ? link off

Não tenho certeza, mas creio eu que esse seja a L2jRest do proprio Elfocrash, no github dele tem a source: 

O conteúdo está oculto, favor efetuar login ou se cadastrar!

pD5PSQp.png

" Você nunca sabe que resultados virão de suas ações, mas se você não fizer nada, não existirão resultados"

 

 

Link para o comentário
Compartilhar em outros sites

  • Grundor featured e pinned this Tópico
  • L2JBr ADM

@Elfocrash What happened with the repository ? Is it because te Tryskell`s maxcheaters post ?

EJoOSOj.gif

Sua pergunta foi respondida? Certifique-se de marcar a resposta como a solução aceita.
Se existe mais de uma resposta, utilize o "vote up" para destacá-la.
Se você achar uma resposta útil, diga obrigado clicando no botão "Gostei".

Link para o comentário
Compartilhar em outros sites

  • 3 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Visitante
Responder

×   Você colou conteúdo com formatação.   Remover formatação

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Processando...
  • Registre-se

    Faça parte da maior e  mais antigas comunidades sobre Lineage2 da América Latina.





×
×
  • Criar Novo...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.