Jump to content
Sign in to follow this  
MasterToma

Share [L2OFF C1] Server pack

Recommended Posts

Hello,

 

I've started restoring C1 server 2 years ago, 11.2016. Now a lot of has been done, and I'm publishing C1 services and some tools

 

1. L2AuthD

  • Spoiler

     

    • security violations

    • user warning flags

    • segfaults while iterating over servers

    • crashes after error

    
    assemble too large packet

    • socket handle leaks

    • worldstatus updates

    • service id (7 for L2AuthD instead of 6), which is sent to L2LogD

    • ... and many other

     

     

2. L2LogD

  • Spoiler

     

    • security violations

    • ExceptionMailing was taken from l2server.ini, now it is taken from l2logd.ini

    • a lot of log prints were fixed (missed/wrong parameters or strings)

    • hard-coded port (3999) now is really taken from l2logd.ini

    • "super-lag or deadlock detection" error: some timers were delayed. Exenders just increased threshold, while I have a proper fix

     

     

3. CacheD

  • Spoiler

     

    • security violations

    • "super-lag or deadlock detection" error: some timers were delayed. Exenders just increased threshold, while I have a proper fix

    • a lot of log prints were fixed (missed/wrong parameters or strings)

    • multiple multi-threading issues, which could be abused in order to dupe items, etc

    • hack with over-buff is fixed (credits to some-one from PP community) 

    • enchant error bugs (duping enchant items)

    • wrong packet formats for Pet items (give/take)

    • wrong packet formats for block lists

    • hard-coded ports (2008 and 2006) now are really taken from cached.ini

     

4. L2NPC 0.1.0.4is fully compatible with C1 L2Server

  • Spoiler

     

    • security violations

    • a lot of log prints were fixed (missed/wrong parameters or strings)

    • "super-lag or deadlock detection" error: some timers were delayed. Exenders just increased threshold, while I have a proper fix

    • CSharedStaticObjectData variables from AIS

    • checks for empty desire queue (led to crashes)

    • checks for null pointer for shared data

    • double locks

    • InitalizeRandomPos(): proper Z coordinate is taken, basing on GeoData

    • Proper object registration for Instance reporting

    • L2NPC server doesn't crash (and not fully operational), if starts without L2Server

    • Memory leaks during socket's communication

    • Crash, if fstring.txt is missed, is fixed

    • AI: ShowSystemMesage fixed

    • AI: InstantTeleportInMyTerritory (minY vs maxY)

    • AI: Castle_SetCropDrop parameters were fixed

    • AI virt machine: equal/not equal for floats, PUSH_REG_SP

    • fixes for IPC with L2Server

    • fixing L2NPC crash, if L2Server is not started yet

    • Speed up initial NPC spawn time almost 10 times 

     

     

  •  

5. NASC

• Actually, the first known C1 AI Script compiler. Previous was C0 + binary patches (by kvoxi and others). Just works, has some fixes, which C0 doesn't

•pass --extmode to use some extra AIS variables (which are used in SINA PP scripts)

6. QuestCompiler (known from C0 as QuestDataChecker.exe)

• Actually, the first known C1 AI Quest Compiler

• Original bug, which didn't allow to write huge quests (like Coins of Magic) is fixed 

7. PetitionD

• This one is still from C0. I haven't ported it to C1 yet

8. L2Server

To be done in September 2019

9. LCC (Lineage Compiler Collection) - one tool to compile all *pch

To be done

10. MacroPreprocessor

To be done

 

Feel free to test it, I will try to fix all bugs (both, origin and my one). C1 installer, + patched system (multi-window  + Win7 support)

 

I would like to say help for other contributors:

@smeli for helping with porting AuthD to support C1-C4, C6 client protocols with extenders (based on C1, like SINA)

@lordofdest for porting numerous of CacheD packeet handlers

@Renege for porting all admin packets, BBS packets

@Pulentolento for support on CacheD admin packet handlers

@MimisK for testing L2NPC and CacheD

@zconll for extensive testing of NASC and reporting all possible bugs

 

Edited by MasterToma
Links to the client
  • Like 2
  • Thanks 4

Share this post


Link to post
Share on other sites

@hugolez I used Windows 7, also Windows Server 2008. Everything newer should be OK as well. There might be some problems with Windows XP or Windows Server 2003, since I used 2017 c++ toolset, which doesn't have XP compatibility any more

Share this post


Link to post
Share on other sites

I use this original C1 installer for client https://drive.google.com/open?id=0B6ic1ViGkLctb0FiOFIyM25LZVU

And this patch for system https://drive.google.com/open?id=1LsAyKvSOOWES3SG9LSUqK9e7T60MQLFu (multi-window  + Win7 support)

Share this post


Link to post
Share on other sites
Posted (edited)

Hi, I want to say thanks @zconll, who did deep testing of my components, and found few bugs in L2NPC and CacheD.

All of them are fixed, so if you used my C1 pack, please, do the update.

 

Original C1 bugs are not fixed, since they required changes in L2Server, which is still not completed.

 

PS: I also added L2NPC C2 (actually, it's C1+), which has few C2 AI functions for enhanced AI scripts. NASC from C2 directory supports those as well. 

Edited by MasterToma

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×