Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

L2J [Guide] Making a C5 server on WinOS by Nargen

Status
Not open for further replies.
Elite Diviner
Joined
Aug 19, 2006
Messages
458
Reaction score
3
PART I - To Start a server

Files that ull need

-JavaJDK (Search on Net)
-MySQL 5.0 SERVER (Search on Net)
-NAVICAT (look in my Shared folder )
-SERVER PACK (ill suggest Hero's1711 pack SEARCH OVER THE FORUM)

1o- Install JavaJDK

2o- Install MySQL 5.0 Server

Installing MySQL 5.0 Server
-Run The executable file (DUH)
-Press next buttom and create a new instance
-Select detailed Configuration

Nargen - [Guide] Making a C5 server on WinOS by Nargen - RaGEZONE Forums


-Server Machine

Nargen - [Guide] Making a C5 server on WinOS by Nargen - RaGEZONE Forums


-Next , Next

-Choose the first option for 20 Players or if u want, choose the manual setting and in concurrent connection , put how many ppl do u want to join in ur server

Nargen - [Guide] Making a C5 server on WinOS by Nargen - RaGEZONE Forums


- NEXT , NEXT , NEXT

-Security Options ... dont check any !

Nargen - [Guide] Making a C5 server on WinOS by Nargen - RaGEZONE Forums


-EXECUTE

Nargen - [Guide] Making a C5 server on WinOS by Nargen - RaGEZONE Forums


->Now u hve configurated ur MySQL server with Login: root , NO PASSWORD , Port 3306.

3o- Install NAVICAT !

4o- In NAVICAT click on connection and insert in Host name/IP address "localhost" , port "3306" , Username "root" and leave blank the password field than click OK

Nargen - [Guide] Making a C5 server on WinOS by Nargen - RaGEZONE Forums


-Will appear in the connections field one new connection called "localhost". RIGHT CLICK on it > New Database , than give the name of l2jdb for ur new database than click ok.

Nargen - [Guide] Making a C5 server on WinOS by Nargen - RaGEZONE Forums


4o- Extract all the files of hero's pack in a folder of ur choice

5o- Install SQL files from hero's Pack (folder SQL)
- U can made it manually or automatically , in this case , ill teach how
to use the automatic installation
- Search for the file Database_installer.bat in the folder TOOLS of ur server folder
- Right Click on it and choose EDIT
-Change the adress for ur MySQL BIN FOLDER in the line "set mysqlBinPath="
-Than execute the edited file pressing F to Full installation and installing the Addons pressing y

- Now u hve ur Database installed xD !

6o- In the folder gameserver/config/ open with notepad the file server.proprierties and change the lines

ExternalHostname=UR EXTERNAL IP HERE
InternalHostname=UR INTERNAL IP HERE (possibily 127.0.0.1)
MinProtocolRevision = 1
MaxProtocolRevision = 999

7o- Go in ur login/config and open the file loginserver.proprierties with notepad than edit the lines

ExternalHostname=UR EXTERNAL IP
InternalHostname=UR INTERNAL IP (possibily 127.0.0.1)

8o- Run The file RegisterGameServer.bat in ur login folder then choose the Id number 0 (zero) . the program will close and a file hexid(server 0 or anything like it).txt will be appear in ur login folder.
Rename it to hexid.txt than copy and paste in ur gameserver/config folder.

9o- Run the program startSQLAccountManager.bat to create ur accounts (if u dont hve a webserver with registration)(LOL ?? Probably u wont hve it at this momment xD)

In Access lvl , put 100 for admins , 0 for players or -100 for banned accounts ^^ .

Open Startloginserver.bat (login folder) and Startgameserver.bat (gameserverfolder).

PS: If ur usinga router , ull need to open the ports : 7777 (Gameserver) ; 2106 (loginserver) ; 3306 (MySQL)
Thats all , i think xD

If i forgot anything , pls tell me !

PART II - WEBSERVER (Server Homepage)

Now ull try to explain how to create ur webserver WITHOUT DISKW !!
Ill use L2Jz System because it is a LOT better and usefull with a complete database included !!

Files that ull need :

(It will install the PHP and APACHE protocol in ur system simple and fast)
L2Jz (try to use the search button above)

How to install :

1o -> First install WAMP5.0 , a little icon may appear at ur clock side, if not, go to the folder that u has installed the wamp and run the executable.)

Nargen - [Guide] Making a C5 server on WinOS by Nargen - RaGEZONE Forums


2o- Extract the files of L2Jz system in a folder than follow the steps bellow :
-With the SQL FILES :
-Open NAVICAT than right click in ur database l2jdb and choose EXECUTE BATH FILE than search for the L2jz SQL files and do it with ALL the SQL FILES !!

Nargen - [Guide] Making a C5 server on WinOS by Nargen - RaGEZONE Forums


-After that , 9 new tables will appear in ur database

Nargen - [Guide] Making a C5 server on WinOS by Nargen - RaGEZONE Forums


3o-Now move all the remaining files of L2Jz for ur WWW\ folder (ull find where u installed ur WAMP5.0. In my case c:\wamp\www\)

Nargen - [Guide] Making a C5 server on WinOS by Nargen - RaGEZONE Forums


4o-Left Click on ur WAMP icon APACHE>START/RESUME SERVICE , and after that click on PUT ONLINE

Nargen - [Guide] Making a C5 server on WinOS by Nargen - RaGEZONE Forums


-After that , wamp icon will become yellow and the lock will disapear

Nargen - [Guide] Making a C5 server on WinOS by Nargen - RaGEZONE Forums


-U can edit ur L2Jz Main page editing the file welcome.php (www\pages\)

5o-Edit ur option.php file (www\) inserting ur server rates and another thing that u like or need
-Bellow the lines of ur server rates

$servers[$i]['info']['rateXp'] = 10;//Exp rate.
$servers[$i]['info']['rateSp'] = 10;//Sp rate.
$servers[$i]['info']['rateDropAdena'] = 30;//Adena rate.
$servers[$i]['info']['rateDropItems'] = 15;//Drop rate.
$servers[$i]['info']['rateDropSpoil'] = 35;//Spoil rate.

-ull need to change that numbers puting ur server rates

6o- Go to ur gameserver\config folder than edit the file telnet.properties in the following lines

EnableTelnet = True

and remove the # in the beggining of the line

#StatusPW = somePass

7o- Go to ur Login\config folder than edit the file telnet.properties in the line

EnableTelnet = True

PS: IF UR USING A ROUTER , ULL NEED TO OPEN THE PORT 80 (Webserver/Apache) !!

Thats it ! A FULL C5 server with ONLINE L2INFORMER and fully editable !

If i forget something , ill insert here later , or pls MESSAGE ME !

If u cannot login in ur server , its a problem in the gameguard, ill share here the guide to bypass it ! (thats the reason to i hve a nprotect folder in my www\ folder xD).



SRRY FOR MY ENGLISH ! If anyone wants to fix my grammar , send a me a pm having the correction ^^.

BTW , Its the SAME METHOD to make a C4 Server.

PART III - The Client Side

Beucause many questions about what to do in the client , i will make a little guide to what make in the client PC to run ur server !

1o- Ull need to donwload the SYSTEM folder of your server pack ! (Ull find it on ur server pack Thread)

2o- Change the original system folder of ur L2 for the server system folder

3o- Ull need to edit the L2.ini (at ur system folder) to insert ur server IP. U can edit it
using the program L2_Fileedit.exe (u can find it on my shares tool folder ).

Nargen - [Guide] Making a C5 server on WinOS by Nargen - RaGEZONE Forums


4o- If ur using the gameguard bypass , ull need to insert the line at ur client hosts file
(windows/system32/drivers/etc)
"xxx.xxx.xxx nprotect.lineage2.com" (where xxx.xxx.xxx is ur server IP)
-Delete ur gameguard folder in ur new system folder to force the client to download the new gameguard from ur server.

That's all ! Ur server may be working now ! Enjoy ! If i forgot anything , pls tell me and SRRY FOR MY ENGLISH !
 
Last edited:
Newbie Spellweaver
Joined
Jun 1, 2006
Messages
79
Reaction score
0
@nargen

sera k podias partilhar cmg os installers do java? é k eu ja desisntalei todos os programas de java k tinha... e so instalei o JDK update 9
mas akele erro k m dava continua a aparecer... =S ja nao sei o k fazer mais...
se m puderes ajudar eu fikaria agradecido =)

--------------------------------------------------------------------
@nargen
hey can you share your java installers with me? cuz i have already uninstalled all java programs i had on my computer and just installed the JDK update 9
and that error still appearing to me... i dont know what to do anymore
if you can... help me

thx

Cacos
 
Upvote 0
Elite Diviner
Joined
Aug 19, 2006
Messages
458
Reaction score
3
Eu acho q tenho uma ma noticia pra vc ...
Eu qnd instalei um programa pra editar texturas , ele danifico alguma chave no registro do mew pc e dai nenhum software java rodava +
Reinstalei o java milhoes de vezes e nada ... o unico jtu q de resolve-lo foi formatando mew computador ... Espero q vc esteja tento o msm erro , mas pelo q vc me falou , eh issu ....


I hve a bad thing to talk for u ...
When i intalled one program to edit textures , its corrupted any key on my registry so no ones java programs still working on my pc ...
The only way to fix it was formatting my pc =(
I hope u arent hving the same problem =/
 
Upvote 0
Newbie Spellweaver
Joined
Jun 1, 2006
Messages
79
Reaction score
0
hum.... estou a ver... realmente eu instalei um programa pa editar as texturas... o unreald... um coisa assim... e penso k tenha sido desde ai k este problema m tenha aparecido... mas eu nao tou pa formatar o meu pc... tenho aki mta coisa...
bem... acho k se a soluçao de desinstalar o programa nao resultar...
isto é a minha despedida do L2J... com muita pena minha... ='(

-----------------------------------------------------------------------
well... i see... in fact i installed a program to edit textures... unreald i think...and i think that was from that day... that i couldn't run my server anymore...
if the solution of unistalling the program doesn't work... i think this is my goodbye from L2J... i dont want to... but if I have to formatte my pc... i dont want to do it... i have a lot of things on my computer =S

thx

Cacos
 
Upvote 0
Elite Diviner
Joined
Aug 19, 2006
Messages
458
Reaction score
3
LOOOOOLLLLLLLl
JAh era amigo !! Vai ter q formatar sew PC !
Esse Unreald detona sew JAVA .... eu tive q formatar o mew =(
Se vc for editar as texturas , aproveita agora q jah ta zuado sew java e depois q formatar o pc , nao instale-o de novo !! xD

OMG ... u will need to format ur pc
THis program Crash all ur java apps and process ... and unisntalling it will not make ur java programs to run again ...
The only way i found to fix it for me was formatting . For sure ull need to do it too =P
 
Upvote 0
Custom Title Activated
Loyal Member
Joined
Sep 3, 2005
Messages
1,881
Reaction score
2
hey i followed all the guide by stepp and have this lil problem ( but i didnt setup the website )

I go into game and type my user and pass then at the game selection screen i cant go farther.

here is my login config:
Code:
# This is transmitted to the clients connecting from an external network, so it has to be a public IP or resolvable hostname
ExternalHostname=74.57.xxx.xxx

# This is transmitted to the client from the same network, so it has to be a local IP or resolvable hostname
InternalHostname=192.168.0.100

and gameserver config:
Code:
# This is transmitted to the clients connecting from an external network, so it has to be a public IP or resolvable hostname
# If this ip is resolvable by Login just leave *
ExternalHostname=74.57.xxx.xxx

# This is transmitted to the client from the same network, so it has to be a local IP or resolvable hostname
# If this ip is resolvable by Login just leave *
InternalHostname=192.168.0.100

in hosts :
Code:
 127.0.0.1  localhost
192.168.0.100 l2authd.lineage2.com

i am behind a router in wich i forwarded all the 3 ports need the good way.

and i am trying to connect from my second PC wich is in the same network.

Plz help.
 
Upvote 0
Elite Diviner
Joined
Aug 19, 2006
Messages
458
Reaction score
3
hey i followed all the guide by stepp and have this lil problem ( but i didnt setup the website )

I go into game and type my user and pass then at the game selection screen i cant go farther.

here is my login config:
Code:
# This is transmitted to the clients connecting from an external network, so it has to be a public IP or resolvable hostname
ExternalHostname=74.57.xxx.xxx
 
# This is transmitted to the client from the same network, so it has to be a local IP or resolvable hostname
InternalHostname=192.168.0.100

and gameserver config:
Code:
# This is transmitted to the clients connecting from an external network, so it has to be a public IP or resolvable hostname
# If this ip is resolvable by Login just leave *
ExternalHostname=74.57.xxx.xxx
 
# This is transmitted to the client from the same network, so it has to be a local IP or resolvable hostname
# If this ip is resolvable by Login just leave *
InternalHostname=192.168.0.100

in hosts :
Code:
 127.0.0.1  localhost
192.168.0.100 l2authd.lineage2.com

i am behind a router in wich i forwarded all the 3 ports need the good way.

and i am trying to connect from my second PC wich is in the same network.

Plz help.

Ull need to kill the gameguard update of ur clients , making then do upload from ur pc . So both , server and client will hve the same version of GG and making it , clients will can login in ur server

In the bottom of my guide hve a link Gameguard bypass , try it ok fellow ?
 
Upvote 0
Custom Title Activated
Loyal Member
Joined
Sep 3, 2005
Messages
1,881
Reaction score
2
ill try thx... uhm could u post mirriors download links plz, cant use Rapid have to wait 72 mins.
 
Last edited:
Upvote 0
Elite Diviner
Joined
Aug 19, 2006
Messages
458
Reaction score
3
ill try thx... uhm could u post mirriors download links plz, cant use Rapid have to wait 72 mins.
Ill put the folder that ull need to add in ur www folder on my shares okay ??



btw the name is nprotect ^^
 
Last edited:
Upvote 0
Custom Title Activated
Loyal Member
Joined
Sep 3, 2005
Messages
1,881
Reaction score
2
ok i put it in diskw/www and now it sais that it cant update Gameguard and tells me to chek firewall and if i click OK it bounces my back to desktop
 
Last edited:
Upvote 0
Elite Diviner
Joined
Aug 19, 2006
Messages
458
Reaction score
3
ok i put it in diskw/www and now it sais that it cant update Gameguard and tells me to chek firewall and if i click OK it bounces my back to desktop
Ull need to insert the line

xxx.xxx.xxx nprotect.lineage2.com on the client host files (xxx.xxx.xxx is the server IP)

Did u started ur webserver ? The ports r open (80 for apache) r open ?
 
Upvote 0
Custom Title Activated
Loyal Member
Joined
Sep 3, 2005
Messages
1,881
Reaction score
2
i did add the nprotect wtv but no i didnt start the web server, cz i wanna jsut test the game server. Do i need to start the webserver for it to work?

also i changed the port that the webserver will use to 81 not 80 cz its a the ISP port wich they use and cant let me open it.
 
Last edited:
Upvote 0
Custom Title Activated
Loyal Member
Joined
Sep 3, 2005
Messages
1,881
Reaction score
2
sry for double post its just to let know that it worked...
Great guide!
 
Upvote 0
Custom Title Activated
Loyal Member
Joined
May 23, 2006
Messages
1,897
Reaction score
1
actually you need to add svn downloading and building
pm me if you are interested
 
Upvote 0
Newbie Spellweaver
Joined
Nov 13, 2006
Messages
12
Reaction score
0
5o- Install SQL files from hero's Pack (folder SQL)
- U can made it manually or automatically , in this case , ill teach how
to use the automatic installation
- Search for the file Database_installer.bat in the folder TOOLS of ur server folder
- Right Click on it and choose EDIT
-Change the adress for ur MySQL BIN FOLDER in the line "set mysqlBinPath="
-Than execute the edited file pressing F to Full installation and installing the Addons pressing y

I dont think i really understand where I should be setting this path to

ok nvm i fixed that i found the folder on my own but now when i run the databaste installer it keeps telling me access denied for root@localhost <using password:YES> but i set it without a password

ok i got thru that now to but im having one more problem, when i run the game and login server it all loads just fine but when the gameserver gets to the end then it starts saying " connecting to login on 127.0.0.1:9014
damn! registration failed: reason wrong hexid" on the game server and on the login server i get "wrong HexID
closing connection
server barts <0> : connection lost" but i put a hexid in the folder the guide told me to, anyone know whats wrong? pls respond
 
Last edited:
Upvote 0
Elite Diviner
Joined
Aug 19, 2006
Messages
458
Reaction score
3
5o- Install SQL files from hero's Pack (folder SQL)
- U can made it manually or automatically , in this case , ill teach how
to use the automatic installation
- Search for the file Database_installer.bat in the folder TOOLS of ur server folder
- Right Click on it and choose EDIT
-Change the adress for ur MySQL BIN FOLDER in the line "set mysqlBinPath="
-Than execute the edited file pressing F to Full installation and installing the Addons pressing y

I dont think i really understand where I should be setting this path to

ok nvm i fixed that i found the folder on my own but now when i run the databaste installer it keeps telling me access denied for root@localhost <using password:YES> but i set it without a password

ok i got thru that now to but im having one more problem, when i run the game and login server it all loads just fine but when the gameserver gets to the end then it starts saying " connecting to login on 127.0.0.1:9014
damn! registration failed: reason wrong hexid" on the game server and on the login server i get "wrong HexID
closing connection
server barts <0> : connection lost" but i put a hexid in the folder the guide told me to, anyone know whats wrong? pls respond

Try to follow the guide .... DO NOT USE THE START.BAT file ....
u dont need to start diskW in this guide ....
 
Upvote 0
Newbie Spellweaver
Joined
Nov 13, 2006
Messages
12
Reaction score
0
ok

ok so yeah before it was saying wrong hexID and i had thought i made one, i did but i went to look at the registergameserver and when i started it up, which i had overlooked this b4, in the begining it says "java.sql.SQLException : Table 'L2jdb.gameservers' doesnt exist" so yeah its not creating the hexID correctly then, but idk how to solve this, any help pls?
 
Upvote 0
Legendary Battlemage
Joined
Oct 1, 2006
Messages
621
Reaction score
0
ok so yeah before it was saying wrong hexID and i had thought i made one, i did but i went to look at the registergameserver and when i started it up, which i had overlooked this b4, in the begining it says "java.sql.SQLException : Table 'L2jdb.gameservers' doesnt exist" so yeah its not creating the hexID correctly then, but idk how to solve this, any help pls?

I think thats a database error.Are u sure that u installed the database correctly?Check it again.
 
Upvote 0
Status
Not open for further replies.
Back
Top