AL-Commons

Results 1 to 7 of 7
  1. #1
    Proficient Member qw19860616 is offline
    MemberRank
    Jun 2013 Join Date
    151Posts

    AL-Commons

    I've always wondered about AL-Commons, the specific purpose of this file! ! If you modify or add the code inside, what's the effect? If anyone knows, please tell me the specific function of this document after editing.


  2. #2
    Member ALeKsIuS is offline
    MemberRank
    Apr 2016 Join Date
    KievLocation
    53Posts

    Re: AL-Commons

    That's utility lib, here Db manager, pools and network implementation.

  3. #3
    Proficient Member qw19860616 is offline
    MemberRank
    Jun 2013 Join Date
    151Posts

    Re: AL-Commons

    Quote Originally Posted by ALeKsIuS View Post
    That's utility lib, here Db manager, pools and network implementation.
    Thank you. If I want to optimize the server, should I do it here?

  4. #4
    Proficient Member StingerOne is offline
    MemberRank
    Aug 2021 Join Date
    AltgardLocation
    160Posts

    Re: AL-Commons

    Quote Originally Posted by qw19860616 View Post
    Thank you. If I want to optimize the server, should I do it here?


    Not just utilities, but also the base implementations for things such as client packets and server packets.



    If you want to optimize, I'd start there in the commons, specifically the NioServer, but honestly I'd just scrap the entire thing and start again.

  5. #5
    Proficient Member qw19860616 is offline
    MemberRank
    Jun 2013 Join Date
    151Posts

    Re: AL-Commons

    Quote Originally Posted by StingerOne View Post


    Not just utilities, but also the base implementations for things such as client packets and server packets.



    If you want to optimize, I'd start there in the commons, specifically the NioServer, but honestly I'd just scrap the entire thing and start again.
    Of course, it is also an option to do it again, but I think it takes a lot of time to do it again. I don't have much time, if you are willing to provide some help.

  6. #6
    Proficient Member StingerOne is offline
    MemberRank
    Aug 2021 Join Date
    AltgardLocation
    160Posts

    Re: AL-Commons

    Quote Originally Posted by qw19860616 View Post
    Of course, it is also an option to do it again, but I think it takes a lot of time to do it again. I don't have much time, if you are willing to provide some help.
    Start here https://www.w3schools.com/java/java_intro.asp

    Take a look at this to get an idea of the scope https://jenkov.com/tutorials/java-ni...ng-server.html

    Here are some optimizations https://blogs.oracle.com/javamagazin...uture-callback

    Alternatively rebuild the emulator in another programming language.

    It might seem overwhelming, but once you get an idea of how the emulator works it becomes a lot easier.

    If you want to know more about the protocol and how it works, post specific questions in the development section after looking through the code base and I will answer them with as much detail as I can provide.

  7. #7
    Proficient Member qw19860616 is offline
    MemberRank
    Jun 2013 Join Date
    151Posts

    Re: AL-Commons

    Quote Originally Posted by StingerOne View Post
    Start here https://www.w3schools.com/java/java_intro.asp

    Take a look at this to get an idea of the scope https://jenkov.com/tutorials/java-ni...ng-server.html

    Here are some optimizations https://blogs.oracle.com/javamagazin...uture-callback

    Alternatively rebuild the emulator in another programming language.

    It might seem overwhelming, but once you get an idea of how the emulator works it becomes a lot easier.

    If you want to know more about the protocol and how it works, post specific questions in the development section after looking through the code base and I will answer them with as much detail as I can provide.
    Thank you very much.



Advertisement