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
  • Downvote 1
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

    • L2 DEVS - HTML DESIGN (ALL NPC'S)    
    • I only share for free what they are reselling 🙂 You keep crying in all the publications, and if you are looking for h5 or gd wait for 5 or 6 years... cheers.... GENERAL Cached Extended to 8192kb IOBuffer Hair2SlotCache ItemBidAuctioner Clan Hall Current Olympiad Season Rank pages System (Shows Points/Games - Fully Configurable) Automatic Flag Around Raidboss System Offline Shop & Buffers Restore After Restart (Fixed location) Offline Buffer System PvP Auto Announce System Rebuilt with Extra Addons (Fully Configurable, Name, Zones, Rewards) Automatic Announce System Rebuilt with Extra Addons (Fully Configurable) ALT+B Augmentation House Shift+Click Droplist/Spoil List Epic Items Rank RB points Rank ChangeColorName ChangeColorTitle Change Skin (Race) Change Gender Custom Subclass (Acumulative) Achievements Item Delivery System  Augmentations/Enchants Automatic Announce System Auto Learn Skills PvP Reward Pk Reward War Reward Scheme buffer GlobalChatTrade Trade Augment Items Castle Announce Time Castle Standby Time Fix Spiritshots delay SpellbooksDrop Enable/Disable Drop custom Fully configurable, lvl min max allmobs, allrb, individual New cancel effect min,max BlessedarmorEnchantRate BlessedmagicWeaponEnchantRate BlessednormalWeaponEnchantRate MaxSlosChars MaxSlotsDwarfs Enable or disable all commands Fix fast loading npc OlympiadRestoreStatsOnFightStart OlympiadSystemSecondTimeEnabled OlympiadEnterLast10Minute OlympiadThirdClassSummons MinLevelTrade AnnounceSubClassMsg1 AnnounceSubClassMsg2 AnnounceSubClassMsg3 LimitedSubClassRace NoSellItems Change ID SealStones for AA NoPrivateBuyItems NoDropPlayerOnDie DisableSkillEnchantData Show Level Mobs Show npc clan flag DespawnSummonEnBattle SummonPetEnBattle RideSummonPetEnBattle DitanceToTargetMove EnterWorld_Undying EnterWorld_UnHide BlockWhispMessagePlayerToGM UseItemsWithHide CriticalSkillDamageBonusPer=4.0 Disable SSQSystem OnCastle Siege End Use any dyes Buy halls directly in auctioneer without waiting for the auction, configuration to change the item you consume MensajeEnterWorldServer Command .hero enable/disable hero aura Config vip global chat character, chat by systemsg Soulshots: NoSendSystemMessageUse Panel //admin Global vote reward Agathions system Anti Interface, control all patch files by md5 Command .menu configurable, last restart, name, maxusers, privatestores Spawn protection activate deactivate consume items to activate  Activate or deactivate autoloot for vip characters EVENTS Happy Hour Event reworked Configurable by announcements or systemsg Team VS Team Capture The Flag Death Match Last Man Standing Destroy The Base Korean Style Castle Siege Check if the player is inside the tvt event due to disconnection/critical error Top 1/5 killer reward/announce TimeAfk ResetReuseSkills ResetBuffsOnFinish Firework effect Reward win/lost Add Team Location Title custom Red/blue Open Door/Wall System BalanceBishops Show kills in title Invest positions Show Death To Top Delete Non-Subclass Skills     RELOADS Reload Enterworld Html Option Reload Faction System Reload Donate Shop Reload OfflineBuffer Reload Champion NPC Reload CliExt Reload AntiBot Reload Vip System Reload Auction Reload AutoLoot Reload CastleSiegeManager Reload CharacterLock Reload ClanPvPStatus Reload AutoLearn Reload ClanReputationRank Reload ClanSystem Reload CreatureAction Reload Customs.ini Reload L2server.ini Reload SkillData.txt Reload doordata.txt Reload decodata.txt Reload Multisell Reload DropList   Extender tested for more than 3 years. Assured stability. Possibility of adding MOD's upon request. (Not included, consult).
    • some peoples trash is another mans treasure, is that your treasure?   people might like the content but you are still the rat in the room     thats the community judging you.  
    • Keep reselling what I publish here for free!!! 🙂 GG  
  • Topics

×
×
  • Create New...