Jump to content

Recommended Posts

Posted (edited)

Hi,

 

After few months of work I've decompiled L2AuthD.exe (build 40504). I've tested it with patched C2 client and other C1 server parts. Original code (with minor fixes, all commented with // FIXED) can be found on bitbucket. Probably many of Extender writers have done this as well, but for those who haven't - take a look

 

https://bitbucket.org/master_toma/lineage2-c1-harbingers-of-war

UPDATE: 04.2018 source code has been CLOSED

 

I have other fixes and other parts as well, they are not finished for now, therefore. PM me for details. I'm planning to port it to newest C++ to avoid as much OS API as possible, and then port to Linux.

 

Any info/comments/shares are appreciated. 

 

 

02.05.2017: support for MSVC2008 (branch "legacy") was added

07.06.2017: Reverse of L2LogD.exe is finished, working with code

10.06.2017: Filters added to the MSVS project

11.06.2017 Adjustments for SINA servers: c1_ext, c4_ext and c6_ext https://bitbucket.org/master_toma/lineage2-c1-harbingers-of-war/branches/ (tested on C1, C4 and IL clients). Thanks smeli for help

01.07.2017 Decompiled and built L2LogD.exe. Feel free to test it, report issues and get sources.

08.07.2017 L2LogD sources were published

08.07.2017 L2AuthD from devel branch is built into 3 binaries: for c1, c4 and c6 support.

2469489709-builds.png

 

NOTE: there are no any CUSTOMS in legacy branch, except for obvious fixes. All of them are marked with comment // FIXED. All customs are going to separate branches.

 

02.04.2018  AuthD is fixed to work with original clean L2 C1 client

06.04.2018 Original bug in C1 binaries, that led to deadlocks 

!!! deadlock or super-lag detected!!!

!!! deadlock or super-lag detected!!!

has been fixed

 

15.04.2018 AuthD, LogD, CacheD have been ported to x64. Now you can build in both, x32 and x64 platforms

01.07.2018 NASC for C1 is completed and shared

15.10.2018 QuestCompiler for C1 is ready

01.06.2019 L2NPC.exe for C1+ is ready, and passed live testing on x100 server among with CacheD and other binaries

Working on L2Server.exe from C1 now - 40% done

 

If someone wants try join me - you are welcome, I can share IDA file (be sure you have some reputation, though), and you can help. Just PM me. All contributors will have access to the source codes

Edited by MasterToma
updates
  • Like 1
  • Upvote 3
Posted

Hi,

 

I've ran too much successful (and more not so succesfull :D ) L2J and L2OFF servers, mainly IL, and while L2J is easy-as-hell to extend, it's shitty as well in other aspects, so I've decided that it's time for L2OFF open source project.

 

After few months of work I've decompiled L2AuthD.exe (build 40504). I've tested it with patched C2 client and other C1 server parts. Original code (with minor fixes, all commented with // FIXED) can be found on bitbucket. Probably many of Extender writers have done this as well, but for those who haven't - take a look

 

https://bitbucket.org/master_toma/lineage2-c1-harbingers-of-war

 

I have other fixes and other parts as well, they are not finished for now, therefore. PM me for details. I'm planning to port it to newest C++ to avoid as much OS API as possible, and then port to Linux.

 

Any info/comments/shares are appreciated. 

That's looks very promising, at least that's some start to get rid of java .

 

Can  you tell me about game mechanics like calculating character stats(formulas), movement, interaction between (PvP,PVE), is it available in asm code or its not yet finished for release  ?

 

And i think most of all concerns - integrity with new chronicles client (High Five), L2 Classic is the main scope, the amount of source you provide is enough to get to that level(were you can simply run a server and let players in) and if its so how much time do you think it would require & how many coders must work on that, even with use of Java code as example + Gracia Final asm and some other extenders . 

Posted

That's looks very promising, at least that's some start to get rid of java .

Well, L2J is actually a great project, and many devs were inspired by it. The problem it's not in java, but rather in implementation details - if they would use L2OFF logic, we wouldn't have to write extenders.

 

 

Can  you tell me about game mechanics like calculating character stats(formulas), movement, interaction between (PvP,PVE), is it available in asm code or its not yet finished for release  ?

It's available in asm code, but you can't use it out of box, since someone have to decode asm-code and give meaningful names to methods and variables. It's the hardest job.

 

And i think most of all concerns - integrity with new chronicles client (High Five), L2 Classic is the main scope, the amount of source you provide is enough to get to that level(were you can simply run a server and let players in) and if its so how much time do you think it would require & how many coders must work on that, even with use of Java code as example + Gracia Final asm and some other extenders . 

Just to make it clear. 

I provided code for only L2AuthD, based on C1 (because many of L2AuthD extenders work on this binary) so far. But from what I've seen - it's quite easy to add IL support (based on sina's open source extenders or some others). I would say, it's a matter of few days ofr an experienced developer. I'm not aware of GF and other auth mechanics, since I'm experienced with IL mainly.

 

I'm decompiling right now on other parts (from C4). Having source codes of extenders (there are some opened), I would estimate adding support for IL for few months.

 

Since I'm focusing on decompilation, someone other should take care of porting extenders asm hooks to current code base. That's why I opened my achievements and posted it here :) Would be nice to have Vanganth code opened (since he stopped active development http://www.maxcheaters.com/topic/207258-interlude-project/), or at least shared - having this, would give us very stable and robust IL + GF.

Posted

c1 can be ran on linux

microsoft sql is not thats the problem

 

thanks for auth source, i will try to work with it

 

 

ps. interlude auth suits for all above interlude, except classic

Posted
Would be nice to have Vanganth code opened (since he stopped active development http://www.maxcheaters.com/topic/207258-interlude-project/), or at least shared - having this, would give us very stable and robust IL + GF.

 

Vanganth stopped active development but other people have payed to buy his source (ex: myself) so don't expect it to be shared like that...

Posted

trying microsoft visual c++ 2008 express (32 bit)

L2Auth\src\network/CLogSocket.h(7) : fatal error C1083: Cannot open include file: 'cstdint': No such file or directory

Posted (edited)

MSVC has very poor support of C and C++ subset... <cstdint> is supported from MSVC2012. Unfortunately, I haven't tested it on 2008. I will add this as a comment, thank you.

 

@smeli, I think, you won't be able to compile it with old versions of MSVC, since I've used C++11 (auto for iterators) and cstdint header for typedefs. Note, that it's not an "extender", so you are free to use new compiler, you are not bound to 2008.

 

However, feel free to make a merge request to keep legacy branch compatible with older compilers. All new features are done in new devel branch, including migration to C++xx

Edited by MasterToma
Posted (edited)

you can use Cmake to generate whatever project you want, even code blocks or NMake Windows files. 

I'll download MSVC 2008 and try it. You can send me errors in PM, or create issues with errors on bitbucket.

Edited by MasterToma
Guest
This topic is now closed to further replies.



  • Posts

    • https://l2neverpain.com/ https://discord.gg/kNP3UXgkmN  Client: Interlude  Gameplay: Custom PvP With Special Bosses/PartyFarm/SoloZone etc  Class changes 1st, 2nd, 3rd: Free.  Nobless: Barakiel or by item ->Barakiel Card  Buffs 2 Hours  Maximum clients per PC:Unlimited.  Skill learning: Automatic. The server rates have been carefully adjusted to provide a balanced and competitive PvP experience. Farming and gearing up are streamlined to ensure players can focus on intense battles without excessive grinding. Drops, enchant rates, and economy are optimized to maintain fairness and keep the action engaging. Whether you prefer solo fights, mass PvP, or organized clan wars, the system is designed to keep the adrenaline high and the competition fierce! Rates Generales  Exp/Sp: PvP x9999 Start Lv80  Adena: x9999(Custom) Rates By Scrolls Enchant Level Success rate +0 → +4 100% (Normal) +4 → +12 75% (Blessed) +12 → +16 Read Green Note (Crystal) Crystal -> +13 75% +14 70% +15 65% +16 50% Premium users have 5% more chance Ex: If +14 failed for +15, return +14 We have an automatic events system that can be registered within the game using the .join for register and .leave for unregister or use npc in main town Only one character can be registered per PC. Team Vs Team  Winner Team: 10 Event Card  Lost Team: 5 Event Card  TvT Times: 01:00 10:00 16:30 22:00 Capture The Flag  Winner Team: 10 Event Card  Lost Team: 5 Event Card  CTF Times: 03:00 13:00 18:00 23:00 Deathmatch  Winner: 20 Event Card  DM Times: 06:00 15:00 21:00 23:30 The raid boss system of L2NeverPain is custom, and each boss respawns at a specific time based on the moment it is defeated Grand Bosses  Grand Bosses: Respawn 8 Hours.   Raid Bosses  Raids: Respawn: 1 Hours (All Grandbosses or Raidbosses zone is Flagzone)  Barakiel: Respawn: 3 Hours (Bless your party with Noblesse)  Hero Boss: Respawn: 3 Hours (Bless your party with Hero Stauts for 2 Hours) Drop System  Grand Bosses: 100% Ryknos Armor+Icarus Weapon Part/Agathion/Farm Coin/Adena/GB/LS/BOG/Custom Hat/Raid Token/Skin Token  Raid Bosses: Farm Coin/Adena/GB/LS/Bog/Custom Hat/Raid Token   Premium System Info Premium  Exp/Sp (XP): x2  Enchant Boost: +5%  Drops: x2  Autofarm: .autofarm or by interface Premium users have access to change color name from community board (alt b) OLYMPIAD Olympiad Information Win the most battles of your class and proclaim yourself Hero! Olympiad Information Weekly Olympiad Heroes are announced every saturnday 24:00 The battles will take place from 18:00 p.m. to 24:00 p.m. The minimum participant requirement to start a fight is 4 players Balance Information A Grade Olympiad +6 (Automatic enchant gear +6)       https://l2neverpain.com/ https://discord.gg/kNP3UXgkmN
    • We know that when you’re working with big volumes, fair and flexible terms matter the most.   That’s why for our wholesale clients we offer personalized deals  we’re open to discuss prices, adjust to your needs, and find the format that works best for you. We truly value long-term partnerships and always do our best to support those who grow with us.   Website link — https://vibe-sms.net/ Our Telegram channel — https://t.me/vibe_sms  
    • SOCNET — is a universal service combining a digital goods store, an SMM panel, and a Telegram bot for purchasing Telegram Stars; here you will find TikTok, Instagram, Reddit, Twitter, Telegram, Facebook, LinkedIn, WhatsApp, SnapChat, YouTube, Google, Discord accounts, emails (Outlook, Hotmail, Gmail, Rambler, Firstmail, and others), access to ChatGPT 5, gift cards, and premium subscriptions to many services — all at the best prices! We are currently actively looking for new suppliers for various product categories, which include: Priority list of positions: — Snapchat old and new accounts | With snapscores | Geo: Europe/USA | Full access via email/phone number — Reddit old accounts (brute or cracked origin, self-regs) with post and comment karma from 100 up to 100,000+ | Full access with email included — LinkedIn old accounts with real connections | Geo: Europe/USA | Full email access + active 2FA password — Instagram old accounts (2010-2023) | Full email access (possibly with attached 2FA password) — Facebook old accounts (2010-2023) | Full email access (possibly with attached 2FA password) | With friends or without friends | Geo: Europe/USA/Asia — Threads accounts | Full email access (possibly with attached 2FA password) — TikTok/Facebook/Google ADS Agency advertising accounts We are also open to considering other product categories from you, feel free to contact us through the details listed below in this thread! ⚡ Terms of cooperation: ⚡ 1. You prepare a preliminary description of your product 2. We publish your product in our online store and Telegram bots (in both Russian and English). 3. After the product is sold in our stores, we transfer the funds to you by any convenient method within 24 hours from the moment of sale (any cryptocurrency, PayPal, Payeer, TG Stars, and other methods)   ‼ If you have doubts about working with us or are afraid to send the product first, we agree to work through an escrow service of a trusted provider, or you can simply check out the huge base of reviews about our services in this Google document (reviews from our website, Telegram bot, and other platforms where our products are listed). Document ⭐ We invite you to COOPERATE and EARN with us ⭐ Do you want to sell your product or service in our stores and earn money? Become our partner or propose mutually beneficial cooperation? Become our wholesale client and receive the best conditions and discounts? You can contact us through the CONTACTS listed in this thread. We build a reliable partnership network in all areas of online business. We are ready to participate in joint content creation, giveaways, and events! If you work in digital, traffic, accounts, or media and other fields — let’s discuss possible cooperation. We value quality, transparency, and growth. If this resonates with you — write to us, we are open to dialogue! Our current list of partners ⭐ Our contacts ⭐ ➡ Telegram ➡ WhatsApp ➡ Email: solomonbog@socnet.store ➡ Discord: socnet_support ⭐ Our online store ⭐ SOCNET.STORE ⭐ Our Telegram bot for purchasing Telegram Stars ⭐ SOCNET.CC ⭐ Our SMM Panel for social media promotion ⭐ SOCNET.PRO ⭐ Telegram shop ⭐ SOCNET.SHOP   ✅ News resources ➡ Telegram channel ➡ Discord server ➡ WhatsApp channel
    • SOCNET — is a universal service combining a digital goods store, an SMM panel, and a Telegram bot for purchasing Telegram Stars; here you will find TikTok, Instagram, Reddit, Twitter, Telegram, Facebook, LinkedIn, WhatsApp, SnapChat, YouTube, Google, Discord accounts, emails (Outlook, Hotmail, Gmail, Rambler, Firstmail, and others), access to ChatGPT 5, gift cards, and premium subscriptions to many services — all at the best prices! We are currently actively looking for new suppliers for various product categories, which include: Priority list of positions: — Snapchat old and new accounts | With snapscores | Geo: Europe/USA | Full access via email/phone number — Reddit old accounts (brute or cracked origin, self-regs) with post and comment karma from 100 up to 100,000+ | Full access with email included — LinkedIn old accounts with real connections | Geo: Europe/USA | Full email access + active 2FA password — Instagram old accounts (2010-2023) | Full email access (possibly with attached 2FA password) — Facebook old accounts (2010-2023) | Full email access (possibly with attached 2FA password) | With friends or without friends | Geo: Europe/USA/Asia — Threads accounts | Full email access (possibly with attached 2FA password) — TikTok/Facebook/Google ADS Agency advertising accounts We are also open to considering other product categories from you, feel free to contact us through the details listed below in this thread! ⚡ Terms of cooperation: ⚡ 1. You prepare a preliminary description of your product 2. We publish your product in our online store and Telegram bots (in both Russian and English). 3. After the product is sold in our stores, we transfer the funds to you by any convenient method within 24 hours from the moment of sale (any cryptocurrency, PayPal, Payeer, TG Stars, and other methods)   ‼ If you have doubts about working with us or are afraid to send the product first, we agree to work through an escrow service of a trusted provider, or you can simply check out the huge base of reviews about our services in this Google document (reviews from our website, Telegram bot, and other platforms where our products are listed). Document ⭐ We invite you to COOPERATE and EARN with us ⭐ Do you want to sell your product or service in our stores and earn money? Become our partner or propose mutually beneficial cooperation? Become our wholesale client and receive the best conditions and discounts? You can contact us through the CONTACTS listed in this thread. We build a reliable partnership network in all areas of online business. We are ready to participate in joint content creation, giveaways, and events! If you work in digital, traffic, accounts, or media and other fields — let’s discuss possible cooperation. We value quality, transparency, and growth. If this resonates with you — write to us, we are open to dialogue! Our current list of partners ⭐ Our contacts ⭐ ➡ Telegram ➡ WhatsApp ➡ Email: solomonbog@socnet.store ➡ Discord: socnet_support ⭐ Our online store ⭐ SOCNET.STORE ⭐ Our Telegram bot for purchasing Telegram Stars ⭐ SOCNET.CC ⭐ Our SMM Panel for social media promotion ⭐ SOCNET.PRO ⭐ Telegram shop ⭐ SOCNET.SHOP   ✅ News resources ➡ Telegram channel ➡ Discord server ➡ WhatsApp channel
  • 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