Jump to content

Recommended Posts

Posted

This tutorial will explain how to connect 2 gameservers together using 2 computers with different IP's, using the Lineage II Interlude Client (L2J Version)

A router is not used in this tutorial

We will assume the databases are set up for the gameservers and the loginservers on both computers, and you have Navicat installed

The first PC will be used as both the loginserver and one of the two gameservers

The second computer will host the second gameserver, and use the loginserver of the first computer

We will call the computer that will host the loginserver the LOGIN PC

The other computer will be called the NONLOGIN PC

╔══════╗

║STEP 1║

╠══════╩═════════════════╗

║Registering Server Names║

╠═════════════╦══════════╝

║LOGIN PC ONLY║

╚═════════════╝

Open serverfiles, then go to \loginserver\dist\

Run RegisterGameServer.bat

Type clean, then hit enter

Run RegisterGameServer.bat again, and enter the number of the servername you wish to use for your gameserver

Run RegisterGameServer.bat yet again, and enter the number of the servername you wish to use for the NONLOGIN PC gameserver

╔══════╗

║STEP 2║

╠══════╩══════════╗

║Preparing hexid's║

╠═════════════╦═══╝

║LOGIN PC ONLY║

╚═════════════╝

When you are finished STEP 1, you will have 2 files.

hexid(server X).txt

hexid(server Y).txt

X is the first number you entered. (LOGIN PC)

Y is the second number you entered. (NONLOGIN PC)

Each file should be renamed to hexid.txt AFTER being moved to the correct PC. On each PC, there must be a copy of the hexid.txt file in these 2 folders:

\loginserver\dist\ folder of your server files

\gameserver\config\ folder of your server files

Since you cannot name both hexid(server) files to just *hexid.txt* at the same time on one computer, rename the one that belongs on the LOGIN PC first. Then, MOVE the other *hexid(server)* file to the NONLOGIN PC, rename it to hexid.txt then make sure it is in these 2 folders:

\loginserver\dist\ folder of your server files

\gameserver\config\ folder of your server files

╔══════╗

║STEP 3║

╠══════╩══════════════════════╗

║Change server_id's in Navicat║

╠═════════════╦═══════════════╝

║LOGIN PC ONLY║

╚═════════════╝

After completing STEP 1 and STEP 2, you will need to change 2 numbers in Navicat to the correct server numbers. (The ones that you entered in RegisterGameServer.bat in STEP 1)

NOTE:

For some reason, when you register a gameserver (choose it's name with a number), it isn't entered into MySQL (Navicat) correctly.

Open Navicat

Open on the "gameservers" table

Under the "server_id" column, change the first number to the number that you entered in STEP 1 (when you registered the gameservers) and the number BELOW that to the second number you entered in STEP 1

Click the checkmark at the bottom of the screen, then close the table, then close Navicat

╔══════╗

║STEP 4║

╠══════╩══════════╗

║server.properties║

╠═════════════╦═══╝

║LOGIN PC ONLY║

╚═════════════╝

On the LOGIN PC, open server.properties from the \gameserver\dist\config\ folder of your server files

Change the following sections in your file to match the following format:

GameserverHostname=LOGIN PC WAN IP

ExternalHostname=LOGIN PC WAN IP

InternalHostname=127.0.0.1

LoginHost=LOGIN PC WAN IP

RequestServerID = XX

NOTE:

XX must be the FIRST number you entered in STEP 1 (when you registered the gameservers)

╔══════╗

║STEP 5║

╠══════╩═══════════════╗

║loginserver.properties║

╠═════════════╦════════╝

║LOGIN PC ONLY║

╚═════════════╝

On the LOGIN PC, open loginserver.properties from the \loginserver\dist\config\ folder of your server files

Change the following sections in your file to match the following format:

LoginServerHostname=LOGIN PC WAN IP

LoginHostname=LOGIN PC WAN IP

AcceptNewGameServer = True

╔══════╗

║STEP 6║

╠══════╩══════════╗

║server.properties║

╠════════════════╦╝

║NONLOGIN PC ONLY║

╚════════════════╝

On the NONLOGIN PC, open server.properties from the \gameserver\dist\config\ folder of your server files

Change the following sections in your file to match the following format:

GameserverHostname=0.0.0.0

ExternalHostname=NONLOGIN PC WAN IP

InternalHostname=127.0.0.1

LoginHost=LOGIN PC WAN IP

RequestServerID = YY

NOTE:

YY must be the SECOND number you entered in STEP 1 (when you registered the gameservers)

╔══════╗

║STEP 7║

╠══════╣

║l2.ini║

╠══════╩═══════════════╗

║NONLOGIN PC + LOGIN PC║

╚══════════════════════╝

In the patch or client that you distribute, you need a decrypting tool such as L2FileEdit.exe that allows you to edit your l2.ini file

l2.ini can be found in the \system\ folder of your client files

Change the following sections in your file to match the following format:

Port=2106

ServerAddr=LOGIN PC WAN IP

After this is complete, you have to encrypt the file again for it to work properly

╔══════╗

║STEP 8║

╠══════╣

║Enjoy!║

╚══════╝

Posted

Themental i respect that you posted it ... give the proper credits to devil614 .. also source is from RZ.. anyway Thx for the guide! Good for newbies!

 

 

Posted

:O respect this guide.someone give him -1 karma because he tried to steal another job to  take karma :(  ( AGAIN )

dude do you see anywhere to say that this is my work ??? I DONT CARE ABOUT KARMA .... just lol i had those in my archives without who made them and i just wanted to posted them !!!! im Global mod i dont care about karma i care only to help this community ppl !!!

Posted

i accept someone give him -1 karma , the mod told something like " don't post something without credits "

and now the Global moderator do the warning that he told ? !

wtf ? is this a  mod ?

always TheMental want to get respect from others ,

always telling that he made a job but the most of his share's was from DaRkRaGe and from oneodevteam

 

http://www.maxcheaters.com/forum/index.php?topic=6879.0

look what DaRkRaGe told !

anyway ! nice guide themental

Posted

i accept someone give him -1 karma , the mod told something like " don't post something without credits "

and now the Global moderator do the warning that he told ? !

wtf ? is this a  mod ?

always TheMental want to get respect from others ,

always telling that he made a job but the most of his share's was from DaRkRaGe and from oneodevteam

 

http://www.maxcheaters.com/forum/index.php?topic=6879.0

look what DaRkRaGe told !

anyway ! nice guide themental

 

 

I said that i had them on notepad on my L2Jfolder i didnt knew who made the guide !!! and i was on ONEO DEV TEAM !!!! it was my work too on there i was ADMIN too on oneo dev team so LOL i dont need respect i have the respect i have.You can decrease my karma ... i just wanna help some ppl ..

  • 5 months later...
  • 2 months later...
Posted

Just did it!!! Awesome... tried in the past and could not get... now can have test server and main server :) thanks...

 

P.S. I know this is a late reply just letting everyone else know this actualy works  ;D

Posted

you guys dont respect his helping purpose????are you stupid guys???sorry but TheMental is trying to help us and u get upon him and start  killing him...pfff...respect him come on!!he didnt said that it is his own work!!!Nice share TheMental good work!!!!

  • 5 months later...
  • 2 weeks later...
Posted

╔══════╗

║Very      ║

╠══════╩════════╗

║Useful                        ║

╠═════════════╦═╝

║Thank you            ║

╚═════════════╝

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

    • 我们的 Telegram 频道 已达到 3000 名订阅者! 感谢大家对我们项目的支持与关注! 我们即将举办一场精彩的抽奖或比赛,专为您准备! 不要错过参与的机会 — 立即订阅:https://t.me/accsforyou_shop✅ 活跃链接: 数字商品商店(网站):前往 商店 Telegram 机器人:前往 用于购买 Telegram Stars 的机器人:前往 SMM 面板:前往 – 推广您的社交媒体账户。 我们向您展示当前的 促销与特别优惠,可用于购买我们平台的产品与服务: 1. 使用优惠码 OCTOBER2025(8% 折扣)在十月期间通过我们的网站或机器人购物!首次购买还可使用优惠码 SOCNET(15% 折扣)。 2. 获得 $1 商店余额或 10–20% 折扣 —— 只需在我们网站注册后在论坛留言:“SEND ME BONUS, MY USERNAME IS...”。 3. 首次试用 SMM 面板可获得 $1 奖励 —— 只需在我们网站(支持页面)提交标题为 “Get Trial Bonus” 的工单。 4. 每周在我们的 Telegram 频道和用于购买 Stars 的机器人中赠送 Telegram Stars!
    • 我们的 Telegram 频道 已达到 3000 名订阅者! 感谢大家对我们项目的支持与关注! 我们即将举办一场精彩的抽奖或比赛,专为您准备! 不要错过参与的机会 — 立即订阅:https://t.me/accsforyou_shop✅ 活跃链接: 数字商品商店(网站):前往 商店 Telegram 机器人:前往 用于购买 Telegram Stars 的机器人:前往 SMM 面板:前往 – 推广您的社交媒体账户。 我们向您展示当前的 促销与特别优惠,可用于购买我们平台的产品与服务: 1. 使用优惠码 OCTOBER2025(8% 折扣)在十月期间通过我们的网站或机器人购物!首次购买还可使用优惠码 SOCNET(15% 折扣)。 2. 获得 $1 商店余额或 10–20% 折扣 —— 只需在我们网站注册后在论坛留言:“SEND ME BONUS, MY USERNAME IS...”。 3. 首次试用 SMM 面板可获得 $1 奖励 —— 只需在我们网站(支持页面)提交标题为 “Get Trial Bonus” 的工单。 4. 每周在我们的 Telegram 频道和用于购买 Stars 的机器人中赠送 Telegram Stars!
    • 我们的 Telegram 频道 已达到 3000 名订阅者! 感谢大家对我们项目的支持与关注! 我们即将举办一场精彩的抽奖或比赛,专为您准备! 不要错过参与的机会 — 立即订阅:https://t.me/accsforyou_shop✅ 活跃链接: 数字商品商店(网站):前往 商店 Telegram 机器人:前往 用于购买 Telegram Stars 的机器人:前往 SMM 面板:前往 – 推广您的社交媒体账户。 我们向您展示当前的 促销与特别优惠,可用于购买我们平台的产品与服务: 1. 使用优惠码 OCTOBER2025(8% 折扣)在十月期间通过我们的网站或机器人购物!首次购买还可使用优惠码 SOCNET(15% 折扣)。 2. 获得 $1 商店余额或 10–20% 折扣 —— 只需在我们网站注册后在论坛留言:“SEND ME BONUS, MY USERNAME IS...”。 3. 首次试用 SMM 面板可获得 $1 奖励 —— 只需在我们网站(支持页面)提交标题为 “Get Trial Bonus” 的工单。 4. 每周在我们的 Telegram 频道和用于购买 Stars 的机器人中赠送 Telegram Stars!
    • 我们的 Telegram 频道 已达到 3000 名订阅者! 感谢大家对我们项目的支持与关注! 我们即将举办一场精彩的抽奖或比赛,专为您准备! 不要错过参与的机会 — 立即订阅:https://t.me/accsforyou_shop✅ 活跃链接: 数字商品商店(网站):前往 商店 Telegram 机器人:前往 用于购买 Telegram Stars 的机器人:前往 SMM 面板:前往 – 推广您的社交媒体账户。 我们向您展示当前的 促销与特别优惠,可用于购买我们平台的产品与服务: 1. 使用优惠码 OCTOBER2025(8% 折扣)在十月期间通过我们的网站或机器人购物!首次购买还可使用优惠码 SOCNET(15% 折扣)。 2. 获得 $1 商店余额或 10–20% 折扣 —— 只需在我们网站注册后在论坛留言:“SEND ME BONUS, MY USERNAME IS...”。 3. 首次试用 SMM 面板可获得 $1 奖励 —— 只需在我们网站(支持页面)提交标题为 “Get Trial Bonus” 的工单。 4. 每周在我们的 Telegram 频道和用于购买 Stars 的机器人中赠送 Telegram Stars!
    • 3000 subscribers in our Telegram channel! Thank you all for your support and interest in our project! Very soon, we’ll be hosting an exciting giveaway or contest just for you! Don’t miss the chance to take part — subscribe here: https://t.me/accsforyou_shop✅ Active Links: Digital goods store (Website): Go Store Telegram bot: Go Telegram bot for purchasing Telegram Stars: Go SMM Panel: Go – promote your social media accounts. We would like to present you with the current list of promotions and special offers for purchasing products and services from our platform: 1. Promo code OCTOBER2025 (8% discount) for purchases in our store (Website or Bot) during October! You can also use the first-time promo code SOCNET (15% discount). 2. Get $1 credited to your store balance or a 10–20% discount — just post your username after registration on our website using the following format: "SEND ME BONUS, MY USERNAME IS..." – post it in our forum thread! 3. Get $1 for your first SMM Panel trial — just open a support ticket titled “Get Trial Bonus” on our website (Support). 4. Weekly giveaways of Telegram Stars in our Telegram channel and in our Telegram bot for Star purchases!
  • 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