Jump to content
  • 0

[Help]Second Gameserver Prob.


Question

Posted

Hello, I have one problem with second gameserver, the i run it i have the message that it already in use.

 

Main Server Info:

 

gameserver.properties:

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=

 

Port: 7777

Hexid: 1

Folder: Game

Database: L2jdb

 

Second server info:

 

Gameserver.properties

Driver = com.mysql.jdbc.Driver
#Driver=org.hsqldb.jdbcDriver
#Driver=com.microsoft.sqlserver.jdbc.SQLServerDriver
URL = jdbc:mysql://localhost/l2jdb2
#URL=jdbc:hsqldb:hsql://localhost/l2jdb2
#URL=jdbc:sqlserver://localhost/database=l2jdb2/user=sa/password=

 

Port: 7776

Hexid: 2 (tried and other NS too)

Folder: Game2

Database: L2jdb2

 

loginserver.properties

AcceptNewGameServer =True

 

So then i have gameserver(1) in use the gameserver(2) have the message error "Registeration Failed, Reason: Already logged in"

Then gameserver(1) closed (i mean not in use) the gameserver(2) opening normal but with name Bartz (Hexid 1) How does this posible?

6 answers to this question

Recommended Posts

  • 0
Posted

the hexid at 2nd gameserver must be created on db1.

You mean that?

URL = jdbc:mysql://localhost/l2jdb2

let me try it

PS. No this doesnt helped, And the funniest think is that it make new server on "Gameserver" from l2jdb and then i log i can see the server (down ofc)

  • 0
Posted

Required to create two GameServer's:

 

    * 1 additional database for second server.

    * GameServer and DataPack of the same version.

    * 512 MB of Memory or more (1GB Standar).

    * 1.5 Ghz or but speed in processor (2GB Standar).

 

  1. Put LoginServer and GameServer down if this running.

  2. Create 1 database called "l2jdb" and use database installer to install full login and full gameserver.

    If you have one server working no need make this step.

  3. Create second database called "l2jdb2", SKIP instalation of LoginServer and install FULL GameServer database.

  4. Copy gameserver folder and rename as gameserver2.

  5. Use RegisterGameServer.bat, register gameserver and create hexid(x) and copy to gameserver2/config path and rename to hexid.

    "x" is the id of your choice in RegisterGameServer. It's needed to configure the gameserver2

  6. In the gameserver2/config path open the file server.PROPERTIES file and change the coloured values:

 

      GameserverPort=7777 ----> 7778

 

      RequestServerID = 0 ----> x ("x" is the id of your choice in RegisterGameServer)

 

      AcceptAlternateID = True

 

      URL=jdbc:mysql://localhost/l2jdb ----> jdbc:mysql://localhost/l2jdb2

 

      Login= user of database (default "root")

      Password= your password for user or "root"

 

  7. Now in first game server run startLoginServer.bat and startGameServer.bat

    In second game server only need to run startGameServer.bat (because two game

    server will use same Login server)

read this maybe help's you.

  • 0
Posted

@Apithanos™ no, i already do that.

 

Anyway guys ok I find the problem. Problem was from java so thanks anyway for supporting

LOCKED

Guest
This topic is now closed to further replies.


×
×
  • Create New...