Jump to content
  • 0

How can I add 2 servers in 1 login???


Question

Recommended Posts

  • 0
Posted

change the port 7777 to 7778 and create a new database and change the name of the database in the config file all the other settings are the same

  • 0
Posted

when you make 2nd database copy gameserver - tools - sql folders and copy them to another folder with name GameServer II ( or w/e you want) then change from GameServerII/config/server.properties where the new database will listen .. like this

 

# Database info

Driver=com.mysql.jdbc.Driver

#Driver=org.hsqldb.jdbcDriver

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

URL=jdbc:mysql://localhost/l2jdb <---

#URL=jdbc:hsqldb:hsql://localhost/l2jdb  <---

#URL=jdbc:sqlserver://localhost/database=l2jdb/user=sa/password= <---

 

change l2jdb to the new database name you putted .. then change the

 

# Bind ip of the gameserver, use * to bind on all available IPs

GameserverHostname=*

GameserverPort=7777 <--- to 7778

 

after that go at GameServerII/tools/database_installer.bat edit it and change there the database will listen too ! Look --->>

 

set lsuser=root

set lspass=root

set lsdb=l2jdb <---

set lshost=localhost

set gsuser=root

set gspass=root

set gsdb=l2jdb <---

set gshost=localhost

 

change l2jdb to the new database name you putted and then install database ... after that go to your main Pack register a Hexid ID and take it to GameServerII/config/ and put it there with name hexid.txt or hexid (that based at your pc) after that open loginserver.bat and gameserver.bat from main pack and from GameServerII run gameserver.bat ! I think i helped you .. if you have problems tell me !

 

Good Luck !

  • 0
Posted

No problem , You are Welcome ! Post here if you have any problem !

  • 0
Posted

I had problem or maybe I didn't made a step wright...I copy and paste a GameServer,made a database in MySQL...

 

Now it says Connecting to login "my no-ip":9014 both servers...

 

Maybe because I have a preconfigured pack doesn't work?

 

I think that I need to change that 9014,put the other Gameserver 9013.but doesn't connect :-[...

 

Any thoughts?

  • 0
Posted

No .. i cant understand you a lot .. dont change the 9014 to 9013 .. change the 7777 to 7778 and send us a photo about the problem

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


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