When you have small lags and friezes on the server appear on your server, there are several reasons that lead to them and I will describe the solution for you.
_______________________________
1. Increase the memory of the game server process, the default is 3gb (to start and drive 20 windows).
This is done in the WinOS file.:
StartGameServer.bat
By default, for tests (the server immediately loads geo, scripts, etc., there is practically nothing left for the players):
Code:
java -server -Dfile.encoding=UTF-8 -Xmx3G -cp config;./* l2.gameserver.GameServer
Optimal for 1k online:
Code:
java -server -Dfile.encoding=UTF-8 -Xmx5G -cp config;./* l2.gameserver.GameServer
In *NIX like OS:
GameServer_loop.sh
By default, for tests (the server immediately loads geo, scripts, etc., there is practically nothing left for the players):
Code:
java -server -Dfile.encoding=UTF-8 -Xmx3G -cp config:./* l2.gameserver.GameServer > log/stdout.log 2>&1
Optimal for 1k online:
Code:
java -server -Dfile.encoding=UTF-8 -Xmx5G -cp config:./* l2.gameserver.GameServer > log/stdout.log 2>&1
_______________________________
2. Your provider is under a DDoS attack or is located far from your players
2.1 Proxy server connection authserver\config\proxyservers.xml
2.2 Ask the lag player to do
and
or the player is not able to master such processes.
_______________________________
3. Your player plays on a bucket
3.1 That in the game there is an option .
menu или .cfg - Buff animation (default 100), set 50 or less
3.2 Download l2antilag