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...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Posts

    • дискорд массовая рассылка, спам бот дискорд, рассылка в дискорде, массовые сообщения дискорд, дискорд спамер, автоматическая рассылка дискорд, бот для рассылки дискорд, программа для спама дискорд, дискорд рассылка сообщений, спам в дискорде, массовая отправка дискорд, дискорд бот рассылки, автоматизация дискорд, рассылка по серверам дискорд, дискорд массовые уведомления, спам робот дискорд, дискорд директ рассылка, массовый спам дискорд, дискорд автоматический спамер, бот массовой рассылки дискорд, программа рассылки дискорд, дискорд спам инструмент, автоматический дискорд спамер, дискорд рассылочный бот, массовые месседжи дискорд, дискорд спам софт, рассылка в личные сообщения дискорд, дискорд автоспамер, программа для массовой рассылки дискорд, дискорд спам сервис, автоматизированная рассылка дискорд, дискорд массовый месседжер, спам автоматизация дискорд, дискорд рассылка по пользователям, массовый маркетинг дискорд, дискорд спам машина, автоматическая отправка дискорд, дискорд рассылочная программа, спам система дискорд, дискорд массовая реклама, автоматический месседжер дискорд, дискорд спам панель, рассылка через дискорд бота, дискорд автоматические сообщения, массовое оповещение дискорд, дискорд спам генератор, программа автоспама дискорд, дискорд рассылочный софт, автоматизированный спам дискорд, дискорд массовое извещение  
    • купить дискорд аккаунты, дискорд аккаунты купить, аккаунты дискорд продажа, купить аккаунт дискорд, дискорд аккаунт купить, дискорд автореги, аккаунты дискорд оптом, дискорд автореги купить, купить автореги дискорд, аккаунты discord купить, дискорд аккаунты с отлежкой, купить авторег дискорд, аккаунты дискорд дешево, дискорд аккаунты россия, купить дискорд автореги, аккаунты дс купить, дискорд аккаунты магазин, купить аккаунты дс, дискорд аккаунты сша, аккаунты discord продажа, купить токен дискорд, дискорд token купить, аккаунты дискорд украина, купить discord token, дискорд аккаунты европа, дискорд аккаунты токен, купить дс аккаунт, аккаунты дискорд германия, дискорд аккаунты канада, купить аккаунт дс, аккаунты дискорд англия, дискорд аккаунты качественные, аккаунты дискорд премиум, купить премиум дискорд, дискорд аккаунты биржа, аккаунты дискорд верифицированные, дискорд аккаунты франция, купить старый дискорд, аккаунты дискорд италия, смс активация дискорд, виртуальные номера дискорд, дискорд аккаунты испания, аккаунты дискорд голландия, купить номер дискорд, дискорд аккаунты чистые, аккаунты дискорд новые, дискорд аккаунты старые, дискорд аккаунты живые, купить жирный аккаунт дискорд, аккаунты дискорд фарм  
    • Discord         :  utchiha_market Telegram        : https://t.me/utchiha_market
    • Discord         :  utchiha_market Telegram        : https://t.me/utchiha_market
    • 📈 X (Twitter) — Promotion for all purposes  🚀 Boost reach, likes, views, and retweets with the best rates on the market!   🧠 Available services:  🔹 Likes, retweets, comments  🔹 Tweet and video views  🔹 Mentions and polls  🔹 Followers   💼 Perfect for:  ✔️ SMM specialists  ✔️ Arbitrage experts  ✔️ Crypto, NFT, and news account owners  ✔️ Agencies promoting businesses and personal brands ...and much more! Use our SMM Panel to boost on Facebook, Instagram, Telegram, Spotify, Soundcloud, YouTube, Reddit, Threads, Kick, Discord, LinkedIn, Likee, VK, Twitch, Kwai, Reddit, website traffic, TikTok, TrustPilot, Apple Music, Tripadvisor, Snapchat, and other digital products.   🎁 Promo code: XBOOST5 (5% discount)   🎁 Get $1 trial bonus:  Simply open a ticket titled “Get Trial Bonus” on our website (Support)  ➡ Go to SMM Panel (clickable)  Or contact support via bot 🎁   How to order:  ➡ SMM Panel: Click ✅  ➡ SMM Panel directly inside our Telegram bot: Click ✅ (Menu ➡ SMM Panel)   Our Digital Goods Store:  ➡ Online Store: Click ✅  ➡ Telegram Bot: Click ✅    Regular customers get extra discounts and promo codes!   Support:  ➡ Telegram: https://t.me/solomon_bog ✅  ➡ Discord: https://discord.gg/y9AStFFsrh ✅  ➡ WhatsApp: https://wa.me/79051904467 ✅  ➡ ✉ Email: solomonbog@socnet.store ✅   ➡ Telegram Channel: https://t.me/accsforyou_shop ✅   Use these contacts to:  — Discuss wholesale purchases  — Propose partnerships (current partners: https://socnet.bgng.io/partners )   — Become a supplier 🧩 SocNet — Digital Goods & Premium Subscriptions Store ✅
  • 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