MasterToma Posted May 2, 2017 Author Posted May 2, 2017 MSVC 2008 support is added to the legacy branch
MasterToma Posted June 7, 2017 Author Posted June 7, 2017 (edited) Reverse of L2LogD.exe is finished, all classes are defined, except for Memory allocator package. I'm exporting code and working to make it compile. I think, it might take next month or two. This is in private repo so far, so PM me if you contributed, and want L2LogD sources earlier. If someone wants try to reverse memory management unit - you are welcome, I can share IDA file (be sure you have some reputation, though). Otherwise, I think, I will use some 3rd party allocators (they are used for std and IO buffer pools in L2LogD) Edited June 7, 2017 by MasterToma
smeli Posted June 8, 2017 Posted June 8, 2017 I am interested - in LogD ncsoft used different memory management unit than one in CacheD
smeli Posted June 8, 2017 Posted June 8, 2017 full c1 with gracian territory and dracon farfurion..... no
Akken Posted June 8, 2017 Posted June 8, 2017 full c1 with gracian territory and dracon farfurion..... no just got dissapointed..
MasterToma Posted June 10, 2017 Author Posted June 10, 2017 Filters added to the MSVS project. See first post for details.
MasterToma Posted June 11, 2017 Author Posted June 11, 2017 Two branches were added: with changes for C1 and C4 client https://bitbucket.org/master_toma/lineage2-c1-harbingers-of-war/branches/ Tested with C1 Client and C1 SINA server + C4 Client and l2server_fyyre.exe server. Thanks smeli for help.
MasterToma Posted June 15, 2017 Author Posted June 15, 2017 I found "hidden" feature in LogD.exe - performance monitor. perfmon.ini is needed to activate it. It checks for RAM usage, Processor's usage, etc, and adds results to DB Original L2LogD.exe has problems with x64 PC (which I have). I'll fix it, but meanwhile could anyone check it on x86 PC? perfmon.ini file to be added in root, near to L2LogD.exe: [PerfMon] CheckPerfMon=1 Count=1 Interval=6000 Memusage=1 Perf1Title=Title Perf1ObjectName=Processor Perf1InstanceName=0 Perf1CounterName=% Processor Time
smeli Posted June 15, 2017 Posted June 15, 2017 performance monitor feature not hidden, it just not working cause of bug i fixed this bug via extender on server.exe also it is on logd, cached, npc - everywhere the same bug
MasterToma Posted June 16, 2017 Author Posted June 16, 2017 I see, I've just didn't found any mention of this file configuration for LogD, and thought that bug is for x64 system only.
MasterToma Posted June 19, 2017 Author Posted June 19, 2017 I'm working on BCP (bulk copy from log files to MSSQL server) feature from LogD binary. It has quite sophisticated logic, related on files from chat/ and in/ directories. I would appreciate, if you could sent those log files for test purposes to master.toma87@gmail.com. I want to test different combinations. Ofc, all those data will be used confidentially
MasterToma Posted June 26, 2017 Author Posted June 26, 2017 L2LogD source code will be ready on weekend. There will be also some minor but important fixes for PerfMonitor, ports, etc. About 90% of binary is decompiled. However, I need some help here. What is not finished yet: 1. Memory allocator units (you have to be skilled enough, to define structures and provide proper names to members, variables and methods). 2. More easier task. L2LodD.exe has 3-5 methods for parse item.dat, skills.dat, etc. I didn't touch this functionality yet, left it for volunteers. It shouldn't be complicated, since structure of those files is known, so it might be a good task for beginners (ofc, you have to be skilled in c++ still). If you want to help me, I could send you my IDA database for L2LodD.exe. It contains all structures, renamed methods, etc. I will share sources (L2LogD and other in future) for all, who take participation.
MasterToma Posted June 28, 2017 Author Posted June 28, 2017 During testing L2LogD, one more fix for origin L2AuthD.exe was added: https://bitbucket.org/master_toma/lineage2-c1-harbingers-of-war/commits/a7b736d7641348e7592e25c2018db5b338a6e5fc Now L2AuthD.exe sends proper DB audit type for L2LogD. Looks like this bug in C1 AuthD was due to some incompatibility.
Recommended Posts