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

    • 我们商店的新产品: ➡Telegram 乌克兰 +380 | 未使用过 | 清洁账户 | TDATA | 无垃圾邮件封锁 | 包含 2FA | 年龄: 从 3 天起 | 价格从 $3.2 起 ➡Facebook 老账号 2020–2023 | 地区: EU+ASIA | 年龄: 2020–2023 | 资料填充真实好友: 50+ | 包含邮箱 + 2FA | 真实账号 | 价格从 $4.5 起 ➡SORA 2 | 为您的账号或现成 ChatGPT 账号提供邀请代码 + Sora 2(请阅读产品说明)| 价格从 $2 起 ➡Instagram 真正的老账号 (2010–2013) 带/不带 2FA 访问 | 国家: 混合 | 包含 Submail | 价格从 $4 起 ➡Reddit 用于 ONLYFANS 的 Karma 老账号 | 1,000–10,000 KARMA(可选择)| 混合 IP 注册 | 高质量账号,适合 ONLYFANS 工作者 | 价格从 $4 起 ➡Mail.tm (临时邮箱) 自动注册账号 | 混合 IP 和混合性别 | 支持 IMAP、POP3、SMTP | 价格从 $0.005 起 ➡ShadowSocks、VLESS、Trojan VPN 客户端 | 可选择任何国家 | 支持所有设备和国家(包括俄罗斯!) | 有效期: 30/90/180/360 天 | 价格从 $3 起 ➡TIKTOK ADS 已验证账号 | 地区: 亚洲/美国/欧洲、非洲、阿拉伯国家、南美 | 亚洲/美国/欧洲公司认证 + POSTPAY | 完全访问 | 价格从 $20 起 ➡TIKTOK ADS 账号 | 地区: 欧洲 + 澳大利亚(可选) | 商业认证 + POSTPAY + $6000 优惠券 | 手动注册 | 邮箱访问 + Cookies + VAT 信息 | 价格从 $6 起 ➡Telegram API/HASH 美国 +1 自动注册 1+ 月龄 TDATA + SESSION + JSON + 2FA + API/HASH ID | 价格从 $0.95 起 ➡KYC 商业验证服务 | 适用于任何服务 | 可用地区: 欧洲、美国、亚洲公司 | 价格从 $300 起 ➡Telegram 美国/加拿大 +1 带 ACTIVE PREMIUM 到 2025.12.01 自动注册 | 年龄: 6+ 月 | TDATA + SESSION + JSON + 2FA + PREMIUM | 价格从 $0.65 起 ➡Telegram 美国/加拿大 +1 带 ACTIVE PREMIUM(30 天)自动注册 | 年龄: 6+ 月 | TDATA + SESSION + JSON + 2FA + PREMIUM 30 天 | 价格从 $5 起 可在我们网站商店或通过 Telegram 机器人购买! 有效链接: 数字商品商店 (网站): 前往 商店 Telegram 机器人: 前往 – 通过 Telegram 便捷访问商店。 其他服务: 虚拟号码服务: 前往 购买 Telegram Stars 的机器人: 前往 – 在 Telegram 中快速且有利地购买 Stars。 SMM 面板: 前往 – 推广您的社交媒体账号。 我们想向您展示当前购买我们服务产品和服务的 促销和特惠 列表: 1. 首次购买可使用促销代码: SOCNET (15% 折扣) 2. 在商店余额获得 $1 或 10–20% 折扣 — 注册后发送用户名,模板: "SEND ME BONUS, MY USERNAME IS..." — 请在我们的论坛帖子中填写! 3. SMM 面板首次试用可获得 $1 — 在我们网站(支持)创建主题为 “Get Trial Bonus” 的工单。 4. 每周在 Telegram 频道及 Stars 购买机器人中赠送 Telegram Stars! 新闻: ➡ Telegram 频道: https://t.me/accsforyou_shop ➡ WhatsApp 频道: https://chat.whatsapp.com/K8rBy500nA73z27PxgaJUw?mode=ems_copy_t ➡ Discord 服务器: https://discord.gg/y9AStFFsrh 联系方式和支持: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ 邮箱: solomonbog@socnet.store
    • New products in our store: ➡Telegram Ukraine +380 | NO USED BEFORE | CLEAR ACCOUNTS | TDATA | No Spam Block | 2FA included | Age: from 3 days | Price from $3.2 ➡Facebook OLD Account 2020–2023 | Geo: EU+ASIA | Age: 2020–2023 | Profile filled with real friends: 50+ | Email Included + 2FA included | Real accounts | Price from $4.5 ➡SORA 2 | Invite code for YOUR account or a READY ChatGPT account + Sora 2 (read the product description) | Price from $2 ➡Instagram REALLY OLD accounts (2010–2013) with/without 2FA access | Country: MIX | Submail included | Price from $4 ➡Reddit FOR ONLYFANS Karma OLD Accounts | 1,000–10,000 KARMA (your choice) | MIX IP Registered | High-Quality Accounts for ONLYFANS WORKERS | Price from $4 ➡Mail.tm (temporary mails) AutoReg Account | Mixed IPs and Mixed Gender | IMAP, POP3, and SMTP Enabled | Price from $0.005 ➡ShadowSocks, VLESS, Trojan VPN Client | Any Country of Your Choice | Works on All Devices and in Any Country (Including Russia!) | Duration: 30/90/180/360 days | Price from $3 ➡TIKTOK ADS VERIFIED ACCOUNTS | GEO: ASIA/USA/EUROPE, AFRICA, ARABIC COUNTRIES, SOUTH AMERICA | Business Verified On ASIA/USA/EUROPE Company + POSTPAY | FULL ACCESS | Price from: $20 ➡TIKTOK ADS ACCOUNTS | GEO: Europe + Australia (your choice) | Business Verified + POSTPAY + BONUS COUPON for $6000 | Manual Registration | Email access + Cookies + VAT Info | Price from: $6 ➡Telegram API/HASH USA +1 Autoreg 1+ month age TDATA + SESSION + JSON + 2FA + API/HASH ID | Price from: $0.95 ➡KYC Business Verification Services | Verification for any service | Available geo: EUROPE, USA, ASIA Companies | Price from $300 ➡Telegram USA/Canada +1 with ACTIVE PREMIUM UP TO 01.12.2025 Autoreg | Age: from 6+ months | TDATA + SESSION + JSON + 2FA + PREMIUM | Price from $0.65 ➡Telegram USA/Canada +1 with ACTIVE PREMIUM (30 DAYS) Autoreg | Age: from 6+ months | TDATA + SESSION + JSON + 2FA + PREMIUM for 30 DAYS | Price from $5 Available for purchase in our store on the website or via the Telegram bot! Active links: Digital goods store (Website): Go to Store Telegram bot: Go to – convenient access to the store through the Telegram messenger. Other services: Virtual numbers service: Go to Telegram bot for purchasing Telegram Stars: Go to – fast and profitable purchase of Stars in Telegram. SMM Panel: Go to – promotion of your social media accounts. We want to present you the current list of promotions and special offers for purchasing our service’s products and services: 1. You can use a promo code for your first purchase: SOCNET (15% discount) 2. Get $1 on your store balance or a 10–20% discount — simply send your username after registering on our website using the following template: "SEND ME BONUS, MY USERNAME IS..." — you need to write this in our forum thread! 3. Get $1 for the first trial start of the SMM Panel: just open a ticket with the subject “Get Trial Bonus” on our website (Support). 4. Weekly Telegram Stars giveaways in our Telegram channel and in our bot for purchasing stars! News: ➡ Telegram channel: https://t.me/accsforyou_shop ➡ WhatsApp channel: https://chat.whatsapp.com/K8rBy500nA73z27PxgaJUw?mode=ems_copy_t ➡ Discord server: https://discord.gg/y9AStFFsrh Contacts and Support: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store
    • New products in our store: ➡Telegram Ukraine +380 | NO USED BEFORE | CLEAR ACCOUNTS | TDATA | No Spam Block | 2FA included | Age: from 3 days | Price from $3.2 ➡Facebook OLD Account 2020–2023 | Geo: EU+ASIA | Age: 2020–2023 | Profile filled with real friends: 50+ | Email Included + 2FA included | Real accounts | Price from $4.5 ➡SORA 2 | Invite code for YOUR account or a READY ChatGPT account + Sora 2 (read the product description) | Price from $2 ➡Instagram REALLY OLD accounts (2010–2013) with/without 2FA access | Country: MIX | Submail included | Price from $4 ➡Reddit FOR ONLYFANS Karma OLD Accounts | 1,000–10,000 KARMA (your choice) | MIX IP Registered | High-Quality Accounts for ONLYFANS WORKERS | Price from $4 ➡Mail.tm (temporary mails) AutoReg Account | Mixed IPs and Mixed Gender | IMAP, POP3, and SMTP Enabled | Price from $0.005 ➡ShadowSocks, VLESS, Trojan VPN Client | Any Country of Your Choice | Works on All Devices and in Any Country (Including Russia!) | Duration: 30/90/180/360 days | Price from $3 ➡TIKTOK ADS VERIFIED ACCOUNTS | GEO: ASIA/USA/EUROPE, AFRICA, ARABIC COUNTRIES, SOUTH AMERICA | Business Verified On ASIA/USA/EUROPE Company + POSTPAY | FULL ACCESS | Price from: $20 ➡TIKTOK ADS ACCOUNTS | GEO: Europe + Australia (your choice) | Business Verified + POSTPAY + BONUS COUPON for $6000 | Manual Registration | Email access + Cookies + VAT Info | Price from: $6 ➡Telegram API/HASH USA +1 Autoreg 1+ month age TDATA + SESSION + JSON + 2FA + API/HASH ID | Price from: $0.95 ➡KYC Business Verification Services | Verification for any service | Available geo: EUROPE, USA, ASIA Companies | Price from $300 ➡Telegram USA/Canada +1 with ACTIVE PREMIUM UP TO 01.12.2025 Autoreg | Age: from 6+ months | TDATA + SESSION + JSON + 2FA + PREMIUM | Price from $0.65 ➡Telegram USA/Canada +1 with ACTIVE PREMIUM (30 DAYS) Autoreg | Age: from 6+ months | TDATA + SESSION + JSON + 2FA + PREMIUM for 30 DAYS | Price from $5 Available for purchase in our store on the website or via the Telegram bot! Active links: Digital goods store (Website): Go to Store Telegram bot: Go to – convenient access to the store through the Telegram messenger. Other services: Virtual numbers service: Go to Telegram bot for purchasing Telegram Stars: Go to – fast and profitable purchase of Stars in Telegram. SMM Panel: Go to – promotion of your social media accounts. We want to present you the current list of promotions and special offers for purchasing our service’s products and services: 1. You can use a promo code for your first purchase: SOCNET (15% discount) 2. Get $1 on your store balance or a 10–20% discount — simply send your username after registering on our website using the following template: "SEND ME BONUS, MY USERNAME IS..." — you need to write this in our forum thread! 3. Get $1 for the first trial start of the SMM Panel: just open a ticket with the subject “Get Trial Bonus” on our website (Support). 4. Weekly Telegram Stars giveaways in our Telegram channel and in our bot for purchasing stars! News: ➡ Telegram channel: https://t.me/accsforyou_shop ➡ WhatsApp channel: https://chat.whatsapp.com/K8rBy500nA73z27PxgaJUw?mode=ems_copy_t ➡ Discord server: https://discord.gg/y9AStFFsrh Contacts and Support: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store
  • 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