Jump to content

Recommended Posts

Posted

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 4
  • Thanks 1
  • 1 month later...
  • 2 weeks later...
Posted

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

 

Posted

Thanks!

@BumbleYou have developed the interesting app. I also have the library to extract data from the client (including latest versions): textures, icons, and data from dat files.

Posted
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

 

  • 1 month later...
Posted
8 hours ago, Grymyr said:

I don't feed trolls. He even haven't had a look at the code.

 

I just asked, what specific feature of Postgre you are going to use that will make a difference over current Mysql/Mariadb implementations 

Posted
13 hours ago, xdem said:

 

I just asked, what specific feature of Postgre you are going to use that will make a difference over current Mysql/Mariadb implementations 

My statement was "2) using modern tools like ORMs (EF core) with ability to use different DBMS (I already switched from MySQL to PostgreSQL)". No words about PostgreSQL specific features, just the ability to use various DBMS via EF core.
Moreover using PostgreSQL specific features would prevent having this ability. 
Now switching to another DBMS is as simple as replacing DBMS provider Nuget package. All plain SQL has been replaced to EF core queries in the code.

Posted (edited)
On 7/12/2024 at 11:58 AM, Grymyr said:

My statement was "2) using modern tools like ORMs (EF core) with ability to use different DBMS (I already switched from MySQL to PostgreSQL)". No words about PostgreSQL specific features, just the ability to use various DBMS via EF core.
Moreover using PostgreSQL specific features would prevent having this ability. 
Now switching to another DBMS is as simple as replacing DBMS provider Nuget package. All plain SQL has been replaced to EF core queries in the code.

 

whats the point though? mariadb is the best option for an mmo like l2, mariadb will never be the bottleneck of the gameserver even in theoretical online counts of 100k+

and its already implemented ...

 

the real bottleneck is the client itself, so extreme optimizations especially yours that are out of context make no sense

 

if your project is for educational purposes okay you can built it with nodejs its okay, but re-inventing the wheel with worst designs makes no sense, you can instead contribute to active real-world l2j projects instead and be useful to the community

Edited by xdem
  • Like 1
Posted
On 7/12/2024 at 10:58 AM, Grymyr said:

My statement was "2) using modern tools like ORMs (EF core) with ability to use different DBMS (I already switched from MySQL to PostgreSQL)". No words about PostgreSQL specific features, just the ability to use various DBMS via EF core.
Moreover using PostgreSQL specific features would prevent having this ability. 
Now switching to another DBMS is as simple as replacing DBMS provider Nuget package. All plain SQL has been replaced to EF core queries in the code.

"You know nothing, Jon Snow"

I am not a troll, Your post shows that you have no experience, that's why you repeat magic words like "modern tools", "specifing features", "stability" etc.
Have You learned C#? Good.

Is this only one language you know?

 

"Anyone who has a hammer sees everything as a nail"

 

There have been similar projects before. All abandoned. In .NET, JS, Go.... even in C++

Eg. https://github.com/Elfocrash/L2dotNET

You will try to understand the geoengine code and how it should work in the game, you will shit your pants - it requires not only programming skills but also understanding of geometry and geolocation issues.

The L2J is a large project, developed by a group of enthusiasts for many years (AFAIK 20 for now), and still bears little resemblance to the original one.

There is no point in replacing Java with .NET

Belive me.

The only thing that can be beneficial is practicing the language.

Try to gather beginner C# programmers, maybe someone will want to practice the language?

But does it make sense?

It is better to practice on a project that may bring income in the future IMHO.

Posted
16 hours ago, Quark said:

"You know nothing, Jon Snow"

I am not a troll, Your post shows that you have no experience, that's why you repeat magic words like "modern tools", "specifing features", "stability" etc.
Have You learned C#? Good.

Is this only one language you know?

 

"Anyone who has a hammer sees everything as a nail"

 

There have been similar projects before. All abandoned. In .NET, JS, Go.... even in C++

Eg. https://github.com/Elfocrash/L2dotNET

You will try to understand the geoengine code and how it should work in the game, you will shit your pants - it requires not only programming skills but also understanding of geometry and geolocation issues.

The L2J is a large project, developed by a group of enthusiasts for many years (AFAIK 20 for now), and still bears little resemblance to the original one.

There is no point in replacing Java with .NET

Belive me.

The only thing that can be beneficial is practicing the language.

Try to gather beginner C# programmers, maybe someone will want to practice the language?

But does it make sense?

It is better to practice on a project that may bring income in the future IMHO.

 

You make no sense mate, am I arguing with a Junior ? 

 

You put a link to a dead unfinished project to prove what ? Its also shit-coded, and you are talking about geoengine specifically ? You must be retarded 
 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Posts

    • We've added 5% discounts for bulk purchases of Google accounts for orders of 300 or more, and 10% for orders of 500 or more. The discount is applied automatically when you place your order! The discount is indicated in the product title and description for each category.  
    • 🎄 CHRISTMAS EVENT 🎄   ‼️ Information and details: https://forum.l2harbor.com/threads/rozhdestvenskie-xlopoty-christmas-chores.9430/post-171464
    • METATG.ORG Direct Telegram Service Provider A bonus of +7% on every order! *We add 7% more followers than your ordered amount to proactively cover potential drops and guarantee you an honest result." Telegram Followers - Price per 1000 SUBSCRIBERS Subscribers 3 days - $0.10 ~ 8 RUB Subscribers. Daily Completion: 200,000,000 Subscribers 7 days - $0.17 ~ 13.6 RUB Subscribers. Daily Completion: 200,000,000 Subscribers 14 days - $0.20 ~ 16 RUB Subscribers. Daily Completion: 200,000,000 Subscribers 30 days - $0.30 ~ 24 RUB Subscribers. Daily Completion: 200,000,000 Subscribers 60 days - $0.40 ~ 32 RUB Subscribers, 14-day guarantee. Daily Completion: 200,000,000 Subscribers 90 days (Super Fast) - $0.50 ~ 40 RUB Subscribers, 14-day guarantee. Daily Completion: 200,000,000 Subscribers 120 days (Super Fast) - $0.60 ~ 48 RUB Subscribers, 14-day guarantee. Daily Completion: 200,000,000 Subscribers Lifetime (Super Fast) - $0.70 ~ 56 RUB Lifetime Subscribers. 14-day guarantee. Daily Completion: 200,000,000 Telegram Services - Price per 1000 Post Views - $0.06 ~ 5 RUB Reactions - $0.08 ~ 6.5 RUB Bot Starts - $0.10 ~ 8 RUB Bot Starts with referrals - $0.15 ~ 12 RUB DISCOUNTS and CASHBACK for large volumes Direct Supplier. We work from our own accounts with our own software! High execution speed. Multiple payment methods. We work 24/7! Additional discounts are discussed for volumes starting from $1000 per day. SUPPORT 24/7 - TELEGRAM WEBSITE 24/7 - METATG.ORG
    • Added: a brand-new default dashboard template. You can now add multiple game/login server builds. Full support for running both PTS & L2J servers simultaneously, with switching between them. Payment systems: added OmegaPay and Pally (new PayPal-style API). Account history now stores everything: donations, items delivered to characters, referrals, transfers between game accounts, and coin transfers to another master account. Personal Promo Code System: you can create a promo code and assign it to a user or promoter. When donating, a player can enter this promo code to receive bonus coins, and the promo code owner also receives a bonus — all fully configurable in the admin panel.     Look demo site: demo
  • Topics

×
×
  • 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