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

    • DEVELOPMENT UPDATE #5 PREMIUM FEATURES   Vaelor Premium combines progression bonuses with account and travel conveniences. +15% EXP and SP +5% Adena, Drop and Spoil One additional game window for the Premium account Free town travel through the Alt+B Teleport system and regional Gatekeepers Separate chat channel (^) Premium status and remaining duration displayed in Alt+B Name and title color customization Premium bonuses included in Drop Search calculations Access to the associated convenience features while Premium remains active   Premium does not provide equipment, enchantment levels, combat statistics or access to restricted game content. Votes yield coins that can be used to purchase a premium subscription.     ━━━━━━━━━━━━━━━━━━━━━━   Open Beta is currently running. Premium bonuses and services can be tested before the server's Grand Opening.   Create account: https://l2vaelor.com/register Download: https://l2vaelor.com/#download Discord: https://discord.gg/qMgPxH2fd4  
    • LINEAGE II INTERLUDE • PvP x200 Custom Class Balance • Competitive PvP • Epic Bosses • Modernized Classic Client OFFICIAL WEBSITE   |   FULL SERVER FEATURES WELCOME TO MIGHTY PROJECT x200 Experience Lineage II Interlude with fast progression, reworked support classes, custom farming, scheduled competitive content and convenient modern client features. The server preserves the Interlude spirit while adding practical quality-of-life systems and carefully designed class improvements. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━   01 • SERVER RATES & ECONOMY Chronicle: Interlude   |   Level Cap: 80   |   Server Time: GMT+3 EXP / SP: x200 Adena: x200 Drop / Spoil: x1 Seal Stones: N/A Boss EXP / SP: N/A Currencies: Adena, Coin of Luck, Gold Bar, Farm Mark, Event Medal, Glittering Medal and Premium Buff Coin. 02 • PREMIUM ACCOUNT BONUSES Premium account provides +20% EXP, +20% Adena, +20% regular monster drops and +20% Spoil. Raid boss item drops receive no Premium bonus. The 7-day and 30-day Premium plans provide the same rate multipliers. Premium also increases applicable equipment enchant success chances by 10% relative to their base chance (for example, 50% becomes 55%). 03 • LEVELING, CLASS TRANSFERS & NOBLESSE First, second and third class transfers are free. Subclass is free after reaching level 75. Skills are learned automatically. Permanent Noblesse is awarded through Flame of Splendor Barakiel for the player with the last hit and their online party members. Barakiel respawns 12–36 hours after defeat, and the information is shown on the Community Board. Global boss respawn announcements are enabled. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 04 • CUSTOM CLASSES — SKILL-BY-SKILL GUIDE 12 modified class lines: Listed changes follow the official x200 features. Other classes remain Interlude-based. Multi-rank skills can have different effects at earlier ranks. The complete per-rank tables are on the official page. Spectral Dancer Combined Melodies replace the corresponding songs/dances and do not stack with them. Also updated PvE, mobility and dual-dagger play. Daring Melody Lv.40 — P. Crit Rate +100%, P. Crit Damage +35%, 5 min. Knight Melody Lv.43 — P. Def +25%, M. Def +30%, 5 min. Drum Melody Lv.46 — Max HP +30%, Speed +20, 5 min. Warrior Melody Lv.49 — P. Atk +12%, M. Atk +20%, 5 min. Wizard Melody Lv.52 — Atk Speed +15%, Casting Speed +30%, casting interruption resistance -40%, 5 min. Refreshing Melody Lv.55 — Accuracy +4, Evasion +3, HP Regeneration +20%, 5 min. Sacredness Melody Lv.58 — Holy Attack +20, Dark Resistance +20, 5 min. Pipe Organ Melody Lv.62 — Fire/Water Resistance +30, 5 min. Harp Melody Lv.66 — Wind/Earth Resistance +30, 5 min. Divine Meditation Melody Lv.70 / Lv.77 — 2 ranks; decreases physical/magic skill MP cost and reuse, increases MP regeneration. Divine Lore Melody Lv.74 — Melee HP Drain +8%, reflected damage +20%. Divine Champion Melody Lv.78 — Physical skill/song/dance MP cost -20%, physical skill reuse -30%, magic critical rate +100%. Power Break Lv.40–74 — 15 ranks, physical P. Atk reduction. Hex Lv.40–74 — 15 ranks; 900-range P. Def debuff. Aggression Lv.40 — Triple normal hate power. Absolute Weakness Lv.40 / 48 / 56 — Up to +20% PvE normal, physical skill and magical damage. Demonic Blade Dance Lv.40–74 — 15 ranks, AoE damage and P./M. Atk debuff. Poison Blade Dance Lv.46–74 — 7 ranks, AoE damage and poison. Defense Motion Lv.46 / 52 / 60 — Up to P. Def +25%, M. Def +10%, Evasion +3. Melody of Shadows Lv.70 — For 5 minutes, masks party from monster aggression but reduces Speed by 50%. Inner Rhythm Lv.70 / 78 — Song/Dance MP cost reduction. Symbol of Noise Lv.80 — Cancels song/dance abilities in the affected field. Rush Lv.74 / 76 — Charges toward a target, up to 670 range. Sixth Sense Lv.76 — Evasion +15 below 30% HP. Dual Dagger Mastery Lv.56 — With dual daggers P. Atk +87.5, Blow Success +5%. Deadly Strike Lv.78 — 1894 Power physical strike, over-hit. Dance of Berserker Lv.80 — 30-second P. Atk, Atk Speed, M. Atk, Casting Speed and Speed buff. Sword Muse Combined Melodies, improved songs, mobility and dual daggers. Battle Whisper has a fixed 30-minute cooldown; Song of Purification arrives at level 80. Daring Melody Lv.40 — Critical bonuses. Knight Melody Lv.43 — Physical and magical defense bonuses. Drum Melody Lv.46 — Max HP and movement speed. Warrior Melody Lv.49 — Physical and magical attack. Wizard Melody Lv.52 — Attack and casting speed. Refreshing Melody Lv.55 — Accuracy, evasion, regeneration. Sacredness Melody Lv.58 — Holy attack and Dark resistance. Pipe Organ Melody Lv.62 — Fire/Water resistance. Harp Melody Lv.66 — Wind/Earth resistance. Divine Meditation Melody Lv.70+ — MP cost and reuse. Divine Lore Melody Lv.74 — Drain and damage reflection. Divine Champion Melody Lv.78 — MP cost, reuse and magic critical benefits. Battle Whisper Custom — Fixed 30-minute cooldown. Song of Purification Lv.80 — High-level support song. Dominator Clan and party support, crowd control and Chain Heal, with updated seals and Flames of Invincibility. Resurrection Lv.79 — Lv.2, range 600. Chain Heal Lv.80 — Heals target and 10 nearby injured allies, diminishing by target. Onslaught of Pa’agrio Lv.80 — 4312 Power physical attack and burn effect. Seal of Limit Lv.80 — Nearby enemy CP/HP/MP recovery -70% for 5 minutes. Flames of Invincibility Updated — High Five-style invincibility handling. Doomcryer Updated chants, healing and party control. Chant of Life Lv.20+ — 18 skill ranks of party HP regeneration. War Soul Updated — Combat support. Earth Soul Updated — Defensive support. Great Fury Updated — Combat support. Chain Heal Lv.80 — Party healing. Chant of Protection Updated — Does not stack with Counter Critical. Eva’s Saint Mana, healing and party protection. One eligible permanent Skill Transfer at level 76. Quick Recovery Lv.20 / 30 / 48 — Magic skill reuse reduction up to -20%. Boost Mana Lv.20–72 — 8 ranks, up to +200 Max MP. Celestial Party Protection Updated — Group invincibility protection. Mass Recharge Updated — Party mana support. Mass Cure Updated — Group cleansing. Enlightenment Lv.80 — M. Atk +40%, Casting Speed +50%, M. Crit +50%, Magic MP Cost -90%, 20 seconds. Chain Heal Lv.80 — Restores up to 30% max HP to target and 10 injured allies. Shillien Saint Healing, mana recovery and specialized debuffs. Up to four eligible Skill Transfers; Inquisitor removed. Quick Recovery Lv.20 / 30 / 48 — Magic skill reuse up to -20%. Boost Mana Lv.20–72 — Up to +200 Max MP. Resurrection Lv.20 / 30 / 74 — Up to 70% EXP restore. Mass Stigma of Shilien Updated — Area debuff. Thorn Root Updated — Control spell. Lord of Vampire Lv.80 — Melee normal-hit HP Drain +80% for 30 seconds. Chain Heal Lv.80 — Group smart heal. Hierophant Mass buffs and party support. Inquisitor is available from level 44; Sigil Mastery is removed. Quick Recovery Lv.20 / 30 / 48 — Magic skill reuse up to -20%. Boost Mana Lv.20–72 — Up to +200 Max MP. Resurrection Lv.20 / 30 — Up to 20% EXP restore. Divine Improvement Updated — High-level combination support. Counter Critical Lv.80 — P. Def versus Critical +30%, triggered melee critical-damage boost. Chain Heal Lv.80 — Group smart heal. Arcana Lord Cats last two hours; summons cost Spirit Ore and do not take owner EXP. Anti-Summoning Field Lv.80 — Removes servitors periodically in field; costs a Magic Symbol. Summon Feline King Lv.79 — 2-hour summon. Summon Smart Cubic Lv.55 / 70 / 79 — 3 ranks; cleanses debuffs and eventually attacks/heals. Servitor Barrier Lv.60 / 72 / 79 — Servitor invulnerability up to 30 seconds. Servitor Blessing Lv.60 — Removes selected movement and speed restrictions. Elemental Master Two-hour unicorns, water-attribute combat, Smart Cubic and Servitor Barrier. Anti-Summoning Field Lv.80 — Anti-servitor zone. Mass Surrender to Water Lv.58+ — Water Resistance -30 around the servitor. Summon Smart Cubic Lv.55 / 70 / 79 — Cleanse, attack and heal. Servitor Barrier Lv.60 / 72 / 79 — Servitor invulnerability. Spectral Master Two-hour servitors, Death Spike from level 44, updated protection. Anti-Summoning Field Lv.80 — Anti-servitor zone. Summon Lore Lv.78 — Defensive/casting bonuses and reduced MP costs. Summon Smart Cubic Lv.55 / 70 / 79 — Cleanses debuffs and later attacks/heals. Servitor Barrier Lv.60 / 72 / 79 — 10 / 15 / 30-second protection. Death Spike Lv.44+ — 13 ranks through level 74; Cursed Bone projectile. Maestro Improved golem toolkit and added fighter skills. Golem Armor Lv.79 / 80 — Golem transformation for 10/15 min; cannot be used in Olympiad. Strengthen Golem Lv.49 / 58 / 70 — Up to P. Atk +15%, Atk Speed +9%. Battle Cry Updated — Combat skill. Rush Updated — Gap closer. Expose Weak Point Lv.79 — On-hit proc P. Def -20% and critical hit vulnerability. Final Secret Lv.79 — PvP Normal Attack Damage +30%; Skill Power +30%. Rush Impact Lv.79 — 4224 Power, 9-second Shock. Fortune Seeker Level-79 spoil and melee updates. Spoil Bomb Lv.79 — AoE spoil with -15% speed and delayed explosion, usable in Olympiad. Expose Weak Point Lv.79 — 5% proc, P. Def -20%, critical vulnerability. Lucky Strike Lv.79 — 4312 Power, attacks/spoils nearby targets. Dual Dagger Mastery Lv.79 — P. Atk +87.5 and blow rate +5%. Lucky Blow Lv.79 — 11234 Power attack with spoil and lethal possibilities; dual dagger required. Official skill-by-skill reference: View the complete effects, icon gallery and EVERY rank table on the MightyProject website. The summaries above are editorial and do not replace the per-rank source tables. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━   05 • NPC BUFFER & SUPPORT NPC Buffer with 69 buffs. Ordinary buffs are free and last 60 minutes. Up to four customizable buff profiles for character or summon. Maximum buff slots: 24 (20 base + 4 unlocked with Divine Inspiration Book). Premium Buff covers resistance buffs and is free for Premium accounts. Block Buff is available. Mana Potions are not sold in the shop; Town Mana Rechargers restore 50 MP every 3 seconds for eligible nearby characters. 06 • FARMING, CHAMPIONS & EQUIPMENT Safe farming: Orc Barracks. Solo farming: Beast Farm. Party farming: Pagan's Temple. Blue and Red Champion monsters appear in Beast Farm and Orc Barracks, providing extra Adena and Premium Buff Coins. D/B grade farming focuses on Adena, A grade on Gold Bars, and S grade on Gold Bars plus Farm Marks. Bozkurt NPC offers convenient access to shop, buffs, services and teleportation. Weight penalties are disabled, although inventory slot limits still apply. 07 • ENCHANTING & AUGMENTING Enchant rates: Weapon +4/+5 50%, +6 33%, +7 25%, +8 20%, +9 14%, +10 8%. Armor and jewelry +5 50%, +6 50%, +7 33%, +8 25%, +9 20%, +10 14%. Auto Enchant: Lets players target a desired enchant level and automate attempts under standard rules. Auto Augment: Search for a desired augmentation skill and define an attempt limit. Olf's T-shirt: Obtainable with Event Medals, enchantable up to +10 with extra stats and higher-level special effects. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 08 • PVP EVENTS & COMPETITIVE CONTENT Daily PvP event timetable (GMT+3): Team vs Team: 11:00 / 12:00 / 13:00 — command: .tvtjoin Capture the Flag: 14:00 / 15:00 / 16:00 — command: .ctfjoin Deathmatch: 17:00 / 18:00 / 19:00 — command: .dmjoin Event Medals can be obtained through Capture the Flag and Deathmatch. 09 • OLYMPIAD 1v1 cross-class combat. Daily from 18:00 to 00:00 GMT+3. Matches can start with only two registered players. Choose Olympiad buffs before fighting. Start with 18 points and receive 3 weekly bonus points. Earn 40 Noblesse Gate Passes per win. Hero competition remains class-based and requires at least 9 matches and 1 victory. First Olympiad period: 13 November 2026 at 18:00 GMT+3. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 10 • EPIC BOSSES & RAID REWARDS Weekly epic schedule (GMT+3): Tuesday: Orfen 20:00 (fixed); Scarlet van Halisha 21:15 (±30 min). Wednesday: Core 20:00 (fixed); Zaken 21:15 (±30 min). Thursday: Orfen 20:00 (fixed); Queen Ant 21:15 (±30 min). Friday: Core 20:00 (fixed); Antharas 22:15 (±45 min). Saturday: Orfen 20:00 (fixed); Baium 22:15 (±45 min). Sunday: Core 20:00 (fixed); Valakas 22:15 (±45 min). BR / Asia semi-epics: Shadith 01:15 (fixed) and Hekaton 03:15 (±30 min), Thursday through Sunday. Epic rewards: Listed bosses can drop S-grade weapons, S-grade armor, farm currency, Adena, top-grade Life Stones and Gold Bars. Standard epic-jewelry drop rates are listed as 50% for Baium, Valakas, Scarlet van Halisha, Antharas, Queen Ant, Core, Orfen and Zaken. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11 • CLANS, ALLIANCES & CASTLE SIEGES Alliances support up to three clans. 24-hour penalty after leaving or being removed from a clan. Clan wars require level 3 and at least 15 clan members. Castle siege registration requires clan level 5. Castle sieges last two hours and occur every two weeks. Aden Castle: Saturday, 22:00 GMT+3. Giran Castle: Sunday, 22:00 GMT+3. Other castles are distributed through weekly Friday Clan vs Clan events at 22:00 GMT+3. Clan Hall auctions require level 2; bidding and upkeep use Adena. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 12 • CUSTOM COMMUNITY BOARD & CLIENT Community Board with live map, radio, raid boss timers and status for EU, BR and Asia. MightyProject Launcher for updates and file checks. Customized Classic client with updated skill icons/interface and DirectX 11 / DirectX 12 selection. Graphics presets (High, Average and Low) and configurable video, sound and UI preferences. Saved accounts for faster login. Searchable inventory, broker filters and private-shop sales history. Chat moving/resizing, copy/paste, emoticons and enhanced party highlighting. Automatic potion/elixir settings, Party Ping / readiness checks and Command Channel coordination. Cosmetic Fitting Room and La Vie En Rose beauty shop. 13 • IMPORTANT FIRST EVENTS 03 November 2026: First Scarlet van Halisha and Orfen schedule begins. 06 November 2026, 22:00: First Clan vs Clan castle event. 07 November 2026, 22:00: First Aden siege. 08 November 2026, 22:00: First Giran siege. 13 November 2026, 18:00: First Olympiad period. 30 November 2026, 20:00: Clan Hall auctions begin. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ READY TO JOIN MIGHTY PROJECT x200? VISIT THE OFFICIAL WEBSITE READ ALL SERVER FEATURES & CLASS SKILL DETAILS MightyProject • Lineage II Interlude PvP x200            
    • Skype/Teams: LargeSeLLs@gmail.com   Discord: largesells & LargeSeLLs#7167 DiscUniqueID: 321388776200994816   Alt.Discord: largesells. & LARGESELLS#3659 Alt.DiscID: 1051631007532589098
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..