Page 1 of 1

How to run 2 gameserver with 1 login server in Same Pc...

Posted: Thu Nov 15, 2007 4:34 pm
by mafias
This is the guide to have two gameserver single loguin server in the same pc :D

GUIDE


Required to create 2 GameServers:
1 basis of additional data for the second server.
GameServer and DataPack of the same version.
512 MB RAM or more (1GB as standard).
1.5 GHz or higher processor speed (2GB as standard).
Close LoginServer and GameServer if it is running.
Creates 1 database called "l2jdb" and use the installer to install full database login and full gameserver. If you have a server currently no need to do this step.
Creating a second database called "l2jdb2" JUMPS the installation LoginServer and installs whole GameServer in the database.
Backup folder gameserver and renombrala as gameserver2.
Use RegisterGameServer.bat, recording another gameserver and once created the file hexid (x) must copy the folder gameserver2/config and rename it to hendix. "X" is the id that you selected in the RegisterGameServer. This is needed to start the gameserver2
In the folder gameserver2/config opens the file server.PROPERTIES and change values colored:

Quote:

# ================================================= = ==============
# General server setting! REQUIRED to configure to everyone!
# ================================================= = ==============

# Bind ip of the gameserver use * to bind on all available PIs
GameserverHostname =*
GameserverPort = 7778

# This is the server id that the gameserver will request (ie 0 is Bartz)
RequestServerID = 1
# If set to true, the login will give an other id to the server if the requested id is allready reserved
AcceptAlternateID = True

# Database info
Driver = com.mysql.jdbc.Driver
Driver # = org.hsqldb.jdbcDriver
Driver # = com.microsoft.sqlserver.jdbc.SQLServerDriv er
URL = jdbc: mysql: / / localhost/l2jdb2
# URL = jdbc: hsqldb: hsql: / / localhost/l2jdb
# URL = jdbc: sqlserver: / / localhost / database = l2jdb/user = sa / password =
Login = user of database (default "root")
Password = your password for user or "root"
MaximumDbConnections = 100
The blue-line is the port, the default value is 7777, cambialo to 7778.
- The number 1 in orange is the hexid you selected, it changes the value for which you selected earlier.
- The text in purple is important, change the value to True to this list server on LoginServer.
- The text l2jdb2 red is the database used.
The text says Login green where you must enter the user of the database or "root". Where Password you must put the password in the database.
Run the LoginServer, GameServer0 and GameServer1.
alemán a francésalemán a inglésárabe a ingléschino a ingléschino (simplificado a tradicional)chino (tradicional a simplificado)coreano a inglésespañol a inglésfrancés a alemánfrancés a inglésgriego a inglésholandés a inglésinglés a alemáninglés a árabeinglés a chino (simplificado)inglés a chino (tradicional)inglés a coreanoinglés a españolinglés a francésinglés a griegoinglés a holandésinglés a italianoinglés a japonésinglés a portuguésinglés a rusoitaliano a inglésjaponés a inglésportugués a inglésruso a inglés

sORRY FOR MI bAD INGLGISH :cry: