Jump to content

Recommended Posts

Posted

2.png.10eeff651ff674035efaf3b73858e39e.png
 

Base: L2JServer (2007)
Java: 8
MariaDB: 10
 

Let's get this moving, I hope that with everyone's help in any way we can accomplish something.
Any help is welcome, it's been years since I've worked with L2 and I'm slowly getting back into it, I don't have that much experience + let's keep trying.

The project is on GitHub, I hope that anyone who wants to contribute will create a fork to send their "possible" contributions, so that everyone on the forum can use it.

 

Modifications:
 

Quote

C3p0 > 0.9.5.5
Java 8
Mysql connector
Organized the folders / Build
Updated the SQL
Modified the Database_install.bat file.

 

 

Mods:

 

Quote

Anti-Heavy System
Custom Starter Items
Buff Time Rates
Class Balance
PvP Nick Color System
Added L2J_GeoDriver
Fixed Pathnode charging
Attempt to fix attack
Attempt to fix IA

 

n4kBVZ5.png

 

XYb3SFR.png

 


DOWNLOADS


ProjetoGithub
SystemMEDIAFIRE
ClienteGoogle Driver
GeoDataMediafire

  • Like 2
Posted (edited)

More fluid combat, not 100% yet, but I think it's acceptable.
I put the following logic in movetopawn, moveto, maybemovetopawn, validatelocation, movetolocation:
If Config.GeoData is active, it applies the coordinates using geodata; if disabled, use setdistanceplansq to measure the distance of things!
Fix for reflected damage (if the attacker is null, it will not be calculated).
Minor improvements to the Day/Night item generation manager.
Fix to not punish players who destroy items with a count = 0...
Fix for when a player tried to use a resurrection scroll while seated, it disappeared without effect.
Fix for when it was possible to equip armor while paralyzed.
Cleanup of System message.
Rework of PathNodes.
Fixed the ia for mobs attack range when chasing the player (test)
Fixed Pathnodes loading
Added
# ------------------------
#Show Red Name for Aggressive Mobs
# ------------------------
ShowRedName = True
Which was missing in the configs

Edited by 4TOP
Posted (edited)

Added FloodProtector utility to prevent packet flooding for actions like item use and dice rolling.
Integrated flood protection checks in relevant client packet handlers and registered/removal hooks in player lifecycle.
Updated movement logic in L2PcInstance for improved position synchronization and geodata handling.
Minor fixes and refactoring in attack logic, private store handling, and admin NPC editing.


Refactored AI classes to enhance movement, attack, and skill usage logic for characters and mobs.
Improved distance checks, attack range calculations, and skill casting conditions.
Removed unused intention command logic from L2CharacterAI.
Updated configuration to enable CellPathFinding.
Minor code cleanups and bug fixes for more reliable AI behavior.

Enhanced GeoPathFinding with detailed debug and error messages for region loading, including success/failure counts and file checks.
Refactored L2AttackableAI and L2CharacterAI to improve attack range tolerance, immediate attack behavior, and added safety checks for missing targets.
Updated configuration to disable CellPathFinding by default and added a new ShowRedName option for aggressive mobs.
Minor config and log updates included.

Applied TCP socket optimizations (e.g., TCP_NODELAY, buffer sizes, keepalive) in ClientThread, Connection, and SelectorThread to reduce latency and improve throughput. Enhanced L2AttackableAI with better random walk, aggro, and attack logic, including silent move checks, quest monster handling, and improved faction/raid/minion behavior.
Added silent move support to L2PlayableInstance and quest monster flag to L2NpcTemplate/L2NpcInstance.
These changes aim to improve server responsiveness, AI realism, and overall stability.

Edited by 4TOP
Posted

Handles removed from GS Thnks @ChrisChris

L2Character.isInActiveRegion() with exception handling to register and recover from invalid coordinates, providing feedback to the player and teleporting them to a safe location if necessary.

Added support for alternative skill durations through new configuration options (EnableAlternativeSkillDuration, SkillDurationList).

Improved geodata handling for doors, including dynamic collision calculation and visibility checks.

Reworked skill management logic for PDAM and Unlock, and improved mission event notifications for skill usage.
 

SocketTcpNoDelay in the server configuration to control the use of TCP_NODELAY, reducing latency in MMO games. Refactors socket initialization in ClientThread and Connection to respect this setting.

Also updates the use of generic types for Constructor and Map<Class, Long> to use wildcards and improves skill casting time calculation and packet history serialization.

We refactored the L2AttackableAI class to use the two most hated targets in aggro logic, improving target reconsideration and skill usage.

We added the get2MostHated() function to the L2Attackable class to sort aggro targets.

We improved the attack logic of the L2Character class: pending hit tasks are tracked and canceled in case of cancel, attack timing and movement blocking are more accurate, and hit scheduling with dual weapons/rods/bows is robust.
Several improvements to validation, the PvP flag, and messages for attack actions.

  • Like 1
Posted

Siege Reward
Start PM Msg
Rework Config root
BossDieAnnounce and BossDieSound in the L24Team.properties and Config.java files for global raid boss death notifications and sounds. Adds a new reward_list table to the DB.sql file to track castle rewards.
Improves character creation logic for thread safety and validation.
Adds extensive state checks to the RequestEnchantItem method to prevent enchantments during inappropriate player states.

Fixed auto-attack animation bug (there was no attack animation, only damage animation)
Clean Code
Other fixes I forgot to list!
Java 14

Fixed issue where deleting a character would prevent it from leaving the screen or being removed, or even after a delete CD (it would only exit when re-logging in or creating a new character).

Added Premium System from the other C2 project (Needs testing and improvement).

Added the "Improved" Community Board (incomplete).

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock