Jump to content

Recommended Posts

  • 1 month later...
Posted (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 by MasterToma
Posted

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.

Posted

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
Posted

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

Posted

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

Posted

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.

Posted

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.

 

Guest
This topic is now closed to further replies.



  • Posts

    • Dynamic traffic, static ISP, unlimited traffic and bandwidth packages HTTP, HTTPS, SOCKS5 Over 195 countries/regions Over 100 million real residential IP address pools, with a normal uptime of 99.9%. Special discount code:VIP999
    • Here is the translation, formatted to look professional, clean, and highly scannable for your forum post: Hello L2JBrasil community! I present to you the newest development from MiaCodeWeb. We have created a robust and advanced adaptation of the Phantom system for aCis / L2JAcis 409, focused on Interlude C6 servers. Our main goal was to transform traditional "ornamental bots" into highly realistic, autonomous players. They are capable of creating themselves, restoring themselves, farming, auto-equipping, using skills, responding in chat using Artificial Intelligence, and being managed directly via an in-game panel. GitHub: https://github.com/miacodeweb/L2-Phantom-AI Video Demonstration: [Insert link here]   ## Main Features and Implementation We implemented the core of the Phantom system directly into the aCis gameserver. The architecture was divided into independent modules for AI, combat, chat, equipment, inventory, progression, logs, and administration. In-Game Admin Panel: Fully functional //phantom command. It allows you to create new phantoms, restore saved ones, reload configs, start/stop the AI, view online phantoms, kill bugged phantoms, delete them individually, and navigate through pages. Data Persistence: Created phantoms can be registered in phantoms.properties, allowing them to be restored later while maintaining all their progress directly from the database. Centralized Configuration: Everything is controlled by the phantoms.properties file, organized by sections: AI, Loot, Skills, Equipment, Zones, PVP/PK, Gemini (Chat), Logs, Respawn, and Anti-Stuck system. ## Phantom Skills and Behavior Smart Combat: They patrol, search for mobs, and claim targets to prevent multiple phantoms from attacking the same monster. Mages rest when they run out of MP and avoid hitting with physical weapons unnecessarily. Automatic Progression: Auto-learning of skills, automatic class changes following the logical tree of the chosen profession, receiving buffs, and inventory clearing when reaching a certain weight/space percentage. Dynamic Equipment System: They auto-equip based on class and level, using varying item combinations so they don't all look the same. Optimized Loot: Each phantom focuses on picking up drops/herbs from its own mob, avoiding that ugly scene of 10 phantoms chasing the same adena. PVP/PK Behavior (Configurable): Immediate response to attacks, detection of PK players in the visible area, and an optional "PK Rage Mode". ## AI and Movement Navigation and Anti-Stuck: Patrol system, free wandering, obstacle and stuck detection, with Geodata validation (when enabled on the server). Respawn: Automatic return to town after death, alongside safety rules to prevent them from getting permanently stuck in textures. Leveling Zones: Configurable leveling zones (automatic teleports to farm zones are disabled by default, as in Interlude/aCis they rely heavily on geodata accuracy and the real coordinates of your server). ## AI Chat Integration (Gemini 2.5 Flash) We integrated a Whisper system via the Gemini 2.5 Flash API, making the phantoms respond like real Lineage 2 players. Support for both free and paid API tiers. Configurable parameters: GeminiApiTier, Keys, Cooldowns, and DailyLimits. The system detects connection failures, API limits, and empty responses, and logs everything. The prompt has been adjusted so that the phantom doesn't reply with empty or robotic phrases when asked where to level up or what it's doing. ## Dedicated Log System We created an exclusive log file located at gameserver/log/phantoms.log. It records: loading of phantoms, auto-skills, buffs, Gemini API errors/successes, anti-stuck actions, kills/deletes by admin, and configuration issues. ## Simplified Distribution and Installation Thinking about ease of use for administrators, the mod is delivered in a ready-to-use package: phantom-acis-installer-client.zip. Includes an automatic PowerShell installer that injects the code into your Eclipse project. Contains README.md, INSTALL_MAP.md, and the payload/ folder with ready-made routes for aCis. Clean configuration files (without my API keys). Just run the installer over your copy of aCis, refresh Eclipse, compile, and test. ## Custom Jobs The project already has a solid and functional base for aCis 409. The ideal next steps would be to refine the farm routes by level and social behavior with long-term testing on live servers. I accept custom jobs! If you need this system adapted for another revision, exclusive modules, or any other development for your server, get in touch. Through MiaCodeWeb, I also offer complete services involving geodata optimization, advanced VPS administration (Linux), and Java backend management for L2J. Send a PM or visit the GitHub!   https://www.l2jbrasil.com/applications/core/interface/file/attachment.php?id=17801&key=135fc8d831b84c05089851b18bfca58a  
    • TG Support: https://t.me/buyingproxysup | Channel: https://t.me/buyingproxycom Discord support: #buyingproxy | Server: Join the BuyingProxy Discord Server!  Create your free account here
    • PERFECT PERSPECTIVE IS ALMOST ALWAYS A DEATH SENTENCE ▪ Think if the document lies perfectly flat and everything is “level” it’ll be fine? Most of the time, that’s exactly what gives away the fake. Real smartphones, especially wide-angle cameras, always add natural distortions: - Slight warping at the edges of the document - Perspective distortions in the corners - Light curvature of the plane due to distance and shooting angle When everything is perfectly flat and geometrically flawless — algorithms and verifiers immediately recognize a “staged scene.” ▪ A genuine shot is never mathematically perfect. It’s these small lens distortions that make the frame look alive and believable.  Want perspective that won’t raise questions even from the most demanding verifiers? Write to us — we’ll create geometry that looks like it was shot with a real phone in real conditions. › TG: @mustang_service_ms ( https:// t.me/ mustang_service_ms ) › Channel: Mustang Service ( https:// t.me/ +JPpJCETg-xM1NjNl ) #documents #drawing #perspective #editing #geometry
  • 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..