[GUIDE] Making a interlude server on Windows

View previous topic View next topic Go down

[GUIDE] Making a interlude server on Windows

Post by  on Sun Dec 23, 2007 1:52 pm

Ok OK fellows....
I saw many ppl doing a LOT of wrong things and asking me for support w.
the Interlude install so here i go again ... (I cant edit the another
guide because its too old).

THIS GUIDE ISNT FOR MINE PRE-CONFIGURED SERVER PACKS !!!

First Step : Preparing ur system and the server

Well, Like before ull need few programs :

1- JavaJDK
2- MySQL server
3- Navicat(check the L2J tools folder)
4- L2JFree Interlude (copiled and uploaded by INKBLOT , Thx !)

Now lets beggin....

1- Install JavaJDK (u wont hve any problems on it).

2- Lets Install the MySQL server:
- Run the Executable file and start the installation.
- After the install, a window called "MySQL server instance configuration" will appear, than follow these steps to configure it.

- Create a new instance and than Select "Detailed Configuration"



- Choose "Server Machine"



- Press Next til the screen above.
- U can choose the first option if u do not pretend to hve more of 20
players, or use the third option ("Manual setting") where in the
"concurrent connections" field , u put how many ppl do u like to join
ur server.



- Keep pressing next til the SECURITY SETTINGS screen.
- On it , Uncheck the "modify security settings" than next.



- Now press the EXECUTE button (note: if it gave the error 0 return to
the DATABASE USAGE window and choose TRANSACTIONAL DATABASE instead of
MULTIFUNCTIONAL DATABASE !).



-Ok ur MySQL server is setted up ! Login: Root , without password and port 3306.

3- Now lets setup the NAVICAT (MySQL GUY). (For who dont know what is
that , just imagine this way: MySQL is like the Internet and the
NAVICAT is like the Explorer or Firefox).

-Intall NAVICAT , than open it.

-In NAVICAT , click on CONNECTION than fill up the spaces like the image above.



-After that will appear a new connection, into connections field,
called Localhost. Right click on it than choose NEW DATABASE. A small
window will popup asking for the DB name. Use the name l2jdb than click
ok. Well done DATABASE created !



4- Extract the contents of the server pack in a folder of ur choice.

5- Now lets put all the info of the SQL files into ur database.

-Ull find a file called Database_installer.bat at the Tools folder that will be inside ur server's folder.

-Right click on it and choose EDIT.

-Insert in the line "set mysqlBinPath=" the correct address of ur MySQL BIN FOLDER, than save it.

-Execute the modified file. A Ms-dos window will open giving u choices.
Press "F" (full installation) every time it ask u to choose.

-Okay . Ur database is ready to use !

6- Now we will edit few stuffs to setup the server correctly.

-Go into the folder gameserver/config/ and open w. a notepad the server.proprierties file.

-Ull need to edit few lines :

ExternalHostname= UR EXTERNAL IP HERE ( U can discover it using the site WhatIsMyIP.com - 208.116.34.18 . If u only want to play alone and dont want ppl out of ur network to join, u can left it blank).

InternalHostname= UR INTERNAL IP HERE (If ur pc is connect in a network, put ur pc network IP. If not, put 127.0.0.1 ).

MinProtocolRevision = 1
MaxProtocolRevision = 999 (edit these both using these number to avoid a protocol error).

-Now go into ur LOGIN folder. Run the file "RegisterGameServer.bat".

-A ms-dos window will show up and will ask u for an ID. Choose the ID 1 (only need to type 1 ).

-Done it a file called hexid(id 1 or something like).txt will appear
into ur login folder. Rename it to hexid.txt , copy and paste inside ur
gameserver/config/ folder.

-Now just need to start the "startloginserver.bat" (login folder) and
"startgameserver.bat" (gameserver folder). It will be opened when stops
on the following lines (check the image). Remember, ur server is setted
up to autocreate accounts so u dont need to execute
"startaccountmanager.bat" this time.



Okay ! Server is running fellows !

PS: If u are under a router, dont forget to open the ports 7777 (game server), and 2106 (login server).

Second Step : Preparing the client

For it ull need to get L2ENCDEC and hve a updated INTERLUDE client (just need to run the laucher.exe of the game).

1- Extract all the MAIN files of L2encdec into ur ORIGINAL SYSTEM
FOLDER and run the patcher.exe .A ms-dos window will appear and ill run
few process. Wait it finish.



2-Open a ms-dos console (start > run > cmd) and try to reach the
system folder via console (keep typing cd.. until reach c: , than type
cd progra* (to reach the folder program files). cd lineag* (to reach
lineage II folder). cd system . Okay now u are inside the system folder.

3- Type l2encdec -s l2.ini .It will decrypt the l2.ini in a new file
called dec-l2.ini . U can open it using the notepad and edit the line
"serveraddr=" inserting the server Internal (urself and same network
players) or External (outside players) IP than save it.



4- Erase the original L2.ini file. than return to console and type
l2encdec -h 413 dec-l2.ini . It will encrypt the dec-l2.ini file in a
new file called enc-dec-l2.ini . Just rename it to l2.ini .

5- Just start the L2 using the l2.exe that is INSIDE the system folder !

OBS: To make a gm char, First of all ull need to create a new character
and be sure that char ISNT connected (just open the game type any login
and pass because it will be created automatically , and create a new
char).

-Open Navicat , click on "localhost" , than click on l2jdb. Many tables
will show up. Open the table characters by double clicking it. Find the
LINE of ur character than find the COLLUM ACCESS LEVEL of it. Change
the number 0 for 100 and log in ! Done !

Well... I know it dont hve a HUGE diference in comparison w the old
guide but as i sad, a LOT of ppl are asking me a lot of things about
interlude configuration... Hope it help. Good luck buddies !

PS:
For who is getting erros when trying to dec-enc the l2.ini file using
the l2encdec, try to download the L2FileEdit C6. U can find it on My Shared Folder > L2J tools . I really dont think a tuto is needed for it. Just open up the program and ull know what to do ^^.

PS2: Patching the system folder is needed in BOTH WAYS !!!!


Favourite Game : MuOnline
Registration date : 1969-12-31

View user profile

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum