Jump to content

Question

Posted (edited)

Hello, i dont know if this is the right place to post this but i will, if not move it, sorry.

We have a machine:
64GB ram
2x 2 TB SSD (No RAID)
Windows Server 2022 Standard Edition 64 bit

I know linux is recommended but windows is easier for me. Thats why we got some extra GB.
How to set up L2J server gameserver.bat and configs in order to run max amount of players and what would be max amount infact, any information appreciated!

 

Edit:

Yes i did a research before i ask... 

I know i dont know everything thats why i ask 😅

Edited by ๖ۣۜG๖ۣۜL๖ۣۜO๖ۣۜR๖ۣۜY

12 answers to this question

Recommended Posts

  • 0
Posted (edited)
2 minutes ago, splicho said:

So you want to simulate a shit ton of "fake players" to test your servers' performance?

 

Nop just edit settings i dont rly know how to use fake players.. 

Back in 2014 this doesnt existed

 

Edited by ๖ۣۜG๖ۣۜL๖ۣۜO๖ۣۜR๖ۣۜY
  • 0
Posted
9 minutes ago, ๖ۣۜG๖ۣۜL๖ۣۜO๖ۣۜR๖ۣۜY said:

Olá, não sei se este é o lugar certo para postar isso, mas vou, se não movê-lo, desculpe.

Temos uma máquina:
64 GB de RAM
2x 2 TB SSD (Sem RAID)
Windows Server 2022 Standard Edition 64 bits

Eu sei que o linux é recomendado, mas o Windows é mais fácil para mim. É por isso que temos alguns GB extras.
Como configurar o servidor L2J gameserver.bat e configs para rodar a quantidade máxima de jogadores e qual seria a quantidade máxima de fato, qualquer informação é apreciada!

 

Editar:

Sim, eu pesquisei antes de perguntar... 

Eu sei que não sei tudo por isso pergunto <font style=😅">

with a machine like that it depends on java and it is important if you are going to use a java8 that is very light you will support so many players that you will never bog down the server only thing you should look at in Task of the task manager what is the consumption that the JDK is consuming

  • 0
Posted (edited)
6 minutes ago, BAN_L2JDev said:

with a machine like that it depends on java and it is important if you are going to use a java8 that is very light you will support so many players that you will never bog down the server only thing you should look at in Task of the task manager what is the consumption that the JDK is consuming

 

 

You didnt quite understand the question i know there are some changes that has to be made in l2j server configs and mysql.ini to run this much online members and my  gameserver.bat is at java version:1.7

 

Sry im not much into this cuz i was thinking more about server game then running it :x

 

Edited by ๖ۣۜG๖ۣۜL๖ۣۜO๖ۣۜR๖ۣۜY
  • 0
Posted
Just now, ๖ۣۜG๖ۣۜL๖ۣۜO๖ۣۜR๖ۣۜY said:

 

 

Você não entendeu muito bem a pergunta, eu sei que existem algumas alterações que devem ser feitas nas configurações do servidor l2j e no mysql.ini para executar tantos membros online e meu gameserver.bat está na versão java: 1.7

Server.proprierts

# Maximum database connections.
MaximumDbConnections = 1000

 

# Define how many players are allowed to play simultaneously on your server.
MaximumOnlineUsers = 1000

# =================================================================
#                            Threadpool
# =================================================================

# Determines the amount of scheduled thread pools. If set to -1, the server will decide the amount depending on the available processors.
ScheduledThreadPoolCount = -1

# Specifies how many threads will be in a single scheduled pool.
ThreadsPerScheduledThreadPool = 750

# Determines the amount of instant thread pools. If set to -1, the server will decide the amount depending on the available processors.
InstantThreadPoolCount = -1

# Specifies how many threads will be in a single instant pool.
ThreadsPerInstantThreadPool = 8

 

LoguinServer

# Maximum database connections.
MaximumDbConnections = 1000

 

Can you make your question clearer now?

  • 0
Posted
15 minutes ago, ๖ۣۜG๖ۣۜL๖ۣۜO๖ۣۜR๖ۣۜY said:

Hello, i dont know if this is the right place to post this but i will, if not move it, sorry.

We have a machine:
64GB ram
2x 2 TB SSD (No RAID)
Windows Server 2022 Standard Edition 64 bit

I know linux is recommended but windows is easier for me. Thats why we got some extra GB.
How to set up L2J server gameserver.bat and configs in order to run max amount of players and what would be max amount infact, any information appreciated!

 

Edit:

Yes i did a research before i ask... 

I know i dont know everything thats why i ask 😅

What should actually worry you if you expect a high amount of players (by high talking about 1k+ real players, is if your project's code can handle such load (this is a typical issue by using good/bad base projects). 

About launch configs study your current one and then google your "java" related questions so you can get accurate information through stackoverflow and other forums that actually have answers for almost everything you're going to need.

  • 0
Posted

Ok i get it i must edit 

2 minutes ago, BAN_L2JDev said:

Server.proprierts

# Maximum database connections.
MaximumDbConnections = 1000

 

# Define how many players are allowed to play simultaneously on your server.
MaximumOnlineUsers = 1000

# =================================================================
#                            Threadpool
# =================================================================

# Determines the amount of scheduled thread pools. If set to -1, the server will decide the amount depending on the available processors.
ScheduledThreadPoolCount = -1

# Specifies how many threads will be in a single scheduled pool.
ThreadsPerScheduledThreadPool = 750

# Determines the amount of instant thread pools. If set to -1, the server will decide the amount depending on the available processors.
InstantThreadPoolCount = -1

# Specifies how many threads will be in a single instant pool.
ThreadsPerInstantThreadPool = 8

 

LoguinServer

# Maximum database connections.
MaximumDbConnections = 1000

 

Can you make your question clearer now?

 

How about gameserver.bat and login server.bat 

I just wanna be sure im not missing something

2 minutes ago, &#x60;Son said:

What should actually worry you if you expect a high amount of players (by high talking about 1k+ real players, is if your project's code can handle such load (this is a typical issue by using good/bad base projects). 

About launch configs study your current one and then google your "java" related questions so you can get accurate information through stackoverflow and other forums that actually have answers for almost everything you're going to need.

 

Yes sir i know, last time we got 500 ppl but we were with 4 gb ram and we got issue. So i wanna make sure everything is cool

  • 0
Posted

Hi, i will be GM and i help him so mysql needs to be edited also.

But what should be values in gameserver.bat

 

[code]REM Default parameters for a basic server.
java -version:1.7 -Djava.util.logging.manager=com.l2jserver.util.L2LogManager -Xms1024m -Xmx1024m -cp ./../libs/*;l2jserver.jar com.l2jserver.gameserver.GameServer
REM
REM If you have a big server and lots of memory, you could experiment for example with
REM java -server -Xmx1536m -Xms1024m -Xmn512m -XX:PermSize=256m [/code]

  • 0
Posted
On 5/22/2022 at 7:34 PM, BAN_L2JDev said:

java -server -Xmx1536m -Xms1024m -Xmn512m

bro can you tell me how this would behave

 

I use this:

java -version:1.7 -server -Xmx12048m -Xms12048m -Xmn2048m -XX:PermSize=256m -XX:SurvivorRatio=8 -Xnoclassgc -XX:+AggressiveOpts -cp ./../libs/*;l2jserver.jar com.l2jserver.gameserver.GameServer
 

 

is this ok?

  • 0
Posted
On 5/26/2022 at 3:11 AM, Chasing said:

 

I use this:

java -version:1.7 -server -Xmx12048m -Xms12048m -Xmn2048m -XX:PermSize=256m -XX:SurvivorRatio=8 -Xnoclassgc -XX:+AggressiveOpts -cp ./../libs/*;l2jserver.jar com.l2jserver.gameserver.GameServer
 

 

is this ok?

Xmx sets the maximum allocated memory for your JVM

Xms sets the starting one

Xmn sets both

I don't know how this would end up but you can either remove xmn or both xms and xmx

  • 0
Posted

You really dont need to change a lot of things these days, considering how beefy  hosting servers have become as long as you give the gameserver enough memory to fill overtime you will be fine.

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


  • Posts

    • Hello everyone, Lineage II clan MightyTeam is reopening recruitment and looking for ambitious, active players who want to compete seriously and grow together. We are building a disciplined and organized environment focused on teamwork, strategy, and long-term success. What we offer: Strong and experienced leadership, Fair and respectful treatment for every member, Organized clan structure and tactical gameplay, Competitive mentality with clear goals, Stable and drama-free environment, What we expect: Activity and willingness to improve, Teamplay and communication, Respect toward clan members, Motivation to compete and dominate, No politics. No toxicity. Only focused players with the right mentality.   If you are interested in joining MightyTeam, contact on Discord: tzelal.  <-- there is a dot  or Telegram tz3gg. 
    • Lol thanks no l better get Acis /Lucera/Mobius and will squeeze more profit that your crazy ass price files for fucks know what. Even Reborn was smart enough use Acis after Lucera to squeeze shit a lot of money 😁 Fucking hell 15 grants lol 😂 
    • It seems the SkyLord is simply not familiar with what l2-scripts and Bonux represents today. His opinion is likely based on our older materials — which is understandable. We haven't been standing still. Over the years, the studio has moved to a fundamentally different level of development. Our early builds are still available on the legacy site at very accessible prices — and they remain entirely viable for launching a project. As practice shows, solid servers can still be built on them, albeit with greater effort. As for the market — Classic, Essence, and Main have long been running on l2-scripts engines, and the majority of successful servers have, at one stage or another, used our source code as their foundation. This isn't self-promotion — it's the history of the industry. Today, for established projects with a reputation, we offer a different format: private partnership with individual terms tailored to your business goals. If you're interested in long-term collaboration — we're open to the conversation. We have solutions for every level — from newcomers to top-tier projects. Feel free to reach out, and we'll be happy to discuss.
    • implemented Black Market NPC that can copy and make discount on desired multisells , spawns despawns and fully configurable with schedule and random timer   implemented Dungeon Finder , fully configurable for custom dungeons and can be accessed from 2-9 party size. Your choice! 
  • 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..