Jump to content

Recommended Posts

Posted

CREDITS TO:Naikon2Remember

 

This guide explains how you can add a second gameserver.

 

 

So let's say I have one L2j Server fully configured with a loginserver and 1 gameserver and I want one more, what do I do?

 

First off stop both servers 

 

Now make a copy of your gameserver folder and you can rename it whatever you want or like but I'll rename it gameserver2...

 

The next step is to go to the loginserver.properties config file and change this :

 

AcceptNewGameServer = False

 

to:

 

AcceptNewGameServer = True

 

otherwise your second gameserver will not be seen by the loginserver, u'll turn it back to False after you'll see that the second gameserver is running properly.

 

Now let's configure the second gameserver... so regular sunday morning server.properties browsing and checking... and BOOM! here you are:

 

GameserverPort=7777

 

some guys trying to make a gameserver did not make it because of this little bugger... you can't run 2 servers on the same port no matter what... remember that, so change it to:

 

GameserverPort=7778

 

now we look down... make sure your IP should be the right one... and we bump into this other little thingy:

 

LoginserverHostname=*

LoginserverPort=2106

LoginTryBeforeBan=20

 

now if you are running two servers on the same computer... good luck with that btw... you would change to look like this LoginserverHostname=127.0.0.1, if you are not running two servers on the same computer you would change that to the IP of the computer that's holding the LoginServer... pretty logical eh?

 

LoginPort=9014

LoginHost=127.0.0.1

 

same thing there  ::)

 

now here's the real deal:

 

# This is the server id that the gameserver will request (i.e. 0 is Bartz)

RequestServerID = 0

# If set to true, the login will give an other id to the server if the requested id is allready reserved

AcceptAlternateID = True

 

as said in comments ServerID 0 is for Bartz... your other gameserver is Bartz so you will go with the 2nd wich is Sieghardt but your not going to be putting 2 to serverid cause that's not Sieghardt instead it's 1... so it should look like this:

 

RequestServerID = 1

 

but you haven't yet got a hexid so u need one...

 

if u'r running Windows run RegisterGameServer.bat and say that you want the ServerID 1 and he'll make a hexid (something).txt, reame it to hexid.txt and move it to the config folder of your second gameserver... because you've copied the 1st gameserver chances are you already have hexid.txt overwrite it with this new one...

 

if u'r running linux ...

chmod +x RegisterGameServer.sh

./RegisterGameServer.sh

and continue as above...

 

ok... enough fooling around back to the server.properties config file...

browsing... bla bla bla... more comments... oh HELLO! there u are:

 

# Database info

Driver=com.mysql.jdbc.Driver

#Driver=org.hsqldb.jdbcDriver

#Driver=com.microsoft.sqlserver.jdbc.SQLServerDriver

URL=jdbc:mysql://localhost/l2jdb

#URL=jdbc:hsqldb:hsql://localhost/l2jdb

#URL=jdbc:sqlserver://localhost/database=l2jdb/user=sa/password=

Login=root

Password=

MaximumDbConnections=50

 

u have'nt got a 2nd database so go ahead and make one! if u'r having 2 gameservers on the same computer make another database called l2jdb2 and change the above to look like this :

 

# Database info

Driver=com.mysql.jdbc.Driver

#Driver=org.hsqldb.jdbcDriver

#Driver=com.microsoft.sqlserver.jdbc.SQLServerDriver

URL=jdbc:mysql://localhost/l2jdb2

#URL=jdbc:hsqldb:hsql://localhost/l2jdb

#URL=jdbc:sqlserver://localhost/database=l2jdb/user=sa/password=

Login=root

Password=

MaximumDbConnections=50

 

if u'r not... well... change the "localhost" there to the other computers ip and the name of the database... I recommend having both the database and the server on the same computer cause it's faster if u'r having a separate mysql server it will run slower because it has to communicate between computers rather that comunicate to himself ...

 

remember to change the Login and Password to the proper ones...

 

and save the config file.

 

ok... now the database is empty, fill it dude... use the DatabaseInstaller as u used for the first server but on the other database or manually upload the .sql files (good luck with that too).

 

and now it the time of truth...

 

run the loginserver... and the first gameserver... and the second gameserver....

 

Hope u enjoyed the guide  :P

 

  • 1 month later...
  • 5 weeks later...
Posted

Looks good so far... will donate $10 if it works :) ....

 

I assume I have to port forword port 7778 to the 2nd server?  And in my game patch is setup for port 7777. How will players connect to port 7778? They will be redirected when they choose the server ?

 

 

Thanks   This topis is more helpful than the others.....

 

 

HELP ... also before I tried this erased the HEXID of 2nd server from database... now my first server will not start... can I install 2 new HEXIDs without erasing 50 accounts in the process ?

  • 1 month later...

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

    • NEW HIDDENSTASH KEY SYSTEM INTRODUCED TO THE SITE   **Earn While You Spend - Introducing HS Cashback!**   Every purchase on our site now rewards you with **HS Keys cashback**   EVERY ONE WHO REGISTERS IN SITE UNTILL 15TH OF MAY GETS 2000 HS KEYS IN HES BALANE   Here's how it works:       **1 USD = 1000 HS Keys**   **Get 3% cashback** on every purchase   **Use your HS Keys to **save on your next order**   ---   ### ⚡ Why this is awesome   * Every order gives you value back   * Stack it with promos & HS usage   * Turn your spending into future discounts   ---   ### Example   Spend **$10** → Get **300 HS Keys** back   Spend **$50** → Get **1500 HS Keys** back   ---   ### Smart system (built for fairness)   * Cashback is rounded to keep things balanced   * Prevents abuse from tiny orders   * Rewards real buyers   ---   ### Start earning now   Every purchase = progress toward your next discount   Shop now and build your HS balance!   #cashback #gamingdeals #d2r #rewards #loyalty   Stay safe out there, heroes - and happy hunting! www.d2rhiddenstash.com     We just launched our new Affiliate Program — and it’s the easiest way to earn HS Keys.   Invite your friends using your personal link.   Example: If your friend spends $10 → you get 300 HS Keys No limits. No effort. Just share your link.   Get your referral link here: www.d2rhiddenstash.com/profile     Start earning today
    • It’s time for something new to rise. In a world filled with short-lived projects and empty promises, Emerge was created with a different vision — a vision built on experience, precision, and long-term commitment. This is not just another server launch. This is the beginning of something that is meant to last. 🌑 Eclipse x10 – A New Beginning Eclipse x10 is designed for players who seek more than just fast progression. It is built for those who value competition, balance, and a real Lineage II experience. From the very first day, every system has been carefully adjusted to provide a smooth and fair journey — where both solo players and clans can thrive. No shortcuts. No chaos. Only a structured and competitive world. ⚔️ What Awaits You • A balanced mid-rate environment (x10 core progression) • Stable and optimized gameplay • Fair systems with focus on long-term play • Competitive PvP and rewarding PvE • Active and dedicated administration • A project built with vision, not temporary hype 📊 Server Rates Basic: EXP/SP: x10 Adena: x5 Drop: x5 Spoil: x5 Secondary: Quests: x1 Seal Stones: x5 Life Stone Drop: x1 Enchant Scroll Drop: x1 Bosses: Raid Boss EXP/SP: x1 Raid Boss Drop: x1 Epic Boss EXP/SP: x1 Epic Boss Drop: x1 Enchant: Safe: +3 Max: +16 📅 Launch Information Grand Opening: 5 June 2026 The countdown has already begun. Clans are forming. Strategies are being prepared. The question is — will you be ready? 🔗 Join the Community Every strong server begins with a strong community. Be part of it from the very start. 💬 Discord: https://discord.gg/l2emerge 🌐 Website: https://www.l2emerge.com  
    • https://jumpshare.com/share/L45ApA5PVrGN2O5Ua5pQ   Skill synchronization with the server: Launching and synchronizing animations, launching and synchronizing effects. All of this is tied to the server's timing  
  • 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..