Jump to content
  • 0

Question-2 servers with 1 login


Question

Posted

For now all my questions have been unanswered.i have at least 1 more.

Is any Guide-English-Greek for how to setup 2 servers with same login?

I dont have time now to search it so please if is possible give a help :S

For gracia Final please

4 answers to this question

Recommended Posts

  • 0
Posted

in navicat creat new db and then register the server with login server of the first pack  and type 2 no CLEAN ONLY 2! and  in game server confing put in port 7777 7778

  • 0
Posted

First server :

 

database in navicat : l2j1

Instal database there and go to login folder > config > loginserver.properties

-------------------

# If set to true any GameServer can register on your login's free slots

AcceptNewGameServer = True  < MUST BE TRUE if you want to have 2 servers

-------------------

 

Then go in gameserver > config > server.properties

------------

GameserverHostname=*

GameserverPort=7777 << leave it 7777

------------

# Database info

Driver=com.mysql.jdbc.Driver

#Driver=org.hsqldb.jdbcDriver

#Driver=com.microsoft.sqlserver.jdbc.SQLServerDriver

URL=jdbc:mysql://localhost/l2j1  << first server database name

#URL=jdbc:hsqldb:hsql://localhost/l2jarchid_db

#URL=jdbc:sqlserver://localhost/database=l2jarchid_db/user=sa/password=

 

 

Now for second server you need to make another database ... l2j2

Make other gameserver folder and install a need database

Then go in second server > gameserver > config > server.properties

-----------

GameserverHostname=*

GameserverPort=7778  << MUST TO BE other port, not really 7778

-----------

# Database info

Driver=com.mysql.jdbc.Driver

#Driver=org.hsqldb.jdbcDriver

#Driver=com.microsoft.sqlserver.jdbc.SQLServerDriver

URL=jdbc:mysql://localhost/l2j2  << SECOND SERVER database name  .. l2j2

#URL=jdbc:hsqldb:hsql://localhost/l2jarchid_db

#URL=jdbc:sqlserver://localhost/database=l2jarchid_db/user=sa/password=

 

..

Now open login and first server and second server..

 

( i supose that you know about hexid.. you need to register 2 server in loginserver from registergameserver.bat .. make 2 hexid and hexid(server 1) put in gameserver>config in first server folder and second hexid (server 2) put in gameserver>config in second server and edite them.. delete (server 1) and (server 2) to appear like a clean word "hexid" )

 

sorry for my english :)

Guest
This topic is now closed to further replies.


×
×
  • 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