Jump to content

I'm developing the new L2 Classic server in .NET


Recommended Posts

Hi everyone,

 

I'm working of the new L2 Classic server in .NET.

Basically I ported the L2J Mobius Essence 7.3 server sources for the new 447 protocol. 

Currently the project sources can compile and able to run. I'm able to create characters, enter the world, walk, fight with mobs, etc.

There are still some bugs present after porting and I'm working on them. 

 

My goal is to modernize the code base and do performance optimizations after fixing the bugs. I see big potential here.

.NET was chosen because I have huge experience working on high-load projects in .NET and C++. I don't know Java good enough for this.

 

I'm looking for people who might be interested to take part in the project. I promise to take care of the core part. I would appreciate any help with the datapack and geodata, this is my lowest priority for now, I need to fix bugs first.

 

Best,
Grymyr

 

https://github.com/ax-grymyr/l2dn-server

  • Like 3
Link to comment
Share on other sites

  • 1 month later...
  • 2 weeks later...

For many reasons:

 

1) modernizing code base, increase maintainability and reduce effort for development of new feature: split code into business layers, for example data from datapack, npc/item templates, world objects; remove circular dependencies between layers; create API-like objects; remove duplicated code (copy-pasts); using external libraries to replace some part of the code

 

2) using modern tools like ORMs (EF core) with ability to use different DBMS (I already switched from MySQL to PostgreSQL) ; generators for in-game interfaces (L2 html's)

I'm thinking also about using Akka (agent) library in the future for world objects and their interaction.

 

3) optimizations: for example reducing memory usage and memory allocations with C# structs

 

Link to comment
Share on other sites

On 5/6/2024 at 1:54 PM, Grymyr said:

For many reasons:

 

1) modernizing code base, increase maintainability and reduce effort for development of new feature: split code into business layers, for example data from datapack, npc/item templates, world objects; remove circular dependencies between layers; create API-like objects; remove duplicated code (copy-pasts); using external libraries to replace some part of the code

 

2) using modern tools like ORMs (EF core) with ability to use different DBMS (I already switched from MySQL to PostgreSQL) ; generators for in-game interfaces (L2 html's)

I'm thinking also about using Akka (agent) library in the future for world objects and their interaction.

 

3) optimizations: for example reducing memory usage and memory allocations with C# structs

 

 

So you're going to leverage Postgre's features on L2J ? How ? 😂 Show us an example

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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.



×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock