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 (stupid to start and drive 20 windows).
This is make 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):
Optimal for 1k online:
This is make in the * NIX file:
GameServer_loop.sh
By default, for tests (the server immediately loads geo, scripts, etc., there is practically nothing left for the players):
Optimal for 1k online:
_______________________________
2. Your provider is under a DDoS attack or is located far from your players
2.1 Connect proxy server authserver\config\proxyservers.xml
2.2 Ask what the lag player would do
и
or the player is not able to master such processes. Downloading https://sourceforge.net/projects/winmtr/ enters the IP of your server and sends you a report that generates this software. The data is passed to your operator’s provider, so that they either optimize the route or send it to ass. Then let this player download https://www.battleping.com/
_______________________________
3.Your player plays on a poor pc
3.1 That in the game there is an option .menu or .cfg - Buff animation (default 100), set 50 or less
1. Increase the memory of the game server process, the default is 3gb (stupid to start and drive 20 windows).
This is make 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
Code:
java -server -Dfile.encoding=UTF-8 -Xmx5G -cp config;./* l2.gameserver.GameServer
This is make in the * NIX file:
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
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 Connect proxy server authserver\config\proxyservers.xml
2.2 Ask what the lag player would do
Code:
cmd > ping server.ip
Code:
cmd > tracert server.ip
_______________________________
3.Your player plays on a poor pc
3.1 That in the game there is an option .menu or .cfg - Buff animation (default 100), set 50 or less