Jump to content

Recommended Posts

  • 2 months later...
Posted

Hi,

 

Small report. 

 

Only 6 methods left in CWareHouse (but huge enought, each took me about 4 days to decompile).

 

Today I've decompiled 17 packet handlers from CacheD

packet027_RequestLoadPledge
packet034_RequestLoadAllCastleData
packet035_RequestLoadAgit
packet074_RequestSetPledgeInfo
packet082_RequestLoadDismissReservedPledge
packet105_RequestLoadDoor
packet107_RequestSaveDoorStatus
packet131_RequestGetContributionRelatedPledge
packet172_RequestGetDbRelatedCounts
packet173_RequestLoadAllPledgeWar
packet192_RequestSetNextCastleSiege
packet196_RequestLoadCastleGuard
packet197_RequestLoadAgitBid
packet198_RequestLoadControlTower
packet213_RequestLoadIntervalAnnounce
packet218_RequestLoadLastResidenceTax

Those ones are sent from L2Server.exe during startup. Now original C1 L2Server.exe successfully connects with decompiled CacheD. 

 

So, basically, only packet handlers left. I'm still doing all the stuff alone, but packet handlers are extremely easy. I've did 17 of them just in 3 hours. 

If you know C++-like language, you are welcome to contribute! 

Posted (edited)

Hi all! Great news!

 

84 packet handlers out of 220 were revealed by lordofdest. This allowed us to enter the game with decompiled CacheD! 

I'm still working with WareHouse methods, but from now, CacheD can be tested and used with original L2Off server.

 

 

Edited by MasterToma
  • 2 weeks later...
Posted

yes, it's been closed. As I wrote during last year, when CacheD is compleded, I would close it, and only those, who contributed, would get the access to the code.

Posted

- Original bug in C1 binaries, that led to deadlocks 

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

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

has been fixed

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

- CacheD model is completed

- admin handlers are almost completed

- server handlers are almost done (60 left out of 220)

 

In order to get access to latest code snapshot, you can help us with CacheD testing. I will send you our binaries, you have to find bugs which are not present in original CacheD, if we will be able to reproduce it, I will share you latest snapshot

Posted
---------------Detectar idiomaAfrikáansAlbanésAlemánAmáricoÁrabeArmenioAzerbaiyanoBengalíBielorrusoBirmanoBosnioBúlgaroCanarésCatalánCebuanoChecoChino (Simplificado)Chino (Tradicional)CingalésCoreanoCorsoCriollo haitianoCroataDanésEslovacoEslovenoEspañolEsperantoEstonioEuskeraFinésFrancésFrisón occidentalGaélico escocésGalésGallegoGeorgianoGriegoGuyaratíHausaHawaianoHebreoHindiHmongHúngaroIgboIndonesioInglésIrlandésIslandésItalianoJaponésJavanésJemerKazajoKirguísKurdoLaoLatínLetónLituanoLuxemburguésMacedonioMalayalamMalayoMalgacheMaltésMaoríMaratíMongolNeerlandésNepalíNoruegoNyanjaPanyabíPastúnPersaPolacoPortuguésRumanoRusoSamoanoSerbioSesotho meridionalShonaSindhiSomalíSuajiliSuecoSundanésTagaloTailandésTamilTayikoTeluguTurcoUcranianoUrduUzbekoVietnamitaXhosaYidisYorubaZulúEspañol
 
I want to help. :)

 
Posted

Just finished porting L2Auth for x64. Job was tricky, but it works! LogD and L2CacheD x64 porting is coming soon. Next step - cross-platform build, to be able to run on Linux. It means - cheaper hosting, more powerful server administration tools and more resources available for L2 server! Meanwhile, there is parallel activities on decompilation L2Server and L2NPC server.

We still need contributors for porting Windows IO Completion Ports to boost::asio. If you are skilled enough, just PM me, and when task is done, you will have access to our repo with all WORKING source codes, 100% original (legacy branch) and modified (other branches)

  • 2 weeks later...
Posted

CacheD has been completely decompiled. 100% original code restored. Tested with C1 server, as well as with SINA extenders.

Also, CacheD has been ported to x64 as well.

 

L2NPC is the next one!

Posted

See first post. Repo was in public for year. Right now it's "help-to-get" model. Anyone can join, contribute and get access to the code. Many people already have this done.

 

BTW, L2NPC is decompiled on 15% already. It connects to LogD and CacheD, and has all infra ready.

  • 1 month later...
Posted

Hi all, new heroes are needed! 

 

I'm decompiling L2NPC.exe, and have gone so far for now (ai.obj parsing is decompiled, which is a great success). But I know, that you want to get sources and contribute some how. For those of you: only c++ knowledge are needed (no decompilation). We need to port L2Auth, L2LogD and CacheD to Linux. So, all WinAPI has to be switched to c++:

Critical section - to std::mutex
Interlocked* to atomic
Unicode string conversions to std::wstring_convert

PM me with your Skype account, I'll send you needed modules, and when the work is done, you will receive all sources

  • 4 weeks later...
Guest
This topic is now closed to further replies.



  • Posts

    • @Silvin Thanks    This will be very useful.
    • Hello, everyone. I am an American, looking to start my own server.... I am looking for a dev, to help me build & edit a pride-style server.  Basically, at this point: (being Lineage 2 is a dying game - with botters overtaking) I'm not looking to spend hundreds-thousands of dollars.... Even if it's a cheap not "pride-style" server, I'll be content with that, too. I have everything else as far as Name, Discord, website, and staff - I just need a dev, to help with the files.  Thanks! 🙂 
    • ## SuperPoint Editor   SuperPoint Editor is a practical visual editor for Lineage II PTS 'SuperPoint.bin' files. It is built for people who need to inspect, fix, rebuild, and draw server routes without digging through binary data by hand.   ### What You Can Do   - Open and edit 'SuperPoint.bin' files. - Export BIN data into a readable TXT format. - Save edited data back into a valid BIN file. - Validate routes before saving. - Work with SuperPoint routes, points, directed connections, and path records in tables. - Add, duplicate, delete, and reorder points. - Create direct and reverse connections between route points. - Automatically generate connections between neighboring points. - Edit raw point coordinates: 'X', 'Y', 'Z', 'Index', and 'Delay'. - Keep route names and internal route data organized. - Use either English or Ukrainian interface language.   ### C4 Server Support   Some C4 servers have 'SuperPoint.bin', but do not have 'superpointinfo.txt' in scripts. The editor supports this case directly. When 'superpointinfo.txt' is not found near the BIN file, the editor can open the BIN in C4 mode. In this mode, 'Fstring ID' is disabled because that value belongs to 'superpointinfo.txt', not to the BIN itself. The editor will not generate or modify 'superpointinfo.txt' while working in this mode. This keeps C4 data clean and avoids creating script files that the server does not actually use.   ### superpointinfo.txt Support   For chronicles that do use 'superpointinfo.txt', the editor can load and synchronize it together with the BIN data. When saving, the editor updates route nodes and coordinates while preserving existing metadata such as: - 'npc_name' - 'move_type' - 'fstring_index' - 'social_number' - 'delay' New nodes are generated with safe default values, so existing script metadata is not accidentally wiped.   ### Geodata Tools   The editor can also open converted geodata '.dat' files and display them as a map. This makes route editing much more visual. You can: - Load geodata and inspect the terrain by layer. - Zoom and pan around the map. - Create a new SuperPoint directly from a map cell. - Draw a route by clicking on the geodata. - Drag existing points to new positions. - Automatically snap 'X/Y' to the selected geo cell. - Use the selected geodata layer to fill the point 'Z'. - See all routes on the map or focus only on the selected one. This is especially useful when building new NPC movement paths or correcting bad route coordinates.   ### Connections and Paths   SuperPoint connections are directional. A connection from point '3' to point '2' is not the same as a connection from point '2' to point '3'. The editor makes this explicit by separating: - route points, - directed connections, - and the actual path records used by each connection. For simple cases, it can create direct path records automatically. For more complex movement, you can edit the path points manually. ### Built for Safe Editing The editor includes validation before saving, so common structural problems can be caught before a broken BIN is produced. It also verifies rebuilt BIN files through the converter engine. The goal is simple: edit quickly, but do not silently damage server data.   ### Unknown Field   This small 'Unknown' field is part of the original BIN structure. Most official-looking files keep it as '0', and for regular route editing there is usually no reason to change it. The editor exposes it so nothing from the BIN is hidden or lost. If you do not know exactly what your server uses it for, keep it at '0'. Download
    • NpcGrp não salva no interlúdio e da crítico quando coloca ele no cliente, já testei ele antes.
  • 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..