Jump to content
  • 0

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


Feelmyspells

Question

Recommended Posts

  • 0

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 !

Link to comment
Share on other sites

  • 0

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?

Link to comment
Share on other sites

  • 0

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



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