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

    • Please note:i will provide you with forum address for registration once buyer sends money(my commission) to forum guarantor's payment details. You can register on forum in any day and in any time,which are convenient for you,send code word in private message to forum guarantor(you will receive code word from buyer). If buyer does not purchase your product,you will need to wait private message(answer) from forum guarantor to compare code word. I will invite you in "forum deal". I will add your name,which you registered on forum,in "forum deal". Then you write in "forum deal": "buyer did not purchase product" and add code word(you will have this right according to clause in forum questionnaire). Forum guarantor will refund buyer((in full amount). If buyer purchases your product,buyer notifies forum guarantor and forum guarantor will send money to my payment details.   Sports exercise machines,jacuzzi,building materials,cosmetics,perfumes,shoes,clothing,furniture,bags,televisions,music centers,telephones,laptops,tablet computers,refrigerators,washing machines,microwaves,fans.  
    • Here is a L2JMobius Classic Interlude FULL server. The share includes full server source+datapack, patch, interface and the P110 client. The original build is L2JMobius. However it was bought from a user called "ClassicLude (https://classic-lude.org/)" which is also a huge scammer, selling free Mobius files for $500. I could not believe someone actually bought this, yet here we are.    Unfortunately the admin is a scammer and refused to pay his remaining balance of over $150 to me since he is too busy "working for Bill Gates" and opening the next big mega mall in ChatGPT city therefore not having enough money. The server itself garnered a massive 30 players so I can't really tell you if this is usable. Knowing its backstory and that it is Mobius based i can surmise that it is NOT suitable for serious users. This build is the result of typical AI slop and vibecode "admins" thinking they just "one shotted L2J" because they discovered how to prompt an agent.   I have made the following changes, some of which were regrettably butchered by the admin after he discovered how to download Cursor. Not much more was done due to the absolute displeasure and misery of having to work on a Mobius server.   - Updated files to JDK 22 - Added l2 reborn community board - Added preview system for skins including mounts/agathions - Added AIO npc (buffer/store/teleporter) - Added QuickVar system - Added Ranking system (pvp/pk/online/level and moar) - Added raid boss list on community board - Added drop search+shift click with itemtooltip on community board and npc - Added l2 reborn styled flash windows and window borders and L2UI_CT1 - Added custom donate coin icon in the store swf - Fixed some random bugs like Hot Springs monsters not giving the disease     Links Source+Datapack: https://drive.google.com/file/d/1uMaTzSxKtnLxXC-VoZyHYW_OXq7Oof5L/view?usp=sharing Interface+Compiler+Client tools: https://drive.google.com/file/d/14IJWyYSDOjMycHnJ749H9dRXuv2JeYK3/view?usp=sharing Full Client: https://drive.google.com/file/d/1P7Yd9wI0XcWlLMFDPSdfTZgWhW_9JEii/view?usp=sharing
    • I logged in with this system, maybe its the patch shared by greenhope i don't remember i just downloaded it because i love C3 but no l2j or l2off c3 is good everything is buggy and this one too, also it has no geodata and i don't know if it has geoengine because i didn't see the config for it in the config folder. If someone had the latest l2jvn maybe it could be more stable but i don't think so at least without the source, if someone has it to share it that would be good  https://www.mediafire.com/file/mzodnsyi9qn4ap7/patch+560+for+c3.rar/file
    • We are certainly not an ambulance, but we will definitely cure you of blacklists and empty pockets. Live freely with SX! Each of you will receive a trial version of SX to familiarize yourself with the product, all you have to do is post in this thread
  • 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..