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

    • You think you have good “l2j” files until you try running a low-rate server.   Saying “there’s not a single L2 server out there worth mentioning” just shows you probably only know the first 10 servers on voting sites, the same voting sites that owned by them. You call the forum dead, yet you’re here discussing your next projects… From my perspective, you don’t seem ready to run any L2 server in 2025. Around 70% of players are here for RMT or ask for payment just to bring their clan, and you really think the community cares about Premium or donations or files quality? The other 20% spend their time downloading and deleting servers all day, playing for one day, then quitting for whatever random reason. And finally, the last 10% are the only ones who actually play because they genuinely like your features, your server files, and your overall project. Good luck 🙂
    • I genuinely admire your bravery - in an age where AI can whip up something better in under a minute, you still stubbornly try to sell these "projects" of yours on a forum that’s been clinically dead for years. That’s no longer determination, that’s digital archaeology. I just can’t tell whether you’re actually trying to make money, or simply testing how much we can endure before we ask an AI to generate you some actual talent.   And ofc AI will make it for free, $220 saved.
    • I’m glad I’m not the only one who appreciates Maxthor’s involvement in group gay orgies, he can’t be bothered to reply to messages, but covering the entire forum in gay lights is absolutely no issue for him. As for the project - the forum is packed with feedback from the testers, the lads are spending every spare moment fixing even the tiniest typo in an NPC’s text. I’ll share the links as soon as I get the green light. Edit: I forgot to add that the GM recruitment will begin once the links are released. Three people will be accepted, and they’ll work in a three-shift rotation so that there’s always a GM available online.
    • Added: a brand-new default dashboard template. You can now add multiple game/login server builds. Full support for running both PTS & L2J servers simultaneously, with switching between them. Payment systems: added OmegaPay and Pally (new PayPal-style API). Account history now stores everything: donations, items delivered to characters, referrals, transfers between game accounts, and coin transfers to another master account. Personal Promo Code System: you can create a promo code and assign it to a user or promoter. When donating, a player can enter this promo code to receive bonus coins, and the promo code owner also receives a bonus — all fully configurable in the admin panel.     Look demo site: demo
    • One of best project i play last few years
  • Topics

×
×
  • 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